[GH-ISSUE #840] Startup stuck after upgraded #407

Open
opened 2026-02-26 10:32:25 +03:00 by kerem · 12 comments
Owner

Originally created by @isZYKerman on GitHub (Dec 23, 2025).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/840

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Docker

Version information

9.2.1

Expected Behavior

The server should start properly.

Actual Behavior

The startup was stuck. The docker logs -f would show the output:

zykerman@ZYL-ububtu:/mnt/Applications/Apps/nextcloud > docker logs -f onlyoffice-documentserver
find: ‘/var/www/onlyoffice/Data/certs’: No such file or directory
 * Starting PostgreSQL 16 database server
   ...done.
 * Starting RabbitMQ Messaging Server rabbitmq-server
   ...done.
Connection to localhost (::1) 5432 port [tcp/postgresql] succeeded!
Connection to localhost (::1) 5672 port [tcp/amqp] succeeded!

The log just stuck here and never proceeded. Trying to access the server via the domain would fail with a 502, suggesting that the startup was not successful.

Reproduction Steps

Upgrade docker image version from 9.1.0 to 9.2.1 and try to start the container.

Additional information

9.2.0 also had this issue. 9.1.0 could be started successfully. The log was like:

zykerman@ZYL-ububtu:/mnt/Applications/Apps/nextcloud > docker logs -f onlyoffice-documentserver
find: ‘/var/www/onlyoffice/Data/certs’: No such file or directory
 * Starting PostgreSQL 16 database server
   ...done.
 * Starting RabbitMQ Messaging Server rabbitmq-server
   ...done.
Connection to localhost (::1) 5432 port [tcp/postgresql] succeeded!
Connection to localhost (::1) 5672 port [tcp/amqp] succeeded!
Starting supervisor: supervisord.
 * Starting periodic command scheduler cron
   ...done.
 * Starting nginx nginx
   ...done.
Generating AllFonts.js, please wait...Done
Generating presentation themes, please wait...Done
Generating js caches, please wait...Done
ds:docservice: stopped
ds:docservice: started
ds:converter: stopped
ds:converter: started
 * Reloading nginx configuration nginx
   ...done.

All of these were done within minutes. The section of my docker compose file for the documentserver is:

  onlyoffice:
    image: onlyoffice/documentserver:9.1.0.1
    container_name: onlyoffice-documentserver
    ports:
      - "30010:80"
    volumes:
      - /mnt/Applications/Apps/nextcloud/config/DocumentServer/logs:/var/log/onlyoffice
      - /mnt/Applications/Apps/nextcloud/config/DocumentServer/windows_fonts:/usr/share/fonts/windows
    environment:
      - JWT_SECRET=******
      - JWT_HEADER=AuthorizationJWT
    restart: unless-stopped
    networks:
      - nc_net
Originally created by @isZYKerman on GitHub (Dec 23, 2025). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/840 ### This issue is unique. - [x] I have used the [search tool](https://github.com/ONLYOFFICE/DocumentServer/issues?q=) and did not find an issue describing my bug. ### Operating System of DocumentServer Docker ### Version information 9.2.1 ### Expected Behavior The server should start properly. ### Actual Behavior The startup was stuck. The `docker logs -f` would show the output: ``` zykerman@ZYL-ububtu:/mnt/Applications/Apps/nextcloud > docker logs -f onlyoffice-documentserver find: ‘/var/www/onlyoffice/Data/certs’: No such file or directory * Starting PostgreSQL 16 database server ...done. * Starting RabbitMQ Messaging Server rabbitmq-server ...done. Connection to localhost (::1) 5432 port [tcp/postgresql] succeeded! Connection to localhost (::1) 5672 port [tcp/amqp] succeeded! ``` The log just stuck here and never proceeded. Trying to access the server via the domain would fail with a 502, suggesting that the startup was not successful. ### Reproduction Steps Upgrade docker image version from 9.1.0 to 9.2.1 and try to start the container. ### Additional information 9.2.0 also had this issue. 9.1.0 could be started successfully. The log was like: ``` zykerman@ZYL-ububtu:/mnt/Applications/Apps/nextcloud > docker logs -f onlyoffice-documentserver find: ‘/var/www/onlyoffice/Data/certs’: No such file or directory * Starting PostgreSQL 16 database server ...done. * Starting RabbitMQ Messaging Server rabbitmq-server ...done. Connection to localhost (::1) 5432 port [tcp/postgresql] succeeded! Connection to localhost (::1) 5672 port [tcp/amqp] succeeded! Starting supervisor: supervisord. * Starting periodic command scheduler cron ...done. * Starting nginx nginx ...done. Generating AllFonts.js, please wait...Done Generating presentation themes, please wait...Done Generating js caches, please wait...Done ds:docservice: stopped ds:docservice: started ds:converter: stopped ds:converter: started * Reloading nginx configuration nginx ...done. ``` All of these were done within minutes. The section of my docker compose file for the documentserver is: ``` onlyoffice: image: onlyoffice/documentserver:9.1.0.1 container_name: onlyoffice-documentserver ports: - "30010:80" volumes: - /mnt/Applications/Apps/nextcloud/config/DocumentServer/logs:/var/log/onlyoffice - /mnt/Applications/Apps/nextcloud/config/DocumentServer/windows_fonts:/usr/share/fonts/windows environment: - JWT_SECRET=****** - JWT_HEADER=AuthorizationJWT restart: unless-stopped networks: - nc_net ```
Author
Owner

@igwyd commented on GitHub (Dec 25, 2025):

Hello @isZYKerman, thank you for scenario. but i can't reproduce it. Document Server updates without any errors. Perhaps there are issues in your environment? Check your disk and resources, we recommend at least 2cpu and 4ram, more https://helpcenter.onlyoffice.com/docs/installation/docs-community-install-docker.aspx

<!-- gh-comment-id:3691414566 --> @igwyd commented on GitHub (Dec 25, 2025): Hello @isZYKerman, thank you for scenario. but i can't reproduce it. Document Server updates without any errors. Perhaps there are issues in your environment? Check your disk and resources, we recommend at least 2cpu and 4ram, more https://helpcenter.onlyoffice.com/docs/installation/docs-community-install-docker.aspx
Author
Owner

@isZYKerman commented on GitHub (Dec 25, 2025):

I am on a machine with i3-8100 CPU and 32GB RAM. Resources shouldn't be the problem......🤔
I switched the log level to debug but the log was still the same. Meanwhile, during this stuck, the container CPU usage persists at approximately 100%:

CONTAINER ID   NAME                        CPU %     MEM USAGE / LIMIT     MEM %     NET I/O          BLOCK I/O    PIDS 
3f1e06dc4dfa   onlyoffice-documentserver   100.50%   128.7MiB / 31.26GiB   0.40%     1.19MB / 230kB   493kB / 0B   36 

The wierdest point is that 9.1.0 works but 9.2 doesn't. My host system is Ubuntu 24.04.3 LTS, kernel version 6.14.0-37-generic, with the newest apt-installed docker-ce components. My system is in a zfs dataset. Maybe these information helps?

<!-- gh-comment-id:3691500065 --> @isZYKerman commented on GitHub (Dec 25, 2025): I am on a machine with i3-8100 CPU and 32GB RAM. Resources shouldn't be the problem......🤔 I switched the log level to debug but the log was still the same. Meanwhile, during this stuck, the container CPU usage persists at approximately 100%: ``` CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 3f1e06dc4dfa onlyoffice-documentserver 100.50% 128.7MiB / 31.26GiB 0.40% 1.19MB / 230kB 493kB / 0B 36 ``` The wierdest point is that 9.1.0 works but 9.2 doesn't. My host system is Ubuntu 24.04.3 LTS, kernel version 6.14.0-37-generic, with the newest apt-installed `docker-ce` components. My system is in a zfs dataset. Maybe these information helps?
Author
Owner

@igwyd commented on GitHub (Dec 26, 2025):

Do you mount any configs into the onlyoffice-documentserver container?

with the newest apt-installed docker-ce components. My system is in a zfs dataset

I think this may be the reason, I will try to check it.

<!-- gh-comment-id:3692841761 --> @igwyd commented on GitHub (Dec 26, 2025): Do you mount any configs into the onlyoffice-documentserver container? > with the newest apt-installed docker-ce components. My system is in a zfs dataset I think this may be the reason, I will try to check it.
Author
Owner

@isZYKerman commented on GitHub (Dec 26, 2025):

Do you mount any configs into the onlyoffice-documentserver container?

No. I wrote a test compose file with no mounts, and the issue persists.

services:
  onlyoffice:
    image: onlyoffice/documentserver:9.2.1
    container_name: onlyoffice-documentserver
    ports:
      - "30010:80"
    environment:
      - DS_LOG_LEVEL=DEBUG
    restart: unless-stopped

ps I use zfs packages from Zabbly instead of the official Ubuntu source because I need zfs 2.3.0+ to import my pools.

<!-- gh-comment-id:3692939942 --> @isZYKerman commented on GitHub (Dec 26, 2025): > Do you mount any configs into the onlyoffice-documentserver container? No. I wrote a test compose file with no mounts, and the issue persists. ``` services: onlyoffice: image: onlyoffice/documentserver:9.2.1 container_name: onlyoffice-documentserver ports: - "30010:80" environment: - DS_LOG_LEVEL=DEBUG restart: unless-stopped ``` ps I use zfs packages from [Zabbly](https://github.com/zabbly/zfs) instead of the official Ubuntu source because I need zfs 2.3.0+ to import my pools.
Author
Owner

@eranelbaz commented on GitHub (Dec 28, 2025):

Hey getting the same issue

After running it for 5 minutes or so it began to download some plugins and to unblock itself

<!-- gh-comment-id:3694953870 --> @eranelbaz commented on GitHub (Dec 28, 2025): ~Hey getting the same issue~ After running it for 5 minutes or so it began to download some plugins and to unblock itself
Author
Owner

@igwyd commented on GitHub (Dec 29, 2025):

Are you installing Document Server on a server without internet?

<!-- gh-comment-id:3695435599 --> @igwyd commented on GitHub (Dec 29, 2025): Are you installing Document Server on a server without internet?
Author
Owner

@isZYKerman commented on GitHub (Dec 29, 2025):

I have got Internet, and after I enabled proxy for the container

    environment:
      - HTTP_PROXY=http://host:20172
      - HTTPS_PROXY=http://host:20172
      - ALL_PROXY=socks5://host:20170
    restart: unless-stopped
    extra_hosts:
      - "host:host-gateway"

It worked. So my question now is:

  1. Where does it download plugins from? Some Internet services are restricted here in China (such as Google and GitHub(sometimes)) and the proxy solution does not apply to everyone.
  2. Are there any ways to keep these downloaded stuff persistent or make them shipped with the image? The lag as long as 5min from I fire the containers up (or restart/recreate the container) to the service actually starts is pretty annoying, not to mention that the older versions such as 9.1 does not have the problem.
<!-- gh-comment-id:3695664452 --> @isZYKerman commented on GitHub (Dec 29, 2025): I have got Internet, and after I enabled proxy for the container ``` environment: - HTTP_PROXY=http://host:20172 - HTTPS_PROXY=http://host:20172 - ALL_PROXY=socks5://host:20170 restart: unless-stopped extra_hosts: - "host:host-gateway" ``` It worked. So my question now is: 1. Where does it download plugins from? Some Internet services are restricted here in China (such as Google and GitHub(sometimes)) and the proxy solution does not apply to everyone. 2. Are there any ways to keep these downloaded stuff persistent or make them shipped with the image? The lag as long as 5min from I fire the containers up (or restart/recreate the container) to the service actually starts is pretty annoying, not to mention that the older versions such as 9.1 does not have the problem.
Author
Owner

@igwyd commented on GitHub (Dec 29, 2025):

The plugins are downloading from GitHub. We have a bug 78997 related to this delay, and I think it should be fixed in the next version.

<!-- gh-comment-id:3695712849 --> @igwyd commented on GitHub (Dec 29, 2025): The plugins are downloading from GitHub. We have a bug 78997 related to this delay, and I think it should be fixed in the next version.
Author
Owner

@isZYKerman commented on GitHub (Dec 29, 2025):

Do the older versions also perform this download? 🤔

<!-- gh-comment-id:3695735156 --> @isZYKerman commented on GitHub (Dec 29, 2025): Do the older versions also perform this download? 🤔
Author
Owner

@igwyd commented on GitHub (Dec 29, 2025):

Yes, but after starting services.

<!-- gh-comment-id:3695799619 --> @igwyd commented on GitHub (Dec 29, 2025): Yes, but after starting services.
Author
Owner

@isZYKerman commented on GitHub (Dec 29, 2025):

Well that makes sense.

2. The lag as long as 5min from I fire the containers up (or restart/recreate the container) to the service actually starts is pretty annoying

Maybe we can reverse the change back to which the download is after starting the service?

1. Some Internet services are restricted here in China

Access to GitHub is not stable here. Maybe these plugins were never successfully downloaded in the past, but I don't see any lack in the function.🤔 Anyway why don't we ship the plugins within the image to avoid situations like this?

<!-- gh-comment-id:3695977156 --> @isZYKerman commented on GitHub (Dec 29, 2025): Well that makes sense. > 2\. The lag as long as 5min from I fire the containers up (or restart/recreate the container) to the service actually starts is pretty annoying Maybe we can reverse the change back to which the download is after starting the service? > 1\. Some Internet services are restricted here in China Access to GitHub is not stable here. Maybe these plugins were never successfully downloaded in the past, but I don't see any lack in the function.🤔 Anyway why don't we ship the plugins within the image to avoid situations like this?
Author
Owner

@igwyd commented on GitHub (Feb 16, 2026):

It's fixed github.com/ONLYOFFICE/Docker-DocumentServer@058d512af2 and will be released in the next major release.

<!-- gh-comment-id:3906369041 --> @igwyd commented on GitHub (Feb 16, 2026): It's fixed https://github.com/ONLYOFFICE/Docker-DocumentServer/commit/058d512af2d3020829b100aa68d714a2368d4bf5 and will be released in the next major release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#407
No description provided.