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


Ubuntu Reboot to install updates left some Apps not responding



  • Tried Repair > Restart App on each but that didn't work.

    A second Reboot seems to have fixed.

    This only happened on one Cloudron, and I don't have anything custom on the server.

    Just noting here in case other's have similar issues.



  • @marcusquinn I can report a bit different behaviour but overlaps with the reboot for security updates part. Usually when they are present I reboot using Cloudron's UI. I did that this time too, however after about 15 minutes (it normally is back online in under 4 minutes), it was still unresponsive and showing the "offline" red banner it does when a connection drops. So I went into the VPS provider UI and rebooted the VPS itself (a sort of hard reboot), and this resolved it for me, it was back online in about 3 minutes after that. This I think was the first time that's happened to me where it doesn't come back online after a reboot through the Cloudron UI.



  • @d19dotca I had exactly the same issue as you described, somehow the Cloudron reboot doesn’t do it all.



  • Same situation again today after today's latest round of system updates. 😞


  • Staff

    @d19dotca So, some of the app don't start up? What apps are these and what do you see in the app logs for these apps? I am wondering if there is some timing issue wrt to the ordering of how databases start up. Also, are all the services up in Services?



  • @girish Not quite, that's how it was described by @marcusquinn but that's not the exact behaviour I saw. It seems both myself and @imc67 had issues (initially anyways, I can confirm this second round behaved the same too, will be interesting to see if @imc67 sees that too the second time around) where the Cloudron never comes back up at all. No dashboard, can't SSH, nothing. It's as if the server was shutdown instead of rebooted. When I reboot from the VPS provider dashboard, it then comes back up right away.


  • Staff

    If the server provider of any of your guys provides graphs/stats, is there a 100% CPU use around the time Cloudron is not responding. We have had a few complaints in the past about Cloudron going unresponsive randomly but we never got to the bottom of it



  • @girish I discovered the following:

    I have 3 Cloudron Pro's:
    2 at NetCup (6 and 10 CPU's) and
    1 at DO (2 CPU's),

    the ones at NetCup go well without issues, the one at DO has the issue of unresponsive after GUI reboot and needed a VPS reboot.

    I expect a security reboot is coming (I see there are 9 security updates waiting and @d19dotca seemed to have it already), I'll make screenshots of the DO graphics around reboot.

    Regards,

    Marcel.



  • @girish For me it just affected Ghost, Matomo, Wordpress. Restarting the Apps didn't fix but rebooting the server did.



  • @imc67 here are the results:

    Cloudron 1 on Netcup: no issues
    Cloudron 2 on Netcup: only Bitwarden didn't start, on the dashboard it said "running" but it was not!
    Cloudron 3 on DO: this time no issues (but time before Cloudron didn't start), below the DO stats (reboot around 22:45h):

    Screen Shot 2020-09-11 at 22.57.34.png



  • @girish - So interestingly enough - and this may mean the issue I had is different than the others so I can open a different thread if you prefer - I had to reboot the server today but not for security updates, nothing Cloudron needs to do. but when I used the Cloudron Reboot button on System page, it behaved the same way, it's as if it does a shutdown and not a restart for me for some reason. Waited about 5 minutes (most I could wait) for it to come back but never came back and any SSH attempts were met with Connection Refused, yet within maybe just 15 seconds of rebooting the server through the VPS console instead, I could connect to SSH again and everything came back up. Something broke it seems with reboots in 5.5, approximately, at least for my node. Not sure if this is the same as others though, seems perhaps my environment is behaving a bit differently.


  • Staff

    I wonder if this is because we do a "sync" before the reboot (https://git.cloudron.io/cloudron/box/-/blob/master/src/scripts/reboot.sh#L16). Maybe the sync is making it appear as if things are "stuck". This code hasn't changed in ages though. Did you happen to attach or change the disk type around the 5.5 time frame?



  • @girish No new disks or anything, no. I only have one ext4 disk attached and that's been there for a few months now, it's sole use is for Cloudron backups. No app storage or anything like that on that ext4 disk. All I can really say is the very first time I noticed it was at the time this thread was posted (so about 16-17 days ago - which I realize wasn't really 5.5 so I guess not a 5.5 issue), as I had seen after that round of Ubtuntu updates needed where Cloudron alerted me to needing a reboot, then that was the first reboot which didn't go smoothly for me and looked like the whole server was completely unavailable as SSH sessions and everything breaks, sites won't load, but it never comes back until I do a more forceful one from the VPS provider console.


Log in to reply