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. Nextcloud: Empty Trashbin intervals

Nextcloud: Empty Trashbin intervals

Scheduled Pinned Locked Moved Solved Support
3 Posts 2 Posters 1.4k 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.
    • M Offline
      M Offline
      marbetschar
      wrote on last edited by
      #1

      We run a Cloudron instance which does use Nextcloud quite extensively. That said, there is about 150GB of data stored on it. The disk size of the instance is 250GB.

      That said, we run into an "out of disk space" issue all few months, since Nextcloud stores trashed files for 180 days by default.

      Where can I change the 180 days to 60 days for example?

      1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        The setting would be trashbin_retention_obligation as documented in https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#deleted-items-trash-bin
        This is unset in the Cloudron app package, so it defaults to auto, which in your case probably does not actually delete files until 100% of the disk space is used. You should be able to adjust the config.php accordingly inside the app, the values should be preserved across restarts.

        M 1 Reply Last reply
        1
        • nebulonN nebulon

          The setting would be trashbin_retention_obligation as documented in https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#deleted-items-trash-bin
          This is unset in the Cloudron app package, so it defaults to auto, which in your case probably does not actually delete files until 100% of the disk space is used. You should be able to adjust the config.php accordingly inside the app, the values should be preserved across restarts.

          M Offline
          M Offline
          marbetschar
          wrote on last edited by
          #3

          @nebulon said in Nextcloud: Empty Trashbin intervals:

          trashbin_retention_obligation

          @nebulon thank you very much! Missed that the config.php is symlinked to /app/data and therefore it is editable 👍🏼

          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