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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Error when updating disk usage

Error when updating disk usage

Scheduled Pinned Locked Moved Solved Support
graphsdisk usage
4 Posts 2 Posters 636 Views 2 Watching
  • 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.
  • KubernetesK Offline
    KubernetesK Offline
    Kubernetes
    App Dev
    wrote on last edited by girish
    #1

    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?

    jdaviescoatesJ 1 Reply Last reply
    0
    • KubernetesK Kubernetes

      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?

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #2

      @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

      jdaviescoatesJ 1 Reply Last reply
      2
      • jdaviescoatesJ jdaviescoates

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

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #3

        @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
        2
        • KubernetesK Offline
          KubernetesK Offline
          Kubernetes
          App Dev
          wrote on last edited by Kubernetes
          #4

          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
          2
          • KubernetesK Kubernetes marked this topic as a question on
          • KubernetesK Kubernetes has marked this topic as solved on
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search