Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Unable to install when disk device model contains a quote character

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    18 Posts 6 Posters 1.3k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      enkiusz
      last edited by

      Hello,

      I would like to report a problem I encountered while attempting to install the newest version of pfSense Community edition on a x86_64 device having an innodisk 2.5" SATA SSD 3ME3. The tldr; is that the installer breaks when the HDD device model name contains a quote character. The symptoms are repeated bash error messages which get printed by the installer after selecting the filesystem and partition layout and before the block device is selected:

      /tmp/tmp.JirvDpfh2C: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.UFtRDOb72d: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.xZyGsqkUE6: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.6VYt7hw7vm: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.eJjNz3A74C: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.nWnrmoJD66: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.lYiJXFX9fk: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.XWEU8dSwDW: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.txoX2hD8do: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.Lwdw5qIDnk: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.e9oNZ8xnQO: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.LrKpBGALT3: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.981W3YCzjo: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.LuSttLNfdr: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.k3ZWx1JT75: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.3RoFe3QemG: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.HJp4WHIvx6: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.Bc1ps7Dk9C: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.o05ldXaEep: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.BH51pxzX8G: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.2eGxxW2sZ8: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.RAeKL5XhPM: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.uAi8UbLJtC: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.yFF3DsmCFw: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.bxyXOU9IIv: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.nFgl9avEJe: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.Ww7kmxzwIt: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.qVrTsN7bwW: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.xiTdUXcVLo: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.0ILA0L3xCQ: 7: Syntax error: Unterminated quoted string
      /tmp/tmp.to9JI9OmNW: 7: Syntax error: Unterminated quoted string
      

      These messages continue indefinitely until the installer is aborted with ^C. After aborting one of the failing scripts can be viewed in /tmp:

      root@pfSense-installer:~ # ls -l /tmp/
      total 8
      drwxrwxrwt  2 root      wheel       0 Dec 29 13:39 .ICE-unix
      drwxrwxrwt  2 root      wheel       0 Dec 29 13:39 .X11-unix
      drwxrwxrwt  2 root      wheel       0 Dec 29 13:39 .XIM-unix
      drwxrwxrwt  2 root      wheel       0 Dec 29 13:39 .font-unix
      -rw-rw-r--  1 installer installer   0 Dec 29 13:39 install-log.txt
      drwxr-xr-x  2 root      wheel       0 Dec 29 13:39 mnt_recovery
      drwxr-xr-x  2 root      wheel       0 Dec 29 13:39 recovered_config
      -rw-------  1 root      wheel       0 Dec 29 13:42 tmp.CZ6lyBt5gU
      -rw-------  1 root      wheel     312 Dec 29 13:43 tmp.Sgq9M4QXP2
      -rw-------  1 root      wheel       0 Dec 29 13:46 tmp.qLdd8Tt9ik
      -rw-------  1 root      wheel     399 Dec 29 13:46 tmp.ttbqILjF8z
      root@pfSense-installer:~ # cat /tmp/tmp.ttbqILjF8z 
      #!/bin/sh
      
      [ "${#}" -ne 1 ] && exit 1
      OUTFILE="${1}"
      
      "/usr/bin/bsddialog"    --backtitle "Netgate Installer - v1.1.1-RELEASE"     --title " Disk Selection " --colors --separate-output     "--checklist" "\nSelect the disk(s) for software installation.\n"     --extra-button --extra-label "Advanced Options" 0 0 0 \
      "ada0" "30G <2.5"SATA SSD 3ME3>" "on" \
              2> "${OUTFILE}"
      ERROR="${?}"
      
      exit "${ERROR}"
      

      One of the arguments provided to bsddialog has a quote character inside which trips up bash. Why is the quote there? Well, as it turns out the SSD device model name contains a quote character. This can be seen before in the kernel messages, an excerpt is below:

      ada0 at ahcich1 bus 0 scbus0 target 0 lun 0
      ada0: <2.5" SATA SSD 3ME3 S17411> ATA8-ACS SATA 3.x device
      ada0: Serial Number BCA11803281290119
      ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes)
      ada0: Command Queueing enabled
      ada0: 30533MB (62533296 512 byte sectors)
      

      The installer affected has been downloaded from the link received in the post-checkout e-mail message:

      Netgate Installer - AMD64 Memstick USB (Intel x64 Netgate appliances)
      netgate-installer-v1.1.1-RELEASE-amd64.img.gz
      Download Link: https://shop.netgate.com/a/downloads/-/a8e221ab21024ee3/7e27dc969ae6a5e5
      

      I have replaced the SSD with a different one which does not have a quote character in the model name and the installation went smoothly.

      Thank you for building and supporting pfSense! It is rock solid and a pleasure to work with!

      1 Reply Last reply Reply Quote 2
      • stephenw10S Online
        stephenw10 Netgate Administrator
        last edited by

        Huh. That's a fun* bug. Should be easy enough to fix at least

        W 1 Reply Last reply Reply Quote 0
        • W Offline
          ws6 @stephenw10
          last edited by

          @stephenw10
          Any ETA on a fix for this? The current 1.1.1 installer threw the error for me today. Trying to reinstall a box that had a drive failure and using Samsung PM841 drives.

          1 Reply Last reply Reply Quote 0
          • stephenw10S Online
            stephenw10 Netgate Administrator
            last edited by

            It's fixed in the upcoming 1.2 version which should be available very soon now. You may be able to get a dev version of that to test if you contact TAC.

            W 1 Reply Last reply Reply Quote 0
            • W Offline
              ws6 @stephenw10
              last edited by

              @stephenw10 said in Unable to install when disk device model contains a quote character:

              It's fixed in the upcoming 1.2 version which should be available very soon now. You may be able to get a dev version of that to test if you contact TAC.

              I opened a ticket (#43350730012) on the 11th. Support still hasn't made a single reply to it yet.

              1 Reply Last reply Reply Quote 0
              • stephenw10S Online
                stephenw10 Netgate Administrator
                last edited by

                @ws6 said in Unable to install when disk device model contains a quote character:

                I opened a ticket (#43350730012) on the 11th. Support still hasn't made a single reply to it yet.

                Hmm, I'm sorry let me see what's up there.....

                1 Reply Last reply Reply Quote 0
                • stephenw10S Online
                  stephenw10 Netgate Administrator
                  last edited by

                  Hmm, odd, it looks like we first replied ~2hrs after you opened the ticket on the 12th (GMT). I assume you didn't get that for some reason?

                  But it looks like you now have a dev image to test. The most recent version should have the fix for this.

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    ws6 @stephenw10
                    last edited by

                    @stephenw10
                    the dev is throwing a different error at the same spot: 7: Syntax error: "(" unexpected

                    sorry for the cell phone pic but the system i am running this on does not have a serial connection. using the local keyboard and mouse

                    eec91484-fdf0-4404-8d99-bc9b713a1a8a-image.png

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S Online
                      stephenw10 Netgate Administrator
                      last edited by

                      Hmm. OK if you can upload that to TAC via the nextcloud link they shared they will be able to get to the developer.

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        tmillar07 @stephenw10
                        last edited by

                        @stephenw10 So i am having same install issues as the previous two people above. I am trying to install on an Innodisk 3MG2-P SSD.

                        Same error during install: 7: Syntax Error: "(" unexpected

                        How was this mitigated to be able to proceed further?

                        E T 2 Replies Last reply Reply Quote 0
                        • E Offline
                          enkiusz @tmillar07
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tmillar07 @tmillar07
                            last edited by

                            Forgot to add, I am on version 1.2 downloaded .img yesterday.

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S Online
                              stephenw10 Netgate Administrator
                              last edited by

                              Hmm, how does the drive appear at boot? Same unexpected characters in the model description?

                              T 1 Reply Last reply Reply Quote 0
                              • T Offline
                                tmillar07 @stephenw10
                                last edited by

                                @stephenw10 its essentially the same exact disk the OP had. I had to switch drives out too. Something about the hardware description having 2.5 "... we are not the only three folks who have had this issue.

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S Online
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  So only the " character? Let me see what I can find. I thought that was fixed in 1.2 but....

                                  EveningStarNME 1 Reply Last reply Reply Quote 0
                                  • EveningStarNME Offline
                                    EveningStarNM @stephenw10
                                    last edited by

                                    @stephenw10
                                    I want to bump this issue. I've tried installing (several times) pfsense CE 2.8.1 on bog-standard Intel-based devices, and received the same syntax errors noted by the OP. I tried looking it up on redmine, but I couldn't find any related content. I'm a bit concerned that an uninstallable version of the software has been the only thing available for so long. I've been forced to switch to opnsense twice over the last few weeks. I'd rather use pfsense, but this issue appears to persist.

                                    patient0P 1 Reply Last reply Reply Quote 0
                                    • patient0P Offline
                                      patient0 @EveningStarNM
                                      last edited by

                                      @EveningStarNM I have no helpful info but: can you add the exact model of the disk you are useing? Any chance you can try with a different model? And are you using the latest Netgate installer 1.2? Does installing 2.7.2 and upgrading work (if you really want to install pfSense)?

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S Online
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Still trying to track down a drive that triggers this....

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post
                                        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                                        Privacy Policy · Cookie Policy