[Solved] OnlyOffice Plugin

Hello

I try OnlyOffice Integration Plugin.
But I can’t open Office file.
cells run on MacOX by binary, and Database and OnlyOffice run on docker.
Especially, I exectute the command docker run -i -t -d -p 9980:80 --restart=always onlyoffice/documentserver
Cells Env

  • CELLS_BIND: localhost:8080
  • CELLS_EXTERNAL: localhost:8080
  • CELLS_NP_TLS: 1

Cells OnlyOffice Parameta

ONLY OFFICE log

document_1  | [2020-05-28T08:39:17.755] [ERROR] nodeJS - error downloadFile:url=http://localhost:8080/io/common-files/Untitled%20Document.doc?AWSAccessKeyId=gateway&Expires=1590655754&Signature=(shortten);attempt=3;code:null;connect:null;(id=717cc1856cd5988047b45f97de6c0a2187da5dbb-9a10-4773-9654-6c986fe84a60)
document_1  | Error: Error response: statusCode:404 ;body:
document_1  | <!DOCTYPE html>
document_1  | <html lang="en">
document_1  | <head>
document_1  | <meta charset="utf-8">
document_1  | <title>Error</title>
document_1  | </head>
document_1  | <body>
document_1  | <pre>Cannot GET /io/common-files/Untitled%20Document.doc</pre>
document_1  | </body>
document_1  | </html>
document_1  |
document_1  |     at Request._callback (/snapshot/server/build/server/Common/sources/utils.js:0:0)
document_1  |     at Request.init.self.callback (/snapshot/server/build/server/Common/node_modules/request/request.js:185:22)
document_1  |     at Request.emit (events.js:198:13)
document_1  |     at Request.<anonymous> (/snapshot/server/build/server/Common/node_modules/request/request.js:1154:10)
document_1  |     at Request.emit (events.js:198:13)
document_1  |     at IncomingMessage.<anonymous> (/snapshot/server/build/server/Common/node_modules/request/request.js:1076:12)
document_1  |     at Object.onceWrapper (events.js:286:20)
document_1  |     at IncomingMessage.emit (events.js:203:15)
document_1  |     at endReadableNT (_stream_readable.js:1143:12)
document_1  |     at process._tickCallback (internal/process/next_tick.js:63:19) ```

Hello.

It’s solved myself

It’s because ‘localhost’ is used container and cells.
So I reinstalled cells that run external domain name “pydio.example.com”.
Furthermore, I fix /etc/hosts/ of onlyoffice container, that add pydio.example.com`

Best Regards