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?
-
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.
-
@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".
-
K Kubernetes marked this topic as a question on
-
K Kubernetes has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login