digitalboard.core/roles/nextcloud/tasks
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
..
collabora.yml fix(nextcloud): make occ-driven config tasks idempotent 2026-05-27 23:12:23 +02:00
drawio.yml fix(nextcloud): make occ-driven config tasks idempotent 2026-05-27 23:12:23 +02:00
ldap.yml fix(nextcloud): make occ-driven config tasks idempotent 2026-05-27 23:12:23 +02:00
main.yml fix(nextcloud): in-container patch for UserConfig::getValueBool TypeError 2026-05-27 23:12:23 +02:00
notify_push.yml fix(nextcloud): make occ-driven config tasks idempotent 2026-05-27 23:12:23 +02:00
oidc.yml feat: add nextcloud oidc provisioning 2026-02-27 11:23:07 +01:00
plugins.yml fix(nextcloud): make occ-driven config tasks idempotent 2026-05-27 23:12:23 +02:00
talk.yml feat(talk/turn/signaling/hpb): add role for Talk with backend services 2026-05-26 15:35:18 +02:00