Cloudron 7.3.2: "Analyze Disk" doesn't do anything
-
Under 7.3.2 the button "Analyze Disk" under "System Info" doesn't do anything for me. I have an internal and external disk (the latter properly mounted for backups).
I see the following in the log:
Oct 18 10:09:48 box:tasks startTask: 11025 done. error: { stack: "TypeError: Cannot read properties of undefined (reading 'contents')\n" + ' at getDisks (/home/yellowtent/box/src/system.js:69:36)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at async updateDiskUsage (/home/yellowtent/box/src/system.js:155:19)', message: "Cannot read properties of undefined (reading 'contents')" -
so some datastructures are not as expected. Can you send a mail to support@cloudron.io and enable remote SSH support for us, to take a direct look. Then this should be quickly fixable.
@nebulon said in Cloudron 7.3.2: "Analyze Disk" doesn't do anything:
so some datastructures are not as expected. Can you send a mail to support@cloudron.io and enable remote SSH support for us, to take a direct look. Then this should be quickly fixable.
Done.
-
So the root issue was the locale system setting being set to DE rather than C. This in turn confuses a df node module we are using https://github.com/sindresorhus/df
To reduce dependencies on such modules, we will replace it with our own code for the next patch release. Until that one can put the system locale back to C with
localectl set-locale Cthensystemctl restart box -
We replaced the df module now and it's locale independent now.
-
G girish has marked this topic as solved on
-
So the root issue was the locale system setting being set to DE rather than C. This in turn confuses a df node module we are using https://github.com/sindresorhus/df
To reduce dependencies on such modules, we will replace it with our own code for the next patch release. Until that one can put the system locale back to C with
localectl set-locale Cthensystemctl restart box@nebulon said in Cloudron 7.3.2: "Analyze Disk" doesn't do anything:
To reduce dependencies on such modules, we will replace it with our own code for the next patch release. Until that one can put the system locale back to C with
localectl set-locale Cthensystemctl restart boxThat did the trick!
-
@girish is that supposed to be fixed in v7.3.4? Still experiencing the same issues on one of my machines.
@msbt @girish same here on 7.3.4
Dec 06 21:53:20 box:apphealthmonitor app health: 27 running / 2 stopped / 0 unresponsive Dec 06 21:53:23 box:tasks startTask - starting task 12679 with options {}. logs at /home/yellowtent/platformdata/logs/tasks/12679.log Dec 06 21:53:23 box:shell startTask spawn: /usr/bin/sudo -S -E /home/yellowtent/box/src/scripts/starttask.sh 12679 /home/yellowtent/platformdata/logs/tasks/12679.log 0 400 Dec 06 21:53:23 box:shell startTask (stdout): Running as unit: box-task-12679.service Dec 06 21:53:24 box:shell startTask (stdout): Finished with result: exit-code processes terminated with: code=exited/status=50 runtime: 750ms Dec 06 21:53:24 box:shell startTask (stdout): Service box-task-12679 failed to run Dec 06 21:53:24 box:shell startTask (stdout): Service box-task-12679 finished with exit code 1 Dec 06 21:53:24 box:shell startTask code: 1, signal: null Dec 06 21:53:24 box:tasks startTask: 12679 completed with code 1 Dec 06 21:53:24 box:tasks startTask: 12679 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')" Dec 06 21:53:24 box:shell startTask (stdout): 0 (process group ID) old priority 0, new priority 0 -
I'm not seeing any errors on this in 7.3.4, initially I did not get any graphs at all, but after a full tab refresh, the CPU and Memory graphs popped in and I had to hit the reload/refresh button for the disk graph to pop in.
-
-
-
@msbt Oh ok, mm, are you on 7.3.4 already ? If so, can you write to support@ . I can take a look.
-
OK, I have fixed this now. The code
iswas not handling CIFS/SSHFS volumes correctly. -
@girish said in Cloudron 7.3.2: "Analyze Disk" doesn't do anything:
The code is not handling CIFS/SSHFS volumes correctly.
was not, is now?
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

