Koozali.org: home of the SME Server

"Warning: a reconfigure and reboot is required before proceeding..."

Offline julianop

  • *
  • 61
  • +0/-0
I cannot make this warning message (on the software installer page) go away. It started appearing after a package update a while back, but no amount of reconfigure/reboot sequences clears the message.
How would I go about looking for a cause/solution, please?

Offline mmccarn

  • *
  • 2,627
  • +10/-0


Try:
Code: [Select]
signal-event console-save
The software installer warning is generated when config get UnsavedChanges returns "yes"

The "console-save" event calls the "reset-unsavedflag" action but as far as I can tell the "post-upgrade" event does not...

Offline ReetP

  • *
  • 3,740
  • +5/-0
How would I go about looking for a cause/solution, please?

(I really must do a wiki page on this)

Tell us about your server history - upgrades/updates and what you have installed, and then some debugging output.

Either do:

Code: [Select]
/sbin/e-smith/audittools/newrpms
/sbin/e-smith/audittools/repositories
/sbin/e-smith/audittools/templates

Or go to server-manager, Miscellaneous, Report a bug, Create Configuration report.

Then do:

Code: [Select]
db configuration show

Remove anything sensitive like passwords and public IPs.

You might want to put this on somewhere like pastebin as it will likely be long.

You can also look in your logs for errors:

https://wiki.koozali.org/Log_Files

You can see how to search here:

https://wiki.koozali.org/Useful_Commands#Parse_Log_files_to_search_for_errors



Try:
Code: [Select]
signal-event console-save
The software installer warning is generated when config get UnsavedChanges returns "yes"

The "console-save" event calls the "reset-unsavedflag" action but as far as I can tell the "post-upgrade" event does not...

I believe that this is correct.

However, just setting it to no is not the real solution - as Mike says, it should happen with the post-upgrade.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,740
  • +5/-0
Ah OK - Mike please fill in some more!!

https://wiki.koozali.org/How_to_report_a_problem
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline julianop

  • *
  • 61
  • +0/-0
Thanks very much for these observations/recommendations. I will do as suggested, and return to report. It will take me a few hours to get a round tuit, as this is ain't my f/t job.

Offline ReetP

  • *
  • 3,740
  • +5/-0
Thanks very much for these observations/recommendations. I will do as suggested, and return to report. It will take me a few hours to get a round tuit, as this is ain't my f/t job.

NP - we all have busy lives!!

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Online Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
it should remove this flag at the reboot after a post-upgrade event. Indeed this when the bootstrap console reset the flag using another event, but running this event does not replace a reboot.  as few service would need a restart when this flag is raised and also a reboot is mandatory after kernel upgrade too