mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
- The General/ level is gone: its 109 files moved up into the folders of the same name, and its topic table is the "Shared topics" section of Features.md. - Accessibility is one folder, docs/Features/Accessibility/, with the Admin Panel's accessibility page in it. - Every folder's main page is README.md (110 X/X.md pages renamed with git mv, five merged with an existing README.md, 26 index pages added for folders that had none), so a folder opened on GitHub shows its page. - The 73 "# Moved" forwarding pages are deleted, with the folders that held only them; every link that went to one goes to its final page. - docs/Features/README.md has the website's "Features in WeKan" overview, each feature linking to its page here. 1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose, snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when General/ or a "# Moved" page comes back, a folder has no README.md, or a relative link in the docs or README.md does not resolve. 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.