infra:services:wiki
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| infra:services:wiki [2025/04/09 06:12] – marcusramberg | infra:services:wiki [2026/09/05 16:43] (current) – Add routine DokuWiki upgrade TL;DR atluxity_idp.hackeriet.no | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| - | This Wiki is running [[Dokuwiki|https:// | + | This Wiki is running [[https:// |
| ===== Backup ===== | ===== Backup ===== | ||
| - | The contents of the wiki is backed up automagically to the [hackeriet/ | + | The contents of the wiki is backed up automagically to the [[https:// |
| ===== Login ===== | ===== Login ===== | ||
| - | New users can use Github as login method to get edit permissions to the Wiki. The login to the main admin user is in hackerpass, and members can use that login to grant themselves more permissions as need be. | + | 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.1744179146.txt.gz · Last modified: by marcusramberg