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