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. Disk Analyzer fails

Disk Analyzer fails

Scheduled Pinned Locked Moved Solved Support
disk-usage
7 Posts 3 Posters 469 Views 3 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.
  • lukasgabrielL Offline
    lukasgabrielL Offline
    lukasgabriel
    wrote on last edited by joseph
    #1

    When running via System Info > Disk usage > Analyze Disk:

    Mar 29 00:22:57 box:tasks startTask - starting task 8216 with options {}. logs at /home/yellowtent/platformdata/logs/tasks/8216.log
    Mar 29 00:22:57 box:shell tasks /usr/bin/sudo -S -E /home/yellowtent/box/src/scripts/starttask.sh 8216 /home/yellowtent/platformdata/logs/tasks/8216.log 0 400 0
    Mar 29 00:22:57 box:shell Running as unit: box-task-8216.service
    Mar 29 00:22:57
    Mar 29 00:22:58 box:shell Finished with result: exit-code
    Mar 29 00:22:58 Main processes terminated with: code=exited/status=50
    Mar 29 00:22:58 Service runtime: 737ms
    Mar 29 00:22:58 CPU time consumed: 1.170s
    Mar 29 00:22:58 Memory peak: 6.3M
    Mar 29 00:22:58 Memory swap peak: 0B
    Mar 29 00:22:58
    Mar 29 00:22:58 box:shell Service box-task-8216 failed to run
    Mar 29 00:22:58
    Mar 29 00:22:58 box:shell Service box-task-8216 finished with exit code 1
    Mar 29 00:22:58
    Mar 29 00:22:58 box:shell tasks: /usr/bin/sudo -S -E /home/yellowtent/box/src/scripts/starttask.sh 8216 /home/yellowtent/platformdata/logs/tasks/8216.log 0 400 0 errored BoxError: tasks exited with code 1 signal null
    Mar 29 00:22:58 at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:137:19)
    Mar 29 00:22:58 at ChildProcess.emit (node:events:519:28)
    Mar 29 00:22:58 at ChildProcess.emit (node:domain:488:12)
    Mar 29 00:22:58 at ChildProcess._handle.onexit (node:internal/child_process:294:12) {
    Mar 29 00:22:58 reason: 'Shell Error',
    Mar 29 00:22:58 details: {},
    Mar 29 00:22:58 code: 1,
    Mar 29 00:22:58 signal: null
    Mar 29 00:22:58 }
    Mar 29 00:22:58 box:tasks startTask: 8216 completed with code 1
    Mar 29 00:22:58 box:tasks startTask: 8216 done. error: { stack: "TypeError: Cannot read properties of undefined (reading 'contents')\n" + ' at getFilesystems (/home/yellowtent/box/src/system.js:126:42)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async updateDiskUsage (/home/yellowtent/box/src/system.js:231:25)', message: "Cannot read properties of undefined (reading 'contents')" }
    
    

    The UI shows nothing, just the button again.

    1 Reply Last reply
    1
    • J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #2

      Which version of Cloudron are you on?

      You will get a full trace at /home/yellowtent/platformdata/logs/tasks/8216.log

      lukasgabrielL 1 Reply Last reply
      1
      • J joseph marked this topic as a question on
      • J joseph

        Which version of Cloudron are you on?

        You will get a full trace at /home/yellowtent/platformdata/logs/tasks/8216.log

        lukasgabrielL Offline
        lukasgabrielL Offline
        lukasgabriel
        wrote on last edited by
        #3

        @joseph v8.3.1 (Ubuntu 24.04.2 LTS)

        /home/yellowtent/platformdata/logs/tasks/8216.log:

        2025-03-28T23:22:58.129Z box:taskworker Starting task 8216. Logs are at /home/yellowtent/platformdata/logs/tasks/8216.log
        2025-03-28T23:22:58.156Z box:taskworker Running task of type updateDiskUsage
        2025-03-28T23:22:58.158Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target
        2025-03-28T23:22:58.176Z box:shell df: df -B1 --output=source,fstype,size,used,avail,pcent,target /home/yellowtent/platformdata
        2025-03-28T23:22:58.184Z box:taskworker Task took 0.111 seconds
        2025-03-28T23:22:58.184Z box:tasks setCompleted - 8216: {"result":null,"error":{"stack":"TypeError: Cannot read properties of undefined (reading 'contents')\n    at getFilesystems (/home/yellowtent/box/src/system.js:126:42)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async updateDiskUsage (/home/yellowtent/box/src/system.js:231:25)","message":"Cannot read properties of undefined (reading 'contents')"}}
        2025-03-28T23:22:58.184Z box:tasks update 8216: {"percent":100,"result":null,"error":{"stack":"TypeError: Cannot read properties of undefined (reading 'contents')\n    at getFilesystems (/home/yellowtent/box/src/system.js:126:42)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async updateDiskUsage (/home/yellowtent/box/src/system.js:231:25)","message":"Cannot read properties of undefined (reading 'contents')"}}
        TypeError: Cannot read properties of undefined (reading 'contents')
            at getFilesystems (/home/yellowtent/box/src/system.js:126:42)
            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
            at async updateDiskUsage (/home/yellowtent/box/src/system.js:231:25)
        
        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #4

          @lukasgabriel seems like there is a bug in the code somewhere, but we can't reproduce it here . Maybe something to do with the fliesystem type. Is there anything special in your disks or just normal ext4 disks?

          Is there a chance you have an unmounted disk?

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            Have you symlinked boxdata, platformdata or maildata by any chance?

            1 Reply Last reply
            0
            • lukasgabrielL Offline
              lukasgabrielL Offline
              lukasgabriel
              wrote on last edited by
              #6

              I haven't symlinked any of these directories.
              However, I'm running Cloudron on a luks-encrypted partition. 🤔 Maybe that has to do with the problem?

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                I can't quite make out why it's crashing . @lukasgabriel if possible, can you write to support@cloudron.io and I can debug this further ?

                1 Reply Last reply
                0
                • J joseph has marked this topic as solved
                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