Repository navigation
docs(admin): document the cleanup of old file versions - #1222
Draft
pbleser-oc wants to merge 1 commit into
Draft
pbleser-oc wants to merge 1 commit into
pbleser-oc wants to merge 1 commit into
Conversation
pbleser-oc
force-pushed
the
feat/1419-revisions-cleanup
branch
from
October 22, 2026 12:12
e4752f5 to
fe8d544
Compare
OpenCloud can now delete old file versions according to a cleanup strategy (opencloud-eu/opencloud#1419, opencloud-eu/opencloud#3778). - a new page, Cleaning Up Old Versions, in the storage configuration: what the cleanup does and when it runs, how to turn it on with OpenCloud Compose and other installations, the strategies explained with one example file throughout, how the age of a version is measured, how to try a strategy out, the background workers and the logs - the command to clean up versions on demand, in the maintenance commands: a dry run first, selecting the files, choosing the strategy, the output, a nightly cron job with a timeout, the exit codes, and what to know when it runs while OpenCloud is running (versions in an open Versions panel, NATS for PosixFS) - features and FAQ: versions are kept by default, administrators can have old ones deleted
pbleser-oc
force-pushed
the
feat/1419-revisions-cleanup
branch
from
October 25, 2026 01:18
fe8d544 to
c15af4f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the cleanup of old file versions for administrators: opencloud-eu/opencloud#1419, implemented in opencloud-eu/reva#895 and opencloud-eu/opencloud#3778.
Draft until opencloud-eu/opencloud#3778 is merged, as it documents its configuration and its command.
What's new
docs/admin/configuration/storage/revisions-cleanup.md):COMPOSE_FILE, so that the setting survives updates) and with other installations;auto, and their combinations, with an overview table and suggestions for common needs;opencloud storage-users revisions cleanup, in Admin → Maintenance → Maintenance Commands: when to use it, a dry run first, selecting the files, choosing the strategy, reading the output, a nightly cron job with a timeout, the exit codes, and how it differs from the olderopencloud revisions purge.The environment variables (
OC_REVISIONS_CLEANUP_*) and the storage-users README section reach the Dev section automatically with the next env var update, once opencloud-eu/opencloud#3778 is merged. The new page links to the generated environment variables page.Checks
pnpm build --locale enpasses, without broken links or anchors on these pages.prettier --checkandmarkdownlint-cli2pass for the changed files.