Koozali.org: home of the SME Server

Contribs.org Forums => Koozali SME Server 10.x => Topic started by: julianop on May 24, 2023, 08:03:28 AM

Title: "Warning: a reconfigure and reboot is required before proceeding..."
Post by: julianop on May 24, 2023, 08:03:28 AM
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?
Title: Re: "Warning: a reconfigure and reboot is required before proceeding..."
Post by: mmccarn on May 24, 2023, 12:34:09 PM


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...
Title: Re: "Warning: a reconfigure and reboot is required before proceeding..."
Post by: ReetP on May 24, 2023, 02:18:10 PM
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.
Title: Re: "Warning: a reconfigure and reboot is required before proceeding..."
Post by: ReetP on May 24, 2023, 02:29:22 PM
Ah OK - Mike please fill in some more!!

https://wiki.koozali.org/How_to_report_a_problem
Title: Re: "Warning: a reconfigure and reboot is required before proceeding..."
Post by: julianop on May 24, 2023, 02:33:22 PM
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.
Title: Re: "Warning: a reconfigure and reboot is required before proceeding..."
Post by: ReetP on May 24, 2023, 06:20:00 PM
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!!

Title: Re: "Warning: a reconfigure and reboot is required before proceeding..."
Post by: Jean-Philippe Pialasse on May 24, 2023, 10:58:12 PM
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