-
Notifications
You must be signed in to change notification settings - Fork 507
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
"The document could not be saved" warning after opening file #114
Comments
Hello @djermann, please open /etc/onlyoffice/documentserver/default.json and find the following section:
Where under ***** is your JWT header, copy it to the notepad. Then open config.php of Nextcloud and add the following strings to ONLYOFFICE section:
Where under ***** in the string |
Thank you @alexanderonlyoffice for your answer. It seems to have solved the problem for me. |
Unfortunately, later that day I received this warnings again. I then had a look at Nextcloud's log, which showed this message: |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I'm using this docker image along with Nextcloud. I secured the connection using Let's encrypt certificates and I am using the JWT_SECRET to prevent unwanted access. I also added
to the config.php file of Nextcloud, as suggested in this issue.
But still, when I open a file in the Nextcloud interface I sometimes get this warning:
After clicking OK I get redirected to the "Download as..." page. After that I return to the document and everything works fine. But sometimes this warning re-appears after changing something in the file.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
The file should open without any warnings and just editing the file should not trigger any warnings.
DocumentServer version:
5.1.4 CE
Nextcloud version
13.0.4
Operating System:
Debian 9.4
Browser version:
Chromium Version 67.0.3396.87
Firefox 52.9.0
Logs
/var/log/onlyoffice/documentserver/docservice/out.log inside the docker container:
Nginx acces log:
<REMOVED> - - [04/Jul/2018:09:16:48 +0200] "POST /apps/onlyoffice/track?doc=UnNlQmRaQ0VqS3NFOVM3RXVxZWU4NG1vZGIrbUljQUtPQ3RYS1lYWklsUT0/eyJmaWxlSWQiOjEzNywib5duZXJJZCI6Im5jYWRtadW5pfbc3RyYXRvciIsInvRva2VuIjpudWxsLCJhY3Rpb24iOiJ0cmFjayJ9 HTTP/1.1" 403 27 "-" "-"
The text was updated successfully, but these errors were encountered: