"Document loading failed": occ richdocuments:activate-config is not effective anymore. Admin has to set new WOPI host in the web GUI
Describe the bug If you set wopi and public_wopi via OCC on cli, the new Collabora server will not open documents.
Instead: if you save the new host via web gui (/settings/admin/richdocuments), collabora works fine.
Client details:
- OS: Win 10
- Browser: FF, Chrome
- Device: Desktop
Server details
Operating system: Ubuntu 20.04
Web server: Apache
Database: MySQL 5.7
PHP version: 8.0
Nextcloud version: 23.0.4
Version of the richdocuments app 5.0.4
Version of Collabora Online COOLWSD Version: 21.11.4.2 LOKit Version: Collabora OfficeDev 21.06.28.1
No logs written.
The was a fix/feature for the problem, but it does not seem to work anymore: https://github.com/nextcloud/richdocuments/pull/1137
Problem discussed here, too: https://github.com/nextcloud/richdocuments/issues/1007 https://github.com/nextcloud/richdocuments/issues/1181
Only workaround I found:
- set the WOPI by CLI.
- Run an NC Upgrade
The Updater process seems to run some repair tasks which fix successfully activates the new WOPI config.