From bfaa834f29fff1a16ec355ff64f0bdc6d02c39e3 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 14 Oct 2026 13:34:52 +0200 Subject: [PATCH 1/8] fix(web-app-nextcloud): write onlyoffice's server URL last and recheck it The role writes onlyoffice's settings with one occ call per key, DocumentServerUrl first and jwt_secret fourth. Nextcloud loads app config once per process, so a cron.php that starts inside that batch runs onlyoffice's EditorsCheck job, registered when the app was enabled, with the document server URL but without the secret. The document server answers "Invalid token", EditorsCheck stores it in settings_error, and onlyoffice stops loading its Files integration; EditorsCheck itself skips every later run while that error is set. Seen in run 38455782184 (Nextcloud#4, swarm): cron.php started at 06:50:00 inside the batch that ran from 06:49:59 to 06:50:04, logged "Invalid token" at 06:50:22, and both Playwright passes found .docx files offered for download only. DocumentServerUrl is now written last, so a process that cached the config before the batch ended sees no URL and EditorsCheck returns early. After the batch, `occ onlyoffice:documentserver --check` sets settings_error from a fresh check: a redeploy clears an error latched earlier, and a document server that stays unreachable fails the deploy. A unit test keeps the URL last. Co-Authored-By: Claude Opus 5.5 (1M context) --- .../meta/addons/onlyoffice.yml | 6 ++--- .../tasks/addons/onlyoffice.yml | 8 +++++++ .../test_onlyoffice_configuration_order.py | 24 +++++++++++++++++++ 3 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 tests/unit/python/roles/web-app-nextcloud/test_onlyoffice_configuration_order.py diff --git a/roles/web-app-nextcloud/meta/addons/onlyoffice.yml b/roles/web-app-nextcloud/meta/addons/onlyoffice.yml index e1ee56880b..ba5d4aa6b6 100644 --- a/roles/web-app-nextcloud/meta/addons/onlyoffice.yml +++ b/roles/web-app-nextcloud/meta/addons/onlyoffice.yml @@ -16,9 +16,6 @@ config: - richdocuments - fileslibreofficeedit plugin_configuration: - - appid: "onlyoffice" - configkey: "DocumentServerUrl" - configvalue: "{{ NEXTCLOUD_ONLYOFFICE_URL }}" - appid: "onlyoffice" configkey: "DocumentServerInternalUrl" configvalue: "{{ NEXTCLOUD_ONLYOFFICE_URL }}" @@ -34,3 +31,6 @@ config: - appid: "onlyoffice" configkey: "verify_peer_off" configvalue: "false" + - appid: "onlyoffice" + configkey: "DocumentServerUrl" + configvalue: "{{ NEXTCLOUD_ONLYOFFICE_URL }}" diff --git a/roles/web-app-nextcloud/tasks/addons/onlyoffice.yml b/roles/web-app-nextcloud/tasks/addons/onlyoffice.yml index ed97d539c0..54763fb5c3 100644 --- a/roles/web-app-nextcloud/tasks/addons/onlyoffice.yml +++ b/roles/web-app-nextcloud/tasks/addons/onlyoffice.yml @@ -1 +1,9 @@ --- +- name: "🔎 Check the document server round trip and reset onlyoffice's settings_error" + shell: > + {{ NEXTCLOUD_DOCKER_EXEC_OCC }} onlyoffice:documentserver --check + register: nextcloud_onlyoffice_check + until: nextcloud_onlyoffice_check.rc == 0 + retries: 30 + delay: 10 + changed_when: false diff --git a/tests/unit/python/roles/web-app-nextcloud/test_onlyoffice_configuration_order.py b/tests/unit/python/roles/web-app-nextcloud/test_onlyoffice_configuration_order.py new file mode 100644 index 0000000000..46842ce58f --- /dev/null +++ b/tests/unit/python/roles/web-app-nextcloud/test_onlyoffice_configuration_order.py @@ -0,0 +1,24 @@ +from __future__ import annotations + +import unittest + +from utils.cache.files import PROJECT_ROOT, read_text +from utils.cache.yaml import load_yaml_str + +ADDON = PROJECT_ROOT / "roles/web-app-nextcloud/meta/addons/onlyoffice.yml" + + +class TestOnlyofficeConfigurationOrder(unittest.TestCase): + def test_the_document_server_url_is_written_last(self) -> None: + config = load_yaml_str(read_text(str(ADDON)))["config"]["plugin_configuration"] + self.assertEqual( + config[-1]["configkey"], + "DocumentServerUrl", + "a cron.php that caches app config before the last write must see no " + "DocumentServerUrl, or onlyoffice's EditorsCheck runs without jwt_secret " + "and latches settings_error", + ) + + +if __name__ == "__main__": + unittest.main() From 28a90a16341671f3c3345b29094021ac4e2a9a4e Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 15 Oct 2026 03:21:23 +0200 Subject: [PATCH 2/8] fix(sys-ctl-hlth-csp): crawl redirect sources whose target this node serves HEALTH_CSP_SKIP_DOMAINS skipped every CURRENT_PLAY_REDIRECT_DOMAINS source: the DOMAIN_PRIMARY apex, the node onion apex, inventory redirect mappings and per-app aliases. The skip dates from when the checker judged the 301 itself; since csp-checker 3.0.0 it follows the redirect chain and judges the document it lands on. So a broken or unserved alias target, and a redirect leaving its network, were never loaded. A redirect source now stays skipped only when its target is not among CURRENT_PLAY_DOMAINS_ALL, i.e. lies off this node, like SOFTWARE_DOMAIN for the apex without web-app-dashboard. Every other source is crawled. Closes #929 Co-Authored-By: Claude Opus 5.5 (1M context) --- roles/sys-ctl-hlth-csp/vars/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/sys-ctl-hlth-csp/vars/main.yml b/roles/sys-ctl-hlth-csp/vars/main.yml index ea8d4a0ce0..9e20db80a0 100644 --- a/roles/sys-ctl-hlth-csp/vars/main.yml +++ b/roles/sys-ctl-hlth-csp/vars/main.yml @@ -8,5 +8,6 @@ HEALTH_CSP_SKIP_DOMAINS: >- {{ ( lookup('csp_skip_domains', group_names=lookup('deployment').deployed) + (CURRENT_PLAY_REDIRECT_DOMAINS | default([]) + | rejectattr('target', 'in', CURRENT_PLAY_DOMAINS_ALL) | map(attribute='source') | list) ) | unique }} From cce4373abdbfb963ced7f4a66db633d73b936517 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 15 Oct 2026 04:04:33 +0200 Subject: [PATCH 3/8] fix(web-app-nextcloud): bound the onlyoffice check by a wall-clock deadline `retries: 30` with `delay: 10` only bounded the wait while each `occ onlyoffice:documentserver --check` failed fast. onlyoffice v10.2.1 gives the health check and the version command 60 s each and the conversion 120 s, so a document server that accepts connections but does not answer held the deploy for up to two hours before it failed. The retries now also stop once a deadline of `lookup('timeout', 300)` seconds, set right before the check, has passed. A per-attempt `timeout:` would not bound the total: ansible-core 2.21 leaves the `until` loop on the first timed-out attempt, so only a limit below onlyoffice's 60 s would end a hanging server's loop. Co-Authored-By: Claude Opus 5.5 (1M context) --- .../tasks/addons/onlyoffice.yml | 8 +++++- .../test_onlyoffice_check_deadline.py | 28 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 tests/unit/python/roles/web-app-nextcloud/test_onlyoffice_check_deadline.py diff --git a/roles/web-app-nextcloud/tasks/addons/onlyoffice.yml b/roles/web-app-nextcloud/tasks/addons/onlyoffice.yml index 54763fb5c3..3b10115fd5 100644 --- a/roles/web-app-nextcloud/tasks/addons/onlyoffice.yml +++ b/roles/web-app-nextcloud/tasks/addons/onlyoffice.yml @@ -1,9 +1,15 @@ --- +- name: "⏱️ Set the deadline for the document server check" + set_fact: + nextcloud_onlyoffice_check_deadline: "{{ now(utc=true).timestamp() + (lookup('timeout', 300) | int) }}" + - name: "🔎 Check the document server round trip and reset onlyoffice's settings_error" shell: > {{ NEXTCLOUD_DOCKER_EXEC_OCC }} onlyoffice:documentserver --check register: nextcloud_onlyoffice_check - until: nextcloud_onlyoffice_check.rc == 0 + until: >- + nextcloud_onlyoffice_check.rc == 0 + or now(utc=true).timestamp() > nextcloud_onlyoffice_check_deadline | float retries: 30 delay: 10 changed_when: false diff --git a/tests/unit/python/roles/web-app-nextcloud/test_onlyoffice_check_deadline.py b/tests/unit/python/roles/web-app-nextcloud/test_onlyoffice_check_deadline.py new file mode 100644 index 0000000000..5ca872e41f --- /dev/null +++ b/tests/unit/python/roles/web-app-nextcloud/test_onlyoffice_check_deadline.py @@ -0,0 +1,28 @@ +from __future__ import annotations + +import unittest + +from utils.cache.files import PROJECT_ROOT, read_text +from utils.cache.yaml import load_yaml_str + +TASKS = PROJECT_ROOT / "roles/web-app-nextcloud/tasks/addons/onlyoffice.yml" + + +class TestOnlyofficeCheckDeadline(unittest.TestCase): + def setUp(self) -> None: + self.tasks = load_yaml_str(read_text(str(TASKS))) + + def test_the_deadline_is_set_before_the_check(self) -> None: + deadline, check = self.tasks + self.assertIn("nextcloud_onlyoffice_check_deadline", deadline["set_fact"]) + self.assertIn("lookup('timeout'", deadline["set_fact"]["nextcloud_onlyoffice_check_deadline"]) + self.assertEqual(check["register"], "nextcloud_onlyoffice_check") + + def test_the_retries_stop_at_the_deadline(self) -> None: + until = self.tasks[1]["until"] + self.assertIn("nextcloud_onlyoffice_check.rc == 0", until) + self.assertIn("now(utc=true).timestamp() > nextcloud_onlyoffice_check_deadline", until) + + +if __name__ == "__main__": + unittest.main() From 279aae5713c2287c601c97d0960f78ff67f1078f Mon Sep 17 00:00:00 2001 From: "infinito-nexus-updater[bot]" <286144613+infinito-nexus-updater[bot]@users.noreply.github.com> Date: Thu, 15 Oct 2026 19:54:46 +0000 Subject: [PATCH 4/8] update(versions): update pins with a declared source (web-app-xwiki) --- roles/web-app-xwiki/meta/addons/oidc-authenticator.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/web-app-xwiki/meta/addons/oidc-authenticator.yml b/roles/web-app-xwiki/meta/addons/oidc-authenticator.yml index 16f95f37ce..c0513c6e50 100644 --- a/roles/web-app-xwiki/meta/addons/oidc-authenticator.yml +++ b/roles/web-app-xwiki/meta/addons/oidc-authenticator.yml @@ -5,7 +5,7 @@ mechanism: extension source: upstream bridges: - sso -version: "2.28.1" +version: "2.29.0" update: type: http_regex url: https://maven.xwiki.org/releases/org/xwiki/contrib/oidc/oidc-authenticator/maven-metadata.xml From 284961aa2b2c2a5f3f38ba28e7787f2e4a0eb17e Mon Sep 17 00:00:00 2001 From: "infinito-nexus-updater[bot]" <286144613+infinito-nexus-updater[bot]@users.noreply.github.com> Date: Thu, 15 Oct 2026 20:00:54 +0000 Subject: [PATCH 5/8] update(images): update Docker image versions (svc-ai-ollama) --- roles/svc-ai-ollama/meta/services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/svc-ai-ollama/meta/services.yml b/roles/svc-ai-ollama/meta/services.yml index 84f50e6450..d8c4807895 100644 --- a/roles/svc-ai-ollama/meta/services.yml +++ b/roles/svc-ai-ollama/meta/services.yml @@ -13,7 +13,7 @@ ollama: backup: no_stop_required: true image: ollama/ollama - version: 0.40.4 + version: 0.40.5 name: ollama min_storage: 3473MB cpus: "4.0" From 5b1c04ccb670ae3528e6b7dd332ee62c7e9f32a9 Mon Sep 17 00:00:00 2001 From: "infinito-nexus-updater[bot]" <286144613+infinito-nexus-updater[bot]@users.noreply.github.com> Date: Thu, 15 Oct 2026 20:01:00 +0000 Subject: [PATCH 6/8] update(images): update Docker image versions (web-app-erpnext) --- roles/web-app-erpnext/meta/services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/web-app-erpnext/meta/services.yml b/roles/web-app-erpnext/meta/services.yml index aeadaa0b54..dd03db4544 100644 --- a/roles/web-app-erpnext/meta/services.yml +++ b/roles/web-app-erpnext/meta/services.yml @@ -65,7 +65,7 @@ erpnext: enabled: true shared: true image: frappe/erpnext - version: "v16.51.0" + version: "v16.51.1" name: erpnext min_storage: 1017MB ports: From f11079104549750d34767b6fde23082c3282fe50 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 15 Oct 2026 22:44:34 +0200 Subject: [PATCH 7/8] test(web-app-openclaw): capture the sessions view on a fresh instance through its empty table The gallery waited for a session row, which a fresh OpenClaw without a model provider never has, so the view failed in all four modes after a purge. It now accepts the Control UI's own empty-table cell as well, and still captures the populated table wherever sessions exist. Co-Authored-By: Claude Opus 5.5 (1M context) --- roles/web-app-openclaw/files/playwright/test-design.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/web-app-openclaw/files/playwright/test-design.js b/roles/web-app-openclaw/files/playwright/test-design.js index 7a47a7e467..caacbc1f11 100644 --- a/roles/web-app-openclaw/files/playwright/test-design.js +++ b/roles/web-app-openclaw/files/playwright/test-design.js @@ -130,7 +130,7 @@ function dashboardViews(base) { await ready("Sessions")(page); const showAll = page.getByRole("button", { name: "Show all", exact: true }); if (await showAll.isVisible()) await showAll.click(); - await expect(page.locator("main .session-key-cell").first()).toBeVisible(); + await expect(page.locator("main .session-key-cell, main .data-table-empty-cell").first()).toBeVisible(); }, }, { From e437a653e532bdb1fdd384d5de9ddb8f933390ea Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 15 Oct 2026 22:45:32 +0200 Subject: [PATCH 8/8] docs(requirements): tick nine roles of the design overhaul Home Assistant, OpenCloud, Snipe-IT, Mastodon, Matrix, Moodle, PeerTube, Zammad and OpenClaw ran green on their final state. Co-Authored-By: Claude Opus 5.5 (1M context) --- .../037-corporate-design-overhaul.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/requirements/037-corporate-design-overhaul.md b/docs/requirements/037-corporate-design-overhaul.md index 5e0c41d04d..252c0db3a2 100644 --- a/docs/requirements/037-corporate-design-overhaul.md +++ b/docs/requirements/037-corporate-design-overhaul.md @@ -73,7 +73,7 @@ Two base commits changed many roles after their last run: `6c2de017f8` split ven - [x] web-app-gitea - [ ] web-app-gitlab: final state never ran (the design-only commit removed the administrator provisioning); `/admin` is checked for HTTP 200 only. - [x] web-app-hermes -- [ ] web-app-homeassistant: `vars/main.yml` changed after the last role sync that deployed the role. +- [x] web-app-homeassistant - [x] web-app-hugo - [x] web-app-jellyfin - [x] web-app-jenkins @@ -86,24 +86,24 @@ Two base commits changed many roles after their last run: `6c2de017f8` split ven - [ ] web-app-litellm: logo swapped by CSS `content` instead of LiteLLM's `logo_url` setting. - [x] web-app-littlejs - [ ] web-app-magento: literal `darkgrey` at `style.css.j2:5513` and `:5554`; `style.css.j2` changed by `6c2de017f8` after the last run. -- [ ] web-app-mastodon: switch to the platform administrator not deployed. +- [x] web-app-mastodon - [ ] web-app-matomo: Matomo's own `themeMode` preference is not exercised (the spec flips the DOM); the administration is not asserted. -- [ ] web-app-matrix: `vars/main.yml` rewritten after the last complete run. +- [x] web-app-matrix - [ ] web-app-mattermost: about 50 literal RGB fallbacks inside `var()` in `style.css.j2`; `style.css.j2` changed by `6c2de017f8` after the last run. - [x] web-app-mediawiki - [x] web-app-mini-qr - [x] web-app-mobilizon -- [ ] web-app-moodle: `test-design.js` rewritten after the last complete run; page-slot lockup changed by `63f3631567`. +- [x] web-app-moodle - [x] web-app-n8n - [x] web-app-nextcloud - [x] web-app-odoo - [x] web-app-openbao -- [ ] web-app-openclaw: `test-design.js` rewritten after the last complete run. -- [ ] web-app-opencloud: `tasks/main.yml` restructured after the last deploy with design on. +- [x] web-app-openclaw +- [x] web-app-opencloud - [x] web-app-openproject - [ ] web-app-opentalk: the conference room is not covered; the native theme setting is half exercised; the title check cannot fail; logo lockup changed by `63f3631567`. - [ ] web-app-openwebui: logo and title stay Open WebUI's own because clause 4 of its license allows replacing the branding only up to 50 users, with written permission or under an enterprise license (operator decision, see `roles/web-app-openwebui/TODO.md`). -- [ ] web-app-peertube: `tasks/design/apply.yml` rewritten after the last green run. +- [x] web-app-peertube - [x] web-app-penpot - [x] web-app-pgadmin - [x] web-app-phpmyadmin @@ -116,7 +116,7 @@ Two base commits changed many roles after their last run: `6c2de017f8` split ven - [x] web-app-seaweedfs - [x] web-app-semaphore - [ ] web-app-shopware: literal colors (`gold`, SVG fills) in `style.css.j2`; `style.css.j2` changed by `6c2de017f8` after the last run. -- [ ] web-app-snipe-it: the complete spec never ran green on the final `test-design.js`. +- [x] web-app-snipe-it - [x] web-app-socialhome - [x] web-app-sphinx - [ ] web-app-stalwart: under `sso` the web administration specs need the administrator group grant of `feature/store-i18n` (`199f2a6d41`); no green run on the merged state yet. @@ -125,7 +125,7 @@ Two base commits changed many roles after their last run: `6c2de017f8` split ven - [x] web-app-wordpress - [x] web-app-xwiki - [x] web-app-yourls -- [ ] web-app-zammad: switch to the platform administrator and the move of the watermark defaults not deployed. +- [x] web-app-zammad - [x] web-svc-html - [x] web-svc-libretranslate - [x] web-svc-logout