ONLYOFFICE Docs v7.3 released: enhanced forms, SmartArt, new security settings, Watch Window, and more
ONLYOFFICE Docs v7.3 released

Onlyoffice docker after upgrade or new deploy not working

Hi all,
After upgrading Nextcloud, Onlyoffice stopped working.
OS cento7

<?php $CONFIG = array ( 'passwordsalt' => 'Tf.........................R', 'secret' => 'X........................3', 'trusted_domains' => array ( 0 => 'localhost', 1 => 'aktovka-tst.**********.sk', ), 'datadirectory' => '/mnt/ncdata', 'dbtype' => 'mysql', 'version' => '23.0.10.1', 'overwrite.cli.url' => 'https://aktovka-tst.***********.sk/', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'nextcloud', 'dbpassword' => '1..............d', 'installed' => true, 'instanceid' => 'ocaoh9k5lgze', 'htaccess.RewriteBase' => '/', 'memcache.local' => '\\OC\\Memcache\\APCu', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => '/var/run/redis/redis.sock', 'port' => '0', 'timeout' => '1.5', ), 'filelocking.enabled' => 'true', 'enable_previews' => 'true', 'enabledPreviewProviders' => array ( 0 => 'OC\\Preview\\PNG', 1 => 'OC\\Preview\\JPEG', 2 => 'OC\\Preview\\GIF', 3 => 'OC\\Preview\\BMP', 4 => 'OC\\Preview\\XBitmap', 5 => 'OC\\Preview\\Movie', 6 => 'OC\\Preview\\PDF', 7 => 'OC\\Preview\\MP3', 8 => 'OC\\Preview\\TXT', 9 => 'OC\\Preview\\MarkDown', ), 'preview_max_x' => '1024', 'preview_max_y' => '768', 'preview_max_scale_factor' => '1', 'log_type' => 'syslog', 'logfile' => '', 'loglevel' => '3', 'default_phone_region' => 'SK', 'mail_from_address' => 'nextcloud', 'mail_smtpmode' => 'smtp', 'mail_smtpauthtype' => 'None', 'mail_domain' => 'aktovka-tst.............sk', 'mail_smtphost' => '127.0.0.1', 'mail_smtpport' => '25', ); docker ps Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 5185f84d8607 docker.io/onlyoffice/documentserver:latest 2 days ago Up 2 days ago 0.0.0.0:8080->80/tcp, 0.0.0.0:8443->443/tcp oodocumentserver Docker logs: /var/www/onlyoffice/documentserver/npm/json[33]: ../src/node_platform.cc:61:std::unique_ptr node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed. 1: 0x8e08f0 node::Abort() [/var/www/onlyoffice/documentserver/npm/json] 2: 0x8e096c [/var/www/onlyoffice/documentserver/npm/json] 3: 0x94c4f7 node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [/var/www/onlyoffice/documentserver/npm/json] 4: 0x94c607 node::NodePlatform::NodePlatform(int, v8::TracingController*) [/var/www/onlyoffice/documentserver/npm/json] 5: 0x8bee61 node::InitializeOncePerProcess(int, char**) [/var/www/onlyoffice/documentserver/npm/json] 6: 0x8bf19c node::Start(int, char**) [/var/www/onlyoffice/documentserver/npm/json] 7: 0x7fc80f824d90 [/lib/x86_64-linux-gnu/libc.so.6] 8: 0x7fc80f824e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6] 9: 0x842a71 [/var/www/onlyoffice/documentserver/npm/json] /app/ds/run-document-server.sh: line 216: -3: substring expression < 0 nc: port number invalid: Waiting for connection to the host on port nc: port number invalid: Waiting for connection to the host on port nc: port number invalid: + echo 'Waiting for connection to the host on port ' Waiting for connection to the host on port + sleep 1 + nc -z -w 3 '' '' nc: port number invalid: + echo 'Waiting for connection to the host on port ' Waiting for connection to the host on port + sleep 1 + nc -z -w 3 '' ''

Hello @peter.pos

To start off could you please space some more information:

  • current version of Document Server;
  • current version of Nextcloud;
  • current version of Nextcloud connector app;
  • link to the guide that you’ve used to update Document Server;
  • log files from Document Server container located in /var/log/onlyoffice/documentserver/.
  • screenshot of the connector app page while saving Server Settings.

Version of Document Server - CentOS Linux release 7.9.2009 (Core)
Nextcloud 23.0.10

After hit any docx documment show this error message: ONLYOFFICE cannot be reached.Please contact admin

docker logs -f 5185f84d8607

  • nc -z -w 3 ‘’ ‘’
    nc: port number invalid:
  • echo 'Waiting for connection to the host on port ’
    Waiting for connection to the host on port
  • sleep 1

Please make a screenshot of the Server settings while saving them.
To do so tap on your avatar on the Nextcloud portal > go to Settings > go to ONLYOFFICE from left panel > hit the Save button and make a screenshot with the result (resulting note will pop up in top right corner).
Also, go to https://<document_server_address>/healthcheck (where <document_server_address> is the address of the Document Server that is currently used) and share the out put of this page.

Please check out the version of connector app too. To do it tap on your avatar > go to Apps > tap on Active apps > find ONLYOFFICE and check the version.

Hi
from pop up when i click save is:
Error when trying to connect (Server error: GET https://oo.aktovka-tst.s…..t.sk/healthcheck resulted in a 503 Service Unavailable response:
503 Service Unavailable

but oo.aktovka-tst.s……t.sk is in /etc/hosts as 127.0.0.1

Health check:
when i test https://aktovka-tst.s…t.sk/healtcheck i am redirect to
https://aktovka-tst.s…t.sk/apps/dashboard/

ONLYOFFICE 7.4.2

Please try accessing Document Server healthcheck via browser by adding Document Server container’s port. For example if it runs on 80 port, then address should look like that:
https://oo.aktovka-tst.s…..t.sk:80
You can check which port Document Server is listening to by executing docker port <container_ID>. To see the list of running containers use docker ps.

If it returns True then use the same address+port in the settings of the connector app in Nextcloud.

This is not a problem with the NEXTCLOUD server as such. I see the problem in docker containers.
docker logs -f 5185f84d8607

nc -z -w 3 ‘’ ‘’
nc: port number invalid:
echo 'Waiting for connection to the host on port ’
Waiting for connection to the host on port
sleep 1

Please share the command that you have used to run the Docker container with Document Server.