If I try to open an document in my nextcloud I will get the error my wopi host is unauthorized.
First of all: my system was running fine, until I changed my Internetconnection (cable to fibre, same ISP)
But I got a new firewall and IP-Adress.
I know, I have to change the “Allowed Wopi-Host” in my nextcloud under Settings / Office / Allow list for WOPI requests. So I changed the IP-Adress to my actual (like it was before). But the error remains.
If I clear the List. The Document will open. (!)
So, Step by Step.
My New Firewall is an “Ubiquiti UniFi Dream Machine Pro”. Here I have activated Protforwarding (443, 80) to my Raspberry Pi (4 - 8GB) running Docker.
My Versions:
Collabora: 23.05.9.2
Nextcloud: Hub 7 / 28.0.2
Nextcloud: Office: 8.3.1
OS: Debian GNU/Linux 11 (bullseye)
Thank you for the Checklist. I think my whole system is great except the WOPI client.
Yeah, the Cloud runs as usual and if i empty the WOPI-Allow-list the Cloud runs also. I think I did’nt change any line of code in any config-file or outside an GUI.
EDIT:
My “Solution” was to insert my “Server-VLAN” gateway address.
Now it works. I found that by looking in the logs direktly from nextcloud (not office) there the WOPI-address was my (“internal”)Gateway. feels not good, like everyone could get to my office-server trough my gateway, but I hope its okay.