Hey guys,
i compiled code by myself on debain 8 and now i want to connect my nextcloud to it.
But there is a issue while connection:
WOPI host is not on the same host as the WOPI client: "141.65..". Connection is not allowed. No acceptable WOPI hosts found matching the target host [*.ufz.de] in config.
At the moment there is only a selfsigned certificateā¦ maybe this is the prob?
okā¦ i fixed this. You have to edit the loolwsd.xml.in and add your nextcloud-host.
But now there is the next probā¦
WOPI::CheckFileInfo returned: {āmessageā:āApp is not enabledā} [ loolkit ] Connection closed. [ client_ws_0001 ] ClientRequestHandler::handleRequest: BadRequestException: Invalid URI or access denied.
Some typical problems Iāve seen are now covered on https://nextcloud.com/collabora online, troubleshooting section on the bottom of the page.
Any suggestions of things to add would be super welcome.
@Pisoko your problem looks like one of those addressed there: you might have started the docker container with the wrong host URL. At least, thatās what was the cause of this same error message for me. @julio1501 be sure to check the video, I also talk about the firewall. It might be a cause of trouble, I discovered that no amount of tuning could fix the problem after I had started the firewall - you need to start docker AFTER you started the firewallā¦ It does some iptables magic. Havenāt figured out how to persist this all properly, tbh.
Hello, I have same problem as @julio1501 in Debian 8 but so I have no firewalls. Collabora Office conteneur listen on contener ip and 9980 port and all traffic is proxyfied by nginx proxy on port 443
[ client_ws_0003 ] WOPI::CheckFileInfo returned: {āmessageā:āApp is not enabledā} ā¦ [ client_ws_0003 ] ClientRequestHandler::handleRequest: BadRequestException: Invalid URI or access denied.
are there news what the problem could be?
thx guys!
hello @guidtz after compiling the packages on my debian machine instead the docker installation i got it working.
I suspect the problem was due to a conflict between docker network and our entreprise Firewall respectively reverse proxy.
I am using nextcloud 9.0.53 with docker 1.11.2 on debian 8.5, and it still doesnāt work. In the logs I have this errors:
kit-00091-04 00:01:44.229483 [ kit_queue_0003 ] Failed to load: file:///user/docs/91/Django_astuces.odt, error: >loadComponentFromURL returned an empty reference
kit-00091-04 00:01:44.229818 [ kit_queue_0003 ] Failed to get LoKitDocument instance.
[ā¦]
wsd-00022-00 00:01:45.277989 [ prison_ws ] SocketProcessor: exception: Connection reset by peer
Do you have an idea of where is the problem? I have tryed disabling the firewall, then restart docker with no firewall, without success.
@julio1501, can you explain how to compile it and run it without docker? May be it could solve my problem
I have a quick question in the virtual host section of the guide it says to use lets encrypt. I want to take the easy route and do that but I am missing a step somewhere. Can someone take me step by step on how to get lets encrypt to do its thing?
following the installation guide I canāt enable the ācollabora online connectorā (1.1.3) in my nextcloud 9.0.53 installation >> error message: āApp canāt be installed because of not allowed code in the Appā.
Now I copy & paste the URI to my local browser and give it a tryā¦ I was wondering because it seems to work as expected: I got the file information back as associated array.
Next I logged out from Nextcloud on my browser and gave the URI the next try: Now I got the same message back like in the collabora log: Access denied. App is not enabled.
Did you already found anything?
Not sure if the nginx proxy could be the āevil partāā¦
Nice guide @jospoortvliet everything seems to work exept the editing itself. It gives me some errors about that the private user key is not loaded, logout and in againā¦ just like enableing encryption in Nextcloud.
Altought that just doesnāt do itā¦ Anyone any idea? (image down below)
ārestart always doesnāt seem to autostart at boot, had to add it to /etc/rc.local
edit: i found this, we should look into this on failure setting or so.
@Pisoko: which version of āCollabora Onlineā app is installed on your NC? I fixed the issue on my NC installation, but Iām not 100% sure what has been the issueā¦
Iām seeing a slightly different issue to most people here by the looks of things. My Collabora install which I must admit is a minor deviation from the official line is running into the following curl errors :
The deviation I speak of is an Nginx Reverse Proxy that I use to make all my different webservices easier to manage in my home. I added a block to my nginx reverse proxy as described in the official documentation for office.mydomain.com changing the 127.0.0.1 references to the IP of the server hosting the Collabora Docker Container. This is also a dedicated standalone server seperate from my NextCloud instance. I also have a seperate dedicated DNS server with all of my A and CNAME records resolving to my Reverse Proxy.
A few things of note that Iāve had a look at, I donāt seem to have any entries in the Nextcloud logs, also the docker logs donāt seem to show anything at all.
If I issue a curl -v https://office.mydomain.com from any of my other linux servers I get the normal response up until the part of the response where I should get the HTML from the nginx welcome screen of the Docker container, instead I get the error listed above. If I issue the same curl -v https://office.mydomain.com from the server hosting the docker container I get the correct response. I believed this initially to be a firewall issue so Iāve disabled the UFW on this server (ubuntu 16.04) but no joy. I get the same errors.
Now I understand that this is not the documented way of configuring Collabora with nextcloud as per the official post but it should still work fine as I have configured a lot of reverse proxy blocks for many different servers.
Could anyone offer me any advise on what could be causing this error.
I am just wondering, since I have a Apache proxy in front of NC and Colabora, would I need to setup websocket proxy for the NC config (on the Apache proxy) so Colabora can use it to connect to NC?
In the docker output I can see a reference to websock back to NC: