-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission denied nginx and unknown error on nextcloud #58
Comments
hi @julyusito, try adding all rights for files in |
Hi @agolybev, Thanks for the answer. I set all rights for the /var/lib/onlyoffice directory into the container: Same results In the second case I check the JWT and post here the json config and nextcloud config:
and the nextcloud conf:
|
Hello @agolybev, I disabled the JWT on onlyoffice config:
And nextcloud config:
even I change the default.json like this:
The forbidden persist |
Hello @agolybev I've install from zero and disabled everything in JWT access This is my setup: nextcloud and onlyoffice are in the same network and can talk between them nextcloud config.php: |
Hi everyone, I set the debug mode in nginx and I see the path for cache files does not match with any regex expresion set in the /etc/nginx/includes/ds-docservice.conf file: docker logs office_onlyoffice_1 | grep -e error -e notice
This is the content of /etc/nginx/includes/ds-docservice.conf file:
The full nginx error log output is here: |
did you manage to fix this? |
Hi,
I've installed nextcloud and onlyoffice latest version within docker with this setup:
I'm not running any other script, just the docker setup, because it's on a NAS system
This is my setup on nextcloud:
All of this is behind a proxy (HAProxy):
All saves perfect on nextcloud and there is no error on logs, but when I open a file from nextcloud, throws the "Unknown error"
All healtcheck pass with "true" result
In the /var/log/onlyoffice/documentserver/nginx.error.log of onlyoffice show this: Permission denied
2021/05/19 05:37:19 [error] 13024#13024: *21 open() "/var/lib/onlyoffice/documentserver/App_Data/cache/files/409621677/Editor.bin" failed (13: Permission denied), client: 192.168.16.1, server: , request: "GET /cache/files/409621677/Editor.bin/Editor.bin?md5=OMlXJtxJY4iPP0pXiy64sQ&expires=1624012640&disposition=attachment&filename=Editor.bin HTTP/1.1", host: "documentserver.XXXX.com.co", referrer: "https://documentserver.XXXX.com.co/6.2.2-21/web-apps/apps/documenteditor/main/index_loader.html?_dc=6.2.2-21&lang=es&customer=ONLYOFFICE&frameEditorId=iframeEditor&compact=true&parentOrigin=https://XXXX.XXXX.com.co"
If I use this setup on nextcloud:
There is an error on Nextcloud: Forbidden
Please help!
The text was updated successfully, but these errors were encountered: