Menu

#872 Firmware update using the GUI fails; using CLI succeeds

open
nobody
Others (142)
5
2014-10-14
2011-04-15
lml
No

Not sure if this should be in the "Interface" category or the "WebGUI" category, or otherwise. Thus I've selected category: Others.

Updating from FreeNAS-8.0-RC4-amd64 to FreeNAS-8.0-RC5-amd64 via FreeNAS-8.0-RC5-amd64.GUI_upgrade.xz using the WebGUI (System->Settings->Firmware Update) fails.

Network activity is visible on the router for several seconds after pressing the "Update" button and at some point messages such as the following show up in the console:

Apr 12 20:21:10 freenas freenas[1643]: Executing: /bin/rm -rf /var/tmp/firmware
Apr 12 20:21:10 freenas freenas[1643]: Executing: /bin/mkdir -p /mnt/media/dataset_name/.freenas
Apr 12 20:21:10 freenas freenas[1643]: Executing: /usr/sbin/chown www:www /mnt/media/dataset_name/.freenas
Apr 12 20:21:10 freenas freenas[1643]: Executing: /bin/ln -s /mnt/media/dataset_name/.freenas /var/tmp/firmware

However, after waiting an additional 30 minutes after the network activity ceases, the server does not reboot and the version reported remaines at FreeNAS-8.0-RC4-amd64.

Subsequent search for the FreeNAS server for the FreeNAS-8.0-RC5-amd64.GUI_upgrade.xz file does not reveal it to be under /mnt (or / for that matter).

The sha256sum was verified prior to the update attempts.

Client OS: Fedora Core 12 (Linux 2.6.32.26-175.fc12.i686.PAE)
Client browser: firefox-3.5.15-1.fc12.i686
Browser add-ons: No Script (but with FreeNAS server whitelisted); Adblock Plus

Update via CLI by copying the file over NFS mount and then issuing this command:

/usr/bin/xz -cd <path_to_firmware>/FreeNAS-8.0-RC5-amd64.GUI_upgrade.xz | sh /root/update && touch /data/need-update

followed by a manual reboot did succeed in applying the update. Apparently another user has run into this problem - reference his post at https://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=99&t=9937 (which is where I got the CLI update method from).

Discussion

  • lml

    lml - 2011-04-15

    One more item to add: a forced reboot after the attempted WebGUI firmware update did not improve the situation (it remained at the previous firmware version).

     
  • louis-m

    louis-m - 2011-04-15

    same here updating rc4 > rc5. File sucessfully uploaded but did not appear to do anything after that. Waited for 10 mins before rebooting.
    rc5_x64 upgrade from windows7_64 using firefox 4.

    rc5_x64 iso worked fine from cdrom.

     
  • lml

    lml - 2011-04-27

    All future commentary should be done at https://support.freenas.org/ticket/296 instead of on this bug ID: 3286946.

     

Log in to post a comment.