ONLYOFFICE / Docker-DocumentServer

ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
GNU Affero General Public License v3.0
1.39k stars 482 forks source link

Download success,but Can't edit online #740

Closed filwu8 closed 2 weeks ago

filwu8 commented 4 months ago

This issue is unique.

Operating System of DocumentServer

Windows Server, Docker

Version information

8.0.1-31

Expected Behavior

workwell

Actual Behavior

Can't open/edit test files

1717000599170

1716998968651

but i can download files!

1716999133642 it's well for download files

Reproduction Steps

docker-compos up -d docker-compos.yml

version: '2' services: onlyoffice-documentserver: build: context: . container_name: onlyoffice-documentserver depends_on:

then.................


\Log\documentserver\converter\out.log

[2024-05-29T16:15:17.768] [ERROR] [localhost] [172.23.0.1new_1.docx1716999079633] [uid-1] nodeJS - error downloadFile:url=https://192.168.88.202:8202/example/download?fileName=new%20(1).docx&useraddress=172.23.0.1;attempt=1;code:ETIMEDOUT;connect:null Error: Error: whole request cycle timeout at raiseError (/snapshot/server/Common/sources/utils.js) at Timeout._onTimeout (/snapshot/server/Common/sources/utils.js) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)


\Log\documentserver\docservice\out.log

[2024-05-29T15:58:52.794] [WARN] [localhost] [docId] [userId] nodeJS - Express server starting... [2024-05-29T15:58:52.798] [WARN] [localhost] [docId] [userId] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability [2024-05-29T15:58:52.977] [WARN] [localhost] [docId] [userId] nodeJS - Express server listening on port 8000 in production-linux mode. Version: 8.0.1. Build: 31 [2024-05-29T15:59:09.316] [ERROR] [localhost] [172.23.0.1new.docx1716998348252] [uid-1] nodeJS - postData error: url = https://localhost:8202/example/track?filename=new.docx&useraddress=172.23.0.1;data = {"key":"172.23.0.1new.docx1716998348252","status":1,"users":["uid-1"],"actions":[{"type":1,"userid":"uid-1"}],"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIxNzIuMjMuMC4xbmV3LmRvY3gxNzE2OTk4MzQ4MjUyIiwic3RhdHVzIjoxLCJ1c2VycyI6WyJ1aWQtMSJdLCJhY3Rpb25zIjpbeyJ0eXBlIjoxLCJ1c2VyaWQiOiJ1aWQtMSJ9XSwiaWF0IjoxNzE2OTk4MzQ5LCJleHAiOjE3MTY5OTg2NDl9.Ia_mRdewJA9vZqDL2kFDRNnjM0O6fzOfigI674qka6o"} Error: connect ECONNREFUSED 127.0.0.1:8202 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)

Additional information

Windows 11 + Docekr Desktop

and docker print

psql:/var/www/onlyoffice/documentserver/server/schema/postgresql/createdb.sql:21: NOTICE: relation "doc_changes" already exists, skipping psql:/var/www/onlyoffice/documentserver/server/schema/postgresql/createdb.sql:41: NOTICE: relation "task_result" already exists, skipping Waiting for connection to the onlyoffice-rabbitmq host on port 5672 Waiting for connection to the onlyoffice-rabbitmq host on port 5672 Waiting for connection to the onlyoffice-rabbitmq host on port 5672 Waiting for connection to the onlyoffice-rabbitmq host on port 5672 Waiting for connection to the onlyoffice-rabbitmq host on port 5672 Waiting for connection to the onlyoffice-rabbitmq host on port 5672 Waiting for connection to the onlyoffice-rabbitmq host on port 5672 Waiting for connection to the onlyoffice-rabbitmq host on port 5672 Waiting for connection to the onlyoffice-rabbitmq host on port 5672 Waiting for connection to the onlyoffice-rabbitmq host on port 5672 Waiting for connection to the onlyoffice-rabbitmq host on port 5672 Starting supervisor: supervisord.

==> /var/log/onlyoffice/documentserver/converter/err.log <==

==> /var/log/onlyoffice/documentserver/converter/out.log <== [2024-05-29T16:23:29.251] [WARN] [localhost] [docId] [userId] nodeJS - num of CPUs: 20; availableParallelism: undefined [2024-05-29T16:23:29.252] [WARN] [localhost] [docId] [userId] nodeJS - update cluster with 1 workers [2024-05-29T16:23:29.257] [WARN] [localhost] [docId] [userId] nodeJS - worker 489 started. [2024-05-29T16:23:29.260] [WARN] [localhost] [docId] [userId] nodeJS - num of CPUs: 20; availableParallelism: undefined [2024-05-29T16:23:29.260] [WARN] [localhost] [docId] [userId] nodeJS - update cluster with 1 workers [2024-05-29T16:24:15.182] [WARN] [localhost] [docId] [userId] nodeJS - num of CPUs: 20; availableParallelism: undefined [2024-05-29T16:24:15.183] [WARN] [localhost] [docId] [userId] nodeJS - update cluster with 1 workers [2024-05-29T16:24:15.189] [WARN] [localhost] [docId] [userId] nodeJS - worker 786 started. [2024-05-29T16:24:15.191] [WARN] [localhost] [docId] [userId] nodeJS - num of CPUs: 20; availableParallelism: undefined [2024-05-29T16:24:15.192] [WARN] [localhost] [docId] [userId] nodeJS - update cluster with 1 workers

==> /var/log/onlyoffice/documentserver/docservice/err.log <==

==> /var/log/onlyoffice/documentserver/docservice/out.log <== [2024-05-29T16:23:29.647] [WARN] [localhost] [docId] [userId] nodeJS - Express server starting... [2024-05-29T16:23:29.650] [WARN] [localhost] [docId] [userId] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability [2024-05-29T16:23:30.494] [WARN] [localhost] [docId] [userId] nodeJS - Express server listening on port 8000 in production-linux mode. Version: 8.0.1. Build: 31 [2024-05-29T16:24:14.395] [WARN] [localhost] [docId] [userId] nodeJS - Express server starting... [2024-05-29T16:24:14.398] [WARN] [localhost] [docId] [userId] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability [2024-05-29T16:24:14.579] [WARN] [localhost] [docId] [userId] nodeJS - Express server listening on port 8000 in production-linux mode. Version: 8.0.1. Build: 31

==> /var/log/onlyoffice/documentserver/nginx.error.log <==

==> /var/log/onlyoffice/documentserver/converter/out.log <== [2024-05-29T16:30:48.186] [ERROR] [localhost] [172.24.0.1new.docx1717000127148] [uid-1] nodeJS - error downloadFile:url=https://192.168.88.202:8202/example/download?fileName=new.docx&useraddress=172.24.0.1;attempt=1;code:ETIMEDOUT;connect:null Error: Error: whole request cycle timeout at raiseError (/snapshot/server/Common/sources/utils.js) at Timeout._onTimeout (/snapshot/server/Common/sources/utils.js) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)

==> /var/log/onlyoffice/documentserver/docservice/out.log <== [2024-05-29T16:30:58.806] [ERROR] [localhost] [172.24.0.1new.docx1717000127148] [uid-1] nodeJS - postData error: url = https://192.168.88.202:8202/example/track?filename=new.docx&useraddress=172.24.0.1;data = {"key":"172.24.0.1new.docx1717000127148","status":1,"users":["uid-1"],"actions":[{"type":1,"userid":"uid-1"}],"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIxNzIuMjQuMC4xbmV3LmRvY3gxNzE3MDAwMTI3MTQ4Iiwic3RhdHVzIjoxLCJ1c2VycyI6WyJ1aWQtMSJdLCJhY3Rpb25zIjpbeyJ0eXBlIjoxLCJ1c2VyaWQiOiJ1aWQtMSJ9XSwiaWF0IjoxNzE3MDAwMTI4LCJleHAiOjE3MTcwMDA0Mjh9.fMTiQU2Gmrew2K1X0MPyDw7bkOMrhjIJap2NqtD-0N0"} Error: connect ETIMEDOUT 192.168.88.202:8202 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)

igwyd commented 4 months ago

Hello @filwu8, I see what you are using self-signed certs, try to add variable USE_UNAUTHORIZED_STORAGE=true to the onlyoffice section.

kameshwaranHontrel commented 1 month ago

Hi @filwu8

I too faced this issue i fixed it using below command, where I need to give the path to store the document.

docker run -i -t -d -p 80:80 -v /path/on/host:/var/www/onlyoffice/Data --restart=always onlyoffice/documentserver

Replace "/path/on/host" with an actual path on your machine where you want to store the documents.

Rita-Bubnova commented 2 weeks ago

This issue was closed due no response.