This is an old revision of the document!
Team responsible for managing and improving the wiki.
Team
Contact
- Email: wiki-admin@FreeBSD.org
- IRC: #freebsd-wiki at freenode IRC (ircs://chat.freenode.net/freebsd-wiki)
Wiki Maintenance
Configuration Changes
Note: This currently doesn't work, configuration is managed by clusteradm and auto deployed, so local changes are reverted – KubilayKocak 2020-06-21 13:40:33+1100
# cd /home/www/wiki # cp -p wikiconfig.py wikiconfig.py.<datestamp> # ee wikiconfig.py make changes # service apache24 restart
Clean Pages
Moves deleted/trash pages to ~wiki/{trash,deleted}
# cd /home/www/wiki # moin --config-dir=/home/www/wiki maint cleanpage > clean-<datestamp>.sh review and verify clean-<datestamp>.sh contents # sh clean-<datestamp>.sh
Clean Sessions
Cleans up expired sessions from ~wiki/data/cache/sessions
# cd /home/www/wiki # moin --config-dir=/home/www/wiki maint cleansessions
Rebuild xapian search index
Rebuilds the xapian search index (deleting the current index) in ~wiki/data/cache/xapian
# cd /home/www/wiki # moin --config-dir=/home/www/wiki index build --mode=rebuild
Note: The current script spits out the following errors for PDF files. This error can be ignored for now (See: Bug #44 – KubilayKocak 2020-06-21 13:56:06+1100
Filter application_pdf threw error '[Errno 1] Operation not permitted' for file /home/www/wiki/data/pages/<file>.pdf
...
preexec_fn=None if subprocess.mswindows else os.setsid(),
OSError: [Errno 1] Operation not permitted