it only accepts port 443, so you link has to be in this format: https://office.foo.com (even though in description it says âURL (and port)â â itâs a lie, it wonât work on a custom port, will throw this " access forbidden" error.
Try entering some other, wrong, address there. For example http://office.nextcloud.com then apply, then fix it back to your, correct, address.
hopefully itâll help. Other than that I had the same problem on NC11 but I fixed it by rolling back to NC10, then updating to NC10.0.2 then NC11 and it sort of worked.
No dice for me⊠other than the fact that I didnât roll back to 10 then back to 11 as backing up my NC takes quite awhile (the data folder specifically, not that you NEED to do this when itâs in a different location than the www HC folder, but I have way too important of stuff in there to not do so). I did however delete the Collabora container and redo all of that, to no avail such is life I guess, if I get the energy over the long weekend I may do that, was just really hoping not to, especially since this should really work as-is.
If I do get the energy than more than likely Iâll actually review all of the code to see whatâs happening so it can be fixed for good and for everyone, thereâs no reason why reverting back then up again should be the answer.
Edit: forgot to say thanks for the info depawlur
Edit 2: is anyone having this trouble that doesnât have Strict Transport Security enabled? I always have mine on, and Iâm now wondering if thatâs the issue, which I will also test when I have time to change settings
I am using my own CA certificates and was having the same problem with the âAccess Forbiddenâ message. I was able to get it working by adding my root CA certificate to the following file:
nextcloud/resources/config/ca-bundle.crt
You have to add the CA cert manually to ownCloud trusted cert storage:
installed and configured collabora plugin with my non standard https port
the collabora plugin itâs ok, I created a .odt file from button menu +
when I start to open the .odt document from nextcloud, I have an Access Forbidden (Accesso Negato) message, nothing appears into docker logs or nginx logs or nextcloud logs, apparently no errorsâŠ
now adding my selfsigned opemediavault.crt into nextcloud/resources/config/ca-bundle.crt Iâm able to edit the .odt doc from nextcloud
@pmyork Thanx a lot for have shared your solution!
Hi there !
It seems I had the same problem about âforbidden accessâ⊠But i canât make it work .
About this file you put in the nextcloud/resources/config/ , i tried to put all the files iâve created with letâsencrypt, but neither of them work. (cert.pem, chain.pem, fullchain.pem, privkey.pem).
Or maybe itâs the nextcloudâs certificat i have to put here ?
Finally, all i can see now is an apache server error : Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Am I wrong somewhere ?
ho⊠and I can see my nextcloud apache logs : [Sat Jan 07 20:35:29.011442 2017] [fastcgi:error] [pid 11693] [client x.x.x.x:51948] FastCGI: incomplete headers (0 bytes) received from server "/usr/lib/cgi-bin/php5-fcgi"
and this in my collaboraonline apache logs : [Sat Jan 07 20:29:52.164186 2017] [proxy_http:error] [pid 10403] (103)Software caused connection abort: [client 5.196.95.235:58851] AH01102: error reading status line from remote server 127.0.0.1:9980 [Sat Jan 07 20:29:52.164499 2017] [proxy:error] [pid 10403] [client 5.196.95.235:58851] AH00898: Error reading from remote server returned by /hosting/discovery
I use a selfsigned crt and for me is not sufficient.
The nextcloud update has installed a new file nextcloud/resources/config/ca-bundle.crt.
I solved re-adding my selfsigned opemediavault.crt into nextcloud/resources/config/ca-bundle.crt
I had the same issue and solution was adding â127.0.0.1 office.mydomain.comâ to hosts file.
Then i had problem with "Well, this is embarrassing, we cannot connect to your document. Please try again."
And i changed docker start command to this âdocker run --add-host=âcloud.mydomain.com:172.20.20.3â -t -d -p 127.0.0.1:9980:9980 -e âdomain=cloud\.mydomain\.comâ --restart always --cap-add MKNOD collabora/codeâ.
And all my troubles has gone =)
I have tried all of the solutions here and cannot get this working. I am using a Letâs Encrypt cert.
I imported the cert into the ca-bundle.crt for Nextcloud. I even tried to import using occ:
sudo -u apache php occ security:certificates:import /usr/share/nextcloud/resources/config/ca-bundle.crt (just in case?) and I also tried @Brabus solution. No joy. Still Access Denied. Any chance there is something else that changed in recent releases?
Hello,
Iâm having the same issue, and tried all solutions without success.
As @metalcated, Iâm using Letâs Encrypt certificated and I tried cat /etc/letsencrypt/live/cert.pem >> /nextcloud/resources/config/ca-bundle.crt, with no luck.
Any advice? I really donât know where to look now.
I have tried everything I can think of. I even tried replacing the certs in the container with the ones I generated for the office.domain.com link that is used in Apache. Same issue.
curl returns a 200 without any content. Can you be more specific? No idea how to fix this. Using the Apache proxy vhost config from https://www.collaboraoffice.com/code/