infra:services:wiki
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| infra:services:wiki [2024/03/23 17:08] – created kfh | infra:services:wiki [2026/09/05 16:43] (current) – Add routine DokuWiki upgrade TL;DR atluxity_idp.hackeriet.no | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | You are here -> x | + | ====== Wiki ====== |
| + | |||
| + | |||
| + | |||
| + | ===== Intro ===== | ||
| + | |||
| + | |||
| + | This Wiki is running [[https:// | ||
| + | |||
| + | ===== Backup ===== | ||
| + | |||
| + | |||
| + | The contents of the wiki is backed up automagically to the [[https:// | ||
| + | |||
| + | ===== Login ===== | ||
| + | |||
| + | New users can use Hacker-ID to log in without sharing PII. When this option is used, the changelog will only contain your Hacker-ID user account and UUID. | ||
| + | |||
| + | You can also use Github as login method to get edit permissions to the Wiki. This makes changelogs retain your Github sign-in email address and real name. | ||
| + | |||
| + | ==== Admin rights ==== | ||
| + | The login to the main admin user is in hackerpass, and members can use that login to grant themselves more permissions as need be. | ||
| + | |||
| + | Hacker-ID users can get admin rights assigned automatically by being members of the '' | ||
| + | |||
| + | DokuWiki' | ||
| + | |||
| + | ^ IDP group ^ Claim value ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | ===== Core upgrades ===== | ||
| + | |||
| + | ==== TL;DR: routine upgrade ==== | ||
| + | |||
| + | Review the release notes and plugin compatibility, | ||
| + | |||
| + | <code bash> | ||
| + | ssh atluxity@blade.hackeriet.no | ||
| + | sudo / | ||
| + | </ | ||
| + | |||
| + | If preflight passes, run: | ||
| + | |||
| + | <code bash> | ||
| + | sudo / | ||
| + | sudo / | ||
| + | </ | ||
| + | |||
| + | '' | ||
| + | |||
| + | Check page rendering and media, Hacker-ID login, a page edit, and its gitbacked backup commit. Plugins and templates require separate maintenance. | ||
| + | |||
| + | |||
| + | Run maintenance on [[infra: | ||
| + | |||
| + | <code bash> | ||
| + | ssh atluxity@blade.hackeriet.no | ||
| + | sudo / | ||
| + | </ | ||
| + | |||
| + | The installation is ''/ | ||
| + | |||
| + | The helper upgrades DokuWiki core. Third-party plugins and templates need separate compatibility review and maintenance. The web Upgrade extension is not the normal upgrade path: core files remain root-owned rather than writable by the web server. | ||
| + | |||
| + | ==== Preparation ==== | ||
| + | |||
| + | Read the target release notes and check PHP, plugin and template compatibility before upgrading. Arrange a maintenance window with no page edits or configuration changes: the helper takes a filesystem backup and copies files into the live installation; | ||
| + | |||
| + | Preflight checks required commands, basic write access, installer removal and free space. Its default 1024 MB free-space threshold is only a floor; allow space for the complete backup, downloaded release and extracted staging tree. | ||
| + | |||
| + | If preflight reports a writable installation root or remaining '' | ||
| + | |||
| + | <code bash> | ||
| + | sudo / | ||
| + | sudo / | ||
| + | sudo / | ||
| + | sudo / | ||
| + | </ | ||
| + | |||
| + | '' | ||
| + | |||
| + | ==== Upgrade ==== | ||
| + | |||
| + | <code bash> | ||
| + | sudo / | ||
| + | sudo / | ||
| + | </ | ||
| + | |||
| + | '' | ||
| + | |||
| + | For a selected release, use a previously downloaded archive and an independently obtained trusted checksum: | ||
| + | |||
| + | <code bash> | ||
| + | sudo / | ||
| + | </ | ||
| + | |||
| + | Without '' | ||
| + | |||
| + | ==== Verification ==== | ||
| + | |||
| + | '' | ||
| + | |||
| + | Run '' | ||
| + | |||
| + | After maintenance, | ||
| + | |||
| + | ==== Recovery ==== | ||
| + | |||
| + | Use the full backup printed by the helper, not just the content repository. Keep writes suspended during recovery. Verify the backup checksum with '' | ||
| + | |||
| + | Move the failed installation aside and extract the backup into ''/ | ||
| + | |||
| + | The backup uses '' | ||
| + | |||
| + | ==== References ==== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
/srv/hackeriet-wiki/dokuwiki/data/attic/infra/services/wiki.1711213691.txt.gz · Last modified: by kfh