Open warioishere opened 1 year ago
I believe its a websocket problem. As soon as Websocket is loaded in Networkanalysis, the error in the adminconsole appears where it says server restarted, pls reload the page.
but I am too noob to identify whats wrong or whats going on exactly
Hi there, I want to setup a standallone collabora code server via docker deployment. Allthough I am trying to follow documentation as good as possible, I dont get it to work. Ive almost spend a week now with this, trying different settings all arround the coolwsd.xml but some infos first:
I have two nextcloud Servers
One is with own IP and NAT [cloud.mydomain.com] One is running behind an Nginx Proxy Manager (privatecloud.mydomain.com]
both run with NC27.0.2
all machines are full VMs, no LXC Containers
both Nextclouds beside of this problem are working fine. Both work with integrated code server app without problems.
now i have another server running the latest docker version of Collabora Online Server to be my office server this one is also behind a Nginx Proxy Manager
Nginx Proxy Manager is set with http://internalip:9980/ NPM does the SSL Termination websocket activated cert from Letsencrypt
Nginx Advanced Settings according to newest documentation are:
I installed docker.io and run
docker run -t -d -p 9980:9980 -e "aliasgroup1=https://cloud\.mydomain\.com:443" -e "aliasgroup2=https://privatecloud\.mydomain\.com:443" -e "server_name=office.mydomain.com:8890" --name=COLLABORAOFFICE --restart always --privileged collabora/code
I changed everything tried all combinations or also tried no backslashes, different ports of the officeserver with 443, without any port and etc
[office.mydomain.com]states OK internally from LAN and also externally from WAN Both nextclouds are giving a green hook saying the server is reachable
docker logs officeserver says absolute nothing:
as far as I read those template problems are to be ignored
nextcloudlogs also say nothing which points me out to the problem and nextcloud logs are absolutly empty also on highes loglevel on both machines
my firewall logs all traffic. I dont see anything thats blocks anything. Every machine can connect each other properly.
When trying to open document browser network analysis also doesnt gimme a clue, see on attached picture
I dont have any clue anymore where to look at or what to do. I installed mutliple times and always run into the same problem. Always Nextcloud office cannot be opend, pls try again later.
I added the office server host
I tried to add the nextcloudserver IPs and hostnames to relevant parts of the xml:
I disabled SSL in ssl section:
I setup host in regex and without regex format:
I disabled SSL on storage because Nginx does it for me:
This block I left on default aswell, and changed it to the current setting.
It doesnt matter what I do, Icant load a single document on Nextcloud, I really spend long time trying different kind of configs.
Also that nginx Proxy Manager fowards https and enable SSL on Collabora.
I always get the same problem..
my Admin console can be opened, but it says server has restarted, I cannot really entere because it closes after a short time telling the server has restarted, which it didnt.
more info:
from the office machine: curl https://nextcloud.example.com/status.php works
from the nextcloud machines curl https://office.example.com/hosting/capabilities and curl https://office.example.com/hosting/discovery 1 works on both machines too
Wopi access in nextcloud GUI is currently set to 0.0.0.0/0 for debugging Both nextclouds shows green mark. Server is reachable.
maybe some of you experts got a hint for me, I am almost giving up?