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. Cloudron 7.3.2: "Analyze Disk" doesn't do anything

Cloudron 7.3.2: "Analyze Disk" doesn't do anything

Scheduled Pinned Locked Moved Solved Support
disk usagegraphs
16 Posts 7 Posters 2.5k Views 7 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.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #5

    We replaced the df module now and it's locale independent now.

    M 1 Reply Last reply
    2
    • girishG girish has marked this topic as solved on
    • nebulonN nebulon

      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 C then systemctl restart box

      necrevistonnezrN Offline
      necrevistonnezrN Offline
      necrevistonnezr
      wrote on last edited by
      #6

      @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 C then systemctl restart box

      That did the trick!

      1 Reply Last reply
      2
      • girishG girish

        We replaced the df module now and it's locale independent now.

        M Offline
        M Offline
        msbt
        App Dev
        wrote on last edited by
        #7

        @girish is that supposed to be fixed in v7.3.4? Still experiencing the same issues on one of my machines.

        imc67I 1 Reply Last reply
        1
        • M msbt

          @girish is that supposed to be fixed in v7.3.4? Still experiencing the same issues on one of my machines.

          imc67I Offline
          imc67I Offline
          imc67
          translator
          wrote on last edited by imc67
          #8

          @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
          
          
          1 Reply Last reply
          0
          • robiR Offline
            robiR Offline
            robi
            wrote on last edited by robi
            #9

            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.

            Conscious tech

            M 1 Reply Last reply
            0
            • robiR robi

              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.

              M Offline
              M Offline
              msbt
              App Dev
              wrote on last edited by
              #10

              @robi that's just the thing, the reload button doesn't work:
              d5f157e0-dca2-4963-9c51-76cd255da6b4-grafik.png

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

                Seems to work here atleast in 7.3.4 . @imc67 @msbt do you both have swap ? You can test with swapon command . There is a bug that the code crashes with no swap on the server 😕

                M 1 Reply Last reply
                0
                • girishG girish

                  Seems to work here atleast in 7.3.4 . @imc67 @msbt do you both have swap ? You can test with swapon command . There is a bug that the code crashes with no swap on the server 😕

                  M Offline
                  M Offline
                  msbt
                  App Dev
                  wrote on last edited by
                  #12

                  @girish

                  ~# swapon
                  NAME       TYPE SIZE   USED PRIO
                  /apps.swap file   4G 165.5M   -2
                  
                  girishG 1 Reply Last reply
                  0
                  • M msbt

                    @girish

                    ~# swapon
                    NAME       TYPE SIZE   USED PRIO
                    /apps.swap file   4G 165.5M   -2
                    
                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #13

                    @msbt Oh ok, mm, are you on 7.3.4 already ? If so, can you write to support@ . I can take a look.

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

                      OK, I have fixed this now. The code is was not handling CIFS/SSHFS volumes correctly.

                      M jdaviescoatesJ 2 Replies Last reply
                      4
                      • girishG girish

                        OK, I have fixed this now. The code is was not handling CIFS/SSHFS volumes correctly.

                        M Offline
                        M Offline
                        msbt
                        App Dev
                        wrote on last edited by
                        #15

                        @girish looking good, thanks!

                        1 Reply Last reply
                        2
                        • girishG girish

                          OK, I have fixed this now. The code is was not handling CIFS/SSHFS volumes correctly.

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

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

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply
                          1
                          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