Nextcloud version: Nextcloud AIO v9.4.1
Operating system and version: 6.10.2-arch1-1 (64-bit)
Collabora version: 24.04.6.1
The issue you are facing:
Upon my hostās nightly restart, Nextcloud forgets the appropriate collabora url. Docker-compose down does not do the same thing.
Hereās what itās supposed to look like (and works when I do it manually):
Hi, Iām not sure anything is pertinent on that page. While there are a few mentions of Collabora/WOPI, none of them apply to saving them inside the administrator settings or docker-compose. Could you please specify on what you saw that was helpful?
Does editing of docs and files work in collabora, does it disconnect after restart or does it never connect fully? Like are you able to edit files.
Could you try to disable cert verification from what i have heard tailscale grants own certs for its env.
The stuff below is just something to keep in mind:
Could you try doing this change:
- wopi_url=https://LINKTOYOURNEXTCLOUDINSTANCE #Which domains are allowed to connect.
- server_name=https://collabora.wallaby-gopher.ts.net # To specify collaboras server name
- COLLABORA_DOMAIN=https://collabora.wallaby-gopher.ts.net # To specify where collabora will be hosted
Also i see im 3 days late so you might already have fixed the problem or moved on.
Goodluck!
Yup, still working on it 3 days later haha. Thanks for helping!
Yes, I can open and edit documents when I manually change the url to the correct one every day after the restart. It saves the incorrect url so it never connects properly until I change it again.
Could you try doing this change:
Iād only ever tried running one of those environmental variables at once.
With all three for some reason it just points to https when it connects, but now files DONāT open like they were when I was manually inputting the url.
Commenting - server_name=https://collabora.wallaby-gopher.ts.net lets the documents open again, but again, upon restart back to nextcloud.
Iām able to open documents with and without disabling certificates when server_name isnāt used.
I notice in the nextcloud log it says collabora is still the public WOPI even though we set it to nextcloud.
Checking configuration
š Configured WOPI URL: https://nextcloud.wallaby-gopher.ts.net
š Configured public WOPI URL: https://collabora.wallaby-gopher.ts.net
š Configured callback URL:
Failed to fetch discovery endpoint from https://nextcloud.wallaby-gopher.ts.net
cURL error 28: Operation timed out after 5002 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nextcloud.wallaby-gopher.ts.net/hosting/discovery
Hello, I removed those previously discussed variables and added - NEXTCLOUD_KEEP_DISABLED_APPS=true to nextcloudās env, but upon restart we still have the wrong url. I added the variables back in again (less the server_name) and behavior was the same. In the admin logs Iām getting a lot of repeat errors:
[no app in context] Fatal: Could not boot files_trackdownloads: Call to undefined method OC\Server::getEventDispatcher()
GET /apps/logreader/api/log?offset=50&query=
from 100.122.199.7 by admin at Aug 15, 2024, 4:01:55 PM
Saying that it allowed me to keep the old app installed got me thinking though
I thought this bugger would be minding its own buisness as long as I wasnāt using the CODE, wrong! I disabled it and now the right url is saved without any extra vars necessary. Thanks everyone!