Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Install not exited properly?

    Support
    installation
    2
    5
    237
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      ccfu last edited by girish

      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?

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        @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.

        C 1 Reply Last reply Reply Quote 0
        • C
          ccfu @girish last edited by

          @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.

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @ccfu last edited by

            @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.

            C 1 Reply Last reply Reply Quote 1
            • C
              ccfu @girish last edited by

              @girish Thanks for that command. It is indeed strange and I haven't seen it on other Cloudrons, so something must have got stuck with this one. Not a big deal, but it's nice to have that message not displaying any more.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB