Project

General

Profile

Bug #7495

Updating incorrectly indicates it failed

Added by Philip Robar almost 6 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Nice to have
Assignee:
Sean Fagan
Category:
OS
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I updated from FreeNAS-9.3-Nightlies-201501100401 to FreeNAS-9.3-Nightlies-201501130401 and got an error message/alert that the update had failed, but it was actually successful based on what is shown in System->Boot and System->Information.

Update failed. Check /data/update.failed for further details.

Sean Fagan's analysis:

So this is a red herring...

What's going on is that we changed the post-upgrade scripts to do the database migration, rather than touch a sentinel file, reboot, have it notice that file and do the migration, and then reboot again. So it saves a reboot.

update.failed (2.02 KB) update.failed /data/update.failed Philip Robar, 01/13/2015 01:39 PM

Related issues

Related to FreeNAS - Bug #7448: Let's try avoiding an extra reboot on updatingResolved2015-01-09

Associated revisions

Revision f93a668a (diff)
Added by Sean Fagan almost 6 years ago

Clean up the output of the migrate command on success. This otherwise lead to reports of a failed upgrade when it succeeded. Ticket: #7495

Revision 8e4a89cc (diff)
Added by Sean Fagan almost 6 years ago

Cherry-pick three changes: 92c1d8e5ab68b8d0834dd6fae9d822adb7b0559d Ticket: #7438 cfe2857df84274dca18dfad86845f55d310336ea Ticket: #7448 f93a668a0b81c6933b84d806c6006a107c65be23 Ticket: #7495

History

#1 Updated by Sean Fagan almost 6 years ago

  • Status changed from Unscreened to Fix In Progress
  • Assignee set to Sean Fagan
  • Target version set to Unspecified

I missed a part of the ix-update script.

#2 Updated by Sean Fagan almost 6 years ago

  • Seen in changed from to 9.3-RELEASE

#3 Updated by Sean Fagan almost 6 years ago

  • Related to Bug #7448: Let's try avoiding an extra reboot on updating added

#4 Updated by Sean Fagan almost 6 years ago

f93a668a0b81c6933b84d806c6006a107c65be23

This needs to be merged into STABLE at the same time as 7448.

#5 Updated by Sean Fagan almost 6 years ago

  • Status changed from Fix In Progress to Ready For Release

#6 Updated by Jordan Hubbard almost 6 years ago

  • Status changed from Ready For Release to Resolved

#7 Avatar?id=14398&size=24x24 Updated by Kris Moore about 4 years ago

  • Target version changed from Unspecified to N/A

Also available in: Atom PDF