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 Error when updating disk usage

    Support
    graphs disk usage
    2
    4
    32
    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.
    • K
      Kubernetes last edited by girish

      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?

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

        @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 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

        jdaviescoates 1 Reply Last reply Reply Quote 2
        • jdaviescoates
          jdaviescoates @jdaviescoates last edited by

          @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 🙂

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply Reply Quote 2
          • K
            Kubernetes last edited by Kubernetes

            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".

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