nextcloud / nextcloud/richdocuments

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

Open
#2,201 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: settings needs info setup
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the occ richdocuments:activate-config command and compare its behavior with the admin route at /settings/admin/richdocuments. Review the related pull request #1137 and issues #1007 and #1181, then verify that CLI-configured WOPI hosts allow Collabora to open documents without saving the host again in the web GUI.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.