Traccar nach Update defekt
-
- Cloudron von Version 8.3.2 auf 9.0.5 geupdatet um auf aktuelle Traccar Version zu kommen.
- Im Nachhinein bemerkt, dass Fehler bei Update:
22. Okt. 2025, 14:24 peterraeber Cloudron update errored. Error: Task 6583 crashed with code null Source IP: 10.24.55.2 { "taskId": "6583", "errorMessage": "Task 6583 crashed with code null", "timedOut": false }- Update von Traccar v1.20.0 to v1.21.0
- Update von Traccar v1.21.0 to v1.21.1
- Webinterface von Traccar fehlerhaft, Wiederherstellen von Backup.
- Backup wiederherstellen schlΓ€gt fehl, egal welches Backup Fehler: Error - Task crashed. The expression evaluated to a falsy value: assert(error instanceof BoxError)
assert(error instanceof BoxError) 2025-10-22T15:29:56.453Z box:locks write: current locks: {} 2025-10-22T15:29:56.453Z box:locks release: app_task_7bfaee0e-2ed3-4014-ad48-fa39e11dea34 2025-10-22T15:29:56.456Z box:locks write: current locks: {} 2025-10-22T15:29:56.456Z box:locks releaseByTaskId: 6602 2025-10-22T15:29:56.456Z box:scheduler resumeAppJobs: 7bfaee0e-2ed3-4014-ad48-fa39e11dea34 2025-10-22T15:30:00.003Z box:system checkDiskSpace: checking disk space 2025-10-22T15:30:00.004Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target 2025-10-22T15:30:00.008Z box:janitor Cleaning up expired tokens 2025-10-22T15:30:00.010Z box:eventlog cleanup: pruning events. creationTime: Thu Jul 24 2025 15:30:00 GMT+0000 (Coordinated Universal Time) 2025-10-22T15:30:00.012Z box:janitor Cleaned up 0 expired tokens 2025-10-22T15:30:00.013Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/platformdata 2025-10-22T15:30:00.016Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/boxdata/box 2025-10-22T15:30:00.022Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/boxdata/mail 2025-10-22T15:30:00.034Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /var/backups 2025-10-22T15:30:00.047Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /var/lib/docker 2025-10-22T15:30:00.058Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/1d920417-796b-41fd-a9af-bb3617db2c51/data 2025-10-22T15:30:00.061Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/4d07e48d-1a99-4eda-ac83-fbaec3f8a69d/data 2025-10-22T15:30:00.065Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/7bfaee0e-2ed3-4014-ad48-fa39e11dea34/data 2025-10-22T15:30:00.068Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/7d6b614b-5e16-400a-adc9-7af21fdd1c19/data 2025-10-22T15:30:00.072Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/8267b9d0-fb14-41a3-8df8-85061ca9eb3a/data 2025-10-22T15:30:00.075Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/847ba890-261d-4294-b327-fb6fc4b816ac/data 2025-10-22T15:30:00.082Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/87276e6c-2ae1-416d-97bc-8a3546561a98/data 2025-10-22T15:30:00.086Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/f7a47f2d-9a7d-492f-96ad-061e5e61fc98/data 2025-10-22T15:30:00.089Z box:shell system: swapon --noheadings --raw --bytes --show=type,size,used,name 2025-10-22T15:30:00.092Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /swap.img 2025-10-22T15:30:00.095Z box:system checkDiskSpace: disk space checked. low disk space: no 2025-10-22T15:30:00.149Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:30:10.111Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:30:12.524Z box:tasks updating task 6603 with: {"percent":1,"message":"Queued"} 2025-10-22T15:30:13.525Z box:apptaskmanager drain: 1 apptasks pending 2025-10-22T15:30:13.528Z box:locks write: current locks: {"app_task_7bfaee0e-2ed3-4014-ad48-fa39e11dea34":null} 2025-10-22T15:30:13.528Z box:locks acquire: app_task_7bfaee0e-2ed3-4014-ad48-fa39e11dea34 2025-10-22T15:30:13.529Z box:scheduler suspendAppJobs: 7bfaee0e-2ed3-4014-ad48-fa39e11dea34 2025-10-22T15:30:13.529Z box:tasks startTask - starting task 6603 with options {"timeout":72000000,"nice":15,"memoryLimit":1024,"logFile":"/home/yellowtent/platformdata/logs/7bfaee0e-2ed3-4014-ad48-fa39e11dea34/apptask.log"}. logs at /home/yellowtent/platformdata/logs/7bfaee0e-2ed3-4014-ad48-fa39e11dea34/apptask.log 2025-10-22T15:30:13.529Z box:tasks updating task 6603 with: {"pending":false} 2025-10-22T15:30:13.529Z box:shell tasks: /usr/bin/sudo --non-interactive -E /home/yellowtent/box/src/scripts/starttask.sh 6603 /home/yellowtent/platformdata/logs/7bfaee0e-2ed3-4014-ad48-fa39e11dea34/apptask.log 15 1024 0 2025-10-22T15:30:20.126Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:30:30.299Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:30:40.117Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:30:50.117Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:31:00.126Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:31:10.118Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:31:11.788Z box:shell tasks: /usr/bin/sudo --non-interactive -E /home/yellowtent/box/src/scripts/starttask.sh 6603 /home/yellowtent/platformdata/logs/7bfaee0e-2ed3-4014-ad48-fa39e11dea34/apptask.log 15 1024 0 errored BoxError: /usr/bin/sudo exited with code 50 signal null at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:82:23) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1101:16) at ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17) { reason: 'Shell Error', details: {}, stdout: 'Service box-task-6603 failed to run\n' + 'Service box-task-6603 finished with exit code 1 and status 50\n', stdoutLineCount: 2, stderr: 'Running as unit: box-task-6603.service; invocation ID: a86e0490bdd64e5ab56940c291e5cdbb\n' + 'Finished with result: exit-code\n' + 'Main processes terminated with: code=exited/status=50\n' + 'Service runtime: 58.204s\n' + 'CPU time consumed: 10.357s\n' + 'Memory peak: 944.0K\n' + 'Memory swap peak: 0B\n', stderrLineCount: 7, code: 50, signal: null, timedOut: false, terminated: false } 2025-10-22T15:31:11.790Z box:tasks startTask: 6603 completed. error: { message: 'Task crashed. The expression evaluated to a falsy value:\n' + '\n' + ' assert(error instanceof BoxError)\n', stack: 'AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n' + '\n' + ' assert(error instanceof BoxError)\n' + '\n' + ' at makeTaskError (/home/yellowtent/box/src/apptask.js:44:5)\n' + ' at run (/home/yellowtent/box/src/apptask.js:816:86)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)', code: 'crashed' } 2025-10-22T15:31:11.790Z box:apps scheduleTask: task 6603 of 7bfaee0e-2ed3-4014-ad48-fa39e11dea34 completed. error: { message: 'Task crashed. The expression evaluated to a falsy value:\n' + '\n' + ' assert(error instanceof BoxError)\n', stack: 'AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n' + '\n' + ' assert(error instanceof BoxError)\n' + '\n' + ' at makeTaskError (/home/yellowtent/box/src/apptask.js:44:5)\n' + ' at run (/home/yellowtent/box/src/apptask.js:816:86)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)', code: 'crashed' } 2025-10-22T15:31:11.790Z box:apps Apptask crashed/stopped: Task crashed. The expression evaluated to a falsy value: assert(error instanceof BoxError)Irgendwelche Ideen?
Vielen Dank. -
- Cloudron von Version 8.3.2 auf 9.0.5 geupdatet um auf aktuelle Traccar Version zu kommen.
- Im Nachhinein bemerkt, dass Fehler bei Update:
22. Okt. 2025, 14:24 peterraeber Cloudron update errored. Error: Task 6583 crashed with code null Source IP: 10.24.55.2 { "taskId": "6583", "errorMessage": "Task 6583 crashed with code null", "timedOut": false }- Update von Traccar v1.20.0 to v1.21.0
- Update von Traccar v1.21.0 to v1.21.1
- Webinterface von Traccar fehlerhaft, Wiederherstellen von Backup.
- Backup wiederherstellen schlΓ€gt fehl, egal welches Backup Fehler: Error - Task crashed. The expression evaluated to a falsy value: assert(error instanceof BoxError)
assert(error instanceof BoxError) 2025-10-22T15:29:56.453Z box:locks write: current locks: {} 2025-10-22T15:29:56.453Z box:locks release: app_task_7bfaee0e-2ed3-4014-ad48-fa39e11dea34 2025-10-22T15:29:56.456Z box:locks write: current locks: {} 2025-10-22T15:29:56.456Z box:locks releaseByTaskId: 6602 2025-10-22T15:29:56.456Z box:scheduler resumeAppJobs: 7bfaee0e-2ed3-4014-ad48-fa39e11dea34 2025-10-22T15:30:00.003Z box:system checkDiskSpace: checking disk space 2025-10-22T15:30:00.004Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target 2025-10-22T15:30:00.008Z box:janitor Cleaning up expired tokens 2025-10-22T15:30:00.010Z box:eventlog cleanup: pruning events. creationTime: Thu Jul 24 2025 15:30:00 GMT+0000 (Coordinated Universal Time) 2025-10-22T15:30:00.012Z box:janitor Cleaned up 0 expired tokens 2025-10-22T15:30:00.013Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/platformdata 2025-10-22T15:30:00.016Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/boxdata/box 2025-10-22T15:30:00.022Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/boxdata/mail 2025-10-22T15:30:00.034Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /var/backups 2025-10-22T15:30:00.047Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /var/lib/docker 2025-10-22T15:30:00.058Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/1d920417-796b-41fd-a9af-bb3617db2c51/data 2025-10-22T15:30:00.061Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/4d07e48d-1a99-4eda-ac83-fbaec3f8a69d/data 2025-10-22T15:30:00.065Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/7bfaee0e-2ed3-4014-ad48-fa39e11dea34/data 2025-10-22T15:30:00.068Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/7d6b614b-5e16-400a-adc9-7af21fdd1c19/data 2025-10-22T15:30:00.072Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/8267b9d0-fb14-41a3-8df8-85061ca9eb3a/data 2025-10-22T15:30:00.075Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/847ba890-261d-4294-b327-fb6fc4b816ac/data 2025-10-22T15:30:00.082Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/87276e6c-2ae1-416d-97bc-8a3546561a98/data 2025-10-22T15:30:00.086Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/appsdata/f7a47f2d-9a7d-492f-96ad-061e5e61fc98/data 2025-10-22T15:30:00.089Z box:shell system: swapon --noheadings --raw --bytes --show=type,size,used,name 2025-10-22T15:30:00.092Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /swap.img 2025-10-22T15:30:00.095Z box:system checkDiskSpace: disk space checked. low disk space: no 2025-10-22T15:30:00.149Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:30:10.111Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:30:12.524Z box:tasks updating task 6603 with: {"percent":1,"message":"Queued"} 2025-10-22T15:30:13.525Z box:apptaskmanager drain: 1 apptasks pending 2025-10-22T15:30:13.528Z box:locks write: current locks: {"app_task_7bfaee0e-2ed3-4014-ad48-fa39e11dea34":null} 2025-10-22T15:30:13.528Z box:locks acquire: app_task_7bfaee0e-2ed3-4014-ad48-fa39e11dea34 2025-10-22T15:30:13.529Z box:scheduler suspendAppJobs: 7bfaee0e-2ed3-4014-ad48-fa39e11dea34 2025-10-22T15:30:13.529Z box:tasks startTask - starting task 6603 with options {"timeout":72000000,"nice":15,"memoryLimit":1024,"logFile":"/home/yellowtent/platformdata/logs/7bfaee0e-2ed3-4014-ad48-fa39e11dea34/apptask.log"}. logs at /home/yellowtent/platformdata/logs/7bfaee0e-2ed3-4014-ad48-fa39e11dea34/apptask.log 2025-10-22T15:30:13.529Z box:tasks updating task 6603 with: {"pending":false} 2025-10-22T15:30:13.529Z box:shell tasks: /usr/bin/sudo --non-interactive -E /home/yellowtent/box/src/scripts/starttask.sh 6603 /home/yellowtent/platformdata/logs/7bfaee0e-2ed3-4014-ad48-fa39e11dea34/apptask.log 15 1024 0 2025-10-22T15:30:20.126Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:30:30.299Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:30:40.117Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:30:50.117Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:31:00.126Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:31:10.118Z box:apphealthmonitor app health: 7 running / 0 stopped / 1 unresponsive 2025-10-22T15:31:11.788Z box:shell tasks: /usr/bin/sudo --non-interactive -E /home/yellowtent/box/src/scripts/starttask.sh 6603 /home/yellowtent/platformdata/logs/7bfaee0e-2ed3-4014-ad48-fa39e11dea34/apptask.log 15 1024 0 errored BoxError: /usr/bin/sudo exited with code 50 signal null at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:82:23) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1101:16) at ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17) { reason: 'Shell Error', details: {}, stdout: 'Service box-task-6603 failed to run\n' + 'Service box-task-6603 finished with exit code 1 and status 50\n', stdoutLineCount: 2, stderr: 'Running as unit: box-task-6603.service; invocation ID: a86e0490bdd64e5ab56940c291e5cdbb\n' + 'Finished with result: exit-code\n' + 'Main processes terminated with: code=exited/status=50\n' + 'Service runtime: 58.204s\n' + 'CPU time consumed: 10.357s\n' + 'Memory peak: 944.0K\n' + 'Memory swap peak: 0B\n', stderrLineCount: 7, code: 50, signal: null, timedOut: false, terminated: false } 2025-10-22T15:31:11.790Z box:tasks startTask: 6603 completed. error: { message: 'Task crashed. The expression evaluated to a falsy value:\n' + '\n' + ' assert(error instanceof BoxError)\n', stack: 'AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n' + '\n' + ' assert(error instanceof BoxError)\n' + '\n' + ' at makeTaskError (/home/yellowtent/box/src/apptask.js:44:5)\n' + ' at run (/home/yellowtent/box/src/apptask.js:816:86)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)', code: 'crashed' } 2025-10-22T15:31:11.790Z box:apps scheduleTask: task 6603 of 7bfaee0e-2ed3-4014-ad48-fa39e11dea34 completed. error: { message: 'Task crashed. The expression evaluated to a falsy value:\n' + '\n' + ' assert(error instanceof BoxError)\n', stack: 'AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n' + '\n' + ' assert(error instanceof BoxError)\n' + '\n' + ' at makeTaskError (/home/yellowtent/box/src/apptask.js:44:5)\n' + ' at run (/home/yellowtent/box/src/apptask.js:816:86)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)', code: 'crashed' } 2025-10-22T15:31:11.790Z box:apps Apptask crashed/stopped: Task crashed. The expression evaluated to a falsy value: assert(error instanceof BoxError)Irgendwelche Ideen?
Vielen Dank.@rompo Schon versucht die app neu zu starten?
-
Hallo
Ja der Rest scheint von Cloudron scheint zu funktionieren.
Anbei das LOG von Traccar seit dem Update auf Cloudron 9.said in Traccar nach Update defekt:
Hi
Yes, the rest of Cloudron seems to be working.
Attached is the Traccar log since the update to Cloudron 9.
Attached is a summary via ChatGPT, as the logs are too long to post here. I hope this helps
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Task 6597 (pending_restore) 2025-10-22T14:35:56.394Z box:tasks updating task 6597 with: {"percent":80,"message":"Creating container"} 2025-10-22T14:35:56.397Z box:apptask createContainer: creating container 2025-10-22T14:35:56.400Z box:apptask run: app error for state pending_restore: TypeError: Cannot read properties of undefined (reading 'containerPort') at createSubcontainer (/home/yellowtent/box/src/docker.js:318:50) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Object.createContainer (/home/yellowtent/box/src/docker.js:466:12) at async createContainer (/home/yellowtent/box/src/apptask.js:88:23) at async installCommand (/home/yellowtent/box/src/apptask.js:360:5) 2025-10-22T14:35:56.446Z box:tasks setCompleted - 6597: {"result":null,"error":{"message":"Task crashed. The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n","stack":"AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n\n at makeTaskError (/home/yellowtent/box/src/apptask.js:44:5)\n at run (/home/yellowtent/box/src/apptask.js:816:86)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","code":"crashed"},"percent":100} 2025-10-22T14:35:56.454Z Exiting with code 50 ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Task 6598 (pending_configure) 2025-10-22T15:11:05.336Z box:tasks updating task 6598 with: {"percent":60,"message":"Creating container"} 2025-10-22T15:11:05.338Z box:apptask createContainer: creating container 2025-10-22T15:11:05.341Z box:apptask run: app error for state pending_configure: TypeError: Cannot read properties of undefined (reading 'containerPort') at createSubcontainer (/home/yellowtent/box/src/docker.js:318:50) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Object.createContainer (/home/yellowtent/box/src/docker.js:466:12) at async createContainer (/home/yellowtent/box/src/apptask.js:88:23) at async configureCommand (/home/yellowtent/box/src/apptask.js:540:5) 2025-10-22T15:11:05.348Z box:tasks setCompleted - 6598: {"result":null,"error":{"message":"Task crashed. The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n","stack":"AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n\n at makeTaskError (/home/yellowtent/box/src/apptask.js:44:5)\n at run (/home/yellowtent/box/src/apptask.js:816:86)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","code":"crashed"},"percent":100} 2025-10-22T15:11:05.350Z Exiting with code 50 ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Task 6599 (pending_configure) 2025-10-22T15:11:12.834Z box:tasks updating task 6599 with: {"percent":60,"message":"Creating container"} 2025-10-22T15:11:12.836Z box:apptask createContainer: creating container 2025-10-22T15:11:12.838Z box:apptask run: app error for state pending_configure: TypeError: Cannot read properties of undefined (reading 'containerPort') at createSubcontainer (/home/yellowtent/box/src/docker.js:318:50) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Object.createContainer (/home/yellowtent/box/src/docker.js:466:12) at async createContainer (/home/yellowtent/box/src/apptask.js:88:23) at async configureCommand (/home/yellowtent/box/src/apptask.js:540:5) 2025-10-22T15:11:12.845Z box:tasks setCompleted - 6599: {"result":null,"error":{"message":"Task crashed. The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n","stack":"AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n\n at makeTaskError (/home/yellowtent/box/src/apptask.js:44:5)\n at run (/home/yellowtent/box/src/apptask.js:816:86)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","code":"crashed"},"percent":100} 2025-10-22T15:11:12.848Z Exiting with code 50 ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Task 6600 (pending_restore) 2025-10-22T15:12:45.938Z box:tasks updating task 6600 with: {"percent":80,"message":"Creating container"} 2025-10-22T15:12:45.941Z box:apptask createContainer: creating container 2025-10-22T15:12:45.944Z box:apptask run: app error for state pending_restore: TypeError: Cannot read properties of undefined (reading 'containerPort') at createSubcontainer (/home/yellowtent/box/src/docker.js:318:50) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Object.createContainer (/home/yellowtent/box/src/docker.js:466:12) at async createContainer (/home/yellowtent/box/src/apptask.js:88:23) at async installCommand (/home/yellowtent/box/src/apptask.js:360:5) 2025-10-22T15:12:45.966Z box:tasks setCompleted - 6600: {"result":null,"error":{"message":"Task crashed. The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n","stack":"AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n\n at makeTaskError (/home/yellowtent/box/src/apptask.js:44:5)\n at run (/home/yellowtent/box/src/apptask.js:816:86)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","code":"crashed"},"percent":100} 2025-10-22T15:12:45.970Z Exiting with code 50 ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Task 6601 (pending_configure) 2025-10-22T15:23:43.608Z box:tasks updating task 6601 with: {"percent":60,"message":"Creating container"} 2025-10-22T15:23:43.610Z box:apptask createContainer: creating container 2025-10-22T15:23:43.613Z box:apptask run: app error for state pending_configure: TypeError: Cannot read properties of undefined (reading 'containerPort') at createSubcontainer (/home/yellowtent/box/src/docker.js:318:50) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Object.createContainer (/home/yellowtent/box/src/docker.js:466:12) at async createContainer (/home/yellowtent/box/src/apptask.js:88:23) at async configureCommand (/home/yellowtent/box/src/apptask.js:540:5) 2025-10-22T15:23:43.628Z box:tasks setCompleted - 6601: {"result":null,"error":{"message":"Task crashed. The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n","stack":"AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n\n at makeTaskError (/home/yellowtent/box/src/apptask.js:44:5)\n at run (/home/yellowtent/box/src/apptask.js:816:86)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","code":"crashed"},"percent":100} 2025-10-22T15:23:43.631Z Exiting with code 50 ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Task 6602 (pending_restore) 2025-10-22T15:29:56.347Z box:tasks updating task 6602 with: {"percent":80,"message":"Creating container"} 2025-10-22T15:29:56.398Z box:apptask createContainer: creating container 2025-10-22T15:29:56.401Z box:apptask run: app error for state pending_restore: TypeError: Cannot read properties of undefined (reading 'containerPort') at createSubcontainer (/home/yellowtent/box/src/docker.js:318:50) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Object.createContainer (/home/yellowtent/box/src/docker.js:466:12) at async createContainer (/home/yellowtent/box/src/apptask.js:88:23) at async installCommand (/home/yellowtent/box/src/apptask.js:360:5) 2025-10-22T15:29:56.407Z box:tasks setCompleted - 6602: {"result":null,"error":{"message":"Task crashed. The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n","stack":"AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n\n at makeTaskError (/home/yellowtent/box/src/apptask.js:44:5)\n at run (/home/yellowtent/box/src/apptask.js:816:86)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","code":"crashed"},"percent":100} 2025-10-22T15:29:56.410Z Exiting with code 50 ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Task 6603 (pending_restore, App v1.21.0) 2025-10-22T15:31:11.734Z box:tasks updating task 6603 with: {"percent":80,"message":"Creating container"} 2025-10-22T15:31:11.736Z box:apptask createContainer: creating container 2025-10-22T15:31:11.739Z box:apptask run: app error for state pending_restore: TypeError: Cannot read properties of undefined (reading 'containerPort') at createSubcontainer (/home/yellowtent/box/src/docker.js:318:50) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Object.createContainer (/home/yellowtent/box/src/docker.js:466:12) at async createContainer (/home/yellowtent/box/src/apptask.js:88:23) at async installCommand (/home/yellowtent/box/src/apptask.js:360:5) 2025-10-22T15:31:11.746Z box:tasks setCompleted - 6603: {"result":null,"error":{"message":"Task crashed. The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n","stack":"AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n\n at makeTaskError (/home/yellowtent/box/src/apptask.js:44:5)\n at run (/home/yellowtent/box/src/apptask.js:816:86)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","code":"crashed"},"percent":100} 2025-10-22T15:31:11.751Z Exiting with code 50 ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ -
hm looks like there is a bug when a previously set port (tcp or udp) is configured but not know anymore in an old app package version.
Have to see if we can reproduce this, otherwise please send a mail to support@cloudron.io and ideally enable remote ssh support for us so we can directly check this there. Note on Cloudron 9 you have to use the cli tool for that
cloudron-support --enable-remote-support -
Just to update here also. There is a bug in the restore logic, if an app has a port configured, which does not exist in an old app package. If anyone here hits this also, please send an email to support and we can fixup you Cloudron for the moment.
@rompo to come back to the initial issue during the update. Are you able to clone the app on your Cloudron and perform the update on the cloned instance? Just so we can see if this can be reproduced so we can debug that.