Unable to Update FreeNAS 9.3 Stable via WebGUI Updater any longer

Status
Not open for further replies.

Dave Genton

Contributor
Joined
Feb 27, 2014
Messages
133
I currently have booted version 201501150211 from yesterday's stable release. Today on the same server I cannot install today's update with versions from gui updater window pasted below.

Upgrade: base-os-9.3-STABLE-10199d3-2930742-97f6b5a -> base-os-9.3-STABLE-10594d6-cf4f77e-97f6b5a
Upgrade: FreeNASUI-9.3-STABLE-10199d3-2930742-97f6b5a -> FreeNASUI-9.3-STABLE-10594d6-cf4f77e-97f6b5a
Upgrade: freenas-pkg-tools-9.3-STABLE-82d7111 -> freenas-pkg-tools-9.3-STABLE-10594d6

Error given is unable to mount boot device with name matching today's version number.

The same exact error is being given on my secondary/backup FreeNAS box which coincidentally also failed like this yesterday when it was still on nightlies for 9.3. I rebooted that box to prior release then ran updates after switching it back to stable train. Now they are both on yesterday's updated STABLE train and both are failing with same error: unable to mount boot device <todaysversionnumber>

Thanks
dave
 

Dave Genton

Contributor
Joined
Feb 27, 2014
Messages
133
Tried booting 2ndary FreeNAS to prior boot environment then again upgrade to today's 201501151844 version which continues to fail with error message unable to mount boot version 201501151844
 

Fraoch

Patron
Joined
Aug 14, 2014
Messages
395
See https://bugs.freenas.org/issues/7517#change-34024

You can:

1. Edit /usr/local/lib/freenasOS/Update.py, finding the "arts" typo and changing to "args".
2. Boot from a previous FreeNAS boot environment and update from there.
3. Update using an ISO.

For some reason I was never able to find the "arts" typo, though I have updated to all releases and should have seen it. I updated to the latest nightly for testing and tried to go back to STABLE but that failed, though not with the same error as you. However manually updating worked fine.
 

Joe-freenas

Dabbler
Joined
Jan 15, 2015
Messages
16
This should work and should be the easiest fix:
(Make sure you are booting from a version that does NOT have the update-fail bug).

Previous to latest update introduced a bug which makes new updates fail.
They already put a patch in the latest nightly build, but if updates cannot be appplied....what to do!?
Thanks to ZFS, the solution is easy...simply reboot and choose the previous boot environment at boot time and then simply apply latest update and presto!
Thanks ZFS, thanks FreeNAS team and you are welcome! ;-)
 

Dave Genton

Contributor
Joined
Feb 27, 2014
Messages
133
Ok, thanks, I had tried doing that but I need to go back 2 releases, not just one then.

Giving it a go now..
dave
 

Dave Genton

Contributor
Joined
Feb 27, 2014
Messages
133
Thanks guys, back up and working on both servers with today's update no problem. I wasn't removing yesterday's update, infact rebooting back to that update not understanding I had to be prior to that version.

thanks again,
dave
 
Status
Not open for further replies.
Top