Files
wekan/docs/Features/General/Cleanup/Cleanup.md
T
Lauri Ojansivu d894858793 Docs: General: what each feature is, how to use it, how its numbers are calculated, how it works, and its commits.
Metrics, Stats, Cleanup, Summary, Since your last visit, Original
positions, the helpers that need no AI, Timezone, Keyboard shortcuts, Logs,
Wait Spinners and a board that keeps loading, checked against the code.

Thanks to xet7 !
2026-11-22 17:56:35 +02:00

1.9 KiB

Cleanup

What it is

Cleanup means removing data that is no longer needed: old or orphaned documents in the WeKan database, and unused Docker images, containers and volumes that fill the disk. These are companion tools and commands that run outside WeKan; take a backup first.

Read more

How to use it

  1. Take a backup, see Backup and Restore.
  2. Database: follow the README of wekan-cleanup.
  3. Docker: follow issue 985 or Docker's pruning guide; remove only images and volumes you no longer use.
  4. If the database itself is damaged, see Repair MongoDB instead.

How the numbers are calculated

This page has no numbers of its own; what is removed and how old it must be is decided by the cleanup script's own settings.

How it works in WeKan

Nothing in this repository runs these tools; the cleanup script works on the MongoDB collections directly. Cleanups that WeKan does by itself (for example attachment retention and event log retention) are set with environment variables and described on their own pages.

Commits