Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Disk usage not showing anything

    Support
    disk usage analytics
    2
    2
    49
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 3246
      3246 last edited by

      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 🤔

      be-braver-cloud.png

      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
      

      Visit https://www.bebravernow.com for more

      jdaviescoates 1 Reply Last reply Reply Quote 0
      • jdaviescoates
        jdaviescoates @3246 last edited by jdaviescoates

        @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 is was 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.

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply Reply Quote 1
        • Topic has been marked as a question  girish girish 
        • Topic has been marked as solved  girish girish 
        • First post
          Last post
        Powered by NodeBB