nextcloud / all-in-one

📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
https://hub.docker.com/r/nextcloud/all-in-one
GNU Affero General Public License v3.0
5.18k stars 600 forks source link

Collabra config not working #4011

Closed MarcS1975 closed 8 months ago

MarcS1975 commented 8 months ago

Steps to reproduce

  1. Installed Collabra container
  2. I am using cloudflare as my doimain host but i am strugling to find settings/admin/richdocuments to update my wopi-allowlist

Expected behavior

Collabra available in NC AIO

Actual behavior

Collabra container Log file :

wsd-00007-00007 2024-01-08 00:21:22.863623 +0000 [ coolwsd ] TRC Have 1 new children.| wsd/COOLWSD.cpp:5919 stderr 08/01/2024 00:21:22 wsd-00007-00007 2024-01-08 00:21:22.863643 +0000 [ coolwsd ] INF WSD initialization complete: setting log-level to [warning] as configured.| wsd/COOLWSD.cpp:5935 stderr 08/01/2024 00:21:22 wsd-00007-00007 2024-01-08 00:21:22.864070 +0000 [ coolwsd ] WRN Waking up dead poll thread [main], started: false, finished: false| net/Socket.hpp:714 stderr 08/01/2024 00:21:22 wsd-00007-00014 2024-01-08 00:21:22.891480 +0000 [ remotefontconfig_poll ] ERR Remote config server has response status code: 502 (Bad Gateway)| wsd/COOLWSD.cpp:1306 stderr 08/01/2024 00:22:10 wsd-00007-00016 2024-01-08 00:22:10.665362 +0000 [ websrv_poll ] ERR Poco::Net::DNS::resolve("xxxx") failed: Host not found: xxxx| wsd/COOLWSD.cpp:4004 stderr 08/01/2024 00:22:10 wsd-00007-00016 2024-01-08 00:22:10.665390 +0000 [ websrv_poll ] WRN convert-to: Requesting address is denied: xxx| wsd/COOLWSD.cpp:4010

Host OS

Debian

Nextcloud AIO version

27

Current channel

Other valuable info

The documentation says add all [Cloudflare IP-ranges](https://www.cloudflare.com/ips/) to the wopi-allowlist in https://yourdomain.com/settings/admin/richdocuments

but I do not know where I can find settings/admin/richdocuments

MarcS1975 commented 8 months ago

Found the solution: The wopi-allowlist can be accessed within Nextcloud via Administration Settings - Office - Advanced Settings Allow list for WOPI requests You can add the Cloudflare IP ranges there, update the settings and restart the Collabra container.