Disk usage not showing anything
-
Pressing the 'Analyse' button does nothing. There are no errors in the browser log. Disks are internal ext4 and this started since I moved to LUKS full disk encryption
v7.3.4 (Ubuntu 20.04.5 LTS)
Logs
Jan 07 17:48:21 box:tasks startTask: 4198 done. error: { stack: "TypeError: Cannot read properties of undefined (reading 'contents')\n" + ' at getDisks (/home/yellowtent/box/src/system.js:89:36)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at async updateDiskUsage (/home/yellowtent/box/src/system.js:182:19)', message: "Cannot read properties of undefined (reading 'contents')" Jan 07 17:48:27 box:tasks startTask - starting task 4199 with options {}. logs at /home/yellowtent/platformdata/logs/tasks/4199.log Jan 07 17:48:27 box:shell startTask spawn: /usr/bin/sudo -S -E /home/yellowtent/box/src/scripts/starttask.sh 4199 /home/yellowtent/platformdata/logs/tasks/4199.log 0 400 Jan 07 17:48:27 box:shell startTask (stdout): Running as unit: box-task-4199.service Jan 07 17:48:28 box:shell startTask (stdout): Finished with result: exit-code processes terminated with: code=exited/status=50 runtime: 1.474s Jan 07 17:48:28 box:shell startTask (stdout): Service box-task-4199 failed to run Jan 07 17:48:28 box:shell startTask (stdout): Service box-task-4199 finished with exit code 1 Jan 07 17:48:28 box:shell startTask code: 1, signal: null Jan 07 17:48:28 box:tasks startTask: 4199 completed with code 1 Jan 07 17:48:28 box:tasks startTask: 4199 done. error: { stack: "TypeError: Cannot read properties of undefined (reading 'contents')\n" + ' at getDisks (/home/yellowtent/box/src/system.js:89:36)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at async updateDiskUsage (/home/yellowtent/box/src/system.js:182:19)', message: "Cannot read properties of undefined (reading 'contents')" Jan 07 17:48:30 box:apphealthmonitor app health: 22 running / 1 stopped / 0 unresponsive Jan 07 17:48:40 box:apphealthmonitor app health: 22 running / 1 stopped / 0 unresponsive Jan 07 17:48:47 box:cloudron Getting logs for box as json Jan 07 17:48:50 box:apphealthmonitor app health: 22 running / 1 stopped / 0 unresponsive Jan 07 17:49:00 box:apphealthmonitor app health: 22 running / 1 stopped / 0 unresponsive
-
@3246 I think this is a known problem for people how have CIF/SSHFS/possible other mounts which is already fixed in the next version.
@girish said in Cloudron 7.3.2: "Analyze Disk" doesn't do anything:
OK, I have fixed this now. The code
iswas not handling CIFS/SSHFS volumes correctly.@girish said in Cloudron 7.3.4: "Analyze Disk" doesn't do anything and no statistics shown...:
Thanks all. This issue was already fixed as well last month - https://git.cloudron.io/cloudron/box/-/commit/67cde5a62cf0394c8bf2d78ee3408e5995a220e7 . It's already in 7.3.5.
Essentially, if you have CIFS/NFS/SSHFS, there is a crash.
-
-