Closed toffee closed 2 years ago
Hi,
Nice to see that you are using my deployment. :-) I'm aware of this issues and it is already fixed locally and will be committed tomorrow. Sorry that I committed a broken version.
Currently I'm refactoring the whole role "update_check" to be much more. The next version will provide a nice web UI where you can update your base system, your smart server deployment or restart services which are recently updated.
But for that, you have to clean the old role deployment manually to eleminate leftovers. It is changed really a lot to. (crond, var, log, etc, htdocs/main/components...)
Btw. The first version work only on opensuse for now. Other distribution will follow soon
Best
Holger
everything should work now. To migrate from the old "update_notifier" role to the new "update_daemon" please delete
Thank you very much for considering and fixing the issue. Much appreciated your effort to improve the whole deployment!
Regarding https://github.com/HolgerHees/smartserver/blob/fb2da21aebb7453e5a22fdf068978c84ca575498/roles/update_daemon/templates/opt/update_daemon/plugins/os/opensuse.py#L14
On my system (recently updated) the output of command
is:
The following exception is thrown:
For the moment I fixed this by this additional check:
but I'm not sure the logic is correct (needs_restart = False) as long the output says "Reboot is probably not necessary."