What app is this about, and its version: Nextcloud 25.04.9.1~ynh2 What YunoHost version are you running: 12.1.39 What type of hardware are you using: VPS bought online
Describe your issue
Suddenly I cannot open documents from my nextcloud instance anymore. This started with the last few weeks (I am not sure). I used to wotk without any issues.
My setup is like this: I have a your-storageshare NextCloud instanse at Hetzner and a separate VPS with YunoHost in which I have installed a Collabora server. Until recently, the NextCloud instanse connected to the Collabora server without issues. Now it does not. After the problem occurred, I have tried to solve it by trying to add the domain of the nextcloud instance to wopi allow request. I am not sure I did this correct, but there is no visible difference in usage.
I am accessing the NextCloud instance through three different subdomains (nx.mydomain.dk x 3) plus hetzners own (nx00000.your-storageshare.de).
Share relevant logs or error messages
I cannot get a log but I have an image of the error message. How can I upload it?
I have not, and now that I want to try, I get this error messags:
Could not establish connection to the Collabora Online server.
Failed to connect to the remote server: Server error: `GET https://cb.gnubahn.dk/hosting/discovery` resulted in a `502 Bad Gateway` response: 502 Bad Gateway body { width: 35em; margin: 0 a (truncated…)
And where you can usually enter the allow list, it now says:
clear the “allow list for WOPI request” in nextcloud
remove these lines in /etc/coolwsd/coolwsd.xml:
and change this whole block
<host desc="Regex pattern of hostname to allow or deny." allow="true">__NEXTCLOUD_DOMAIN__</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="false">192\.168\.1\.1</host>
to this
<alias_groups mode="groups">
<group>
<host id="0" desc="Regex pattern of hostname to allow or deny." allow="true">cloud.domain.tld</host>
</group>
<group> # <-- only if needed
<host id="1" desc="Regex pattern of hostname to allow or deny." allow="true">other.cloud.domain.tld</host>
</group>
<group>
<host desc="Regex pattern of hostname to allow or deny." allow="true">10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="false">192\.168\.1\.1</host>
</group>
</alias_groups>
I am asked in nextcloud to write the allow list for wopi requests. But is this not a collabora server thing? And should I not enter this data in the collabora server config file?
Also, Besides the URL that Hetzner gives me, I use three different subdomains (sub.domain.tld) to acces my nextcloud instanse. Should I enter all of these in the server settings or should I just enter the original Hetzner URL?
In the allow list for wopi requests, should I enter the url (e.g. nx12345.your-storageshare.de) og the ip address (IPv4 or IPv6) of my collabora server?