Hello,
I have the following problem:
I have a fresh installation of owncloud on Ubuntu. This works perfectly.
Additionally, I have a new installation of Onlyoffice on a Windows Server. Everything according to instructions. This also works so far. “Document Server is running” appears. The /example website also works and test documents can also be created and edited.
Unfortunately, the integration of Onlyoffice does not work with owncloud. All that appears is: “Error while downloading the document file to be converted.”
The tokens from local.js match those in the owncloud config.
I currently have “Authorization” in the header. I read that you should set this value to “AuthorizationJwt” and restart everything.
If I do that, I can no longer edit documents in the /example of onlyoffice. The error “Error while downloading” appears. Integrating with owncloud doesn’t work either. Unfortunately no other error appears either.
Do you have any idea what I can do?
Edit:
Following is seeing in the logs:
[2023-09-26T08:52:26.055] [ERROR] [localhost] [conv_check_907351611_docx] [userId] nodeJS - error downloadFile:url=https://owncloudserver/index.php/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.R4R0j_XnxZF6MBP0ZO6b1F-5LoOaecAv32nFcCo5ZJc;attempt=3;code:undefined;connect:undefined Error: Error response: statusCode:404; headers:{"date":"Tue, 26 Sep 2023 06:52:26 GMT","server":"Apache/2.4.41 (Ubuntu)","strict-transport-security":"max-age=15552000; includeSubDomains","x-content-type-options":"nosniff","x-xss-protection":"0","x-robots-tag":"none","x-frame-options":"SAMEORIGIN","x-download-options":"noopen","x-permitted-cross-domain-policies":"none","upgrade":"h2,http:/1.1","connection":"Upgrade, Keep-Alive","set-cookie":["oc0qai3dvl0a=soflhjhfb2ld4ndsh3mmu9ltfi; path=/; secure; HttpOnly; SameSite=Strict","oc_sessionPassphrase=%2BnHLCSMaPgD7gUwegKDKCQFWlDNKRE53zwvPXZXLm18d%2F3%2B5FsqzlOY8a77sl32b7dBv9idINtffPQMjmQhgzt7j1OMpGO5eaZwWOALyzTiR5LGdwUlliBcSdnuV5Xrj; expires=Tue, 26-Sep-2023 07:12:26 GMT; Max-Age=1200; path=/; secure; HttpOnly; SameSite=Strict"],"expires":"Thu, 19 Nov 1981 08:52:00 GMT","cache-control":"no-cache, no-store, must-revalidate","pragma":"no-cache","content-security-policy":"default-src 'none';manifest-src 'self';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self';connect-src 'self';media-src 'self'","content-length":"28","keep-alive":"timeout=5, max=100","content-type":"application/json; charset=utf-8"};
at Request.fResponse (C:\snapshot\server\build\server\Common\sources\utils.js)
at Request.emit (events.js:400:28)
at Request.onRequestResponse (C:\snapshot\server\build\server\Common\node_modules\request\request.js:1059:10)
at ClientRequest.emit (events.js:400:28)
at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:127:17)
at TLSSocket.socketOnData (_http_client.js:515:22)
at TLSSocket.emit (events.js:400:28)
at addChunk (internal/streams/readable.js:293:12)
at readableAddChunk (internal/streams/readable.js:267:9)
at TLSSocket.Readable.push (internal/streams/readable.js:206:10)
at TLSWrap.onStreamRead (internal/stream_base_commons.js:188:23)