Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Something went wrong when trying to update the fstab entry

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    12 Posts 5 Posters 3.4k Views
    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.
    • M
      MaxPF
      last edited by

      I'm trying to update from the Jan 9 snapshot to Jan 10 21:18 and it keeps failing with this error:

      Something went wrong when trying to update the fstab entry.  Aborting upgrade

      I'm running the 4GB nanobsd version on a Alix2D13 and this is my fstab:

      /root(1): more /etc/fstab
      /dev/ufs/pfsense0 / ufs ro,sync,noatime 1 1
      /dev/ufs/cf /cf ufs ro,sync,noatime 1 1

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        I just tried to upgrade 2.1-BETA1 also on nanobsd Alix. It downloads, and console says:

        Broadcast Message from root@imp-rt-01.imp.infn
                (no tty) at 17:35 NPT...
        
        NanoBSD Firmware upgrade in progress...
        
        Broadcast Message from root@imp-rt-01.imp.infn
                (no tty) at 17:35 NPT...
        
        Installing /root/latest.tgz.
        
        

        The error message on the WebGUI notices/syslog and my fstab contents are the same as MaxPF:

        Jan 12 17:36:28 	php: : New alert found: Something went wrong when trying to update the fstab entry. Aborting upgrade.
        
        /dev/ufs/pfsense0 / ufs ro,sync,noatime 1 1
        /dev/ufs/cf /cf ufs ro,sync,noatime 1 1
        

        The filesystems are mounted rw.
        Nothing in /tmp/php_errors.txt or PHP_errors.txt
        It was attempting the following update:

        A new version is now available
        
        Current version: 2.1-BETA1
          NanoBSD Size : 2g
               Built On: Thu Jan 10 00:55:29 EST 2013
            New version: Sat Jan 12 00:36:46 EST 2013
        
          Update source: http://snapshots.pfsense.org/FreeBSD_RELENG_8_3/i386/pfSense_HEAD/.updaters
        

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • P
          phil.davis
          last edited by

          And this is /conf/upgrade_log.txt

          
          NanoBSD Firmware upgrade in progress...
          
          Installing /root/latest.tgz.
          SLICE         2
          OLDSLICE      1
          TOFLASH       ad0s2
          COMPLETE_PATH ad0s2a
          GLABEL_SLICE  pfsense1
          Sat Jan 12 17:35:34 NPT 2013
          
          total 4
          dr-xr-xr-x   7 root  wheel         512B Jan 12 12:22 .
          drwxr-xr-x  24 root  wheel         512B Jan 12 12:22 ..
          crw-r-----   1 root  operator    0,  56 Jan 12 12:22 ad0
          crw-r-----   1 root  operator    0,  57 Jan 12 12:22 ad0s1
          crw-r-----   1 root  operator    0,  60 Jan 12 12:22 ad0s1a
          crw-r-----   1 root  operator    0,  58 Jan 12 12:22 ad0s2
          crw-r-----   1 root  operator    0,  61 Jan 12 12:22 ad0s2a
          crw-r-----   1 root  operator    0,  59 Jan 12 12:22 ad0s3
          crw-------   1 root  operator    0,  28 Jan 12 12:22 ata
          crw-------   1 root  wheel       0,  11 Jan 12 17:23 bpf
          lrwxr-xr-x   1 root  wheel           3B Jan 12 12:22 bpf0 -> bpf
          crw-------   1 root  tty         0,   4 Jan 12 17:35 console
          crw-rw-rw-   1 root  wheel       0,  44 Jan 12 12:22 crypto
          crw-rw-rw-   1 root  wheel       0,  10 Jan 12 12:22 ctty
          crw-rw----   1 uucp  dialer      0,  35 Jan 12 12:22 cuau0
          crw-rw----   1 uucp  dialer      0,  36 Jan 12 12:22 cuau0.init
          crw-rw----   1 uucp  dialer      0,  37 Jan 12 12:22 cuau0.lock
          crw-rw----   1 uucp  dialer      0,  41 Jan 12 12:22 cuau1
          crw-rw----   1 uucp  dialer      0,  42 Jan 12 12:22 cuau1.init
          crw-rw----   1 uucp  dialer      0,  43 Jan 12 12:22 cuau1.lock
          crw-------   1 root  wheel       0,   5 Jan 12 12:22 devctl
          cr--------   1 root  wheel       0,  54 Jan 12 12:22 devstat
          dr-xr-xr-x   2 root  wheel         512B Jan 12 12:22 fd
          crw-------   1 root  wheel       0,  13 Jan 12 12:22 fido
          crw-r-----   1 root  operator    0,   3 Jan 12 12:22 geom.ctl
          crw-------   1 root  wheel       0,  23 Jan 12 12:22 io
          crw-------   1 root  wheel       0,   6 Jan 12 12:22 klog
          crw-r-----   1 root  kmem        0,  15 Jan 12 12:22 kmem
          dr-xr-xr-x   2 root  wheel         512B Jan 12 12:22 led
          crw-r-----   1 root  operator    0,  73 Jan 12 12:22 md0
          crw-r-----   1 root  operator    0,  74 Jan 12 12:22 md1
          crw-------   1 root  wheel       0,  47 Jan 12 12:22 mdctl
          crw-r-----   1 root  kmem        0,  14 Jan 12 12:22 mem
          crw-------   1 root  kmem        0,  16 Jan 12 12:22 nfslock
          crw-rw-rw-   1 root  wheel       0,  25 Jan 12 17:35 null
          crw-r--r--   1 root  wheel       0,  27 Jan 12 12:22 pci
          crw-rw----   1 root  proxy       0,  45 Jan 12 12:22 pf
          crw-rw-rw-   1 root  wheel       0,   9 Jan 12 12:22 ptmx
          crw-rw-rw-   1 root  wheel       0,   7 Jan 12 12:22 random
          crw-------   1 root  wheel       0,  24 Jan 12 12:22 speaker
          lrwxr-xr-x   1 root  wheel           4B Jan 12 12:22 stderr -> fd/2
          lrwxr-xr-x   1 root  wheel           4B Jan 12 12:22 stdin -> fd/0
          lrwxr-xr-x   1 root  wheel           4B Jan 12 12:22 stdout -> fd/1
          crw-------   1 root  wheel       0,  32 Jan 12 12:22 ttyu0
          crw-------   1 root  wheel       0,  33 Jan 12 12:22 ttyu0.init
          crw-------   1 root  wheel       0,  34 Jan 12 12:22 ttyu0.lock
          crw-------   1 root  wheel       0,  38 Jan 12 12:22 ttyu1
          crw-------   1 root  wheel       0,  39 Jan 12 12:22 ttyu1.init
          crw-------   1 root  wheel       0,  40 Jan 12 12:22 ttyu1.lock
          crw-------   1 uucp  dialer      0,  64 Jan 12 12:23 tun1
          crw-------   1 uucp  dialer      0,  75 Jan 12 12:23 tun2
          crw-------   1 uucp  dialer      0,  62 Jan 12 12:23 tun3
          dr-xr-xr-x   2 root  wheel         512B Jan 12 12:22 ufs
          dr-xr-xr-x   2 root  wheel         512B Jan 12 12:22 ufsid
          lrwxr-xr-x   1 root  wheel           9B Jan 12 12:22 ugen0.1 -> usb/0.1.0
          lrwxr-xr-x   1 root  wheel           9B Jan 12 12:22 ugen1.1 -> usb/1.1.0
          lrwxr-xr-x   1 root  wheel           6B Jan 12 12:22 urandom -> random
          dr-xr-xr-x   2 root  wheel         512B Jan 12 12:22 usb
          crw-r--r--   1 root  operator    0,  46 Jan 12 12:22 usbctl
          crw-------   1 root  operator    0,  55 Jan 12 12:22 xpt0
          crw-rw-rw-   1 root  wheel       0,  26 Jan 12 12:22 zero
          
          -rw-r--r--  1 root  wheel    74M Jan 12 17:35 /root/latest.tgz
          
          MD5 (/root/latest.tgz) = 3b3d819827faa83800d1b58400071ede
          
          /dev/ufs/pfsense0 on / (ufs, local, noatime, synchronous)
          devfs on /dev (devfs, local)
          /dev/md0 on /tmp (ufs, local)
          /dev/md1 on /var (ufs, local)
          /dev/ufs/cf on /cf (ufs, local, noatime, synchronous)
          devfs on /var/dhcpd/dev (devfs, local)
          
          last pid: 71430;  load averages:  0.93,  0.70,  0.61  up 0+05:12:55    17:35:39
          39 processes:  1 running, 38 sleeping
          
          Mem: 38M Active, 90M Inact, 61M Wired, 2948K Cache, 33M Buf, 38M Free
          Swap:
          
            PID USERNAME  THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
          33370 root        1  68   20  3364K  1164K nanslp   0:43  5.96% blinkled
          32870 root        1  68   20  3364K  1164K nanslp   0:43  5.96% blinkled
            286 root        1  76   20  3416K  1088K kqread   0:46  0.00% check_reload_st
          30295 root        1  76    0 33436K 21364K accept   0:19  0.00% php
           7805 root        1  44    0  4984K  1952K select   0:02  0.00% syslogd
          27708 root        1  44    0  6988K  4240K kqread   0:01  0.00% lighttpd
          55250 dhcpd       1  44    0  8448K  4936K select   0:01  0.00% dhcpd
          25979 root        1  44    0  5928K  1940K bpf      0:01  0.00% tcpdump
          26326 root        1  44    0  3328K   836K piperd   0:01  0.00% logger
          47360 root        1  76   20  3708K  1332K wait     0:00  0.00% sh
          27992 root        1  76    0 31388K 11016K wait     0:00  0.00% php
          11940 root        1  64   20  3328K  1320K select   0:00  0.00% apinger
          48233 nobody      1  44    0  5576K  2244K select   0:00  0.00% dnsmasq
          19893 root        1  44    0  5196K  2012K select   0:00  0.00% hostapd
          45788 root        1  64   20  5136K  3112K select   0:00  0.00% openvpn
          22722 root        1  64   20  6132K  6156K select   0:00  0.00% ntpd
          62900 root        1  76    0  3708K  1468K wait     0:00  0.00% sh
          67937 root        1  69    0  3328K  1044K nanslp   0:00  0.00% minicron
          
          NanoBSD upgrade starting
          
          dd if=/dev/zero of=/dev/ad0s2 bs=1m count=1
          1+0 records in
          1+0 records out
          1048576 bytes transferred in 0.142430 secs (7362041 bytes/sec)
          
          /usr/bin/gzip -dc /root/latest.tgz | /bin/dd of=/dev/ad0s2 obs=64k
          311140+0 records in
          2430+1 records out
          159303680 bytes transferred in 41.707834 secs (3819515 bytes/sec)
          After upgrade fdisk/bsdlabel
          
          /sbin/fsck_ufs -y /dev/ad0s2a
          Can't stat /dev/ad0s2a: No such file or directory
          Can't stat /dev/ad0s2a: No such file or directory
          
          /sbin/tunefs -L pfsense1 /dev/ad0s2a
          tunefs: /dev/ad0s2a: could not find special device
          Checking for post_upgrade_command...
          

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

          1 Reply Last reply Reply Quote 0
          • M
            MaxPF
            last edited by

            Tried again updating to the latest build:

            Current version: 2.1-BETA1
              NanoBSD Size : 4g
                  Built On: Wed Jan  9 00:05:58 EST 2013
                New version: Sat Jan 12 00:36:46 EST 2013

            Same error.

            1 Reply Last reply Reply Quote 0
            • G
              Gho57rid3r
              last edited by

              Ditto on all the above with the same base image from 9th.  Exact same errors.

              1 Reply Last reply Reply Quote 0
              • P
                phil.davis
                last edited by

                Me too - tried multiple times. See this thread also:
                http://forum.pfsense.org/index.php/topic,57681.0.html
                There are enough of us that it is not a hardware problem with someone's CF card.

                As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                1 Reply Last reply Reply Quote 0
                • X
                  xbipin
                  last edited by

                  +1

                  the only thing that works is manually uploading the upgrade file using webgui

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    The signature failure is always logged if it's seen, so it's not likely related. Meaning it will log that if you tell it to ignore the signatures, too

                    So something must have really not gone as expected updating the fstab entry.

                    I wonder if it's not getting the right images for some reason, since I did change the builder code a few days ago to use links instead of copies of the images. Full installs are fine, but it's possible that it's just not getting the expected files for nanobsd. I'll look at it shortly.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      ok, I see the problem and hopefully just fixed it, will know after the snapshot run I just started ends.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        Should be fixed now. 2.1 images that are up now upgrade ok (my alix just did), corrected 2.0.x snaps will be up overnight.

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 0
                        • P
                          phil.davis
                          last edited by

                          Yep, thanks - upgrade went fine to:
                          2.1-BETA1 (i386)
                          built on Sun Jan 13 19:34:21 EST 2013
                          FreeBSD 8.3-RELEASE-p5

                          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                          1 Reply Last reply Reply Quote 0
                          • X
                            xbipin
                            last edited by

                            done, thanks

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.