digitalboard.core/roles/nextcloud
Simon Bärlocher 60464e6d23
fix(nextcloud): in-container patch for UserConfig::getValueBool TypeError
nextcloud/server#59629: under PHP 8.x with OPcache,
UserConfig::getValueBool() passes a non-string from getTypedValue()
straight into strtolower(), throwing a TypeError on every authenticated
request once user_ldap is involved. Fix landed in master (PR #59646)
but no stable33 backport made it into 33.0.4.

Discover all compose-managed nextcloud containers, check whether the
`strtolower((string)` cast is already present, and `sed` it into
`lib/private/Config/UserConfig.php` on the ones that still ship the
broken version. Idempotent via grep guard so re-runs are no-ops.

Remove this block once the deployed image >= 33.0.4 ships the upstream fix.
2026-05-27 23:12:23 +02:00
..
defaults feat: drop blanket recreates, ACME-DNS knobs, notify_push override 2026-05-27 23:12:23 +02:00
handlers feat: add basic nextcloud role 2025-12-19 14:17:08 +01:00
tasks fix(nextcloud): in-container patch for UserConfig::getValueBool TypeError 2026-05-27 23:12:23 +02:00
templates feat: drop blanket recreates, ACME-DNS knobs, notify_push override 2026-05-27 23:12:23 +02:00
tests feat: add basic nextcloud role 2025-12-19 14:17:08 +01:00
vars feat: add basic nextcloud role 2025-12-19 14:17:08 +01:00