Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved /dev/vda1 is almost full (docker?)

    Support
    logs logrotate
    3
    9
    757
    Loading More Posts
    • 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
      salturki last edited by girish

      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

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @salturki last edited by

        @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 Reply Quote 0
        • S
          salturki @nebulon last edited by

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

          nebulon 1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff @salturki last edited by

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

            S 1 Reply Last reply Reply Quote 0
            • S
              salturki @nebulon last edited by salturki

              @nebulon Thank you!

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

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

              girish 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @salturki last edited by

                @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 Reply Quote 0
                • S
                  salturki @girish last edited by

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

                  nebulon 1 Reply Last reply Reply Quote 0
                  • nebulon
                    nebulon Staff @salturki last edited by

                    @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 Reply Quote 1
                    • girish
                      girish Staff last edited by

                      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 Reply Quote 1
                      • First post
                        Last post
                      Powered by NodeBB