mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
The pin moved from 4.5.11 to 5.3.0, and the role fitted neither a new install nor an existing one. Moodle 5 serves from public/ and routes every other path through r.php. nginx now uses public/ as its root, hands unknown paths to the router and passes PATH_INFO for scripts with slash arguments, and config.php declares the router as configured. The paths the role checks and writes (version.php, auth, webservice, the OIDC plugin) moved below public/, the URL of the OIDC plugin stays auth/oidc. The source archive no longer contains vendor/, so the image installs the Composer dependencies it declares. The OIDC plugin is pinned to v5.2.1, the newest release. An existing site kept its old code: the entrypoint filled the code volume once and never again. It now records the release it copied and replaces the tree when the image carries another one, and a new task runs admin/cli/upgrade.php. Plugins that were installed through the web interface are not carried over, the README says how to ship them. A site installed with 5.3 forces login by default, which 4.5 did not, so its start page answers 303 to the login page and the webserver health check refused it. The role declares 200 and 303 as the codes that check accepts: 200 is what an upgraded site keeps answering. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
6 lines
49 B
YAML
6 lines
49 B
YAML
---
|
|
status_codes:
|
|
default:
|
|
- 200
|
|
- 303
|