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. Uninstalled apps stuck in the System Info page

Uninstalled apps stuck in the System Info page

Scheduled Pinned Locked Moved Solved Support
disk-usage
23 Posts 3 Posters 2.5k 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.
  • benborgesB benborges

    @girish Oh I already tried that, but it keeps spinning for like hours without even finishing
    and if I restart and press it manually, it start spinning but then same issue.

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #4

    @benborges mmm , can you check the logs ? /home/yellowtent/platformdata/logs/tasks/<taskid>.log . You can get the taskid itself from the box.log . It's probably getting stuck at something.

    1 Reply Last reply
    0
    • girishG girish marked this topic as a question on
    • benborgesB Offline
      benborgesB Offline
      benborges
      wrote on last edited by
      #5

      Oh I finally found something

      Jun 30 10:41:51 box:apphealthmonitor app health: 43 running / 12 stopped / 0 unresponsive
      Jun 30 10:42:01 box:apphealthmonitor app health: 43 running / 12 stopped / 0 unresponsive
      Jun 30 10:42:07 box:cloudron Getting logs for box
      GET /well-known-handler/matrix/server 404 Not Found No custom well-known config 1.852 ms - 71
      GET /well-known-handler/matrix/server 404 Not Found No custom well-known config 2.104 ms - 71
      GET /well-known-handler/matrix/server 404 Not Found No custom well-known config 2.109 ms - 71
      GET /well-known-handler/matrix/server 404 Not Found No custom well-known config 2.667 ms - 71
      Jun 30 10:42:11 box:apphealthmonitor app health: 43 running / 12 stopped / 0 unresponsive
      Jun 30 10:42:21 box:apphealthmonitor app health: 43 running / 12 stopped / 0 unresponsive
      [ServiceUnavailableError]: Response timeout
      at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/connect-timeout/index.js:84:8)
      at IncomingMessage.emit (node:events:513:28)
      at Timeout._onTimeout (/home/yellowtent/box/node_modules/connect-timeout/index.js:49:11)
      at listOnTimeout (node:internal/timers:559:17)
      at processTimers (node:internal/timers:502:7) {
      code: 'ETIMEDOUT',
      timeout: 20000
      GET /api/v1/cloudron/graphs?fromMinutes=360 500 Internal Server Error Response timeout 20023.193 ms - 72
      

      BenB

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #6

        It appears the call to the graphite service is timing out. Can ou check if graphite is up and running and has enough memory?

        1 Reply Last reply
        0
        • benborgesB Offline
          benborgesB Offline
          benborges
          wrote on last edited by
          #7

          Appears to be running normally :

          51738e3e-8a03-4551-8a3b-9a16d07d868f-image.png

          Jun 30 10:42:44 [pid: 22|app: 0|req: 1942/5433] 172.18.0.1 () {24 vars in 713 bytes} [Fri Jun 30 08:42:43 2023] GET /graphite-web/render?target=summarize%28collectd.localhost.docker-stats-redis%3Ae7f262fe-a367-4cba-9d82-a45b111f8cb7.counter-blockio-read%2C%20%225min%22%2C%20%22sum%22%29&format=json&from=-360min&until=now&noNullPoints=false => generated 2 bytes in 75 msecs (HTTP/1.1 200) 4 headers in 137 bytes (1 switches on core 0)
          Jun 30 10:42:44 [pid: 22|app: 0|req: 1943/5434] 172.18.0.1 () {24 vars in 715 bytes} [Fri Jun 30 08:42:44 2023] GET /graphite-web/render?target=summarize%28collectd.localhost.docker-stats-redis%3Ae7f262fe-a367-4cba-9d82-a45b111f8cb7.counter-blockio-write%2C%20%225min%22%2C%20%22sum%22%29&format=json&from=-360min&until=now&noNullPoints=false => generated 2 bytes in 12 msecs (HTTP/1.1 200) 4 headers in 137 bytes (1 switches on core 0)
          Jun 30 10:42:44 [pid: 22|app: 0|req: 1944/5435] 172.18.0.1 () {24 vars in 713 bytes} [Fri Jun 30 08:42:44 2023] GET /graphite-web/render?target=summarize%28collectd.localhost.docker-stats-redis%3Ae7f262fe-a367-4cba-9d82-a45b111f8cb7.counter-network-read%2C%20%225min%22%2C%20%22sum%22%29&format=json&from=-360min&until=now&noNullPoints=false => generated 2 bytes in 7 msecs (HTTP/1.1 200) 4 headers in 137 bytes (1 switches on core 0)
          Jun 30 10:42:44 [pid: 22|app: 0|req: 1945/5436] 172.18.0.1 () {24 vars in 715 bytes} [Fri Jun 30 08:42:44 2023] GET /graphite-web/render?target=summarize%28collectd.localhost.docker-stats-redis%3Ae7f262fe-a367-4cba-9d82-a45b111f8cb7.counter-network-write%2C%20%225min%22%2C%20%22sum%22%29&format=json&from=-360min&until=now&noNullPoints=false => generated 2 bytes in 6 msecs (HTTP/1.1 200) 4 headers in 137 bytes (1 switches on core 0)
          Jun 30 10:42:44 [pid: 22|app: 0|req: 1946/5437] 172.18.0.1 () {24 vars in 713 bytes} [Fri Jun 30 08:42:44 2023] GET /graphite-web/render?target=summarize%28collectd.localhost.docker-stats-redis%3Ae7f262fe-a367-4cba-9d82-a45b111f8cb7.gauge-blockio-read%2C%20%22360min%22%2C%20%22max%22%29&format=json&from=-360min&until=now&noNullPoints=false => generated 2 bytes in 84 msecs (HTTP/1.1 200) 4 headers in 137 bytes (1 switches on core 0)
          Jun 30 10:42:44 [pid: 22|app: 0|req: 1947/5439] 172.18.0.1 () {24 vars in 713 bytes} [Fri Jun 30 08:42:44 2023] GET /graphite-web/render?target=summarize%28collectd.localhost.docker-stats-redis%3Ae7f262fe-a367-4cba-9d82-a45b111f8cb7.gauge-network-read%2C%20%22360min%22%2C%20%22max%22%29&format=json&from=-360min&until=now&noNullPoints=false => generated 2 bytes in 12 msecs (HTTP/1.1 200) 4 headers in 137 bytes (1 switches on core 0)
          Jun 30 10:42:44 [pid: 23|app: 0|req: 3492/5438] 172.18.0.1 () {24 vars in 715 bytes} [Fri Jun 30 08:42:44 2023] GET /graphite-web/render?target=summarize%28collectd.localhost.docker-stats-redis%3Ae7f262fe-a367-4cba-9d82-a45b111f8cb7.gauge-blockio-write%2C%20%22360min%22%2C%20%22max%22%29&format=json&from=-360min&until=now&noNullPoints=false => generated 2 bytes in 79 msecs (HTTP/1.1 200) 4 headers in 137 bytes (1 switches on core 0)
          Jun 30 10:42:44 [pid: 23|app: 0|req: 3493/5440] 172.18.0.1 () {24 vars in 715 bytes} [Fri Jun 30 08:42:44 2023] GET /graphite-web/render?target=summarize%28collectd.localhost.docker-stats-redis%3Ae7f262fe-a367-4cba-9d82-a45b111f8cb7.gauge-network-write%2C%20%22360min%22%2C%20%22max%22%29&format=json&from=-360min&until=now&noNullPoints=false => generated 2 bytes in 7 msecs (HTTP/1.1 200) 4 headers in 137 bytes (1 switches on core 0)
          

          BenB

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #8

            Then I guess the server is just too slow to respond timely to the request. Was this timeout error just a one-time thing or is it reproducible?

            1 Reply Last reply
            0
            • benborgesB Offline
              benborgesB Offline
              benborges
              wrote on last edited by benborges
              #9

              First time I see it, what can I try to reproduce it ?

              VPS 10 vCPU Cores
              RAM

              60 GB RAM
              Storage
              1.6 TB SSD

              It's not using more than 20GB of memory at all time and CPU is around 30% with spikes when a bunch of python jobs run
              it's doing a lot of disk operation though (downloading and moving video files)

              BenB

              1 Reply Last reply
              0
              • benborgesB Offline
                benborgesB Offline
                benborges
                wrote on last edited by
                #10

                oh but I see now that the last time the grapΔ₯ was properly updated for the disk usage is : Last updated: 06/08/2023

                BenB

                1 Reply Last reply
                0
                • nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #11

                  ah good, so it was just a temporary thing, maybe at a time when the server was under heavy load. Is that issue then resolved?

                  1 Reply Last reply
                  0
                  • benborgesB Offline
                    benborgesB Offline
                    benborges
                    wrote on last edited by
                    #12

                    no it's not, the disk graph is not being updated since 06/08/2023 and it keeps spinning
                    I'm wondering if there isn't a manual way to clean/reset this graph

                    BenB

                    1 Reply Last reply
                    0
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #13

                      If you click the refresh button there, it spins off a task in the background collecting stats, this also happens via cron. So the issue then is that this task never succeeds.

                      Open up the server logs from the topright of the system info page, then click the refresh button, then in the logs you will see some info about that task with a path to its log file. Then check that log file to get more info.

                      1 Reply Last reply
                      0
                      • benborgesB Offline
                        benborgesB Offline
                        benborges
                        wrote on last edited by benborges
                        #14

                        the thing is the only way I can have that spin button to be available (clickable) is to reboot the server
                        it's still spinning since the last time I rebooted, but I can't reboot right now, server is busy moving files πŸ˜•

                        BenB

                        1 Reply Last reply
                        0
                        • nebulonN Offline
                          nebulonN Offline
                          nebulon
                          Staff
                          wrote on last edited by
                          #15

                          Then we can just wait until that is finished or the task times out eventually. I don't think the graph display is that urgent. Anyways you can SSH into the server and check the disk there.

                          1 Reply Last reply
                          0
                          • benborgesB Offline
                            benborgesB Offline
                            benborges
                            wrote on last edited by
                            #16

                            I have SSHed into it and found the task that seem to be associated with this and found this :

                            ➜  tasks grc tail -f 5728.log
                            
                            2023-06-30T03:48:53.238Z box:tasks update 5728: {"percent":29.571428571428573,"message":"Checking contents of /dev/sda2"}
                            2023-06-30T03:48:53.239Z box:shell system spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/hdparm.sh //u283231.your-storagebox.de/backup
                            2023-06-30T03:48:53.258Z box:shell system (stderr): //u283231.your-storagebox.de/backup: No such file or directory
                            
                            2023-06-30T03:48:53.259Z box:shell system code: 2, signal: null
                            2023-06-30T03:48:53.260Z box:tasks update 5728: {"message":"hdparm error: system exited with code 2 signal null"}
                            2023-06-30T03:48:53.261Z box:tasks update 5728: {"percent":43.85714285714286,"message":"Checking contents of //username.your-storagebox.de/backup"}
                            2023-06-30T03:48:53.262Z box:tasks update 5728: {"message":"Checking du of {\"type\":\"volume\",\"id\":\"8190a2686d454328b1ef83461c30de1a\",\"path\":\"/mnt/volumes/8190a2686d454328b1ef83461c30de1a\"}"}
                            2023-06-30T03:48:53.263Z box:shell system spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/du.sh /mnt/volumes/8190a2686d454328b1ef83461c30de1a
                            

                            this is the storage box of my hetzner backup, and the backup folder does exist there, would that be the issue ?

                            BenB

                            girishG 1 Reply Last reply
                            0
                            • benborgesB benborges

                              I have SSHed into it and found the task that seem to be associated with this and found this :

                              ➜  tasks grc tail -f 5728.log
                              
                              2023-06-30T03:48:53.238Z box:tasks update 5728: {"percent":29.571428571428573,"message":"Checking contents of /dev/sda2"}
                              2023-06-30T03:48:53.239Z box:shell system spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/hdparm.sh //u283231.your-storagebox.de/backup
                              2023-06-30T03:48:53.258Z box:shell system (stderr): //u283231.your-storagebox.de/backup: No such file or directory
                              
                              2023-06-30T03:48:53.259Z box:shell system code: 2, signal: null
                              2023-06-30T03:48:53.260Z box:tasks update 5728: {"message":"hdparm error: system exited with code 2 signal null"}
                              2023-06-30T03:48:53.261Z box:tasks update 5728: {"percent":43.85714285714286,"message":"Checking contents of //username.your-storagebox.de/backup"}
                              2023-06-30T03:48:53.262Z box:tasks update 5728: {"message":"Checking du of {\"type\":\"volume\",\"id\":\"8190a2686d454328b1ef83461c30de1a\",\"path\":\"/mnt/volumes/8190a2686d454328b1ef83461c30de1a\"}"}
                              2023-06-30T03:48:53.263Z box:shell system spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/du.sh /mnt/volumes/8190a2686d454328b1ef83461c30de1a
                              

                              this is the storage box of my hetzner backup, and the backup folder does exist there, would that be the issue ?

                              girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by girish
                              #17

                              @benborges in theory, the code should move on despite the failure to get the du of one app. Does that task complete? or are these the last lines you posted?

                              benborgesB 1 Reply Last reply
                              0
                              • girishG girish

                                @benborges in theory, the code should move on despite the failure to get the du of one app. Does that task complete? or are these the last lines you posted?

                                benborgesB Offline
                                benborgesB Offline
                                benborges
                                wrote on last edited by benborges
                                #18

                                @girish those are the last lines, it never completes apparently
                                by the way, this is the du of one remote storage volume, not an app itself

                                BenB

                                girishG 1 Reply Last reply
                                0
                                • benborgesB benborges

                                  @girish those are the last lines, it never completes apparently
                                  by the way, this is the du of one remote storage volume, not an app itself

                                  girishG Offline
                                  girishG Offline
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #19

                                  @benborges ah, looks like du -DsB1 /mnt/volumes/8190a2686d454328b1ef83461c30de1a just hangs. Can you check what happens when you run it? I guess it's got a lot of data is it?

                                  1 Reply Last reply
                                  0
                                  • benborgesB Offline
                                    benborgesB Offline
                                    benborges
                                    wrote on last edited by benborges
                                    #20

                                    hangs also here, it has a few GB of backup and also some 40 or 50 GB of music files
                                    1.3 TB of data for 5 TB available

                                    DUF works fine, like instantly, but not DU

                                    It's a CIFS mount, maybe I should unmount it, remount it as SSHFS and see if goes better, hmm

                                    BenB

                                    1 Reply Last reply
                                    0
                                    • benborgesB Offline
                                      benborgesB Offline
                                      benborges
                                      wrote on last edited by benborges
                                      #21

                                      OK I managed to find the culprit, apparently some of my external volumes storage mounts were mounted with an incorrect path, the weird thing is that they are mounted and I can browse the volume with the file manager but when cloudron run's a du on all the disks and remote storage, it fails when it arrives to these badly mounted storage volumes and stays there for ever.

                                      SO, I'm going to have to remove them from their attached app, remove them from the volume section,
                                      remount them properly and re-attach them to each app, it's gonna be a bit of work, but I want this to work without flaws like this πŸ™‚

                                      5857f191-20d8-482f-a49b-e9dc6bf656dd-image.png

                                      BenB

                                      girishG 1 Reply Last reply
                                      2
                                      • benborgesB benborges

                                        OK I managed to find the culprit, apparently some of my external volumes storage mounts were mounted with an incorrect path, the weird thing is that they are mounted and I can browse the volume with the file manager but when cloudron run's a du on all the disks and remote storage, it fails when it arrives to these badly mounted storage volumes and stays there for ever.

                                        SO, I'm going to have to remove them from their attached app, remove them from the volume section,
                                        remount them properly and re-attach them to each app, it's gonna be a bit of work, but I want this to work without flaws like this πŸ™‚

                                        5857f191-20d8-482f-a49b-e9dc6bf656dd-image.png

                                        girishG Offline
                                        girishG Offline
                                        girish
                                        Staff
                                        wrote on last edited by
                                        #22

                                        @benborges said in Uninstalled apps stuck in the System Info page:

                                        I can browse the volume with the file manager but when cloudron run's a du on all the disks and remote storage, it fails when it arrives to these badly mounted storage volumes and stays there for ever.

                                        Not sure how common this is, but I will put a timeout in our code and mark such volumes as "size cannot be determined"

                                        1 Reply Last reply
                                        2
                                        • benborgesB Offline
                                          benborgesB Offline
                                          benborges
                                          wrote on last edited by benborges
                                          #23

                                          Solved!

                                          Just for the sake of someone else stumbling into the same issue :

                                          Backup SSHFS mount with hetzner storage box should always be mounted pointing to the exact sub folder where backup will be stored, so the path would be /home/yourfolder and the URL to the server should not contain any path.

                                          Now, if you use the same storage volume mounted a second time, as a volume to be added to specific apps then the URL is always ID.your-storagebox.de and the path field is simply /
                                          no need to specify any folder.

                                          The issue here is that I had it to mount the URL of the storage box ID.your-storagebox.de/home + / in the path
                                          and that was the origin of the mess, the odd part is that it did mount and the volume was usable via the filemanager just fine, it's just that the hdparam.sh script would freak out due to this confusion in the path.

                                          Anyway, solved ! πŸ™‚

                                          BenB

                                          1 Reply Last reply
                                          2
                                          • girishG girish 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