-
Notifications
You must be signed in to change notification settings - Fork 90
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
Onlyoffice 1.0.4 app not saving documents in Nextcloud #64
Comments
Hello @Dave-REBL ! |
@JohnPerkin
Further to the issue noted above, I have determined that this issue is isolated to a few office documents. I am able to edit other office documents without any apparent problems.
Here's the details of what happens when I select one of the affected office documents in Nextcloud.
- error posted in the Nextcloud log on the Nextcloud server
{"reqId":"PFhInq56vxKgetwUZJ7N","remoteAddr":"192.168.1.179","app":"onlyoffice","message":"Track with empty or not correct hash: hash not equal","level":1,"time":"2017-05-17 16:51:41","method":"POST","url":"\/index.php\/apps\/onlyoffice\/track?doc=bjg4aVFLa01hT3NPaHhSOXlRd1JaK0RKZ0pVS3loZFQyeE9kU0o5dlNOZz0\/eyJmaWxlSWQiOjExNTI5LCJvd25lcklkIjoiZGJ1Y2siLCJhY3Rpb24iOiJ0cmFjayJ9","user":"--","version":"11.0.3.2"}'
- error posted in /var/log/onlyoffice/documentserver/docservice/out.log on the Onlyoffice server
[2017-05-17 09:51:41.574] [ERROR] nodeJS - postData error: docId = 1152914932415221;url = https://192.168.1.178:12443/index.php/apps/onlyoffice/track?doc=bjg4aVFLa01hT3NPaHhSOXlRd1JaK0RKZ0pVS3loZFQyeE9kU0o5dlNOZz0/eyJmaWxlSWQiOjExNTI5LCJvd25lcklkIjoiZGJ1Y2siLCJhY3Rpb24iOiJ0cmFjayJ9;data = {"key":"1152914932415221","status":1,"users":["user"],"actions":[{"type":1,"userid":"user"}]}
Error: Error response: statusCode:403 ;body:
{"message":"Access deny"}
at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:260:18)
at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1171:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1091:12)
at IncomingMessage.g (events.js:292:16)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
- the office document appears in the Onlyoffice document editor with a warning message window:
"The document could not be saved. Please check connection settings or contact your administrator. When you click the OK button, you will be prompted to download the document."
- click on OK, close the download menu, change the document, click on "Go to Documents" to exit Onlyoffice
- error posted in the Nextcloud log on the Nextcloud server
{"reqId":"QUyDEcv9O67y0fbZYi\/4","remoteAddr":"192.168.1.179","app":"onlyoffice","message":"Track with empty or not correct hash: hash not equal","level":1,"time":"2017-05-17 17:18:39","method":"POST","url":"\/index.php\/apps\/onlyoffice\/track?doc=bjg4aVFLa01hT3NPaHhSOXlRd1JaK0RKZ0pVS3loZFQyeE9kU0o5dlNOZz0\/eyJmaWxlSWQiOjExNTI5LCJvd25lcklkIjoiZGJ1Y2siLCJhY3Rpb24iOiJ0cmFjayJ9","user":"--","version":"11.0.3.2"}
- error posted in /var/log/onlyoffice/documentserver/docservice/out.log on the Onlyoffice server
[2017-05-17 10:18:39.593] [ERROR] nodeJS - sendServerRequest error: docId = 1152914932415221;url = https://192.168.1.178:12443/index.php/apps/onlyoffice/track?doc=bjg4aVFLa01hT3NPaHhSOXlRd1JaK0RKZ0pVS3loZFQyeE9kU0o5dlNOZz0/eyJmaWxlSWQiOjExNTI5LCJvd25lcklkIjoiZGJ1Y2siLCJhY3Rpb24iOiJ0cmFjayJ9;data = {"key":"1152914932415221","status":2,"url":"https://onlyoffice.abc.com/cache/files/1152914932415221_6310/output.docx/output.docx?md5=KWXspsBk3mEey93c6phdJA==&expires=1497633520&disposition=attachment&ooname=output.docx","changesurl":"https://onlyoffice.rebl.com/cache/files/1152914932415221_6310/changes.zip/changes.zip?md5=PjvI_WbpK0psCqHFpCCjiw==&expires=1497633520&disposition=attachment&ooname=output.zip","history":{"serverVersion":"4.3.3","changes":[{"created":"2017-05-14 19:02:25","user":{"id":"user","name":"User"}}]},"users":["user"],"actions":[{"type":0,"userid":"user"}],"lastsave":"2017-05-17T17:13:00.940Z","notmodified":false}
Error: Error response: statusCode:403 ;body:
{"message":"Access deny"}
at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:260:18)
at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1171:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1091:12)
at IncomingMessage.g (events.js:292:16)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
- found many instances of output.docx referenced in the document server error log on the Onlyoffice document server
/var/lib/onlyoffice/documentserver/App_Data/cache/files/1156114948972841_1087/output.docx
/var/lib/onlyoffice/documentserver/App_Data/cache/files/1152914932415221_617/output.docx
/var/lib/onlyoffice/documentserver/App_Data/cache/files/1152914932415221_2578/output.docx
/var/lib/onlyoffice/documentserver/App_Data/cache/files/115491494538143_8886/output.docx
/var/lib/onlyoffice/documentserver/App_Data/cache/files/115491494538143_4265/output.docx
/var/lib/onlyoffice/documentserver/App_Data/cache/files/81475521411_7568/output.docx
/var/lib/onlyoffice/documentserver/App_Data/cache/files/115491494538143_2631/output.docx
/var/lib/onlyoffice/documentserver/App_Data/cache/files/115491494538143_289/output.docx
/var/lib/onlyoffice/documentserver/App_Data/cache/files/1152914932415221_8043/output.docx
/var/lib/onlyoffice/documentserver/App_Data/cache/files/81475521411_3603/output.docx
/var/lib/onlyoffice/documentserver/App_Data/cache/files/115491494538143_8/output.docx
/var/lib/onlyoffice/documentserver/App_Data/cache/files/115491494538143_2123/output.docx
|
I have the same problem after upgrading to 1.0.4 on Owncloud 9.1. A warnung shows up after loading a file showing
After this, a menu opens to save the file locally. Interestingly, if I change something in the document, it still gets autosaved and I can see the changes after I reopen the document (but the warning shows up every time). Interestingly, in Owncloud the date doesn't change after the changes are made, so was the document even uploaded to Owncloud after Onlyoffice showed that it would do an autosave? |
Hi, |
Hi, |
Hello I have the same problem for a long time, I have already updated and revised the configuration several times and as the onlyoffice web indicates, but the files edited in nextcloud that go to onlyoffice remain in the onlyoffice cache and when nextcloud download are empty. In that case, I don't know what to do because if I don't know if changing the configuration will save those files that are cached to the original in nextcloud or lost? I have the same ssl certificate installed on nextcloud and onlyoffice but with subdomains; cloud.example.com and docs.example.com these are the versions I have installed: Nextcloud 11.0.5 (stable) |
Hello to everyone checking for a long time ago and stopped a while ago because I couldn't find how to solve I decided to search again and found the solution of why it doesn't save the information in the original document that is in nextcloud and not in the onlyoffice cache that I didn't rewrite in the original, checking the logs I found that it was a problem of verifying the certificate and I found a similar problem here. and recommends adding this to nextcloud's config. php to avoid certificate verification by onlyoffice, add a new section and this will be: 'onlyoffice' => and I work correctly I enter my documents in nextcloud onlyoffice opens them which were stored in the cache and by my surprise when checking the weight in the files in nextcloud I see that it changes the creation date and size, so it works perfect, I hope to the others the same. best regards....... \m/ |
I had a similar issue with OnlyOffice running HTTPS in docker. Noticed the verification error in nextcloud.log. I am using certs from Lets Encrypt and only copied the server cert and key into the DocumentServer/data/certs/ folder for the container. I appended chain.pem to the onlyoffice.crt file so there is two certs in the file. After restarting the container I was able to save documents without issue. Works without having to disable verification. Just thought I would share. |
@Dave-REBL |
@LinneyS |
Hi |
Nextcloud 11.0.3 (stable), running on Ubuntu server 16.04.2
OnlyOffice integration app 1.0.4
OnlyOffice Document Server 4.3.3, running on Ubuntu server 16.04.2
Updated Onlyoffice integration application from 1.02 to 1.04 when notified of the update in Nextcloud. Prior to the update this issue was not present.
How to reproduce the issue:
[2017-05-14 12:08:05.321] [ERROR] nodeJS - sendServerRequest error: docId = 1152914932415221;url = https://nnn.nnn.nnn.nnn/index.php/apps/onlyoffice/track?doc=bjg4aVFLa01hT3NPaHhSOXlRd1JaK0RKZ0pVS3loZFQyeE9kU0o5dlNOZz0/eyJmaWxlSWQiOjExNTI5LCJvd25lcklkIjoiZGJ1Y2siLCJhY3Rpb24iOiJ0cmFjayJ9;data = {"key":"1152914932415221","status":2,"url":"https://onlyoffice.abc.com/cache/files/1152914932415221_2847/output.docx/output.docx?md5=c92akR2439A9rTK8xK1NYA==&expires=1497380886&disposition=attachment&ooname=output.docx","changesurl":"https://onlyoffice.abc.com/cache/files/1152914932415221_2847/changes.zip/changes.zip?md5=O6TLkHjqRlC5063y2n1zNQ==&expires=1497380886&disposition=attachment&ooname=output.zip","history":{"serverVersion":"4.3.3","changes":[{"created":"2017-05-14 19:02:25","user":{"id":"user","name":"user"}}]},"users":["user"],"actions":[{"type":0,"userid":"user"}],"lastsave":"2017-05-14T19:02:27.907Z","notmodified":false}
Error: Error response: statusCode:400 ;body:
{"error":1}
at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:260:18)
at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1171:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1091:12)
at IncomingMessage.g (events.js:292:16)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
The text was updated successfully, but these errors were encountered: