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.55k stars 643 forks source link

NC Office WOPI Whitelist blocking access to open documents #1610

Closed frederikb96 closed 1 year ago

frederikb96 commented 1 year ago

How to use GitHub

Steps to reproduce

  1. Create a new document online in the file view
  2. Open the document online, which will launch Nextcloud Office

Expected behavior

It opens the document

Actual behavior

It fails, since the WOPI Whitelist not allows the access

What I already tried

If I delete the entries in the Whitelist, it works, but they get recreated with every new container startup. I already tried stopping all containers, disabling Nextcloud Office, deleting the old container and volume, starting again, stopping again, enabling Nextcloud Office again and starting again. Is there a way I can debug this further?

Host OS

Ubuntu 22.04 server

Nextcloud AIO version

v4.0.1

Current channel

Beta

Other valuable info

szaimen commented 1 year ago

Hi, you would need to find out which ip-address it is trying to use (maybe check the collabora logs for ip-addresses) and put that additionally into the wopi allowlist.

frederikb96 commented 1 year ago

Ok thanks, I had to additionally set the ip address of the docker network my caddy container is part of, which I use as a reverse proxy for the Nextcloud Apache container.

szaimen commented 1 year ago

I had to additionally set the ip address of the docker network my caddy container is part of,

is that an internal ip-address or a public one?

szaimen commented 1 year ago

Can you share the ip-address that you needed to enter there?