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. Graphs error with Volumes

Graphs error with Volumes

Scheduled Pinned Locked Moved Solved Support
graphsvolumes
11 Posts 2 Posters 1.7k 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.
    • girishG girish

      @atridad The volumes are not wiped, no (there is no code for such a thing even). It could be something wrong with the mounting order. Are you seeing no files on the hard disk itself (as in, you ssh into the server and see no files via the terminal) or is this the file manager showing no files? If it's the latter, it could very well be some docker + mounting race issue (seen a lot of these, which is why added volume mounts).

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by girish
      #1

      @girish Huh weird...

      Now I see this on the Disk usage tab under "System Info". My mounts seem to work just fine as I can now access the volumes on them and everything in the apps work.

      Screen Shot 2021-07-08 at 1.08.33 AM.png

      girishG 1 Reply Last reply
      0
      • ? A Former User

        @girish Huh weird...

        Now I see this on the Disk usage tab under "System Info". My mounts seem to work just fine as I can now access the volumes on them and everything in the apps work.

        Screen Shot 2021-07-08 at 1.08.33 AM.png

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

        @atridad Can you try restarting graphite under Services and wait for 5-10 minutes (to collect the disk information) ? But yeah, ideally it should not barf like that....

        ? 1 Reply Last reply
        0
        • girishG girish

          @atridad Can you try restarting graphite under Services and wait for 5-10 minutes (to collect the disk information) ? But yeah, ideally it should not barf like that....

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #3

          @girish kk trying that. Its not functionally causing issues but just thought I should report.

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

            On a side note, I changed the text for this page now from this "Cloudron in the wild" to

            "You are seeing this page because this domain points to Cloudron server IP but no app is installed on that domain" (which is the only reason you should see this page).

            ? 1 Reply Last reply
            0
            • girishG girish

              On a side note, I changed the text for this page now from this "Cloudron in the wild" to

              "You are seeing this page because this domain points to Cloudron server IP but no app is installed on that domain" (which is the only reason you should see this page).

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #5

              @girish Nice, thanks! Oh and it seems that error is back.

              Seems like it has an issue with my hard drive mount??? sdc1 is the partition I am using on my 2TB HDD (where my music, movies, and shows live)
              Screen Shot 2021-07-08 at 1.29.13 AM.png

              girishG 1 Reply Last reply
              0
              • ? A Former User

                @girish Nice, thanks! Oh and it seems that error is back.

                Seems like it has an issue with my hard drive mount??? sdc1 is the partition I am using on my 2TB HDD (where my music, movies, and shows live)
                Screen Shot 2021-07-08 at 1.29.13 AM.png

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

                @atridad Oh, I think I know the issue and it's probably related to https://git.cloudron.io/cloudron/box/-/issues/786 . Let me test this and check if that's the bug or not. Basically, collectd profiles for volumes are not created on restore. I just left this as a known bug in 6.3 but looks to be worthwhile fixing.

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

                  Of course a workaround is to delete the volume and create it again.

                  ? 1 Reply Last reply
                  0
                  • girishG girish

                    Of course a workaround is to delete the volume and create it again.

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #8

                    @girish oh so I actually don't even have the drive set up as a volume. My setup is as follows:

                    Main 1TB SSD
                    2TB SSD manually mounted to /mnt/ssd, and has my next cloud instances on it
                    2TB HDD manually mounted to /mnt/ssd
                    Volumes for music, movies, and songs pointing to /mnt/hdd/media/<type of media>

                    girishG 1 Reply Last reply
                    0
                    • ? A Former User

                      @girish oh so I actually don't even have the drive set up as a volume. My setup is as follows:

                      Main 1TB SSD
                      2TB SSD manually mounted to /mnt/ssd, and has my next cloud instances on it
                      2TB HDD manually mounted to /mnt/ssd
                      Volumes for music, movies, and songs pointing to /mnt/hdd/media/<type of media>

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

                      @atridad Do you still get this error? I think I will have to debug on your server to know what the problem is. If it's a problem, can you write to us at support@cloudron.io?

                      ? 1 Reply Last reply
                      0
                      • girishG girish

                        @atridad Do you still get this error? I think I will have to debug on your server to know what the problem is. If it's a problem, can you write to us at support@cloudron.io?

                        ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #10

                        @girish yeah still a problem. And sure I can send in a ticket.

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

                          The full stack trace is:

                          16/07/2021 17:58:24 :: [console] Error writing to collectd.localhost.df-sdc1.df_complex-used: Unable to read header (/var/lib/graphite/whisper/collectd/localhost/df-sdc1/df_complex-used.wsp)
                          16/07/2021 17:58:24 :: [console] Unhandled Error
                          Traceback (most recent call last):
                            File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
                              inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
                            File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext
                              return self.currentContext().callWithContext(ctx, func, *args, **kw)
                            File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext
                              return func(*args,**kw)
                            File "/usr/lib/python3/dist-packages/carbon/writer.py", line 189, in writeForever
                              writeCachedDataPoints()
                          --- <exception caught here> ---
                            File "/usr/lib/python3/dist-packages/carbon/writer.py", line 165, in writeCachedDataPoints
                              state.database.write(metric, datapoints)
                            File "/usr/lib/python3/dist-packages/carbon/database.py", line 124, in write
                              whisper.update_many(path, datapoints)
                            File "/usr/lib/python3/dist-packages/whisper.py", line 740, in update_many
                              return file_update_many(fh, points, now)
                            File "/usr/lib/python3/dist-packages/whisper.py", line 747, in file_update_many
                              header = __readHeader(fh)
                            File "/usr/lib/python3/dist-packages/whisper.py", line 294, in __readHeader
                              raise CorruptWhisperFile("Unable to read header", fh.name)
                          whisper.CorruptWhisperFile: Unable to read header (/var/lib/graphite/whisper/collectd/localhost/df-sdc1/df_complex-free.wsp)
                          

                          The last line gives a hint that the graphite file is corrupt. So, I removed all the whisper files in /home/yellowtent/platformdata/graphite/whisper/collectd/localhost/df-sdc1 and graphs seems to work after that.

                          @atridad Maybe a good idea to check the health of the hard disk ? Also, since we hit the systemd issue on the same server.

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