richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

"Document loading failed": occ richdocuments:activate-config is not effective anymore. Admin has to set new WOPI host in the web GUI

Open t-markmann opened this issue 3 years ago • 2 comments

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

t-markmann avatar May 12 '22 16:05 t-markmann

Only workaround I found:

  1. set the WOPI by CLI.
  2. Run an NC Upgrade

The Updater process seems to run some repair tasks which fix successfully activates the new WOPI config.

t-markmann avatar Sep 17 '22 11:09 t-markmann