Install not exited properly?
-
I just logged in to a server via SSH that has been running well for a couple of months and noticed the following message:
Cloudron is installing. Run 'tail -f /var/log/cloudron-setup.log' to view progress
The log shows as the last entry:
start: Almost done
How can I remove the 'Cloudron is installing' message?
-
@ccfu "Almost done" is the last message you see in the logs, there is nothing after that. If you had the initial terminal window open i.e where you ran the cloudron-setup script, it would have asked you to reboot the server. So, you can just reboot the server. Once rebooted that message will go away.
-
@girish Yes, that is the expected behaviour but the message in the logs is from the install date in March and the server has been rebooted several time since then (for example to finish security updates) and has also seen updates to 6.2.7 and 6.28. The message is still there.
-
@ccfu Oh, I see. You can just
sudo rm -f /etc/update-motd.d/91-cloudron-install-in-progress
and that message will go away. This is supposed to be done by the installer code, not sure why it wasn't removed.function exitHandler() { rm -f /etc/update-motd.d/91-cloudron-install-in-progress } trap exitHandler EXIT
Maybe there is some case where it's possible that bash's exit handler is not called, mm.