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. Safe to truncate /home/yellowtent/platformdata/logs/* when large disk consumer?

Safe to truncate /home/yellowtent/platformdata/logs/* when large disk consumer?

Scheduled Pinned Locked Moved Solved Support
logging
26 Posts 6 Posters 2.1k Views 7 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.
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    wrote on last edited by
    #21

    @girish - I was wanting to follow-up on this. The defect still seems to exist. Right now, despite me running about 41 apps, I only have several in the logrotate.d folder:

    ubuntu@my:/home/yellowtent/platformdata$ ls -alh logrotate.d/
    total 60K
    drwxr-xr-x  2 root       root       4.0K Sep  7 05:00 .
    drwxr-xr-x 17 yellowtent yellowtent 4.0K Jun 26 05:05 ..
    -rw-r--r--  1 root       root        946 Aug 22 03:43 3167ef7d-e4c2-4072-8e11-8de49c5db970
    -rw-r--r--  1 root       root        946 Aug 23 16:40 4929b73d-cfa4-4246-82a7-4bc8127982f6
    -rw-r--r--  1 root       root        946 Sep  7 05:00 492b4264-fea8-4d52-bbe6-1f15ce72c53a
    -rw-r--r--  1 root       root        946 Sep  4 03:34 684cf8eb-f80c-4304-b97d-ab915a18cfe7
    -rw-r--r--  1 root       root        946 Sep  4 23:07 6b3ebc4f-9708-4243-bc21-4c9a01bc3499
    -rw-r--r--  1 root       root        946 Aug 19 23:11 7384a604-7a42-4dc7-86eb-d3f6dd2d546b
    -rw-r--r--  1 root       root        946 Aug 19 03:25 8dba8d47-7890-49d3-8dfa-970e1ec52991
    -rw-r--r--  1 root       root        946 Aug 24 05:48 9c70787a-3529-4b66-be2e-7b1b5aa92b02
    -rw-r--r--  1 root       root        946 Aug 19 23:29 b4888539-e835-4f21-97f5-2fc856be6ecf
    -rw-r--r--  1 root       root        230 Aug 13 06:39 box
    -rw-r--r--  1 root       root        946 Aug 22 03:05 c93cef28-3cc4-42d8-88d5-0f581dff74a2
    -rw-r--r--  1 root       root        946 Sep  4 05:00 ea2ee30a-8d3b-4a3b-8817-19b0f1e17bd7
    -rw-r--r--  1 root       root       1.1K Aug 13 06:39 platform
    

    --
    Dustin Dauncey
    www.d19.ca

    nebulonN 1 Reply Last reply
    1
    • d19dotcaD d19dotca

      @girish - I was wanting to follow-up on this. The defect still seems to exist. Right now, despite me running about 41 apps, I only have several in the logrotate.d folder:

      ubuntu@my:/home/yellowtent/platformdata$ ls -alh logrotate.d/
      total 60K
      drwxr-xr-x  2 root       root       4.0K Sep  7 05:00 .
      drwxr-xr-x 17 yellowtent yellowtent 4.0K Jun 26 05:05 ..
      -rw-r--r--  1 root       root        946 Aug 22 03:43 3167ef7d-e4c2-4072-8e11-8de49c5db970
      -rw-r--r--  1 root       root        946 Aug 23 16:40 4929b73d-cfa4-4246-82a7-4bc8127982f6
      -rw-r--r--  1 root       root        946 Sep  7 05:00 492b4264-fea8-4d52-bbe6-1f15ce72c53a
      -rw-r--r--  1 root       root        946 Sep  4 03:34 684cf8eb-f80c-4304-b97d-ab915a18cfe7
      -rw-r--r--  1 root       root        946 Sep  4 23:07 6b3ebc4f-9708-4243-bc21-4c9a01bc3499
      -rw-r--r--  1 root       root        946 Aug 19 23:11 7384a604-7a42-4dc7-86eb-d3f6dd2d546b
      -rw-r--r--  1 root       root        946 Aug 19 03:25 8dba8d47-7890-49d3-8dfa-970e1ec52991
      -rw-r--r--  1 root       root        946 Aug 24 05:48 9c70787a-3529-4b66-be2e-7b1b5aa92b02
      -rw-r--r--  1 root       root        946 Aug 19 23:29 b4888539-e835-4f21-97f5-2fc856be6ecf
      -rw-r--r--  1 root       root        230 Aug 13 06:39 box
      -rw-r--r--  1 root       root        946 Aug 22 03:05 c93cef28-3cc4-42d8-88d5-0f581dff74a2
      -rw-r--r--  1 root       root        946 Sep  4 05:00 ea2ee30a-8d3b-4a3b-8817-19b0f1e17bd7
      -rw-r--r--  1 root       root       1.1K Aug 13 06:39 platform
      
      nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #22

      @d19dotca if you reconfigure the location of one of the missing apps, does the logrotate config file show up afterwards? I am wondering if something is purging them after they are created. Looking at the code I cannot spot why it wouldn't create that file.

      d19dotcaD 2 Replies Last reply
      0
      • nebulonN nebulon

        @d19dotca if you reconfigure the location of one of the missing apps, does the logrotate config file show up afterwards? I am wondering if something is purging them after they are created. Looking at the code I cannot spot why it wouldn't create that file.

        d19dotcaD Offline
        d19dotcaD Offline
        d19dotca
        wrote on last edited by d19dotca
        #23

        @nebulon Yes, I think I've mentioned that before too. Re-saving from the Location tab on each app regenerates the logrotate file and finally the logrotates will proceed successfully.

        I know @girish confirmed that he saw the same behaviour on one of your (or his) servers too. So this definitely seems to be a Cloudron bug that needs fixing. πŸ˜‰

        This issue has been sitting a long time (confirmed/reproduced in February 2021), so hoping this gets resolved soon because this keeps causing issues on my server when it comes to disk space consumption alerts.

        --
        Dustin Dauncey
        www.d19.ca

        1 Reply Last reply
        2
        • nebulonN nebulon

          @d19dotca if you reconfigure the location of one of the missing apps, does the logrotate config file show up afterwards? I am wondering if something is purging them after they are created. Looking at the code I cannot spot why it wouldn't create that file.

          d19dotcaD Offline
          d19dotcaD Offline
          d19dotca
          wrote on last edited by
          #24

          @nebulon @girish - This is still an issue by the way. Hoping this fix comes soon! I just checked my server after migrating it over the weekend, and I only have 2 apps in the logrotate.d directory. 😞 Having to go through 35 apps now to reinitialize that for proper log maintenance.

          --
          Dustin Dauncey
          www.d19.ca

          girishG 1 Reply Last reply
          1
          • d19dotcaD d19dotca

            @nebulon @girish - This is still an issue by the way. Hoping this fix comes soon! I just checked my server after migrating it over the weekend, and I only have 2 apps in the logrotate.d directory. 😞 Having to go through 35 apps now to reinitialize that for proper log maintenance.

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

            @d19dotca I found the issue finally! After a cloudron update, all the old logrotate configs are removed. This was added many releases ago to regenerate new logrotate configs and we forgot to remove the line after that release. Fixed it now.

            d19dotcaD 1 Reply Last reply
            3
            • girishG girish

              @d19dotca I found the issue finally! After a cloudron update, all the old logrotate configs are removed. This was added many releases ago to regenerate new logrotate configs and we forgot to remove the line after that release. Fixed it now.

              d19dotcaD Offline
              d19dotcaD Offline
              d19dotca
              wrote on last edited by d19dotca
              #26

              @girish yay! Haha, thank you so much!!! That one was really annoying even though minor. Lol. It happens after a Cloudron migration (not just upgrade) and stuff too FYI but I’m assuming you already knew that.

              Edit: actually maybe not… I also had upgraded Cloudron the very next day so I likely just saw the result of that instead. Ignore me.πŸ˜… glad it’s fixed though!!

              --
              Dustin Dauncey
              www.d19.ca

              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