Cloudron stuck on version 7.3.5
-
Hi,
I've discovered by Cloudron is still on 7.3.5.When I look to update it to 7.3.6 (I assume I have to do each update in sequence?), it times out with the error -
Cloudron update errored. Error: update exited with code 1 signal null
{
"taskId": "8723",
"errorMessage": "update exited with code 1 signal null",
"timedOut": false
}Any suggestions on what I need to do?
Thanks
Mark -
-
This is the info from the logs
Aug 13 13:30:10 box:locker Acquired : box_update
Aug 13 13:30:10 box:tasks startTask - starting task 8741 with options {"timeout":72000000,"nice":15,"memoryLimit":400}. logs at /home/yellowtent/platformdata/logs/tasks/8741.log
Aug 13 13:30:10 box:shell startTask spawn: /usr/bin/sudo -S -E /home/yellowtent/box/src/scripts/starttask.sh 8741 /home/yellowtent/platformdata/logs/tasks/8741.log 15 400
Aug 13 13:30:10 box:shell startTask (stdout): Running as unit: box-task-8741.service
Aug 13 13:30:20 box:apphealthmonitor app health: 7 running / 3 stopped / 0 unresponsive
Aug 13 13:30:23 box:shell startTask (stdout): Finished with result: success
processes terminated with: code=exited/status=0
runtime: 23.433s
time consumed: 3.003s
Aug 13 13:30:23 box:shell startTask (stdout): Service box-task-8740 finished with exit code 0
Aug 13 13:30:23 box:tasks startTask: 8740 completed with code 0
Aug 13 13:30:23 box:tasks startTask: 8740 done. error: null
Aug 13 13:30:23 box:shell startTask (stdout): Finished with result: exit-code
processes terminated with: code=exited/status=50
runtime: 13.106s
time consumed: 2.661s
Aug 13 13:30:23 box:shell startTask (stdout): Service box-task-8741 failed to run
Aug 13 13:30:23 box:shell startTask (stdout): Service box-task-8741 finished with exit code 1
Aug 13 13:30:23 box:shell startTask code: 1, signal: null
Aug 13 13:30:23 box:tasks startTask: 8741 completed with code 1
Aug 13 13:30:23 box:locker Released : box_update
Aug 13 13:30:23 box:updater Update failed with error {
stack: 'BoxError: update exited with code 1 signal null\n' +
' at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:78:17)\n' +
' at ChildProcess.emit (node:events:513:28)\n' +
' at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)',
name: 'BoxError',
reason: 'Spawn Error',
details: {},
message: 'update exited with code 1 signal null',
code: 1,
signal: null
Aug 13 13:30:23 box:tasks startTask: 8741 done. error: {
stack: 'BoxError: update exited with code 1 signal null\n' +
' at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:78:17)\n' +
' at ChildProcess.emit (node:events:513:28)\n' +
' at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)',
name: 'BoxError',
reason: 'Spawn Error',
details: {},
message: 'update exited with code 1 signal null',
code: 1,
signal: null -
Similar issue – I am stuck on v7.4.3
-
2023-08-13T18:25:20.168Z box:apphealthmonitor app health: 30 running / 4 stopped / 0 unresponsive
2023-08-13T18:25:26.811Z box:shell startTask (stderr): Finished with result: exit-code
Main processes terminated with: code=exited/status=50
Service runtime: 2min 11.433s2023-08-13T18:25:26.813Z box:shell startTask (stdout): Service box-task-3018 failed to run
2023-08-13T18:25:26.818Z box:shell startTask (stdout): Service box-task-3018 finished with exit code 1
2023-08-13T18:25:26.820Z box:shell startTask code: 1, signal: null
2023-08-13T18:25:26.821Z box:tasks startTask: 3018 completed with code 1
2023-08-13T18:25:26.822Z box:locker Released : box_update
2023-08-13T18:25:26.823Z box:updater Update failed with error. { stack: 'BoxError: update exited with code 1 signal null\n' + ' at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:78:17)\n' + ' at ChildProcess.emit (node:events:513:28)\n' + ' at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)', name: 'BoxError', reason: 'Spawn Error', details: {}, message: 'update exited with code 1 signal null', code: 1, signal: null }
2023-08-13T18:25:26.823Z box:tasks startTask: 3018 done. error: { stack: 'BoxError: update exited with code 1 signal null\n' + ' at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:78:17)\n' + ' at ChildProcess.emit (node:events:513:28)\n' + ' at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)', name: 'BoxError', reason: 'Spawn Error', details: {}, message: 'update exited with code 1 signal null', code: 1, signal: null } -
@markjames @plusone-nick are you on ubuntu 18 ? If so, try https://forum.cloudron.io/topic/9506/cloudron-on-18-04-5-glibc_2-28-not-found-required-by-node/12
-
@plusone-nick what's in the task logs ?
/home/yellowtent/platformdata/logs/tasks/3018.log
-
Looks to be the same
2023-08-13T18:25:06.723Z box:tasks update 3018: {"percent":70,"message":"Installing update"}
2023-08-13T18:25:06.724Z box:shell update spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/update.sh /tmp/box-3799367888
2023-08-13T18:25:06.738Z box:shell update (stdout): Updating Cloudron with /tmp/box-3799367888
=> reset service cloudron-updater status (of previous update)2023-08-13T18:25:06.743Z box:shell update (stdout): => Run installer.sh as cloudron-updater.
2023-08-13T18:25:06.744Z box:shell update (stdout): => starting service cloudron-updater. see logs at /home/yellowtent/platformdata/logs/updater/cloudron-updater-2023-08-13_18-25-06.log
2023-08-13T18:25:06.754Z box:shell update (stderr): Running as unit: cloudron-updater.service
2023-08-13T18:25:06.761Z box:shell update (stdout): cloudron-updater is still active. will check in 5 seconds
2023-08-13T18:25:11.767Z box:shell update (stdout): cloudron-updater is still active. will check in 5 seconds
2023-08-13T18:25:16.773Z box:shell update (stdout): cloudron-updater is still active. will check in 5 seconds
2023-08-13T18:25:21.780Z box:shell update (stdout): cloudron-updater is still active. will check in 5 seconds
2023-08-13T18:25:26.786Z box:shell update (stdout): => cloudron-updater has failed
2023-08-13T18:25:26.787Z box:shell update code: 1, signal: null
2023-08-13T18:25:26.788Z box:taskworker Task took 130.902 seconds
2023-08-13T18:25:26.788Z box:tasks setCompleted - 3018: {"result":null,"error":{"stack":"BoxError: update exited with code 1 signal null\n at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:78:17)\n at ChildProcess.emit (node:events:513:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)","name":"BoxError","reason":"Spawn Error","details":{},"message":"update exited with code 1 signal null","code":1,"signal":null}}
2023-08-13T18:25:26.788Z box:tasks update 3018: {"percent":100,"result":null,"error":{"stack":"BoxError: update exited with code 1 signal null\n at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:78:17)\n at ChildProcess.emit (node:events:513:28)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)","name":"BoxError","reason":"Spawn Error","details":{},"message":"update exited with code 1 signal null","code":1,"signal":null}}
BoxError: update exited with code 1 signal null
at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:78:17)
at ChildProcess.emit (node:events:513:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) -
@plusone-nick said in Cloudron stuck on version 7.3.5:
/home/yellowtent/platformdata/logs/updater/cloudron-updater-2023-08-13_18-25-06.log
Can you check this log file? BTW, the logs are this way only on ubuntu 18 i.e having to follow multiple log files because of oldre systemd limitations. (but you said ubuntu 20?)
-
@markjames said in Cloudron stuck on version 7.3.5:
Hi @girish, no I'm on Ubuntu 22.04.
Hi @girish , what about for me? I'm on 22.04.
-
@girish Apparently I was wrong about my other server, it WAS on originally on 18 but now on 22. Question about the Ubuntu upgrade process. Is it required for ALL use cases? Like If my original Cloudron was on 18.x and then I did a backup and built a physical new server on 22.x can i just use the backup file? or do i have to put the same OS version on the new server and then upgrade in place?
-
@plusone-nick said in Cloudron stuck on version 7.3.5:
or do i have to put the same OS version on the new server and then upgrade in place?
OS can be any version to restore a Cloudron backup. The backups are portable across OS versions.
-
@plusone-nick thanks for the logs. The issue is the apt packages are 'stuck'. You have to run
apt --fix-broken install
and see what it says. This sometimes happens with apt gets confused (though I am not sure how/why) wrt kernel upgrades. Once you fix the apt situation, updates should work. -