Installing ONLYOFFICE Workspace using Docker Compose

I’m trying to get ONLYOFFICE Workspace up and running on a Debian Bookworm / 12.4 server using docker compose, following these instructions, I have cloned the Docker-CommunityServer repo and I have edited the docker-compose.workspace_enterprise.yml file to set the ${MAIL_SERVER_HOSTNAME} and MySQL passwords (the following passwords are different from the actual ones), following is the result of git diff:

diff --git a/docker-compose.workspace_enterprise.yml b/docker-compose.workspace_enterprise.yml
index b2f142c..0c0ff48 100644
--- a/docker-compose.workspace_enterprise.yml
+++ b/docker-compose.workspace_enterprise.yml
@@ -4,7 +4,7 @@ services:
     container_name: onlyoffice-mysql-server
     image: mysql:8.0.29
     environment:
-     - MYSQL_ROOT_PASSWORD=my-secret-pw
+     - MYSQL_ROOT_PASSWORD=l3bE4oTwK3EER82HU3dkZUONAV
     networks:
      - onlyoffice
     stdin_open: true
@@ -30,7 +30,7 @@ services:
      - DOCUMENT_SERVER_JWT_ENABLED=true
      - DOCUMENT_SERVER_JWT_SECRET=jwt_secret
      - DOCUMENT_SERVER_JWT_HEADER=AuthorizationJwt
-     - MYSQL_SERVER_ROOT_PASSWORD=my-secret-pw
+     - MYSQL_SERVER_ROOT_PASSWORD=l3bE4oTwK3EER82HU3dkZUONAV
      - MYSQL_SERVER_DB_NAME=onlyoffice
      - MYSQL_SERVER_HOST=onlyoffice-mysql-server
      - MYSQL_SERVER_USER=onlyoffice_user
@@ -41,7 +41,7 @@ services:
      - MAIL_SERVER_DB_PORT=3306
      - MAIL_SERVER_DB_NAME=onlyoffice_mailserver
      - MAIL_SERVER_DB_USER=mail_admin
-     - MAIL_SERVER_DB_PASS=Isadmin123
+     - MAIL_SERVER_DB_PASS=R1WNGddEaIa8pi5uyMENuMACYb
      - ELASTICSEARCH_SERVER_HOST=onlyoffice-elasticsearch
      - ELASTICSEARCH_SERVER_HTTPPORT=9200
     networks:
@@ -112,12 +112,12 @@ services:
     image: onlyoffice/mailserver:1.6.75
     depends_on:
       - onlyoffice-mysql-server
-    hostname: ${MAIL_SERVER_HOSTNAME}
+    hostname: workspace.webarch.org.uk
     environment:
        - MYSQL_SERVER=onlyoffice-mysql-server
        - MYSQL_SERVER_PORT=3306
        - MYSQL_ROOT_USER=mail_admin
-       - MYSQL_ROOT_PASSWD=Isadmin123
+       - MYSQL_ROOT_PASSWD=l3bE4oTwK3EER82HU3dkZUONAV
        - MYSQL_SERVER_DB_NAME=onlyoffice_mailserver
     networks:
       - onlyoffice

And I have symlinked the edited docker compose file:

ls -lah docker-compose.yml
lrwxrwxrwx 1 root root 39 Jan 19 16:26 docker-compose.yml -> docker-compose.workspace_enterprise.yml

I haven’t followed the instruction to:

cd link-to-your-modified-docker-compose

Because there is no such directory and docker compose needs to be run from the directory that the git repo was cloned into, I don’t understand this instruction, perhaps it is a mistake?

I have started the services:

docker compose up -d

And they are running:

docker compose ps
NAME                          IMAGE                                    COMMAND                  SERVICE                       CREATED          STATUS                            PORTS
onlyoffice-community-server   onlyoffice/communityserver:12.0.1.1748   "/app/run-community-…"   onlyoffice-community-server   22 minutes ago   Restarting (246) 32 seconds ago   
onlyoffice-control-panel      onlyoffice/controlpanel:3.1.1.467        "/var/www/onlyoffice…"   onlyoffice-control-panel      22 minutes ago   Up 22 minutes                     80/tcp, 443/tcp
onlyoffice-document-server    onlyoffice/documentserver-ee:7.1.1.23    "/app/ds/run-documen…"   onlyoffice-document-server    22 minutes ago   Up 22 minutes                     80/tcp, 443/tcp
onlyoffice-elasticsearch      onlyoffice/elasticsearch:7.16.3          "/bin/tini -- /usr/l…"   onlyoffice-elasticsearch      22 minutes ago   Up 25 seconds                     9200/tcp, 9300/tcp
onlyoffice-mail-server        onlyoffice/mailserver:1.6.75             "/bin/sh -c 'export …"   onlyoffice-mail-server        22 minutes ago   Restarting (139) 48 seconds ago   
onlyoffice-mysql-server       mysql:8.0.29                             "docker-entrypoint.s…"   onlyoffice-mysql-server       22 minutes ago   Up 22 minutes                     3306/tcp, 33060/tcp

I can connect to port 80 however it doesn’t progress from displaying:

The portal start up process might take some time, please wait…
Please do not reload the page or shut down your computer.
We are working on it.

Does anyone have a suggestion regarding how I can debug / fix this install?

Hello Chris,

This compose file is installing old versions of Workspace components.
Please replace the version numbers:

  onlyoffice-community-server:
    container_name: onlyoffice-community-server
    image: onlyoffice/communityserver:12.5.2.1848
.....
  onlyoffice-document-server:
    container_name: onlyoffice-document-server
    image: onlyoffice/documentserver-ee:7.5.1.1
.....
  onlyoffice-control-panel:
    container_name: onlyoffice-control-panel
    image: onlyoffice/controlpanel:3.5.0.516

Re-deploy the Workspace and check the result.
Current versions can be found in our Dockerhub: Docker

1 Like

Thanks @Carl I have updated the images as suggested and also the MySQL image (to mysql:8.0-debian as the version originally specified was from July 2020).

I’m sorry to say however that I have the same result, the same “We are working on it.” animation and also it looks like the onlyoffice-mail-server containers keeps restarting:

docker compose ps
NAME                          IMAGE                                    COMMAND                  SERVICE                       CREATED         STATUS                           PORTS
onlyoffice-community-server   onlyoffice/communityserver:12.5.2.1848   "/app/run-community-…"   onlyoffice-community-server   6 minutes ago   Up 6 minutes                     0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 3306/tcp, 5280/tcp, 9865-9866/tcp, 9871/tcp, 9882/tcp, 0.0.0.0:5222->5222/tcp, :::5222->5222/tcp, 9888/tcp
onlyoffice-control-panel      onlyoffice/controlpanel:3.5.0.516        "/var/www/onlyoffice…"   onlyoffice-control-panel      6 minutes ago   Up 6 minutes                     80/tcp, 443/tcp
onlyoffice-document-server    onlyoffice/documentserver-ee:7.5.1.1     "/app/ds/run-documen…"   onlyoffice-document-server    6 minutes ago   Up 6 minutes                     80/tcp, 443/tcp
onlyoffice-elasticsearch      onlyoffice/elasticsearch:7.16.3          "/bin/tini -- /usr/l…"   onlyoffice-elasticsearch      6 minutes ago   Up 2 minutes                     9200/tcp, 9300/tcp
onlyoffice-mail-server        onlyoffice/mailserver:1.6.75             "/bin/sh -c 'export …"   onlyoffice-mail-server        6 minutes ago   Restarting (139) 7 seconds ago   
onlyoffice-mysql-server       mysql:8.0-debian                         "docker-entrypoint.s…"   onlyoffice-mysql-server       6 minutes ago   Up 6 minutes                     3306/tcp, 33060/tcp

Do you have any further suggestions?

Based on this GitHub thread I have adjusted the docker-compose.yml file to change the MAIL_SERVER_DB_USER, this is the diff between the original docker-compose.workspace_enterprise.yml and the docker-compose.yml I’m using (password changed):

0a1
> ---
5c6,8
<     image: mysql:8.0.29
---
>     # https://hub.docker.com/_/mysql
>     # image: mysql:8.0.29
>     image: mysql:8.0-debian
7c10
<      - MYSQL_ROOT_PASSWORD=my-secret-pw
---
>      - MYSQL_ROOT_PASSWORD=l3bE4oTwK3EER82HU3dkZUONAV
19c22,23
<     image: onlyoffice/communityserver:12.0.1.1748
---
>     # https://hub.docker.com/r/onlyoffice/communityserver/tags
>     image: onlyoffice/communityserver:12.5.2.1848
33c37
<      - MYSQL_SERVER_ROOT_PASSWORD=my-secret-pw
---
>      - MYSQL_SERVER_ROOT_PASSWORD=l3bE4oTwK3EER82HU3dkZUONAV
43,44c47,48
<      - MAIL_SERVER_DB_USER=mail_admin
<      - MAIL_SERVER_DB_PASS=Isadmin123
---
>      - MAIL_SERVER_DB_USER=root
>      - MAIL_SERVER_DB_PASS=l3bE4oTwK3EER82HU3dkZUONAV
65a70
>     # https://hub.docker.com/r/onlyoffice/elasticsearch/tags 
92c97,98
<     image: onlyoffice/documentserver-ee:7.1.1.23
---
>     # https://hub.docker.com/r/onlyoffice/documentserver-ee/tags
>     image: onlyoffice/documentserver-ee:7.5.1.1
111a118
>     # https://hub.docker.com/r/onlyoffice/mailserver/tags
115c122
<     hostname: ${MAIL_SERVER_HOSTNAME}
---
>     hostname: workspace.webarch.org.uk
119,120c126,127
<        - MYSQL_ROOT_USER=mail_admin
<        - MYSQL_ROOT_PASSWD=Isadmin123
---
>        - MYSQL_ROOT_USER=root
>        - MYSQL_ROOT_PASSWD=l3bE4oTwK3EER82HU3dkZUONAV
142c149,150
<     image: onlyoffice/controlpanel:3.1.1.467
---
>     # https://hub.docker.com/r/onlyoffice/controlpanel/tags
>     image: onlyoffice/controlpanel:3.5.0.516

The onlyoffice-mail-server has a database but it is empty, so perhaps I need to manually create the tables it requires?

docker exec -it onlyoffice-mysql-server bash

mysql -uroot -p -e "show databases"
Enter password: 
+-----------------------+
| Database              |
+-----------------------+
| information_schema    |
| mysql                 |
| onlyoffice            |
| onlyoffice_mailserver |
| performance_schema    |
| sys                   |
+-----------------------+

mysql -uroot -p -e "show tables" onlyoffice_mailserver

Or perhaps there is a more general problem – the onlyoffice-community-server, onlyoffice-elasticsearch and onlyoffice-mail-server keep restarting themselves:

docker compose ps
NAME                          IMAGE                                    COMMAND                  SERVICE                       CREATED          STATUS                            PORTS
onlyoffice-community-server   onlyoffice/communityserver:12.5.2.1848   "/app/run-community-…"   onlyoffice-community-server   13 minutes ago   Restarting (246) 13 seconds ago   
onlyoffice-control-panel      onlyoffice/controlpanel:3.5.0.516        "/var/www/onlyoffice…"   onlyoffice-control-panel      13 minutes ago   Up 13 minutes                     80/tcp, 443/tcp
onlyoffice-document-server    onlyoffice/documentserver-ee:7.5.1.1     "/app/ds/run-documen…"   onlyoffice-document-server    13 minutes ago   Up 13 minutes                     80/tcp, 443/tcp
onlyoffice-elasticsearch      onlyoffice/elasticsearch:7.16.3          "/bin/tini -- /usr/l…"   onlyoffice-elasticsearch      13 minutes ago   Up 21 seconds                     9200/tcp, 9300/tcp
onlyoffice-mail-server        onlyoffice/mailserver:1.6.75             "/bin/sh -c 'export …"   onlyoffice-mail-server        13 minutes ago   Restarting (139) 54 seconds ago   
onlyoffice-mysql-server       mysql:8.0-debian                         "docker-entrypoint.s…"   onlyoffice-mysql-server       13 minutes ago   Up 13 minutes                     3306/tcp, 33060/tcp

Please attach your docker-compose.yml file.

It is as follows (but with a different MYSQL_ROOT_PASSWORD, looking at the file some more I guess I also need to set random strings for DOCUMENT_SERVER_JWT_SECRET and ONLYOFFICE_CORE_MACHINEKEY?

---
version: '3'
services:
  onlyoffice-mysql-server:
    container_name: onlyoffice-mysql-server
    # https://hub.docker.com/_/mysql
    # image: mysql:8.0.29
    image: mysql:8.0-debian
    environment:
     - MYSQL_ROOT_PASSWORD=l3bE4oTwK3EER82HU3dkZUONAV
    networks:
     - onlyoffice
    stdin_open: true
    tty: true
    restart: always
    volumes:
     - ./config/mysql/conf.d:/etc/mysql/conf.d
     - ./config/mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
     - mysql_data:/var/lib/mysql
  onlyoffice-community-server:
    container_name: onlyoffice-community-server
    # https://hub.docker.com/r/onlyoffice/communityserver/tags
    image: onlyoffice/communityserver:12.5.2.1848
    depends_on:
     - onlyoffice-mysql-server
     - onlyoffice-document-server
     - onlyoffice-mail-server
     - onlyoffice-elasticsearch
    environment:
     - ONLYOFFICE_CORE_MACHINEKEY=core_secret
     - CONTROL_PANEL_PORT_80_TCP=80
     - CONTROL_PANEL_PORT_80_TCP_ADDR=onlyoffice-control-panel
     - DOCUMENT_SERVER_PORT_80_TCP_ADDR=onlyoffice-document-server
     - DOCUMENT_SERVER_JWT_ENABLED=true
     - DOCUMENT_SERVER_JWT_SECRET=jwt_secret
     - DOCUMENT_SERVER_JWT_HEADER=AuthorizationJwt
     - MYSQL_SERVER_ROOT_PASSWORD=l3bE4oTwK3EER82HU3dkZUONAV
     - MYSQL_SERVER_DB_NAME=onlyoffice
     - MYSQL_SERVER_HOST=onlyoffice-mysql-server
     - MYSQL_SERVER_USER=onlyoffice_user
     - MYSQL_SERVER_PASS=onlyoffice_pass
     - MAIL_SERVER_API_PORT=8081
     - MAIL_SERVER_API_HOST=onlyoffice-mail-server
     - MAIL_SERVER_DB_HOST=onlyoffice-mysql-server
     - MAIL_SERVER_DB_PORT=3306
     - MAIL_SERVER_DB_NAME=onlyoffice_mailserver
     - MAIL_SERVER_DB_USER=root
     - MAIL_SERVER_DB_PASS=l3bE4oTwK3EER82HU3dkZUONAV
     - ELASTICSEARCH_SERVER_HOST=onlyoffice-elasticsearch
     - ELASTICSEARCH_SERVER_HTTPPORT=9200
    networks:
     - onlyoffice
    ports:
     - '80:80'
     - '443:443'
     - '5222:5222'
    stdin_open: true
    tty: true
    restart: always
    privileged: true
#    cgroup: host
    volumes:
     - community_data:/var/www/onlyoffice/Data
     - community_log:/var/log/onlyoffice
     - community_letsencrypt:/etc/letsencrypt
     - document_data:/var/www/onlyoffice/DocumentServerData
     - /sys/fs/cgroup:/sys/fs/cgroup:rw
     - ./certs:/var/www/onlyoffice/Data/certs
  onlyoffice-elasticsearch:
    # https://hub.docker.com/r/onlyoffice/elasticsearch/tags 
    image: onlyoffice/elasticsearch:7.16.3
    container_name: onlyoffice-elasticsearch
    restart: always
    environment:
      - discovery.type=single-node
      - bootstrap.memory_lock=true
      - "ES_JAVA_OPTS=-Xms1g -Xmx1g -Dlog4j2.formatMsgNoLookups=true"
      - "indices.fielddata.cache.size=30%"
      - "indices.memory.index_buffer_size=30%"
      - "ingest.geoip.downloader.enabled=false"
    networks:
    - onlyoffice
    ulimits:
      memlock:
        soft: -1
        hard: -1
      nofile:
        soft: 65535
        hard: 65535
    volumes:
      - es_data:/usr/share/elasticsearch/data
    expose:
      - "9200"
      - "9300"
  onlyoffice-document-server:
    container_name: onlyoffice-document-server
    # https://hub.docker.com/r/onlyoffice/documentserver-ee/tags
    image: onlyoffice/documentserver-ee:7.5.1.1
    stdin_open: true
    tty: true
    restart: always
    environment:
     - JWT_ENABLED=true
     - JWT_SECRET=jwt_secret
     - JWT_HEADER=AuthorizationJwt
    networks:
      - onlyoffice
    expose:
      - '80'
      - '443'
    volumes:
       - document_data:/var/www/onlyoffice/Data
       - document_log:/var/log/onlyoffice
       - ./document_fonts:/usr/share/fonts/truetype/custom
       - document_forgotten:/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten
  onlyoffice-mail-server:
    container_name: onlyoffice-mail-server
    # https://hub.docker.com/r/onlyoffice/mailserver/tags
    image: onlyoffice/mailserver:1.6.75
    depends_on:
      - onlyoffice-mysql-server
    hostname: workspace.webarch.org.uk
    environment:
       - MYSQL_SERVER=onlyoffice-mysql-server
       - MYSQL_SERVER_PORT=3306
       - MYSQL_ROOT_USER=root
       - MYSQL_ROOT_PASSWD=l3bE4oTwK3EER82HU3dkZUONAV
       - MYSQL_SERVER_DB_NAME=onlyoffice_mailserver
    networks:
      - onlyoffice
    restart: always
    privileged: true
    ports: ['25:25','143:143','587:587']
    stdin_open: true
    tty: true
    expose:
      - '8081'
      - '3306'
    volumes:
      - mail_data:/var/vmail
      - mail_certs:/etc/pki/tls/mailserver
      - mail_log:/var/log
  onlyoffice-control-panel:
    container_name: onlyoffice-control-panel
    depends_on:
     - onlyoffice-document-server
     - onlyoffice-mail-server
     - onlyoffice-community-server
    # https://hub.docker.com/r/onlyoffice/controlpanel/tags
    image: onlyoffice/controlpanel:3.5.0.516
    environment:
     - ONLYOFFICE_CORE_MACHINEKEY=core_secret
    expose:
      - '80'
      - '443'
    restart: always
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - controlpanel_data:/var/www/onlyoffice/Data
      - controlpanel_log:/var/log/onlyoffice
    networks:
      - onlyoffice
    stdin_open: true
    tty: true
networks:
  onlyoffice:
    driver: 'bridge'
volumes:
  mail_data:
  mail_certs:
  mail_log:
  mail_mysql:
  document_data:
  document_log:
  document_forgotten:
  community_mysql:
  community_data:
  community_log:
  community_letsencrypt:
  controlpanel_data:
  controlpanel_log:
  mysql_data:
  es_data:

I could add your SSH public keys to an account on the server if that would help?

Hi @chris,
Please execute docker logs onlyoffice-community-server and provide the output.

Hi @Carl I started the containers and following is the results from docker logs onlyoffice-community-server, as you can see at the end there is a problem with the MySQL connection, do you have a suggestion how this can be fixed?

+ echo '##########################################################'
##########################################################
+ echo '#########  Start container configuration  ################'
#########  Start container configuration  ################
+ echo '##########################################################'
##########################################################
+ SERVER_HOST=
+ APP_DIR=/var/www/onlyoffice
+ APP_DATA_DIR=/var/www/onlyoffice/Data
+ APP_INDEX_DIR=/var/www/onlyoffice/Data/Index/v7.16.3
+ APP_PRIVATE_DATA_DIR=/var/www/onlyoffice/Data/.private
+ APP_SERVICES_DIR=/var/www/onlyoffice/Services
+ APP_CONFIG_DIR=/etc/onlyoffice/communityserver
+ APP_SQL_DIR=/var/www/onlyoffice/Sql
+ APP_ROOT_DIR=/var/www/onlyoffice/WebStudio
+ APP_APISYSTEM_DIR=/var/www/onlyoffice/ApiSystem
+ APP_GOD_DIR=/etc/god/conf.d
+ APP_MONOSERVER_PATH=/lib/systemd/system/monoserve.service
+ APP_HYPERFASTCGI_PATH=/etc/hyperfastcgi/onlyoffice
+ APP_MONOSERVE_COUNT=1
+ APP_MODE=SERVER
+ APP_CRON_DIR=/etc/cron.d
+ APP_CRON_PATH=/etc/cron.d/onlyoffice
+ LICENSE_FILE_PATH=/var/www/onlyoffice/DocumentServerData/license.lic
++ ip -o -f inet addr show
++ head -1
++ awk '/scope global/ {print $4}'
+ DOCKER_APP_SUBNET=172.19.0.6/16
++ head -1
++ awk '/inet / {gsub(/\/.*/,"",$2); print $2}'
++ ip addr show eth0
+ DOCKER_CONTAINER_IP=172.19.0.6
+ DOCKER_CONTAINER_NAME=onlyoffice-community-server
+ DOCKER_DOCUMENT_SERVER_CONTAINER_NAME=onlyoffice-document-server
+ DOCKER_ENABLED=true
+++ dirname /app/run-community-server.sh
++ cd /app
++ pwd
+ DIR=/app
+ NGINX_CONF_DIR=/etc/nginx/sites-enabled
++ cat /proc/cpuinfo
++ awk '{print $1}'
++ grep -i processor
++ grep -i processor
++ wc -l
+ CPU_PROCESSOR_COUNT=4
++ ulimit -n
+ NGINX_WORKER_CONNECTIONS=1048576
+ SERVICE_SSO_AUTH_HOST_ADDR=onlyoffice-control-panel
++ sudo sed -n '/"core.machinekey"/s!.*value\s*=\s*"\([^"]*\)".*!\1!p' /var/www/onlyoffice/WebStudio/web.appsettings.config
+ DEFAULT_APP_CORE_MACHINEKEY='Vskoproizvolny Salt par Chivreski'
+ IS_UPDATE=false
+ WORKSPACE_ENTERPRISE=false
+ '[' '!' -e /var/www/onlyoffice/Data/.private/machinekey ']'
++ head -n 1 /var/www/onlyoffice/Data/.private/machinekey
+ APP_CORE_MACHINEKEY=core_secret
++ sudo sed -n '/"version.number"/s!.*value\s*=\s*"\([^"]*\)".*!\1!p' /var/www/onlyoffice/WebStudio/web.appsettings.config
+ RELEASE_DATE=12.5.2.1848
++ CreateAuthToken 12.5.2.1848 core_secret
++ local pkey=12.5.2.1848
+++ echo -n core_secret
++ local machinekey=core_secret
++ local a=1
++ local LIMIT=10
++ '[' 1 -le 10 ']'
+++ date +%Y%m%d%H%M%S
++ local now=20240123134730
+++ openssl dgst -sha1 -binary -mac HMAC -macopt key:core_secret
+++ echo -n -e '20240123134730\n12.5.2.1848'
++ local 'authkey=$?s)κ?wea/??M?~?'
+++ echo -n '$?s)κ?wea/??M?~?'
+++ base64
++ authkey=JBa5cynOuuB3ZRYHLxOB302gfrY=
++ local 'result=ASC 12.5.2.1848:20240123134730:JBa5cynOuuB3ZRYHLxOB302gfrY='
++ a=2
+++ grep ==
+++ echo '"ASC' '12.5.2.1848:20240123134730:JBa5cynOuuB3ZRYHLxOB302gfrY="'
++ '[' -z '' ']'
++ echo 'ASC 12.5.2.1848:20240123134730:JBa5cynOuuB3ZRYHLxOB302gfrY='
++ exit 0
+ RELEASE_DATE_SIGN='ASC 12.5.2.1848:20240123134730:JBa5cynOuuB3ZRYHLxOB302gfrY='
+ sed -i '/version.release-date.sign/s!value="[^"]*"!value=\"ASC 12.5.2.1848:20240123134730:JBa5cynOuuB3ZRYHLxOB302gfrY=\"!g' /var/www/onlyoffice/WebStudio/web.appsettings.config
++ head -n 1 /var/www/onlyoffice/Data/.private/release_date
+ PREV_RELEASE_DATE=12.5.2.1848
+ '[' 12.5.2.1848 '!=' 12.5.2.1848 ']'
+ chmod -R 444 /var/www/onlyoffice/Data/.private
+ cat /proc/1/cgroup
+ grep -qE 'docker|lxc|kubepods|libpod'
+ DOCKER_ENABLED=false
+ '[' '!' -d /etc/nginx/sites-enabled ']'
+ '[' '!' -d /var/www/onlyoffice/DocumentServerData ']'
+ NGINX_ROOT_DIR=/etc/nginx
+ VALID_IP_ADDRESS_REGEX='^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$'
+ LOG_DEBUG=
+ LOG_DIR=/var/log/onlyoffice/
+ APP_HTTPS=false
+ SSL_CERTIFICATES_DIR=/var/www/onlyoffice/Data/certs
+ SSL_CERTIFICATE_PATH=/var/www/onlyoffice/Data/certs/onlyoffice.crt
+ SSL_KEY_PATH=/var/www/onlyoffice/Data/certs/onlyoffice.key
+ SSL_CERTIFICATE_PATH_PFX=/var/www/onlyoffice/Data/certs/onlyoffice.pfx
+ SSL_CERTIFICATE_PATH_PFX_PWD=onlyoffice
+ SSL_DHPARAM_PATH=/var/www/onlyoffice/Data/certs/dhparam.pem
+ SSL_VERIFY_CLIENT=off
+ SSL_OCSP_CERTIFICATE_PATH=/var/www/onlyoffice/Data/certs/stapling.trusted.crt
+ CA_CERTIFICATES_PATH=/var/www/onlyoffice/Data/certs/ca.crt
+ APP_HTTPS_HSTS_ENABLED=true
+ APP_HTTPS_HSTS_MAXAGE=63072000
+ SYSCONF_TEMPLATES_DIR=/app/config
+ mkdir -p /app/config/nginx
+ SYSCONF_TOOLS_DIR=/app/assets/tools
+ APP_SERVICES_INTERNAL_HOST=
+ APP_SERVICES_EXTERNAL=false
+ DOCUMENT_SERVER_ENABLED=false
+ DOCUMENT_SERVER_JWT_ENABLED=true
+ DOCUMENT_SERVER_JWT_SECRET=jwt_secret
+ DOCUMENT_SERVER_JWT_HEADER=AuthorizationJwt
+ DOCUMENT_SERVER_HOST=
+ DOCUMENT_SERVER_PROTOCOL=http
+ DOCUMENT_SERVER_API_URL=
+ DOCUMENT_SERVER_HOST_IP=
+ CONTROL_PANEL_ENABLED=false
+ MAIL_SERVER_ENABLED=false
+ MYSQL_SERVER_ROOT_PASSWORD=l3bE4oTwK3EER82HU3dkZUONAV
+ MYSQL_SERVER_HOST=onlyoffice-mysql-server
+ MYSQL_SERVER_PORT=3306
+ MYSQL_SERVER_DB_NAME=onlyoffice
+ MYSQL_SERVER_USER=onlyoffice_user
+ MYSQL_SERVER_PASS=onlyoffice_pass
+ MYSQL_SERVER_EXTERNAL=false
+ mkdir -p /var/www/onlyoffice/Data/certs/.well-known/acme-challenge
+ '[' 172.19.0.6/16 ']'
++ normalize_subnet 172.19.0.6/16
++ local 'IPRE=\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)'
+++ sed -ne 's:^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)/.*$:\1 \2 \3 \4:p'
+++ echo 172.19.0.6/16
++ IP=('172' '19' '0' '6')
++ local IP
+++ echo 172.19.0.6/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)$:\1 \2 \3 \4:p'
++ MASK=()
++ local MASK
++ '[' 0 -ne 4 ']'
+++ echo 172.19.0.6/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'
++ BITCNT=('16')
++ local BITCNT
++ BITCNT=4294901760
++ (( I=0 ))
++ (( I<4 ))
++ MASK[$I]=255
++ (( I++  ))
++ (( I<4 ))
++ MASK[$I]=255
++ (( I++  ))
++ (( I<4 ))
++ MASK[$I]=0
++ (( I++  ))
++ (( I<4 ))
++ MASK[$I]=0
++ (( I++  ))
++ (( I<4 ))
++ NETWORK=()
++ local NETWORK
++ (( I=0 ))
++ (( I<4 ))
++ NETWORK[$I]=172
++ (( I++  ))
++ (( I<4 ))
++ NETWORK[$I]=19
++ (( I++  ))
++ (( I<4 ))
++ NETWORK[$I]=0
++ (( I++  ))
++ (( I<4 ))
++ NETWORK[$I]=0
++ (( I++  ))
++ (( I<4 ))
+++ echo 172.19.0.6/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'
++ local IP_MASK=16
++ echo 172.19.0.0/16
+ DOCKER_APP_SUBNET=172.19.0.0/16
+ check_partnerdata
+ PARTNER_DATA_FILE=/var/www/onlyoffice/Data/json-data.txt
+ '[' -f /var/www/onlyoffice/Data/json-data.txt ']'
+ re='^[0-9]+$'
+ [[ 1 =~ ^[0-9]+$ ]]
+ '[' '!' -f /proc/net/if_inet6 ']'
+ cp /etc/nginx/includes/onlyoffice-communityserver-nginx.conf.template /etc/nginx/nginx.conf
+ sed 's/^worker_processes.*/worker_processes 4;/' -i /etc/nginx/nginx.conf
+ sed 's/worker_connections.*/worker_connections 1048576;/' -i /etc/nginx/nginx.conf
+ cp /etc/nginx/includes/onlyoffice-communityserver-common-init.conf.template /etc/nginx/sites-enabled/onlyoffice
+ '[' -f /var/www/onlyoffice/Data/certs/onlyoffice.crt -a -f /var/www/onlyoffice/Data/certs/onlyoffice.key ']'
+ sed '/{{SSL_CERTIFICATE_PATH}}/d' -i /etc/nginx/sites-enabled/onlyoffice
+ sed '/{{SSL_KEY_PATH}}/d' -i /etc/nginx/sites-enabled/onlyoffice
+ sed '/listen\s*443/d' -i /etc/nginx/sites-enabled/onlyoffice
+ rm -f '/etc/nginx/conf.d/*.conf'
+ service nginx restart
 * Restarting nginx nginx       e[80G 
e[74G[ OK ]
++ free -m
++ head -n 1
++ grep -oP '\d+'
+ TOTAL_MEMORY=11977
+ MEMORY_REQUIREMENTS=12228
+ '[' 11977 -gt 12228 ']'
+ '[' ']'
+ '[' ']'
+ '[' onlyoffice-document-server ']'
+ DOCUMENT_SERVER_ENABLED=true
+ DOCUMENT_SERVER_HOST=onlyoffice-document-server
+ DOCUMENT_SERVER_API_URL='\/ds-vpath'
+ '[' true == true ']'
+ '[' 172.19.0.0/16 ']'
+ '[' -z '' ']'
++ dig +short onlyoffice-document-server
+ DOCUMENT_SERVER_HOST_IP=172.19.0.2
+ check_ip_is_internal 172.19.0.0/16 172.19.0.2
+ local 'IPRE=\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)'
++ sed -ne 's:^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)/.*$:\1 \2 \3 \4:p'
++ echo 172.19.0.0/16
+ IP=('172' '19' '0' '0')
+ local IP
++ echo 172.19.0.0/16
++ sed -ne 's:^[^/]*/\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)$:\1 \2 \3 \4:p'
+ MASK=()
+ local MASK
+ '[' 0 -ne 4 ']'
++ echo 172.19.0.0/16
++ sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'
+ BITCNT=('16')
+ local BITCNT
+ BITCNT=4294901760
+ (( I=0 ))
+ (( I<4 ))
+ MASK[$I]=255
+ (( I++  ))
+ (( I<4 ))
+ MASK[$I]=255
+ (( I++  ))
+ (( I<4 ))
+ MASK[$I]=0
+ (( I++  ))
+ (( I<4 ))
+ MASK[$I]=0
+ (( I++  ))
+ (( I<4 ))
+ NETWORK=()
+ local NETWORK
+ (( I=0 ))
+ (( I<4 ))
+ NETWORK[$I]=172
+ (( I++  ))
+ (( I<4 ))
+ NETWORK[$I]=19
+ (( I++  ))
+ (( I<4 ))
+ NETWORK[$I]=0
+ (( I++  ))
+ (( I<4 ))
+ NETWORK[$I]=0
+ (( I++  ))
+ (( I<4 ))
++ echo 172.19.0.2
++ sed -ne 's:^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)$:\1 \2 \3 \4:p'
+ INIP=('172' '19' '0' '2')
+ local INIP
+ (( I=0 ))
+ (( I<4 ))
+ [[ 172 -ne 172 ]]
+ (( I++  ))
+ (( I<4 ))
+ [[ 19 -ne 19 ]]
+ (( I++  ))
+ (( I<4 ))
+ [[ 0 -ne 0 ]]
+ (( I++  ))
+ (( I<4 ))
+ [[ 0 -ne 0 ]]
+ (( I++  ))
+ (( I<4 ))
+ return 0
++ dig +short onlyoffice-community-server
+ _DOCKER_CONTAINER_IP=172.19.0.6
+ '[' 172.19.0.6 == 172.19.0.6 ']'
+ SERVER_HOST=onlyoffice-community-server
+ '[' false == true ']'
+ '[' onlyoffice-mysql-server '!=' localhost ']'
+ '[' onlyoffice-mysql-server '!=' 127.0.0.1 ']'
+ MYSQL_SERVER_EXTERNAL=true
+ '[' ']'
+ '[' 80 ']'
+ CONTROL_PANEL_ENABLED=true
+ MAIL_SERVER_API_PORT=8081
+ MAIL_SERVER_API_HOST=onlyoffice-mail-server
+ MAIL_SERVER_DB_HOST=onlyoffice-mysql-server
+ MAIL_SERVER_DB_PORT=3306
+ MAIL_SERVER_DB_NAME=onlyoffice_mailserver
+ MAIL_SERVER_DB_USER=root
+ MAIL_SERVER_DB_PASS=l3bE4oTwK3EER82HU3dkZUONAV
+ '[' onlyoffice-mysql-server ']'
+ MAIL_SERVER_ENABLED=true
+ '[' -z onlyoffice-mail-server ']'
+ [[ ! onlyoffice-mail-server =~ ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$ ]]
++ dig +short onlyoffice-mail-server
+ MAIL_SERVER_API_HOST=172.19.0.5
+ '[' -z 172.19.0.5 ']'
++ date +%Y-%m-%dT%H:%M:%S
+ MAIL_IMAPSYNC_START_DATE=2024-01-23T13:47:32
+ sed 's_\(\"ImapSyncStartDate":\).*,_\1 "2024-01-23T13:47:32",_' -i /etc/onlyoffice/communityserver/mail.production.json
+ sed '/mail\.imap-sync-start-date/s/value="\S*"/value="2024-01-23T13:47:32"/g' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ '[' 172.19.0.5 ']'
+ '[' '!' bash /app/assets/tools/wait-for-it.sh 172.19.0.5:25 --timeout=300 --quiet -s -- echo 'MailServer is up' ']'
/app/run-community-server.sh: line 439: [: too many arguments
+ REDIS_SERVER_HOST=
+ REDIS_SERVER_CACHEPORT=6379
+ REDIS_SERVER_PASSWORD=
+ REDIS_SERVER_SSL=false
+ REDIS_SERVER_DATABASE=0
+ REDIS_SERVER_CONNECT_TIMEOUT=5000
+ REDIS_SERVER_EXTERNAL=false
+ REDIS_SERVER_SYNC_TIMEOUT=60000
+ '[' ']'
+ '[' false == false ']'
+ '[' -e /etc/redis/redis.conf ']'
+ sed -i 's/bind .*/bind 127.0.0.1/g' /etc/redis/redis.conf
+ ELASTICSEARCH_SERVER_HOST=onlyoffice-elasticsearch
+ ELASTICSEARCH_SERVER_HTTPPORT=9200
+ grep -q '<section name="elastic" type="ASC.ElasticSearch.Config.ElasticSection, ASC.ElasticSearch" />' /var/www/onlyoffice/WebStudio/Web.config
+ '[' onlyoffice-elasticsearch ']'
+ sed -i '/<section name="redisCacheClient" type="StackExchange.Redis.Extensions.LegacyConfiguration.RedisCachingSectionHandler, StackExchange.Redis.Extensions.LegacyConfiguration" \/>/a <section name="elastic" type="ASC.ElasticSearch.Config.ElasticSection, ASC.ElasticSearch" \/>' /var/www/onlyoffice/WebStudio/Web.config
+ sed -i 's/<section name="elastic" type="ASC.ElasticSearch.Config.ElasticSection, ASC.ElasticSearch" \/>/    <section name="elastic" type="ASC.ElasticSearch.Config.ElasticSection, ASC.ElasticSearch" \/>/' /var/www/onlyoffice/WebStudio/Web.config
+ sed -i '/<section name="redisCacheClient" type="StackExchange.Redis.Extensions.LegacyConfiguration.RedisCachingSectionHandler, StackExchange.Redis.Extensions.LegacyConfiguration" \/>/a <section name="elastic" type="ASC.ElasticSearch.Config.ElasticSection, ASC.ElasticSearch" \/>' /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ sed -i 's/<section name="elastic" type="ASC.ElasticSearch.Config.ElasticSection, ASC.ElasticSearch" \/>/    <section name="elastic" type="ASC.ElasticSearch.Config.ElasticSection, ASC.ElasticSearch" \/>/' /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ '[' 9200 ']'
+ sed -i '/<\/configSections>/a <elastic scheme="http" host="onlyoffice-elasticsearch" port="9200" \/>' /var/www/onlyoffice/WebStudio/Web.config
+ sed -i 's/<elastic scheme="http" host="onlyoffice-elasticsearch" port="9200" \/>/  <elastic scheme="http" host="onlyoffice-elasticsearch" port="9200" \/>/' /var/www/onlyoffice/WebStudio/Web.config
+ sed -i '/<\/configSections>/a <elastic scheme="http" host="onlyoffice-elasticsearch" port="9200" \/>' /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ sed -i 's/<elastic scheme="http" host="onlyoffice-elasticsearch" port="9200" \/>/  <elastic scheme="http" host="onlyoffice-elasticsearch" port="9200" \/>/' /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ sed -i 's/"Host": "127.0.0.1"/"Host": "onlyoffice-elasticsearch"/g' /etc/onlyoffice/communityserver/elastic.production.json
+ sed -i 's/"Port": "9200"/"Port": "9200"/g' /etc/onlyoffice/communityserver/elastic.production.json
+ '[' true == false ']'
+ service mysql stop
 * Stopping MySQL database server mysqld       e[80G 
e[74G[ OK ]
+ systemctl disable mysql.service
Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable mysql
Removed /etc/systemd/system/multi-user.target.wants/mysql.service.
+ mysql_check_connection
+ '[' ']'
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
++ mysql_scalar_exec 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\''' opt_ignore_db_name
++ local queryResult=
++ '[' opt_ignore_db_name == opt_ignore_db_name ']'
+++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -e 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\'''
mysql: [Warning] Using a password on the command line interface can be insecure.
++ queryResult=onlyoffice
++ echo onlyoffice
+ DB_IS_EXIST=onlyoffice
++ mysql_scalar_exec 'SELECT DEFAULT_CHARACTER_SET_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\''' opt_ignore_db_name
++ local queryResult=
++ '[' opt_ignore_db_name == opt_ignore_db_name ']'
+++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -e 'SELECT DEFAULT_CHARACTER_SET_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\'''
mysql: [Warning] Using a password on the command line interface can be insecure.
++ queryResult=utf8mb3
++ echo utf8mb3
+ DB_CHARACTER_SET_NAME=utf8mb3
++ mysql_scalar_exec 'SELECT DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\''' opt_ignore_db_name
++ local queryResult=
++ '[' opt_ignore_db_name == opt_ignore_db_name ']'
+++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -e 'SELECT DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\'''
mysql: [Warning] Using a password on the command line interface can be insecure.
++ queryResult=utf8mb3_general_ci
++ echo utf8mb3_general_ci
+ DB_COLLATION_NAME=utf8mb3_general_ci
++ mysql_scalar_exec 'SELECT COUNT(*) FROM information_schema.tables WHERE table_schema='\''onlyoffice'\'''
++ local queryResult=
++ '[' '' == opt_ignore_db_name ']'
+++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -D onlyoffice -e 'SELECT COUNT(*) FROM information_schema.tables WHERE table_schema='\''onlyoffice'\'''
mysql: [Warning] Using a password on the command line interface can be insecure.
++ queryResult=206
++ echo 206
+ DB_TABLES_COUNT=206
+ '[' -z onlyoffice ']'
+ '[' utf8mb3 '!=' utf8 ']'
+ mysql_scalar_exec 'ALTER DATABASE onlyoffice CHARACTER SET utf8 COLLATE utf8_general_ci'
+ local queryResult=
+ '[' '' == opt_ignore_db_name ']'
++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -D onlyoffice -e 'ALTER DATABASE onlyoffice CHARACTER SET utf8 COLLATE utf8_general_ci'
mysql: [Warning] Using a password on the command line interface can be insecure.
+ queryResult=
+ echo

+ change_connections default /var/www/onlyoffice/WebStudio/web.connections.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/WebStudio/web.connections.config
+ change_connections teamlabsite /var/www/onlyoffice/WebStudio/web.connections.config
+ sed '/teamlabsite/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/WebStudio/web.connections.config
+ change_connections default /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ change_connections default /var/www/onlyoffice/Services/Jabber/ASC.Xmpp.Server.Launcher.exe.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/Services/Jabber/ASC.Xmpp.Server.Launcher.exe.config
+ change_connections default /var/www/onlyoffice/ApiSystem/Web.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/ApiSystem/Web.config
+ find /var/www/onlyoffice/Services/ASC.UrlShortener/config -type f -name '*.json' -exec sed -i -e 's!\("host":\).*,!\1 "onlyoffice-mysql-server",!' -e 's!\("user":\).*,!\1 "onlyoffice_user",!' -e 's!\("password":\).*,!\1 "onlyoffice_pass",!' -e 's!\("database":\).*!\1 "onlyoffice"!' '{}' ';'
+ sed -i 's/Server=.*/Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;",/g' /etc/onlyoffice/communityserver/appsettings.production.json
+ '[' 206 -eq 0 ']'
+ '[' false == true ']'
+ mysql_scalar_exec 'DELETE FROM webstudio_settings WHERE id='\''5C699566-34B1-4714-AB52-0E82410CE4E5'\'';'
+ local queryResult=
+ '[' '' == opt_ignore_db_name ']'
++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -D onlyoffice -e 'DELETE FROM webstudio_settings WHERE id='\''5C699566-34B1-4714-AB52-0E82410CE4E5'\'';'
mysql: [Warning] Using a password on the command line interface can be insecure.
+ queryResult=
+ echo

+ '[' -f /var/www/onlyoffice/Data/certs/onlyoffice.crt -a -f /var/www/onlyoffice/Data/certs/onlyoffice.key ']'
+ cp /etc/nginx/includes/onlyoffice-communityserver-common.conf.template /app/config/nginx/prepare-onlyoffice
+ sed -i 1d /etc/logrotate.d/nginx
+ sed '1 i\/var/log/nginx/*.log /var/log/onlyoffice/nginx.*.log {' -i /etc/logrotate.d/nginx
+ '[' 172.19.0.0/16 ']'
+ sed 's,{{DOCKER_APP_SUBNET}},172.19.0.0/16,' -i /app/config/nginx/prepare-onlyoffice
+ '[' ']'
+ '[' true == true ']'
+ sed '/files\.docservice\.secret/s!\(value\s*=\s*\"\)[^\"]*\"!\1jwt_secret\"!' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/files\.docservice\.secret.header/s!\(value\s*=\s*\"\)[^\"]*\"!\1AuthorizationJwt\"!' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/files\.docservice\.secret/s!\(value\s*=\s*\"\)[^\"]*\"!\1jwt_secret\"!' -i /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ sed '/files\.docservice\.secret.header/s!\(value\s*=\s*\"\)[^\"]*\"!\1AuthorizationJwt\"!' -i /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ '[' true == true ']'
+ cp /etc/nginx/includes/onlyoffice-communityserver-proxy-to-documentserver.conf.template /etc/nginx/includes/onlyoffice-communityserver-proxy-to-documentserver.conf
+ sed 's,{{DOCUMENT_SERVER_HOST_ADDR}},http:\/\/onlyoffice-document-server,' -i /etc/nginx/includes/onlyoffice-communityserver-proxy-to-documentserver.conf
+ sed '/files\.docservice\.url\.internal/s!\(value\s*=\s*\"\)[^\"]*\"!\1http:\/\/onlyoffice-document-server\/\"!' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/files\.docservice\.url\.public/s!\(value\s*=\s*\"\)[^\"]*\"!\1\/ds-vpath\/\"!' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/files\.docservice\.url\.internal/s!\(value\s*=\s*\"\)[^\"]*\"!\1http:\/\/onlyoffice-document-server\/\"!' -i /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ sed '/files\.docservice\.url\.public/s!\(value\s*=\s*\"\)[^\"]*\"!\1\/ds-vpath\/\"!' -i /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ '[' -n 172.19.0.0/16 ']'
+ '[' -n onlyoffice-community-server ']'
+ sed '/files\.docservice\.url\.portal/s!\(value\s*=\s*\"\)[^\"]*\"!\1http:\/\/onlyoffice-community-server\"!' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/files\.docservice\.url\.portal/s!\(value\s*=\s*\"\)[^\"]*\"!\1http:\/\/onlyoffice-community-server\"!' -i /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ '[' false == true ']'
+ '[' true == true ']'
+ timeout=120
+ interval=10
+ '[' 10 -lt 120 ']'
+ interval=20
++ mysql --silent --skip-column-names -h onlyoffice-mysql-server --port=3306 -u root --password=l3bE4oTwK3EER82HU3dkZUONAV -D onlyoffice_mailserver -e 'SELECT Comment from greylisting_whitelist where Source='\''SenderIP:172.19.0.5'\'' limit 1;'
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'onlyoffice-community-server.docker-communityserver_onlyoffice' (using password: YES)
+ MAIL_SERVER_HOSTNAME=
+ [[ 1 -eq 0 ]]
+ sleep 10

Do you have a working docker-compose.yml file you could share? I’m not the only one struggling with this, see this GitHub thread.

@chris As you are changing the default passwords in your yml file, you also need to change them accordingly in the database initialization script:

You also need to create a different user for the Mail Server instead of root in Community Server environment variables:

 - MAIL_SERVER_DB_USER=some_user
 - MAIL_SERVER_DB_PASS=some_custom_password

Don’t forget to clean the existing docker volumes before re-launching the yml file as the database with default credentials is already created on your server and you need to remove it.

1 Like

Also please pay attention to this:

1 Like

I’ve written a grub Ansible role to automate sorting out the issue with [vsyscall], this results in:

cat /proc/self/maps | egrep 'vdso|vsyscall'
7ffc8aaac000-7ffc8aaae000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

I have written a ONLYOFFICE Workspace Ansible role to manage the git repo and docker-compose.yml file and to get the services up and running.

In another Ansible repo I have the all the roles necessary roles included so the development / testing server can be fully provisioned without any manual input.

I have set all the passwords to the same defaults, so when comparing the docker-compose.yml file that is in use with the docker-compose.workspace_enterprise.yml there are very few differences, specifically:

cat /opt/Docker-CommunityServer/docker-compose.workspace_enterprise.yml | yq -o=json -P | jq -S > /tmp/docker-compose.workspace_enterprise.yml
cat /opt/Docker-CommunityServer/docker-compose.yml | yq -o=json -P | jq -S > /tmp/docker-compose.json
diff /tmp/docker-compose.json /tmp/docker-compose.workspace_enterprise.yml
9d8
<       "cgroup": "host",
18c17
<         "ONLYOFFICE_CORE_MACHINEKEY=\"core_secret\"",
---
>         "ONLYOFFICE_CORE_MACHINEKEY=core_secret",
23c22
<         "DOCUMENT_SERVER_JWT_SECRET=\"jwt_secret\"",
---
>         "DOCUMENT_SERVER_JWT_SECRET=jwt_secret",
25c24
<         "MYSQL_SERVER_ROOT_PASSWORD=\"my-secret-pw\"",
---
>         "MYSQL_SERVER_ROOT_PASSWORD=my-secret-pw",
29c28
<         "MYSQL_SERVER_PASS=\"onlyoffice_pass\"",
---
>         "MYSQL_SERVER_PASS=onlyoffice_pass",
36c35
<         "MAIL_SERVER_DB_PASS=\"Isadmin123\"",
---
>         "MAIL_SERVER_DB_PASS=Isadmin123",
40c39
<       "image": "onlyoffice/communityserver:12.5.2.1848",
---
>       "image": "onlyoffice/communityserver:12.0.1.1748",
70c69
<         "ONLYOFFICE_CORE_MACHINEKEY=\"core_secret\""
---
>         "ONLYOFFICE_CORE_MACHINEKEY=core_secret"
76c75
<       "image": "onlyoffice/controlpanel:3.5.0.516",
---
>       "image": "onlyoffice/controlpanel:3.1.1.467",
93c92
<         "JWT_SECRET=\"jwt_secret\"",
---
>         "JWT_SECRET=jwt_secret",
100c99
<       "image": "onlyoffice/documentserver-ee:7.5.1.1",
---
>       "image": "onlyoffice/documentserver-ee:7.1.1.23",
156c155
<         "MYSQL_ROOT_PASSWD=\"Isadmin123\"",
---
>         "MYSQL_ROOT_PASSWD=Isadmin123",
163c162
<       "hostname": "workspace.webarch.org.uk",
---
>       "hostname": "${MAIL_SERVER_HOSTNAME}",
186c185
<         "MYSQL_ROOT_PASSWORD=\"my-secret-pw\""
---
>         "MYSQL_ROOT_PASSWORD=my-secret-pw"
188c187
<       "image": "mysql:8.0-debian",
---
>       "image": "mysql:8.0.29",

As you can see in the diff above the only differences between the files are the image versions, the quoting and the hostname.

The containers are running:

docker compose ps
NAME                          IMAGE                                    COMMAND                  SERVICE                       CREATED       STATUS          PORTS
onlyoffice-community-server   onlyoffice/communityserver:12.5.2.1848   "/app/run-community-…"   onlyoffice-community-server   2 hours ago   Up 7 minutes    0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 3306/tcp, 5280/tcp, 9865-9866/tcp, 9871/tcp, 9882/tcp, 0.0.0.0:5222->5222/tcp, :::5222->5222/tcp, 9888/tcp
onlyoffice-control-panel      onlyoffice/controlpanel:3.5.0.516        "/var/www/onlyoffice…"   onlyoffice-control-panel      2 hours ago   Up 7 minutes    80/tcp, 443/tcp
onlyoffice-document-server    onlyoffice/documentserver-ee:7.5.1.1     "/app/ds/run-documen…"   onlyoffice-document-server    2 hours ago   Up 7 minutes    80/tcp, 443/tcp
onlyoffice-elasticsearch      onlyoffice/elasticsearch:7.16.3          "/bin/tini -- /usr/l…"   onlyoffice-elasticsearch      2 hours ago   Up 26 seconds   9200/tcp, 9300/tcp
onlyoffice-mail-server        onlyoffice/mailserver:1.6.75             "/bin/sh -c 'export …"   onlyoffice-mail-server        2 hours ago   Up 7 minutes    0.0.0.0:25->25/tcp, :::25->25/tcp, 0.0.0.0:143->143/tcp, :::143->143/tcp, 465/tcp, 993/tcp, 995/tcp, 3306/tcp, 4190/tcp, 0.0.0.0:587->587/tcp, :::587->587/tcp, 8081/tcp
onlyoffice-mysql-server       mysql:8.0-debian                         "docker-entrypoint.s…"   onlyoffice-mysql-server       2 hours ago   Up 7 minutes    3306/tcp, 33060/tcp

The ports are open, checking from another server:

nmap workspace.webarch.org.uk
Starting Nmap 7.93 ( https://nmap.org ) at 2024-01-24 20:23 GMT
Nmap scan report for workspace.webarch.org.uk (81.95.52.75)
Host is up (0.0018s latency).
Not shown: 998 closed tcp ports (conn-refused)
PORT   STATE SERVICE
22/tcp open  ssh
80/tcp open  http

Nmap done: 1 IP address (1 host up) scanned in 0.25 seconds

However I’m back with the same issue of the start up screen displaying:

The portal start up process might take some time, please wait…
Please do not reload the page or shut down your computer.
We are working on it.

Clearly I have done something wrong, there appears to be no onlyoffice Docker network running:

docker network inspect onlyoffice
[]
Error response from daemon: network onlyoffice not found

But there is a network runnng:

docker network ls
NETWORK ID     NAME                                DRIVER    SCOPE
da6f0f493bd1   bridge                              bridge    local
e91897a3f3a1   docker-communityserver_onlyoffice   bridge    local
9cfea84459ab   host                                host      local
93a979be7b3f   none                                null      local

And the containers can connect with each other:

docker exec -it onlyoffice-community-server bash
wget onlyoffice-mysql-server
--2024-01-24 18:46:27--  http://onlyoffice-mysql-server/
Resolving onlyoffice-mysql-server (onlyoffice-mysql-server)... 172.18.0.3
Connecting to onlyoffice-mysql-server (onlyoffice-mysql-server)|172.18.0.3|:80... failed: Connection refused.

But I can’t connect to MySQL:

docker exec -it onlyoffice-community-server mysql -h onlyoffice-mysql-server -uonlyoffice_user -ponlyoffice_pass
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2005 (HY000): Unknown MySQL server host 'onlyoffice-mysql-server' (-2)

I expect I have made some mistakes somewhere, perhaps these will be clear with fresh eyes tomorrow…

In case you can help debug this @Carl I have added an account for you and added your SSH public key, you should be able to login like this:

ssh carl@workspace.webarch.org.uk

You have sudo and the git repo is in /opt/Docker-CommunityServer.

I’ll pick this up again tomorrow…

Hello Chris,
Please use the mysql:8.0.29 image in your compose file instead of mysql:8.0-debian. I’m able to successfully deploy the Workspace with this yml file: ---version: '3'services: onlyoffice-mysql-server: container_name: on - Pastebin.com

1 Like

I have set all the passwords to the defaults and the only changes are to make the use of white space consistent (so yamllint doesn’t complain) and to incorporate the container versions from the comment above, I have rebuilt the server fron scratch using this YAML for Docker Compose, but I’m afraid that I still have the same message:

The portal start up process might take some time, please wait…
Please do not reload the page or shut down your computer.
We are working on it.

Diffing the pastbin file and the docker-compose.yml that is in use:

cd /tmp
wget https://pastebin.com/raw/h7iEeFYG -O docker-compose_pastebin.yml
cat docker-compose_pastebin.yml | yq -o=json -P | jq -S > docker-compose_pastebin.json
cat /opt/Docker-CommunityServer/docker-compose.yml | yq -o=json -P | jq -S > docker-compose_running.json
diff docker-compose_pastebin.json docker-compose_running.json
25c25
<         "MYSQL_SERVER_ROOT_PASSWORD=l3bE4oTwK3EER82HU3dkZUONAV",
---
>         "MYSQL_SERVER_ROOT_PASSWORD=my-secret-pw",
36c36
<         "MAIL_SERVER_DB_PASS=l3bE4oTwK3EER82HU3dkZUONAV_mail",
---
>         "MAIL_SERVER_DB_PASS=Isadmin123",
155,156c155,156
<         "MYSQL_ROOT_USER=root",
<         "MYSQL_ROOT_PASSWD=l3bE4oTwK3EER82HU3dkZUONAV",
---
>         "MYSQL_ROOT_USER=mail_admin",
>         "MYSQL_ROOT_PASSWD=Isadmin123",
186c186
<         "MYSQL_ROOT_PASSWORD=l3bE4oTwK3EER82HU3dkZUONAV"
---
>         "MYSQL_ROOT_PASSWORD=my-secret-pw"

The containers are running:

docker compose ps
NAME                          IMAGE                                    COMMAND                  SERVICE                       CREATED          STATUS                          PORTS
onlyoffice-community-server   onlyoffice/communityserver:12.5.2.1848   "/app/run-community-…"   onlyoffice-community-server   31 minutes ago   Up 31 minutes                   0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 3306/tcp, 5280/tcp, 9865-9866/tcp, 9871/tcp, 9882/tcp, 0.0.0.0:5222->5222/tcp, :::5222->5222/tcp, 9888/tcp
onlyoffice-control-panel      onlyoffice/controlpanel:3.5.0.516        "/var/www/onlyoffice…"   onlyoffice-control-panel      31 minutes ago   Up 31 minutes                   80/tcp, 443/tcp
onlyoffice-document-server    onlyoffice/documentserver-ee:7.5.1.1     "/app/ds/run-documen…"   onlyoffice-document-server    32 minutes ago   Up 31 minutes                   80/tcp, 443/tcp
onlyoffice-elasticsearch      onlyoffice/elasticsearch:7.16.3          "/bin/tini -- /usr/l…"   onlyoffice-elasticsearch      32 minutes ago   Up 54 seconds                   9200/tcp, 9300/tcp
onlyoffice-mail-server        onlyoffice/mailserver:1.6.75             "/bin/sh -c 'export …"   onlyoffice-mail-server        32 minutes ago   Up 31 minutes                   0.0.0.0:25->25/tcp, :::25->25/tcp, 0.0.0.0:143->143/tcp, :::143->143/tcp, 465/tcp, 993/tcp, 995/tcp, 3306/tcp, 4190/tcp, 0.0.0.0:587->587/tcp, :::587->587/tcp, 8081/tcp
onlyoffice-mysql-server       mysql:8.0.29                             "docker-entrypoint.s…"   onlyoffice-mysql-server       32 minutes ago   Restarting (1) 20 seconds ago   

But as you can see from the above the onlyoffice-elasticsearch and onlyoffice-mail-server containers keep restarting.

The other tests suggested in this thread:

docker logs onlyoffice-community-server
+ echo '##########################################################'
##########################################################
+ echo '#########  Start container configuration  ################'
#########  Start container configuration  ################
+ echo '##########################################################'
##########################################################
+ SERVER_HOST=
+ APP_DIR=/var/www/onlyoffice
+ APP_DATA_DIR=/var/www/onlyoffice/Data
+ APP_INDEX_DIR=/var/www/onlyoffice/Data/Index/v7.16.3
+ APP_PRIVATE_DATA_DIR=/var/www/onlyoffice/Data/.private
+ APP_SERVICES_DIR=/var/www/onlyoffice/Services
+ APP_CONFIG_DIR=/etc/onlyoffice/communityserver
+ APP_SQL_DIR=/var/www/onlyoffice/Sql
+ APP_ROOT_DIR=/var/www/onlyoffice/WebStudio
+ APP_APISYSTEM_DIR=/var/www/onlyoffice/ApiSystem
+ APP_GOD_DIR=/etc/god/conf.d
+ APP_MONOSERVER_PATH=/lib/systemd/system/monoserve.service
+ APP_HYPERFASTCGI_PATH=/etc/hyperfastcgi/onlyoffice
+ APP_MONOSERVE_COUNT=1
+ APP_MODE=SERVER
+ APP_CRON_DIR=/etc/cron.d
+ APP_CRON_PATH=/etc/cron.d/onlyoffice
+ LICENSE_FILE_PATH=/var/www/onlyoffice/DocumentServerData/license.lic
++ ip -o -f inet addr show
++ awk '/scope global/ {print $4}'
++ head -1
+ DOCKER_APP_SUBNET=172.18.0.6/16
++ ip addr show eth0
++ awk '/inet / {gsub(/\/.*/,"",$2); print $2}'
++ head -1
+ DOCKER_CONTAINER_IP=172.18.0.6
+ DOCKER_CONTAINER_NAME=onlyoffice-community-server
+ DOCKER_DOCUMENT_SERVER_CONTAINER_NAME=onlyoffice-document-server
+ DOCKER_ENABLED=true
+++ dirname /app/run-community-server.sh
++ cd /app
++ pwd
+ DIR=/app
+ NGINX_CONF_DIR=/etc/nginx/sites-enabled
++ cat /proc/cpuinfo
++ grep -i processor
++ grep -i processor
++ awk '{print $1}'
++ wc -l
+ CPU_PROCESSOR_COUNT=1
++ ulimit -n
+ NGINX_WORKER_CONNECTIONS=1048576
+ SERVICE_SSO_AUTH_HOST_ADDR=onlyoffice-control-panel
++ sudo sed -n '/"core.machinekey"/s!.*value\s*=\s*"\([^"]*\)".*!\1!p' /var/www/onlyoffice/WebStudio/web.appsettings.config
+ DEFAULT_APP_CORE_MACHINEKEY='Vskoproizvolny Salt par Chivreski'
+ IS_UPDATE=false
+ WORKSPACE_ENTERPRISE=false
+ '[' '!' -e /var/www/onlyoffice/Data/.private/machinekey ']'
+ mkdir -p /var/www/onlyoffice/Data/.private
+ APP_CORE_MACHINEKEY=core_secret
+ echo core_secret
++ sudo sed -n '/"version.number"/s!.*value\s*=\s*"\([^"]*\)".*!\1!p' /var/www/onlyoffice/WebStudio/web.appsettings.config
+ RELEASE_DATE=12.5.2.1848
++ CreateAuthToken 12.5.2.1848 core_secret
++ local pkey=12.5.2.1848
+++ echo -n core_secret
++ local machinekey=core_secret
++ local a=1
++ local LIMIT=10
++ '[' 1 -le 10 ']'
+++ date +%Y%m%d%H%M%S
++ local now=20240125105251
+++ echo -n -e '20240125105251\n12.5.2.1848'
+++ openssl dgst -sha1 -binary -mac HMAC -macopt key:core_secret
++ local $'authkey=tz\304\023v\316\r\256\2134\303KU/B1=wI\343'
+++ base64
+++ echo -n $'tz\304\023v\316\r\256\2134\303KU/B1=wI\343'
++ authkey=dHrEE3bODa6LNMNLVS9CMT13SeM=
++ local 'result=ASC 12.5.2.1848:20240125105251:dHrEE3bODa6LNMNLVS9CMT13SeM='
++ a=2
+++ grep ==
+++ echo '"ASC' '12.5.2.1848:20240125105251:dHrEE3bODa6LNMNLVS9CMT13SeM="'
++ '[' -z '' ']'
++ echo 'ASC 12.5.2.1848:20240125105251:dHrEE3bODa6LNMNLVS9CMT13SeM='
++ exit 0
+ RELEASE_DATE_SIGN='ASC 12.5.2.1848:20240125105251:dHrEE3bODa6LNMNLVS9CMT13SeM='
+ sed -i '/version.release-date.sign/s!value="[^"]*"!value=\"ASC 12.5.2.1848:20240125105251:dHrEE3bODa6LNMNLVS9CMT13SeM=\"!g' /var/www/onlyoffice/WebStudio/web.appsettings.config
++ head -n 1 /var/www/onlyoffice/Data/.private/release_date
head: cannot open '/var/www/onlyoffice/Data/.private/release_date' for reading: No such file or directory
+ PREV_RELEASE_DATE=
+ '[' 12.5.2.1848 '!=' '' ']'
+ echo 12.5.2.1848
+ IS_UPDATE=true
+ chmod -R 444 /var/www/onlyoffice/Data/.private
+ cat /proc/1/cgroup
+ grep -qE 'docker|lxc|kubepods|libpod'
+ DOCKER_ENABLED=true
+ '[' '!' -d /etc/nginx/sites-enabled ']'
+ '[' '!' -d /var/www/onlyoffice/DocumentServerData ']'
+ NGINX_ROOT_DIR=/etc/nginx
+ VALID_IP_ADDRESS_REGEX='^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$'
+ LOG_DEBUG=
+ LOG_DIR=/var/log/onlyoffice/
+ APP_HTTPS=false
+ SSL_CERTIFICATES_DIR=/var/www/onlyoffice/Data/certs
+ SSL_CERTIFICATE_PATH=/var/www/onlyoffice/Data/certs/onlyoffice.crt
+ SSL_KEY_PATH=/var/www/onlyoffice/Data/certs/onlyoffice.key
+ SSL_CERTIFICATE_PATH_PFX=/var/www/onlyoffice/Data/certs/onlyoffice.pfx
+ SSL_CERTIFICATE_PATH_PFX_PWD=onlyoffice
+ SSL_DHPARAM_PATH=/var/www/onlyoffice/Data/certs/dhparam.pem
+ SSL_VERIFY_CLIENT=off
+ SSL_OCSP_CERTIFICATE_PATH=/var/www/onlyoffice/Data/certs/stapling.trusted.crt
+ CA_CERTIFICATES_PATH=/var/www/onlyoffice/Data/certs/ca.crt
+ APP_HTTPS_HSTS_ENABLED=true
+ APP_HTTPS_HSTS_MAXAGE=63072000
+ SYSCONF_TEMPLATES_DIR=/app/config
+ mkdir -p /app/config/nginx
+ SYSCONF_TOOLS_DIR=/app/assets/tools
+ APP_SERVICES_INTERNAL_HOST=
+ APP_SERVICES_EXTERNAL=false
+ DOCUMENT_SERVER_ENABLED=false
+ DOCUMENT_SERVER_JWT_ENABLED=true
+ DOCUMENT_SERVER_JWT_SECRET=jwt_secret
+ DOCUMENT_SERVER_JWT_HEADER=AuthorizationJwt
+ DOCUMENT_SERVER_HOST=
+ DOCUMENT_SERVER_PROTOCOL=http

+ DOCUMENT_SERVER_API_URL=
+ DOCUMENT_SERVER_HOST_IP=
+ CONTROL_PANEL_ENABLED=false
+ MAIL_SERVER_ENABLED=false
+ MYSQL_SERVER_ROOT_PASSWORD=my-secret-pw
+ MYSQL_SERVER_HOST=onlyoffice-mysql-server
+ MYSQL_SERVER_PORT=3306
+ MYSQL_SERVER_DB_NAME=onlyoffice
+ MYSQL_SERVER_USER=onlyoffice_user
+ MYSQL_SERVER_PASS=onlyoffice_pass
+ MYSQL_SERVER_EXTERNAL=false
+ mkdir -p /var/www/onlyoffice/Data/certs/.well-known/acme-challenge
+ '[' 172.18.0.6/16 ']'
++ normalize_subnet 172.18.0.6/16
++ local 'IPRE=\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)'
+++ echo 172.18.0.6/16
+++ sed -ne 's:^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)/.*$:\1 \2 \3 \4:p'
++ IP=('172' '18' '0' '6')
++ local IP
+++ echo 172.18.0.6/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)$:\1 \2 \3 \4:p'
++ MASK=()
++ local MASK
++ '[' 0 -ne 4 ']'
+++ echo 172.18.0.6/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'
++ BITCNT=('16')
++ local BITCNT
++ BITCNT=4294901760
++ (( I=0 ))
++ (( I<4 ))
++ MASK[$I]=255
++ (( I++  ))
++ (( I<4 ))
++ MASK[$I]=255
++ (( I++  ))
++ (( I<4 ))
++ MASK[$I]=0
++ (( I++  ))
++ (( I<4 ))
++ MASK[$I]=0
++ (( I++  ))
++ (( I<4 ))
++ NETWORK=()
++ local NETWORK
++ (( I=0 ))
++ (( I<4 ))
++ NETWORK[$I]=172
++ (( I++  ))
++ (( I<4 ))
++ NETWORK[$I]=18
++ (( I++  ))
++ (( I<4 ))
++ NETWORK[$I]=0
++ (( I++  ))
++ (( I<4 ))
++ NETWORK[$I]=0
++ (( I++  ))
++ (( I<4 ))
+++ echo 172.18.0.6/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'
++ local IP_MASK=16
++ echo 172.18.0.0/16
+ DOCKER_APP_SUBNET=172.18.0.0/16
+ check_partnerdata
+ PARTNER_DATA_FILE=/var/www/onlyoffice/Data/json-data.txt
+ '[' -f /var/www/onlyoffice/Data/json-data.txt ']'
+ re='^[0-9]+$'
+ [[ 1 =~ ^[0-9]+$ ]]
+ '[' '!' -f /proc/net/if_inet6 ']'
+ cp /etc/nginx/includes/onlyoffice-communityserver-nginx.conf.template /etc/nginx/nginx.conf
+ sed 's/^worker_processes.*/worker_processes 1;/' -i /etc/nginx/nginx.conf
+ sed 's/worker_connections.*/worker_connections 1048576;/' -i /etc/nginx/nginx.conf
+ cp /etc/nginx/includes/onlyoffice-communityserver-common-init.conf.template /etc/nginx/sites-enabled/onlyoffice
+ '[' -f /var/www/onlyoffice/Data/certs/onlyoffice.crt -a -f /var/www/onlyoffice/Data/certs/onlyoffice.key ']'
+ sed '/{{SSL_CERTIFICATE_PATH}}/d' -i /etc/nginx/sites-enabled/onlyoffice
+ sed '/{{SSL_KEY_PATH}}/d' -i /etc/nginx/sites-enabled/onlyoffice
+ sed '/listen\s*443/d' -i /etc/nginx/sites-enabled/onlyoffice
+ rm -f '/etc/nginx/conf.d/*.conf'
+ service nginx restart
 * Restarting nginx nginx       ESC[80G ^MESC[74G[ OK ]
++ free -m
++ head -n 1
++ grep -oP '\d+'
+ TOTAL_MEMORY=11978
+ MEMORY_REQUIREMENTS=12228
+ '[' 11978 -gt 12228 ']'
+ '[' ']'
+ '[' ']'
+ '[' onlyoffice-document-server ']'
+ DOCUMENT_SERVER_ENABLED=true
+ DOCUMENT_SERVER_HOST=onlyoffice-document-server
+ DOCUMENT_SERVER_API_URL='\/ds-vpath'
+ '[' true == true ']'
+ '[' 172.18.0.0/16 ']'
+ '[' -z '' ']'
++ dig +short onlyoffice-document-server
+ DOCUMENT_SERVER_HOST_IP=172.18.0.4
+ check_ip_is_internal 172.18.0.0/16 172.18.0.4
+ local 'IPRE=\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)'
++ sed -ne 's:^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)/.*$:\1 \2 \3 \4:p'
++ echo 172.18.0.0/16
+ IP=('172' '18' '0' '0')
+ local IP
++ sed -ne 's:^[^/]*/\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)$:\1 \2 \3 \4:p'
++ echo 172.18.0.0/16
+ MASK=()
+ local MASK
+ '[' 0 -ne 4 ']'
++ sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'
++ echo 172.18.0.0/16
+ BITCNT=('16')
+ local BITCNT
+ BITCNT=4294901760
+ (( I=0 ))
+ (( I<4 ))
+ MASK[$I]=255
+ (( I++  ))
+ (( I<4 ))
+ MASK[$I]=255
+ (( I++  ))
+ (( I<4 ))
+ MASK[$I]=0
+ (( I++  ))
+ (( I<4 ))
+ MASK[$I]=0
+ (( I++  ))
+ (( I<4 ))
+ NETWORK=()
+ local NETWORK
+ (( I=0 ))
+ (( I<4 ))
+ NETWORK[$I]=172
+ (( I++  ))
+ (( I<4 ))
+ NETWORK[$I]=18
+ (( I++  ))
+ (( I<4 ))
+ NETWORK[$I]=0
+ (( I++  ))
+ (( I<4 ))
+ NETWORK[$I]=0
+ (( I++  ))
+ (( I<4 ))
++ echo 172.18.0.4
++ sed -ne 's:^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)$:\1 \2 \3 \4:p'
+ INIP=('172' '18' '0' '4')
+ local INIP
+ (( I=0 ))
+ (( I<4 ))
+ [[ 172 -ne 172 ]]
+ (( I++  ))
+ (( I<4 ))
+ [[ 18 -ne 18 ]]
+ (( I++  ))
+ (( I<4 ))
+ [[ 0 -ne 0 ]]
+ (( I++  ))
+ (( I<4 ))
+ [[ 0 -ne 0 ]]
+ (( I++  ))
+ (( I<4 ))
+ return 0
++ dig +short onlyoffice-community-server
+ _DOCKER_CONTAINER_IP=172.18.0.6
+ '[' 172.18.0.6 == 172.18.0.6 ']'
+ SERVER_HOST=onlyoffice-community-server
+ '[' true == true ']'
+ '[' onlyoffice-document-server == onlyoffice-document-server ']'
+ bash /app/assets/tools/wait-for-it.sh onlyoffice-document-server:8000 --quiet -s -- echo 'Document Server is up'
+ echo '##########################################################'
##########################################################
+ echo '#########  Start container configuration  ################'
#########  Start container configuration  ################
+ echo '##########################################################'
##########################################################
+ SERVER_HOST=
+ APP_DIR=/var/www/onlyoffice
+ APP_DATA_DIR=/var/www/onlyoffice/Data
+ APP_INDEX_DIR=/var/www/onlyoffice/Data/Index/v7.16.3
+ APP_PRIVATE_DATA_DIR=/var/www/onlyoffice/Data/.private
+ APP_SERVICES_DIR=/var/www/onlyoffice/Services
+ APP_CONFIG_DIR=/etc/onlyoffice/communityserver
+ APP_SQL_DIR=/var/www/onlyoffice/Sql
+ APP_ROOT_DIR=/var/www/onlyoffice/WebStudio
+ APP_APISYSTEM_DIR=/var/www/onlyoffice/ApiSystem
+ APP_GOD_DIR=/etc/god/conf.d
+ APP_MONOSERVER_PATH=/lib/systemd/system/monoserve.service
+ APP_HYPERFASTCGI_PATH=/etc/hyperfastcgi/onlyoffice
+ APP_MONOSERVE_COUNT=1
+ APP_MODE=SERVER
+ APP_CRON_DIR=/etc/cron.d
+ APP_CRON_PATH=/etc/cron.d/onlyoffice
+ LICENSE_FILE_PATH=/var/www/onlyoffice/DocumentServerData/license.lic
++ ip -o -f inet addr show
++ head -1
++ awk '/scope global/ {print $4}'
+ DOCKER_APP_SUBNET=172.18.0.3/16
++ ip addr show eth0
++ awk '/inet / {gsub(/\/.*/,"",$2); print $2}'
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1

Logs from the mail container:

docker logs onlyoffice-mail-server
[ INFO ] Checking configuration file: /usr/src/iRedMail/config ... [FOUND]
[ INFO ] Import installation process status from file: /usr/src/iRedMail/runtime/install.status.
Waiting for external MySql response
[ INFO ] Checking configuration file: /usr/src/iRedMail/config ... [FOUND]
[ INFO ] Import installation process status from file: /usr/src/iRedMail/runtime/install.status.
Waiting for external MySql response

And elasticsearch (truncated due to Discourse post length limits):

docker logs onlyoffice-elasticsearch
{"type": "server", "timestamp": "2024-01-25T10:55:23,452Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "version[7.16.3], pid[8], build[default/docker/4e6e4eab2297e949ec994e688dad46290d018022/2022-01-06T23:43:02.825887787Z], OS[Linux/6.1.0-17-amd64/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/17.0.1/17.0.1+12]" }
{"type": "server", "timestamp": "2024-01-25T10:55:23,611Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]" }
{"type": "server", "timestamp": "2024-01-25T10:55:23,618Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-3255087994172811187, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Des.cgroups.hierarchy.override=/, -Xms1g, -Xmx1g, -Dlog4j2.formatMsgNoLookups=true, -XX:MaxDirectMemorySize=536870912, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config, -Des.distribution.flavor=default, -Des.distribution.type=docker, -Des.bundled_jdk=true]" }
{"type": "server", "timestamp": "2024-01-25T10:57:03,770Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [aggs-matrix-stats]" }
{"type": "server", "timestamp": "2024-01-25T10:57:03,796Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [analysis-common]" }
{"type": "server", "timestamp": "2024-01-25T10:57:03,833Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [constant-keyword]" }
{"type": "server", "timestamp": "2024-01-25T10:57:03,883Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [frozen-indices]" }
{"type": "server", "timestamp": "2024-01-25T10:57:03,892Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [ingest-common]" }
{"type": "server", "timestamp": "2024-01-25T10:57:03,928Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [ingest-geoip]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,008Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [ingest-user-agent]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,063Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [kibana]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,064Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [lang-expression]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,065Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [lang-mustache]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,066Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [lang-painless]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,081Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [legacy-geo]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,098Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [mapper-extras]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,120Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [mapper-version]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,131Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [parent-join]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,140Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [percolator]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,164Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [rank-eval]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,165Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [reindex]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,167Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [repositories-metering-api]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,169Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [repository-encrypted]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,171Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [repository-url]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,181Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [runtime-fields-common]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,192Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [search-business-rules]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,214Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [searchable-snapshots]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,216Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [snapshot-repo-test-kit]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,224Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [spatial]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,228Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [transform]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,258Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [transport-netty4]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,259Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [unsigned-long]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,264Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [vector-tile]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,300Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [vectors]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,306Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [wildcard]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,308Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-aggregate-metric]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,320Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-analytics]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,325Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-async]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,336Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-async-search]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,392Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-autoscaling]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,400Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-ccr]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,415Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-core]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,427Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-data-streams]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,456Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-deprecation]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,469Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-enrich]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,524Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-eql]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,536Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-fleet]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,541Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-graph]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,547Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-identity-provider]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,599Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-ilm]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,637Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-logstash]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,643Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-ml]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,652Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-monitoring]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,700Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-ql]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,737Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-rollup]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,751Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-security]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,796Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-shutdown]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,808Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-sql]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,817Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-stack]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,862Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-text-structure]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,870Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-voting-only-node]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,872Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-watcher]" }
{"type": "server", "timestamp": "2024-01-25T10:57:04,890Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded plugin [ingest-attachment]" }
{"type": "server", "timestamp": "2024-01-25T10:57:07,119Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/xvda2)]], net usable_space [164.7gb], net total_space [189.8gb], types [ext4]" }
{"type": "server", "timestamp": "2024-01-25T10:57:07,174Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "heap size [1gb], compressed ordinary object pointers [true]" }
{"type": "server", "timestamp": "2024-01-25T10:57:08,364Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "node name [4eedebd64be9], node ID [WH69_b6YT76pdtkqgp2T5Q], cluster name [docker-cluster], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]" }
{"type": "server", "timestamp": "2024-01-25T11:01:15,417Z", "level": "ERROR", "component": "o.e.b.ElasticsearchUncaughtExceptionHandler", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "uncaught exception in thread [main]", 
"stacktrace": ["org.elasticsearch.bootstrap.StartupException: ElasticsearchException[Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, missing OS libraries, or a problem with the temp directory. To bypass this problem by running Elasticsearch without machine learning functionality set [xpack.ml.enabled: false].]",
"at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:157) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112) ~[elasticsearch-cli-7.16.3.jar:7.16.3]",
"at org.elasticsearch.cli.Command.main(Command.java:77) ~[elasticsearch-cli-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:122) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) ~[elasticsearch-7.16.3.jar:7.16.3]",
"Caused by: org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, missing OS libraries, or a problem with the temp directory. To bypass this problem by running Elasticsearch without machine learning functionality set [xpack.ml.enabled: false].",
"at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:845) ~[?:?]",
"at org.elasticsearch.node.Node.lambda$new$18(Node.java:733) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273) ~[?:?]",
"at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?]",
"at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]",
"at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]",
"at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]",
"at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]",
"at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]",
"at org.elasticsearch.node.Node.<init>(Node.java:747) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.node.Node.<init>(Node.java:309) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:234) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:234) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:434) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:166) ~[elasticsearch-7.16.3.jar:7.16.3]",
"... 6 more"] }
{"type": "server", "timestamp": "2024-01-25T11:03:02,231Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "version[7.16.3], pid[7], build[default/docker/4e6e4eab2297e949ec994e688dad46290d018022/2022-01-06T23:43:02.825887787Z], OS[Linux/6.1.0-17-amd64/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/17.0.1/17.0.1+12]" }
{"type": "server", "timestamp": "2024-01-25T11:03:02,324Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]" }
{"type": "server", "timestamp": "2024-01-25T11:03:02,329Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-11905759924447039891, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Des.cgroups.hierarchy.override=/, -Xms1g, -Xmx1g, -Dlog4j2.formatMsgNoLookups=true, -XX:MaxDirectMemorySize=536870912, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config, -Des.distribution.flavor=default, -Des.distribution.type=docker, -Des.bundled_jdk=true]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,939Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [aggs-matrix-stats]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,952Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [analysis-common]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,953Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [constant-keyword]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,955Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [frozen-indices]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,956Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [ingest-common]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,969Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [ingest-geoip]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,984Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [ingest-user-agent]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,985Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [kibana]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,986Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [lang-expression]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,987Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [lang-mustache]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,987Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [lang-painless]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,988Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [legacy-geo]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,996Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [mapper-extras]" }
{"type": "server", "timestamp": "2024-01-25T11:03:42,998Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [mapper-version]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,000Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [parent-join]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,004Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [percolator]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,006Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [rank-eval]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,006Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [reindex]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,008Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [repositories-metering-api]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,016Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [repository-encrypted]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,020Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [repository-url]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,022Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [runtime-fields-common]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,023Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [search-business-rules]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,028Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [searchable-snapshots]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,029Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [snapshot-repo-test-kit]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,030Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [spatial]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,040Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [transform]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,045Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [transport-netty4]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,046Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [unsigned-long]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,047Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [vector-tile]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,047Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [vectors]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,048Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [wildcard]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,049Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-aggregate-metric]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,052Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-analytics]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,053Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-async]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,054Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-async-search]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,056Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-autoscaling]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,058Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-ccr]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,064Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-core]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,065Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-data-streams]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,067Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-deprecation]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,070Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-enrich]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,072Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-eql]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,080Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-fleet]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,084Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-graph]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,085Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-identity-provider]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,086Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-ilm]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,087Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-logstash]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,088Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-ml]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,092Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-monitoring]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,093Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-ql]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,102Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-rollup]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,103Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-security]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,108Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-shutdown]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,109Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-sql]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,110Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-stack]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,111Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-text-structure]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,112Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-voting-only-node]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,120Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded module [x-pack-watcher]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,122Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "loaded plugin [ingest-attachment]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,566Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/xvda2)]], net usable_space [164.7gb], net total_space [189.8gb], types [ext4]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,575Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "heap size [1gb], compressed ordinary object pointers [true]" }
{"type": "server", "timestamp": "2024-01-25T11:03:43,782Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "node name [4eedebd64be9], node ID [HYRExBhaRVKZHvrFKABPlg], cluster name [docker-cluster], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]" }
{"type": "server", "timestamp": "2024-01-25T11:05:04,651Z", "level": "ERROR", "component": "o.e.b.ElasticsearchUncaughtExceptionHandler", "cluster.name": "docker-cluster", "node.name": "4eedebd64be9", "message": "uncaught exception in thread [main]", 
"stacktrace": ["org.elasticsearch.bootstrap.StartupException: ElasticsearchException[Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, missing OS libraries, or a problem with the temp directory. To bypass this problem by running Elasticsearch without machine learning functionality set [xpack.ml.enabled: false].]",
"at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:157) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112) ~[elasticsearch-cli-7.16.3.jar:7.16.3]",
"at org.elasticsearch.cli.Command.main(Command.java:77) ~[elasticsearch-cli-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:122) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) ~[elasticsearch-7.16.3.jar:7.16.3]",
"Caused by: org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, missing OS libraries, or a problem with the temp directory. To bypass this problem by running Elasticsearch without machine learning functionality set [xpack.ml.enabled: false].",
"at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:845) ~[?:?]",
"at org.elasticsearch.node.Node.lambda$new$18(Node.java:733) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273) ~[?:?]",
"at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?]",
"at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]",
"at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]",
"at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]",
"at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]",
"at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]",
"at org.elasticsearch.node.Node.<init>(Node.java:747) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.node.Node.<init>(Node.java:309) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:234) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:234) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:434) ~[elasticsearch-7.16.3.jar:7.16.3]",
"at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:166) ~[elasticsearch-7.16.3.jar:7.16.3]",
"... 6 more"] }

Is the problem related to there being a mix of variables names for the MySQL root user and password?

Getting the GitHub project file and grepping for ROOT:

wget -q https://raw.githubusercontent.com/ONLYOFFICE/Docker-CommunityServer/master/docker-compose.workspace_enterprise.yml -O - | grep ROOT

     - MYSQL_ROOT_PASSWORD=my-secret-pw
     - MYSQL_SERVER_ROOT_PASSWORD=my-secret-pw
       - MYSQL_ROOT_USER=mail_admin
       - MYSQL_ROOT_PASSWD=Isadmin123

So I tried changing these setting and rebuilt the server from scratch:

@@ -121,8 +130,8 @@ workspace_docker_compose:
       environment:
         - MYSQL_SERVER=onlyoffice-mysql-server
         - MYSQL_SERVER_PORT=3306
-        - MYSQL_ROOT_USER=root
-        - MYSQL_ROOT_PASSWD=my-secret-pw
+        - MYSQL_ROOT_USER=mail_admin
+        - MYSQL_ROOT_PASSWD=Isadmin123
         - MYSQL_SERVER_DB_NAME=onlyoffice_mailserver
       networks:
         - onlyoffice

And the results are the same, on port 80 there is:

The portal start up process might take some time, please wait…
Please do not reload the page or shut down your computer.
We are working on it.

And the MySQL container keeps restarting…

docker compose ps
NAME                          IMAGE                                    COMMAND                  SERVICE                       CREATED         STATUS                                  PORTS
onlyoffice-community-server   onlyoffice/communityserver:12.5.2.1848   "/app/run-community-…"   onlyoffice-community-server   4 minutes ago   Up 3 minutes                            0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 3306/tcp, 5280/tcp, 9865-9866/tcp, 9871/tcp, 9882/tcp, 0.0.0.0:5222->5222/tcp, :::5222->5222/tcp, 9888/tcp
onlyoffice-control-panel      onlyoffice/controlpanel:3.5.0.516        "/var/www/onlyoffice…"   onlyoffice-control-panel      3 minutes ago   Up 3 minutes                            80/tcp, 443/tcp
onlyoffice-document-server    onlyoffice/documentserver-ee:7.5.1.1     "/app/ds/run-documen…"   onlyoffice-document-server    4 minutes ago   Up 3 minutes                            80/tcp, 443/tcp
onlyoffice-elasticsearch      onlyoffice/elasticsearch:7.16.3          "/bin/tini -- /usr/l…"   onlyoffice-elasticsearch      4 minutes ago   Up 3 minutes                            9200/tcp, 9300/tcp
onlyoffice-mail-server        onlyoffice/mailserver:1.6.75             "/bin/sh -c 'export …"   onlyoffice-mail-server        4 minutes ago   Up 3 minutes                            0.0.0.0:25->25/tcp, :::25->25/tcp, 0.0.0.0:143->143/tcp, :::143->143/tcp, 465/tcp, 993/tcp, 995/tcp, 3306/tcp, 4190/tcp, 0.0.0.0:587->587/tcp, :::587->587/tcp, 8081/tcp
onlyoffice-mysql-server       mysql:8.0.29                             "docker-entrypoint.s…"   onlyoffice-mysql-server       4 minutes ago   Restarting (1) Less than a second ago   

@Carl do you have any suggestions regarding what I can change in the Docker Compose settings here that would result in a working test install of ONLYOFFICE Workspace Enterprise?

I’ve been trying to get a self-hosted ONLYOFFICE Workspace Enterprise server going for over two months now and I’m getting close to the point when I feel I have to say to the client that I’m sorry but it isn’t a system we can host and they should use something or someone else for an office solution :-(.

@chris

Here you need to indicate the ROOT username and the password of the ROOT user which is my-secret-pw if you choose to keep the default values.
Have you tried to apply the yml file I sent earlier? Just this file with no changes, just for the sake of testing.

I’d also like to add that the first method of installation we are testing for the Workspace is installation via script, Compose method is not popular. When you had an installation via script, the domain name of your portal could not be resolved from the Community Server container.

1 Like

Hi @Carl the problem I haven’t worked out how to get past is the MySQL configuration, it appears that the databases are not getting created:

docker exec -it onlyoffice-mysql-server /bin/bash
bash-4.4# mysql -uroot -e "show databases" -p
Enter password: 
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| sys                |
+--------------------+

This is the current Docker Compose file at /opt/Docker-CommunityServer/docker-compose.yml:

# Ansible managed
---
version: '3'
services:
  onlyoffice-mysql-server:
    container_name: onlyoffice-mysql-server
    image: mysql:8.0.29
    environment:
    - MYSQL_ROOT_PASSWORD=zEpejZKCeWkGpLh6A28v4sUTcsQRq3
    networks:
    - onlyoffice
    stdin_open: true
    tty: true
    restart: always
    volumes:
    - ./config/mysql/conf.d:/etc/mysql/conf.d
    - ./config/mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
    - mysql_data:/var/lib/mysql
  onlyoffice-community-server:
    container_name: onlyoffice-community-server
    image: onlyoffice/communityserver:12.5.2.1848
    depends_on:
    - onlyoffice-mysql-server
    - onlyoffice-document-server
    - onlyoffice-mail-server
    - onlyoffice-elasticsearch
    environment:
    - ONLYOFFICE_CORE_MACHINEKEY=3Hvrp2jvtOMd8MAWVl7WqVAfUnCWjt
    - CONTROL_PANEL_PORT_80_TCP=80
    - CONTROL_PANEL_PORT_80_TCP_ADDR=onlyoffice-control-panel
    - DOCUMENT_SERVER_PORT_80_TCP_ADDR=onlyoffice-document-server
    - DOCUMENT_SERVER_JWT_ENABLED=true
    - DOCUMENT_SERVER_JWT_SECRET=PbBu5e1KilugfY9s99vj3lHF3o0Dw5
    - DOCUMENT_SERVER_JWT_HEADER=AuthorizationJwt
    - MYSQL_SERVER_ROOT_PASSWORD=zEpejZKCeWkGpLh6A28v4sUTcsQRq3
    - MYSQL_SERVER_DB_NAME=onlyoffice
    - MYSQL_SERVER_HOST=onlyoffice-mysql-server
    - MYSQL_SERVER_USER=onlyoffice_user
    - MYSQL_SERVER_PASS=TnsN8V5tqF6w6iy0XdUB3uU8wPAItS
    - MAIL_SERVER_API_PORT=8081
    - MAIL_SERVER_API_HOST=onlyoffice-mail-server
    - MAIL_SERVER_DB_HOST=onlyoffice-mysql-server
    - MAIL_SERVER_DB_PORT=3306
    - MAIL_SERVER_DB_NAME=onlyoffice_mailserver
    - MAIL_SERVER_DB_USER=mail_admin
    - MAIL_SERVER_DB_PASS=vCuRJEIKvLZxsxgb6bL8OxuCwge08x
    - ELASTICSEARCH_SERVER_HOST=onlyoffice-elasticsearch
    - ELASTICSEARCH_SERVER_HTTPPORT=9200
    networks:
    - onlyoffice
    ports:
    - 80:80
    - 443:443
    - 5222:5222
    stdin_open: true
    tty: true
    restart: always
    privileged: true
    cgroup: host
    volumes:
    - community_data:/var/www/onlyoffice/Data
    - community_log:/var/log/onlyoffice
    - community_letsencrypt:/etc/letsencrypt
    - document_data:/var/www/onlyoffice/DocumentServerData
    - /sys/fs/cgroup:/sys/fs/cgroup:rw
    - ./certs:/var/www/onlyoffice/Data/certs
  onlyoffice-elasticsearch:
    image: onlyoffice/elasticsearch:7.10.0
    container_name: onlyoffice-elasticsearch
    restart: always
    environment:
    - discovery.type=single-node
    - bootstrap.memory_lock=true
    - ES_JAVA_OPTS=-Xms1g -Xmx1g -Dlog4j2.formatMsgNoLookups=true
    - indices.fielddata.cache.size=30%
    - indices.memory.index_buffer_size=30%
    - ingest.geoip.downloader.enabled=false
    networks:
    - onlyoffice
    ulimits:
      memlock:
        soft: -1
        hard: -1
      nofile:
        soft: 65535
        hard: 65535
    volumes:
    - es_data:/usr/share/elasticsearch/data
    expose:
    - '9200'
    - '9300'
  onlyoffice-document-server:
    container_name: onlyoffice-document-server
    image: onlyoffice/documentserver-ee:7.5.1.1
    stdin_open: true
    tty: true
    restart: always
    environment:
    - JWT_ENABLED=true
    - JWT_SECRET=PbBu5e1KilugfY9s99vj3lHF3o0Dw5
    - JWT_HEADER=AuthorizationJwt
    networks:
    - onlyoffice
    expose:
    - '80'
    - '443'
    volumes:
    - document_data:/var/www/onlyoffice/Data
    - document_log:/var/log/onlyoffice
    - ./document_fonts:/usr/share/fonts/truetype/custom
    - document_forgotten:/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten
  onlyoffice-mail-server:
    container_name: onlyoffice-mail-server
    image: onlyoffice/mailserver:1.6.75
    depends_on:
    - onlyoffice-mysql-server
    hostname: workspace.webarch.org.uk
    environment:
    - MYSQL_SERVER=onlyoffice-mysql-server
    - MYSQL_SERVER_PORT=3306
    - MYSQL_ROOT_USER=root
    - MYSQL_ROOT_PASSWD=zEpejZKCeWkGpLh6A28v4sUTcsQRq3
    - MYSQL_SERVER_DB_NAME=onlyoffice_mailserver
    networks:
    - onlyoffice
    restart: always
    privileged: true
    ports:
    - '25:25'
    - 143:143
    - 587:587
    stdin_open: true
    tty: true
    expose:
    - '8081'
    - '3306'
    volumes:
    - mail_data:/var/vmail
    - mail_certs:/etc/pki/tls/mailserver
    - mail_log:/var/log
  onlyoffice-control-panel:
    container_name: onlyoffice-control-panel
    depends_on:
    - onlyoffice-document-server
    - onlyoffice-mail-server
    - onlyoffice-community-server
    image: onlyoffice/controlpanel:3.5.0.516
    environment:
    - ONLYOFFICE_CORE_MACHINEKEY=3Hvrp2jvtOMd8MAWVl7WqVAfUnCWjt
    expose:
    - '80'
    - '443'
    restart: always
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    - controlpanel_data:/var/www/onlyoffice/Data
    - controlpanel_log:/var/log/onlyoffice
    networks:
    - onlyoffice
    stdin_open: true
    tty: true
networks:
  onlyoffice:
    driver: bridge
volumes:
  mail_data: null
  mail_certs: null
  mail_log: null
  mail_mysql: null
  document_data: null
  document_log: null
  document_forgotten: null
  community_mysql: null
  community_data: null
  community_log: null
  community_letsencrypt: null
  controlpanel_data: null
  controlpanel_log: null
  mysql_data: null
  es_data: null

...

And this is the database script with matching passwords at /opt/Docker-CommunityServer/config/mysql/docker-entrypoint-initdb.d/onlyoffice-initdb.sql:

CREATE DATABASE IF NOT EXISTS onlyoffice CHARACTER SET "utf8" COLLATE "utf8_general_ci";
CREATE DATABASE IF NOT EXISTS onlyoffice_mailserver CHARACTER SET "utf8" COLLATE "utf8_general_ci";

ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'zEpejZKCeWkGpLh6A28v4sUTcsQRq3';
CREATE USER IF NOT EXISTS 'onlyoffice_user'@'%' IDENTIFIED WITH mysql_native_password BY 'TnsN8V5tqF6w6iy0XdUB3uU8wPAItS';
CREATE USER IF NOT EXISTS 'mail_admin'@'%' IDENTIFIED WITH mysql_native_password BY 'vCuRJEIKvLZxsxgb6bL8OxuCwge08x';

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
GRANT ALL PRIVILEGES ON *.* TO 'onlyoffice_user'@'%';
GRANT ALL PRIVILEGES ON *.* TO 'mail_admin'@'%';

FLUSH PRIVILEGES;

I can login manually using the root password.

Any idea why the database are not being created or what I could do to further debug this?

The resulting site has:

Note that I’m now going to set new random passwords for the next time I rebuild this server.

Hi @chris,
You need to replace image: onlyoffice/elasticsearch:7.10.0 with image: onlyoffice/elasticsearch:7.16.3
I have just successfully deployed Workspace with your compose file on two servers (Ubuntu 22.04 and Debian 12.4) Do you clear docker volumes before the deployment?
docker volume prune
Also please check if you are using a current version of docker compose (mine is v2.24.2).

I have been deleting the whole VM before each test and rebuilding it from scratch, I’m also using the latest version of docker compose:

docker compose version
Docker Compose version v2.24.2

The reason that the databases were not being created was because the onlyoffice-initdb.sql updated file mode was 0600, it needed to be 0644, now I have fixed that the onlyoffice and onlyoffice_mailserver databases are now being created.

However I still get:

The portal start up process might take some time, please wait…
Please do not reload the page or shut down your computer.
We are working on it.

Which is followed after a while with:

Error 502. App Crash
The server was unable to complete your request.

I want to solve this and also write some tests, @Carl how would you suggest I try to find the cause of this problem?

@chris Check if all the containers are running with docker ps
If no containers are in a restart loop, check if monoserve is running in the Community Server docker exec -it onlyoffice-community-server systemctl status monoserve

Thanks @Carl is seems I just needed to wait longer for services to start up, monoserve is running and everything looks OK now apart from the fact that the elasticsearch container keeps restarting:

docker ps | grep -e elasticsearch -e ^C
CONTAINER ID   IMAGE                                    COMMAND                  CREATED             STATUS             PORTS               NAMES
69ed090a0697   onlyoffice/elasticsearch:7.16.3          "/bin/tini -- /usr/l…"   About an hour ago   Up 26 seconds      9200/tcp, 9300/tcp  onlyoffice-elasticsearch

Do you have any suggestions regarding how I could debug this?

Perhaps the server doesn’t have enough resources, it currently has 12 GiB RAM and 4 CPU cores?