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. /dev/vda1 is almost full (docker?)

/dev/vda1 is almost full (docker?)

Scheduled Pinned Locked Moved Unsolved Support
logslogrotate
9 Posts 3 Posters 2.6k 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.
  • S Offline
    S Offline
    salturki
    wrote on last edited by girish
    #1

    Hello,

    df -h shows my disk space is almost full (although we only have simple WordPress and no large files at all).

    d65d8f40-7315-4dce-8285-c73ed95d539e-image.png

    Any tips on how clean the large files created by docker? it seems as a part of cloudron installation on DigitalOcean.

    Thank you

    nebulonN 1 Reply Last reply
    0
    • S salturki

      Hello,

      df -h shows my disk space is almost full (although we only have simple WordPress and no large files at all).

      d65d8f40-7315-4dce-8285-c73ed95d539e-image.png

      Any tips on how clean the large files created by docker? it seems as a part of cloudron installation on DigitalOcean.

      Thank you

      nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      @salturki the docker resources are not correctly shown with the df tool. Can you better identify the used disk with the Cloudron dashboard stats? Those are not timely accurate, only updated twice a day, but should give better context.

      S 1 Reply Last reply
      0
      • nebulonN nebulon

        @salturki the docker resources are not correctly shown with the df tool. Can you better identify the used disk with the Cloudron dashboard stats? Those are not timely accurate, only updated twice a day, but should give better context.

        S Offline
        S Offline
        salturki
        wrote on last edited by
        #3

        @nebulon Thank you! Can you point me where to get the Cloudron dashbord stats? I couldn't locate them.

        nebulonN 1 Reply Last reply
        0
        • S salturki

          @nebulon Thank you! Can you point me where to get the Cloudron dashbord stats? I couldn't locate them.

          nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          @salturki there is a "System Info" view in your Cloudron dashboard.

          S 1 Reply Last reply
          0
          • nebulonN nebulon

            @salturki there is a "System Info" view in your Cloudron dashboard.

            S Offline
            S Offline
            salturki
            wrote on last edited by salturki
            #5

            @nebulon Thank you!

            This is what I got. I am not sure what Platform data is?

            0ac660df-2e02-46c8-b452-3a71928a049d-image.png

            girishG 1 Reply Last reply
            0
            • S salturki

              @nebulon Thank you!

              This is what I got. I am not sure what Platform data is?

              0ac660df-2e02-46c8-b452-3a71928a049d-image.png

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

              @salturki platform data is the "run time" data - logs, database files etc. It seems something is filling up space here. Can you check under /home/yellowtent/platformdata what is taking up so much space? Looks like that is the culprit.

              S 1 Reply Last reply
              0
              • girishG girish

                @salturki platform data is the "run time" data - logs, database files etc. It seems something is filling up space here. Can you check under /home/yellowtent/platformdata what is taking up so much space? Looks like that is the culprit.

                S Offline
                S Offline
                salturki
                wrote on last edited by
                #7

                @girish Thank you very much!

                I found the culprit file

                /home/yellowtent/platformdata/logs/turn/app.log (23 Gb)

                Is there a way to limit the size automatically?

                nebulonN 1 Reply Last reply
                0
                • S salturki

                  @girish Thank you very much!

                  I found the culprit file

                  /home/yellowtent/platformdata/logs/turn/app.log (23 Gb)

                  Is there a way to limit the size automatically?

                  nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #8

                  @salturki looks like the file misses the logrotate config for some reason then. Can you check the file at /home/yellowtent/platformdata/logrotate.d/platform to see if this file is covered?

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

                    logrotate is run via the system cron. You can check these:

                    • /etc/logrotate.conf should contain the line include /home/yellowtent/platformdata/logrotate.d in the very end.

                    • The file /home/yellowtent/platformdata/logrotate.d/platform should contain /home/yellowtent/platformdata/logs/turn/*.log

                    • As for cron configuration, systemctl status cron should say Active/running. There should also be a file /etc/cron.daily/logrotate .

                    Other than that, it can only mean that turn server generated a massive amount of logs in a single day (seems quite unlikely but who knows).

                    Does it rotate if you run logrotate manually? - Run /usr/sbin/logrotate /etc/logrotate.conf ?

                    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