Updating from 9.10.2-U2 to 9.10.2-U3 crashes

Status
Not open for further replies.

freenarb

Cadet
Joined
Feb 11, 2015
Messages
9
Hi
The U3 update seems to download ok but when installing it the progress bar shows the start of the process and then it just dies and returns to the Update page. Are there any known problems with installation of U3? Any way to find out what's going on? (Presumably something is crashing so maybe there's a log...)
 
D

dlavigne

Guest
Please post your hardware specs. Also, how much space is "Used" on the boot device (from System -> Boot)?
 

freenarb

Cadet
Joined
Feb 11, 2015
Messages
9
Thanks for the tip - I freed some space and the install succeeded.
A sensible error message would have been nice.
 
D

dlavigne

Guest
How big is the boot device? It should have auto-pruned if there wasn't enough room. Can you post a screenshot of your System -> Boot screen?
 

ixion

Dabbler
Joined
Dec 22, 2011
Messages
30
Same thing happened to me. I had 1.4GB free, but apparently that wasn't enough, there was no "auto prune", I had to delete some older boot environments.

Now, the update does start, but it gets stuck at 20% (there's a separate thread on this, apparently others are also getting stuck at 20%).
 
S

sef

Guest
When in doubt, run the command from the shell: freenas-update -v check && freenas-update --reboot -v update
 
D

dlavigne

Guest
Please create a bug report at bugs.freenas.org and post the issue number here. It sounds like the autopruner either isn't working or isn't working for certain edge cases.
 
S

sef

Guest
Please create a bug report at bugs.freenas.org and post the issue number here. It sounds like the autopruner either isn't working or isn't working for certain edge cases.
The auto-pruner won't prune anything if there aren't any BEs marked as keep=no.
 
S

sef

Guest
Depends when they were created! The change only went in a few months ago, so if you're on a -STABLE train, you may only have a couple (or none now :)) that have the setting.

On my production system at home, for example:
  1. freenas-boot/ROOT/default beadm:keep - -
  2. freenas-boot/ROOT/Initial-Install beadm:keep - -
  3. freenas-boot/ROOT/Pre-9.10-STABLE-201605021851-515768 beadm:keep - -
  4. freenas-boot/ROOT/9.10-STABLE-201605240427 beadm:keep - -
  5. freenas-boot/ROOT/9.10-STABLE-201606072003 beadm:keep - -
  6. freenas-boot/ROOT/9.10-STABLE-201606270534 beadm:keep - -
  7. freenas-boot/ROOT/9.10.1 beadm:keep - -
  8. freenas-boot/ROOT/9.10.1-U1 beadm:keep - -
  9. freenas-boot/ROOT/9.10.1-U2 beadm:keep - -
  10. freenas-boot/ROOT/9.10.1-U3 beadm:keep - -
  11. freenas-boot/ROOT/9.10.1-U4 beadm:keep - -
  12. freenas-boot/ROOT/9.10.2 beadm:keep - -
  13. freenas-boot/ROOT/9.10.2-U1 beadm:keep False local
  14. freenas-boot/ROOT/9.10.2-U2 beadm:keep False local
  15. freenas-boot/ROOT/9.10.2-U3 beadm:keep False local
It has to be "False" -- when it's not set, it's not prunable. The old UI is wrong there, and shows 'No' when it's not set at all. (And part of that gets back to me, I should have named it "prunable" because that's what it really means -- it only matters when it's set to False.)
 
Status
Not open for further replies.
Top