Unable to update
-
@girish I have been having a similar issue this past two months. For some reason when I go to update my cloudron, it never updates to the current. So the auto renew certs never auto renewed and I am unable to update my cloudron instance using Settings update.
Any work around to force update?
-
@Gary-Host I think if the update is failing, it's most likely some apt related issue (and not cert cert related). Do you see any logs in
/home/yellowtent/platformdata/logs/updater
? You will see files here namedcloudron-updater-<timestamp>.log
. Can you also check ifapt update
works ? You can also try ifapt upgrade libxml2
works. Usually, these things get "stuck" with some package configuration issue that have to be resolved by hand. -
@Gary-Host Do you happen to have a large network blocklist ? I found that in @robi's Cloudron server, a large blocklist was essentially preventing the firewall from starting cleanly.
It seems this is a known issue in the kernel - https://github.com/firewalld/firewalld/issues/738 , for example.
-
@Gary-Host ah ok, then something is failing much before it gets to the update. Can you please check
/home/yellowtent/platformdata/logs/box.log
and start an update. It will print out the task information and task log file. Can you please check that log file?(If this is getting too complicated, you can write to us at support@cloudron.io and we can take a look).
-
@Gary-Host Thanks. So to be clearer here about the update logs.
- First, tail the log file
/home/yellowtent/platformdata/logs/box.log
- Now, start the update in the UI
- You will see something like this in the logs:
2022-03-17T05:30:00.012Z box:tasks startTask - starting task 3970 with options {}. logs at /home/yellowtent/platformdata/logs/tasks/3970.log 2022-03-17T05:30:00.012Z box:shell startTask spawn: /usr/bin/sudo -S -E /home/yellowtent/box/src/scripts/starttask.sh 3970 /home/yellowtent/platformdata/logs/tasks/3970.log 0 400
- Now, you can check the log file as listed above at
/home/yellowtent/platformdata/logs/tasks/3970.log
That should give us info on why it's not updating.
- First, tail the log file