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

    Solved Nextcloud: Empty Trashbin intervals

    Support
    2
    3
    941
    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.
    • M
      marbetschar last edited by

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

        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 Reply Quote 1
        • M
          marbetschar @nebulon last edited by

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