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
  • Brite
  • 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. Docker volumes are filling up disk

Docker volumes are filling up disk

Scheduled Pinned Locked Moved Solved Support
dockervolumes
23 Posts 7 Posters 717 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.
  • SansGuidonS Offline
    SansGuidonS Offline
    SansGuidon
    wrote last edited by
    #13

    Is it related to a plugin? I know that by default wp-cron jobs were not always running in WP so I had to force create a cron job to run wp-cron on a schedule
    It is supposed to be the reponsibility of WP Plugins to cleanup after them, by using the wp-cron, but it is by default disabled afaik. So what I have scheduled for a long time in Cloudron is */30 * * * * wget -q -O - https://wp.xxx.xxx/wp-cron.php?doing_wp_cron >/dev/null 2>&1

    About me / Now

    P 1 Reply Last reply
    2
    • archosA Offline
      archosA Offline
      archos
      wrote last edited by
      #14

      Thanks a lot everyone for the advice 🙏
      I’ve added some cleanup jobs to the WP cron for now.
      I’ll let you know if it helps.

      1 Reply Last reply
      1
      • SansGuidonS SansGuidon

        Is it related to a plugin? I know that by default wp-cron jobs were not always running in WP so I had to force create a cron job to run wp-cron on a schedule
        It is supposed to be the reponsibility of WP Plugins to cleanup after them, by using the wp-cron, but it is by default disabled afaik. So what I have scheduled for a long time in Cloudron is */30 * * * * wget -q -O - https://wp.xxx.xxx/wp-cron.php?doing_wp_cron >/dev/null 2>&1

        P Offline
        P Offline
        p44
        translator
        wrote last edited by
        #15

        @SansGuidon Cloudron cron jobs works perfectly with Wordpress...

        @archos Keep us posted 🙏

        SansGuidonS 1 Reply Last reply
        0
        • P p44

          @SansGuidon Cloudron cron jobs works perfectly with Wordpress...

          @archos Keep us posted 🙏

          SansGuidonS Offline
          SansGuidonS Offline
          SansGuidon
          wrote last edited by SansGuidon
          #16

          @p44 said in Docker volumes are filling up disk:

          @SansGuidon Cloudron cron jobs works perfectly with Wordpress...

          @archos Keep us posted 🙏

          Glad it works for you. WP would constantly complaining those WP-cron jobs were disabled (see Cloudron docs, they mention wp-cron is disabled https://docs.cloudron.io/packages/wordpress-managed/ ), so I came with the fix I mention to get rid of the warnings/errors shown in my WP instance 😆 maybe my solution is outdated yet it runs for so long now.

          About me / Now

          P 1 Reply Last reply
          1
          • SansGuidonS SansGuidon

            @p44 said in Docker volumes are filling up disk:

            @SansGuidon Cloudron cron jobs works perfectly with Wordpress...

            @archos Keep us posted 🙏

            Glad it works for you. WP would constantly complaining those WP-cron jobs were disabled (see Cloudron docs, they mention wp-cron is disabled https://docs.cloudron.io/packages/wordpress-managed/ ), so I came with the fix I mention to get rid of the warnings/errors shown in my WP instance 😆 maybe my solution is outdated yet it runs for so long now.

            P Offline
            P Offline
            p44
            translator
            wrote last edited by
            #17

            @SansGuidon Mentioned guide also say "To add custom cron events, use Cloudron's built-in cron or use a plugin like WP Crontrol." And it works like a sharm... 😉

            Before Cloudron I had a lot of problems publishing scheduled posts because WP Cron is activated only when user visits the website. Cloudron guide say "WordPress' built-in cron task schedule wp-cron is disabled since it is not effective for low traffic websites."

            SansGuidonS 1 Reply Last reply
            1
            • P p44

              @SansGuidon Mentioned guide also say "To add custom cron events, use Cloudron's built-in cron or use a plugin like WP Crontrol." And it works like a sharm... 😉

              Before Cloudron I had a lot of problems publishing scheduled posts because WP Cron is activated only when user visits the website. Cloudron guide say "WordPress' built-in cron task schedule wp-cron is disabled since it is not effective for low traffic websites."

              SansGuidonS Offline
              SansGuidonS Offline
              SansGuidon
              wrote last edited by SansGuidon
              #18

              @p44 said in Docker volumes are filling up disk:

              @SansGuidon Mentioned guide also say "To add custom cron events, use Cloudron's built-in cron or use a plugin like WP Crontrol." And it works like a sharm... 😉

              Before Cloudron I had a lot of problems publishing scheduled posts because WP Cron is activated only when user visits the website. Cloudron guide say "WordPress' built-in cron task schedule wp-cron is disabled since it is not effective for low traffic websites."

              Interesting to know, however what I remember is that my site would appear non healthy without forcing some cron jobs to trigger, so I guess that's why I had to add this line in my cron tab, despite Cloudron is supposed to make that not necessary. Weird. Anyway if that works like a charm for everyone but me, I guess I might have different needs 🤔

              About me / Now

              P 1 Reply Last reply
              1
              • SansGuidonS SansGuidon

                @p44 said in Docker volumes are filling up disk:

                @SansGuidon Mentioned guide also say "To add custom cron events, use Cloudron's built-in cron or use a plugin like WP Crontrol." And it works like a sharm... 😉

                Before Cloudron I had a lot of problems publishing scheduled posts because WP Cron is activated only when user visits the website. Cloudron guide say "WordPress' built-in cron task schedule wp-cron is disabled since it is not effective for low traffic websites."

                Interesting to know, however what I remember is that my site would appear non healthy without forcing some cron jobs to trigger, so I guess that's why I had to add this line in my cron tab, despite Cloudron is supposed to make that not necessary. Weird. Anyway if that works like a charm for everyone but me, I guess I might have different needs 🤔

                P Offline
                P Offline
                p44
                translator
                wrote last edited by
                #19

                @SansGuidon It still does not work for you?

                1 Reply Last reply
                0
                • archosA Offline
                  archosA Offline
                  archos
                  wrote last edited by
                  #20

                  The cron job is working perfectly, temporary files are no longer accumulating. Many thanks to everyone for the advice. ✅

                  robiR P 2 Replies Last reply
                  2
                  • archosA archos

                    The cron job is working perfectly, temporary files are no longer accumulating. Many thanks to everyone for the advice. ✅

                    robiR Offline
                    robiR Offline
                    robi
                    wrote last edited by
                    #21

                    @archos which one exactly?

                    Conscious tech

                    archosA 1 Reply Last reply
                    0
                    • archosA archos

                      The cron job is working perfectly, temporary files are no longer accumulating. Many thanks to everyone for the advice. ✅

                      P Offline
                      P Offline
                      p44
                      translator
                      wrote last edited by
                      #22

                      @archos Great 👏👏👏

                      1 Reply Last reply
                      1
                      • robiR robi

                        @archos which one exactly?

                        archosA Offline
                        archosA Offline
                        archos
                        wrote last edited by
                        #23

                        @robi I only added the recommended commands:

                        0 13,23 * * * rm -rf /app/data/public/wp-content/cache/* > /dev/null 2>&1  
                        0 13,23 * * * rm -rf /tmp/magick-* /tmp/imagick* > /dev/null 2>&1
                        
                        1 Reply Last reply
                        3
                        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