Installing ONLYOFFICE Workspace using Docker Compose

@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?

Please execute docker logs onlyoffice-elasticsearch and send the output.

There are a lot of logs, this looks like it might be relevant?

{"type": "server", "timestamp": "2024-01-30T13:42:40,975Z", "level": "ERROR", "component": "o.e.b.ElasticsearchUncaughtExceptionHandler", "cluster.name": "docker-cluster", "node.name": "69ed090a0697", "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"] }

Doubling the RAM for Elasticsearch and disabling xpack machine learning seems to be a solution:

onlyoffice-elasticsearch:
  environment:
    - "ES_JAVA_OPTS=-Xms2g -Xmx2g -Dlog4j2.formatMsgNoLookups=true"
    - "xpack.ml.enabled=false"

Yes, try adding the “xpack.ml.enabled=false” env variable.

1 Like

Thanks @Carl everything is now working as far as I can see, however our client is unable to restore their backups to the server, can you suggest which logs might shed some light on the cause of their problem?

Is there any error in the interface when restoring a backup? Log of the Backup service is /var/log/onlyoffice/svcBackup.log (path inside the Community Server container).

Thanks @Carl this is what we have in /var/lib/docker/volumes/docker-communityserver_community_log/_data/svcBackup.log:

2024-01-30 20:15:20,903 ERROR [25] ASC - ICSharpCode.SharpZipLib.GZip.GZipException: Error GZIP header, first magic byte doesn't match
  at ICSharpCode.SharpZipLib.GZip.GZipInputStream.ReadHeader () [0x00084] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.GZip.GZipInputStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00016] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at System.IO.Stream+<>c.<BeginReadInternal>b__40_0 (System.Object <p0>) [0x0000b] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0002b] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
--- End of stack trace from previous location where exception was thrown ---

  at System.IO.Stream.EndRead (System.IAsyncResult asyncResult) [0x0004d] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.IO.Stream+<>c.<BeginEndReadAsync>b__45_1 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00000] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
--- End of stack trace from previous location where exception was thrown ---

  at ICSharpCode.SharpZipLib.Tar.TarBuffer.ReadRecordAsync (System.Threading.CancellationToken ct, System.Boolean isAsync) [0x000e5] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarBuffer.ReadBlockIntAsync (System.Byte[] buffer, System.Threading.CancellationToken ct, System.Boolean isAsync) [0x000e6] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarInputStream.GetNextEntryAsync (System.Threading.CancellationToken ct, System.Boolean isAsync) [0x00195] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarInputStream.GetNextEntry () [0x00015] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at (wrapper remoting-invoke-with-check) ICSharpCode.SharpZipLib.Tar.TarInputStream.GetNextEntry()
  at ICSharpCode.SharpZipLib.Tar.TarArchive.ExtractContents (System.String destinationDirectory, System.Boolean allowParentTraversal) [0x00036] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarArchive.ExtractContents (System.String destinationDirectory) [0x00000] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ASC.Data.Storage.ZipOperators.ZipReadOperator..ctor (System.String targetFile) [0x00052] in <bf310343a9f5480d97fb225c79ff20e6>:0 
  at ASC.Data.Backup.Tasks.RestorePortalTask.RunJob () [0x00026] in <852f5b92c20a4f98a658f47a06f86105>:0 
  at ASC.Data.Backup.Service.BackupWorker+RestoreProgressItem.RunJob () [0x0011a] in <852f5b92c20a4f98a658f47a06f86105>:0  
2024-01-30 22:11:13,330 ERROR [26] ASC - ICSharpCode.SharpZipLib.GZip.GZipException: Error GZIP header, first magic byte doesn't match
  at ICSharpCode.SharpZipLib.GZip.GZipInputStream.ReadHeader () [0x00084] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.GZip.GZipInputStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00016] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at System.IO.Stream+<>c.<BeginReadInternal>b__40_0 (System.Object <p0>) [0x0000b] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0002b] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
--- End of stack trace from previous location where exception was thrown ---

  at System.IO.Stream.EndRead (System.IAsyncResult asyncResult) [0x0004d] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.IO.Stream+<>c.<BeginEndReadAsync>b__45_1 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00000] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
--- End of stack trace from previous location where exception was thrown ---

  at ICSharpCode.SharpZipLib.Tar.TarBuffer.ReadRecordAsync (System.Threading.CancellationToken ct, System.Boolean isAsync) [0x000e5] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarBuffer.ReadBlockIntAsync (System.Byte[] buffer, System.Threading.CancellationToken ct, System.Boolean isAsync) [0x000e6] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarInputStream.GetNextEntryAsync (System.Threading.CancellationToken ct, System.Boolean isAsync) [0x00195] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarInputStream.GetNextEntry () [0x00015] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at (wrapper remoting-invoke-with-check) ICSharpCode.SharpZipLib.Tar.TarInputStream.GetNextEntry()
  at ICSharpCode.SharpZipLib.Tar.TarArchive.ExtractContents (System.String destinationDirectory, System.Boolean allowParentTraversal) [0x00036] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarArchive.ExtractContents (System.String destinationDirectory) [0x00000] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ASC.Data.Storage.ZipOperators.ZipReadOperator..ctor (System.String targetFile) [0x00052] in <bf310343a9f5480d97fb225c79ff20e6>:0 
  at ASC.Data.Backup.Tasks.RestorePortalTask.RunJob () [0x00026] in <852f5b92c20a4f98a658f47a06f86105>:0 
  at ASC.Data.Backup.Service.BackupWorker+RestoreProgressItem.RunJob () [0x0011a] in <852f5b92c20a4f98a658f47a06f86105>:0  
2024-01-30 22:59:57,145 ERROR [26] ASC - ICSharpCode.SharpZipLib.GZip.GZipException: Error GZIP header, first magic byte doesn't match
  at ICSharpCode.SharpZipLib.GZip.GZipInputStream.ReadHeader () [0x00084] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.GZip.GZipInputStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00016] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at System.IO.Stream+<>c.<BeginReadInternal>b__40_0 (System.Object <p0>) [0x0000b] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0002b] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
--- End of stack trace from previous location where exception was thrown ---

  at System.IO.Stream.EndRead (System.IAsyncResult asyncResult) [0x0004d] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.IO.Stream+<>c.<BeginEndReadAsync>b__45_1 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00000] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 
--- End of stack trace from previous location where exception was thrown ---

  at ICSharpCode.SharpZipLib.Tar.TarBuffer.ReadRecordAsync (System.Threading.CancellationToken ct, System.Boolean isAsync) [0x000e5] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarBuffer.ReadBlockIntAsync (System.Byte[] buffer, System.Threading.CancellationToken ct, System.Boolean isAsync) [0x000e6] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarInputStream.GetNextEntryAsync (System.Threading.CancellationToken ct, System.Boolean isAsync) [0x00195] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarInputStream.GetNextEntry () [0x00015] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at (wrapper remoting-invoke-with-check) ICSharpCode.SharpZipLib.Tar.TarInputStream.GetNextEntry()
  at ICSharpCode.SharpZipLib.Tar.TarArchive.ExtractContents (System.String destinationDirectory, System.Boolean allowParentTraversal) [0x00036] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ICSharpCode.SharpZipLib.Tar.TarArchive.ExtractContents (System.String destinationDirectory) [0x00000] in <edb1d2cb661a4ce897a2519662670d87>:0 
  at ASC.Data.Storage.ZipOperators.ZipReadOperator..ctor (System.String targetFile) [0x00052] in <bf310343a9f5480d97fb225c79ff20e6>:0 
  at ASC.Data.Backup.Tasks.RestorePortalTask.RunJob () [0x00026] in <852f5b92c20a4f98a658f47a06f86105>:0 
  at ASC.Data.Backup.Service.BackupWorker+RestoreProgressItem.RunJob () [0x0011a] in <852f5b92c20a4f98a658f47a06f86105>:0  

I asked our client about the “any error in the interface” question and they replied:

There is no error in the interface. It just resets back to the home screen

I have asked our client to check that the archive can be extracted locally as this error above:

Error GZIP header, first magic byte doesn't match

Might indicate that the archive is not good to start with?

The backup that our client was trying to restore must have been corrupted, they have restored a new backup and that appears to work however when they try to reset their password they have reported that:

the URL from the Password Reset email isn’t resolving and is timing out

@carl is there a way I can update passwords directly in the MySQL database as password resets do not appear to work after data restores?

Or are some logs you could suggest I look at to try to track down this error?

I can’t see any evidence that any password reset email have been sent in the Postfix log at /var/lib/docker/volumes/docker-communityserver_mail_log/_data/maillog, there is however this pop-up when a password reset is requested:

Screenshot 2024-02-01 at 14-30-05 ONLYOFFICE

Is there a log file other than maillog that would records outgoing SMTP email?