mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
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 !
1.9 KiB
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
- WeKan database cleanup script — remove old/orphaned data from the database.
- Docker cleanup — reclaim disk space used by Docker, and Docker's own guide to pruning unused objects.
- MongoDB on Wikipedia.
How to use it
- Take a backup, see Backup and Restore.
- Database: follow the README of wekan-cleanup.
- Docker: follow issue 985 or Docker's pruning guide; remove only images and volumes you no longer use.
- 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.