Error when updating disk usage
-
On my Cloudron I get an error in the Logfile when I try to update the Disk usage:
Jan 13 10:37:18 box:tasks startTask: 174 done. error: { stack: "TypeError: Cannot read properties of undefined (reading 'contents')\n" + ' at getDisks (/home/yellowtent/box/src/system.js:106:60)\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')"
Any advise how to fix that?
-
@Kubernetes you've probably just hit this
@jdaviescoates said in Disk usage not showing anything:
@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.
-
@staff until 7.3.5 is out might be worth announcing something in announcement category and pinning a post about this in support category?
Just an idea
-
Btw, I applied the changes of the system.js according to the changelog to solve this problem in my environment until the update is available. So at least for myself this Post could be set to "solved".
-
-