ONLYOFFICE / Docker-CommunityServer

Collaborative system for managing documents, projects, customer relations and emails in one place
MIT License
497 stars 180 forks source link

Table 'onlyoffice.tenants_tenants' doesn't exist #187

Open filwu8 opened 1 year ago

filwu8 commented 1 year ago

when i run docker-compose for win11 wsl2 docker

Table 'onlyoffice.tenants_tenants' doesn't exist

MySql.Data.MySqlClient.MySqlException Table 'onlyoffice.tenants_tenants' doesn't exist Description: HTTP 500.Error processing request. Details: Non-web exception. Exception origin (name of application or object): MySql.Data. Exception stack trace:

at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x000aa] in <67abbb3783c24cd0a9c685bbfbcea559>:0 at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x0005d] in <67abbb3783c24cd0a9c685bbfbcea559>:0 at MySql.Data.MySqlClient.Driver.GetResult (System.Int32 statementId, System.Int32& affectedRows, System.Int64& insertedId) [0x00000] in <67abbb3783c24cd0a9c685bbfbcea559>:0 at MySql.Data.MySqlClient.Driver.NextResult (System.Int32 statementId, System.Boolean force) [0x00023] in <67abbb3783c24cd0a9c685bbfbcea559>:0 at MySql.Data.MySqlClient.MySqlDataReader.NextResult () [0x00251] in <67abbb3783c24cd0a9c685bbfbcea559>:0 at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0030c] in <67abbb3783c24cd0a9c685bbfbcea559>:0 at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader (System.Data.CommandBehavior behavior) [0x00000] in <67abbb3783c24cd0a9c685bbfbcea559>:0 at System.Data.Common.DbCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x00000] in <2d547ce14b5c4254936ffeb73ed1353b>:0 at (wrapper remoting-invoke-with-check) System.Data.Common.DbCommand.ExecuteReader(System.Data.CommandBehavior) at ASC.Common.Data.AdoProxy.DbCommandProxy.ExecuteDbDataReader (System.Data.CommandBehavior behavior) [0x00026] in <9083d94592564b93a4845d56152c7a6a>:0 at System.Data.Common.DbCommand.ExecuteReader () [0x00000] in <2d547ce14b5c4254936ffeb73ed1353b>:0 at (wrapper remoting-invoke-with-check) System.Data.Common.DbCommand.ExecuteReader() at ASC.Common.Data.DataExtensions.ExecuteListReader (System.Data.Common.DbCommand command) [0x00000] in <9083d94592564b93a4845d56152c7a6a>:0 at ASC.Common.Data.DataExtensions.ExecuteList (System.Data.Common.DbCommand command, System.String sql, System.Object[] parameters) [0x00008] in <9083d94592564b93a4845d56152c7a6a>:0 at ASC.Common.Data.DataExtensions.ExecuteList (System.Data.Common.DbCommand command) [0x00007] in <9083d94592564b93a4845d56152c7a6a>:0 at ASC.Common.Data.DataExtensions.ExecuteList (System.Data.Common.DbCommand command, ASC.Common.Data.Sql.ISqlInstruction sql, ASC.Common.Data.Sql.ISqlDialect dialect) [0x00008] in <9083d94592564b93a4845d56152c7a6a>:0 at ASC.Common.Data.DbManager.ExecuteList (ASC.Common.Data.Sql.ISqlInstruction sql) [0x0000d] in <9083d94592564b93a4845d56152c7a6a>:0 at ASC.Common.Data.DbManagerProxy.ExecuteList (ASC.Common.Data.Sql.ISqlInstruction sql) [0x00006] in <9083d94592564b93a4845d56152c7a6a>:0 at ASC.Core.Data.DbBaseService+<>c__DisplayClass8_0.b0 (ASC.Common.Data.IDbManager db) [0x00000] in :0 at ASC.Core.Data.DbBaseService.Execute[T] (System.Func`2[T,TResult] action) [0x00007] in :0 at ASC.Core.Data.DbBaseService.ExecList (ASC.Common.Data.Sql.ISqlInstruction sql) [0x0000d] in :0 at ASC.Core.Data.DbTenantService.GetTenants (ASC.Common.Data.Sql.Expressions.Exp where) [0x00007] in :0 at ASC.Core.Data.DbTenantService.GetTenant (System.String domain) [0x00039] in :0 at ASC.Core.Caching.CachedTenantService.GetTenant (System.String domain) [0x00012] in :0 at ASC.Core.TenantManager.GetTenant (System.String domain) [0x0001f] in :0 at ASC.Core.TenantManager.GetCurrentTenant (System.Boolean throwIfNotFound) [0x00047] in :0 at ASC.Common.Logging.LogManager+<>c.b0_0 () [0x00005] in :0 at ASC.Common.Logging.LogNLog.Log (NLog.LogEventInfo theEvent) [0x00008] in <9083d94592564b93a4845d56152c7a6a>:0 at ASC.Common.Logging.LogNLog.Log (NLog.LogLevel level, System.Object message) [0x00025] in <9083d94592564b93a4845d56152c7a6a>:0 at ASC.Common.Logging.LogNLog.Error (System.Object message) [0x00000] in <9083d94592564b93a4845d56152c7a6a>:0 at ASC.Api.ApiSetupHttpModule.Init (System.Web.HttpApplication context) [0x00053] in <02c882079d524176b2e51d0bb71a96c7>:0 at System.Web.Configuration.HttpModulesSection.LoadModules (System.Web.HttpApplication app) [0x00047] in :0 at System.Web.HttpApplication.InitOnce (System.Boolean full_init) [0x0008e] in :0

Carazyda commented 1 year ago

Hello @filwu8 Have you changed our docker-compose.yml file? Also attach the output of docker ps and docker logs onlyoffice-community-server.

filwu8 commented 1 year ago

version: '3' services: onlyoffice-mysql-server: container_name: onlyoffice-mysql-server image: mysql:8.0.29 environment:

 docker logs --tail 1000 -f 941b85516c51409985bdfb04cbe966212de01c61235b37662ce1a2d36909278f 

+ 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.24.0.4/16
++ ip addr show eth0
++ awk '/inet / {gsub(/\/.*/,"",$2); print $2}'
++ head -1
+ DOCKER_CONTAINER_IP=172.24.0.4
+ 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
++ awk '{print $1}'
++ grep -i processor
++ wc -l
+ CPU_PROCESSOR_COUNT=24
++ 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.release-date"/s!.*value\s*=\s*"\([^"]*\)".*!\1!p' /var/www/onlyoffice/WebStudio/web.appsettings.config        
+ RELEASE_DATE=
++ CreateAuthToken '' core_secret
++ local pkey=
+++ 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=20230416084709
+++ echo -n -e '20230416084709\n'
+++ openssl dgst -sha1 -binary -mac HMAC -macopt key:core_secret
++ local 'authkey=X������)�vﮚKw�I�b'
+++ echo -n 'X������)�vﮚKw�I�b'
+++ base64
++ authkey=WPn/h44Zmekp+3bvrppLd6hJ+mI=
++ local 'result=ASC :20230416084709:WPn/h44Zmekp+3bvrppLd6hJ+mI='
++ a=2
+++ echo '"ASC' ':20230416084709:WPn/h44Zmekp+3bvrppLd6hJ+mI="'
+++ grep ==
++ '[' -z '' ']'
++ echo 'ASC :20230416084709:WPn/h44Zmekp+3bvrppLd6hJ+mI='
++ exit 0
+ RELEASE_DATE_SIGN='ASC :20230416084709:WPn/h44Zmekp+3bvrppLd6hJ+mI='
+ sed -i '/version.release-date.sign/s!value="[^"]*"!value=\"ASC :20230416084709:WPn/h44Zmekp+3bvrppLd6hJ+mI=\"!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=
+ '[' '' '!=' '' ']'
+ 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=false
+ DOCUMENT_SERVER_JWT_SECRET=
+ DOCUMENT_SERVER_JWT_HEADER=
+ 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.24.0.4/16 ']'
++ normalize_subnet 172.24.0.4/16
++ local 'IPRE=\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)'
++ IP=($(echo "$1" | sed -ne 's:^'"$IPRE"'/.*$:\1 \2 \3 \4:p'))
+++ echo 172.24.0.4/16
+++ sed -ne 's:^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)/.*$:\1 \2 \3 \4:p'
++ local IP
++ MASK=($(echo "$1" | sed -ne 's:^[^/]*/'"$IPRE"'$:\1 \2 \3 \4:p'))
+++ echo 172.24.0.4/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)$:\1 \2 \3 \4:p'
++ local MASK
++ '[' 0 -ne 4 ']'
++ BITCNT=($(echo "$1" | sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'))
+++ echo 172.24.0.4/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'
++ 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]=24
++ (( I++  ))
++ (( I<4 ))
++ NETWORK[$I]=0
++ (( I++  ))
++ (( I<4 ))
++ NETWORK[$I]=0
++ (( I++  ))
++ (( I<4 ))
+++ echo 172.24.0.4/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'
++ local IP_MASK=16
++ echo 172.24.0.0/16
+ DOCKER_APP_SUBNET=172.24.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 24;/' -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/default.conf
+ service nginx restart
 * Restarting nginx nginx                                                       start-stop-daemon: warning: failed to kill 18726: No such process
                                                                         [ OK ]
++ free -m
++ grep -oP '\d+'
++ head -n 1
+ TOTAL_MEMORY=31975
+ MEMORY_REQUIREMENTS=12228
+ '[' 31975 -gt 12228 ']'
+ grep -q '[-]Xms1g' /etc/elasticsearch/jvm.options
+ echo -Xms4g
+ grep -q '[-]Xmx1g' /etc/elasticsearch/jvm.options
+ echo -Xmx4g
+ '[' ']'
+ '[' ']'
+ '[' ']'
+ '[' false == true ']'
+ '[' true == true ']'
+ '[' '' == onlyoffice-document-server ']'
+ '[' onlyoffice-mysql-server '!=' localhost ']'
+ '[' onlyoffice-mysql-server '!=' 127.0.0.1 ']'
+ MYSQL_SERVER_EXTERNAL=true
+ '[' ']'
+ '[' 80 ']'
+ CONTROL_PANEL_ENABLED=true
+ MAIL_SERVER_API_PORT=8081
+ MAIL_SERVER_API_HOST=
+ MAIL_SERVER_DB_HOST=
+ MAIL_SERVER_DB_PORT=3306
+ MAIL_SERVER_DB_NAME=onlyoffice_mailserver
+ MAIL_SERVER_DB_USER=mail_admin
+ MAIL_SERVER_DB_PASS=Isadmin123
+ '[' ']'
++ date +%Y-%m-%dT%H:%M:%S
+ MAIL_IMAPSYNC_START_DATE=2023-04-16T08:47:09
+ sed 's_\(\"ImapSyncStartDate":\).*,_\1 "2023-04-16T08:47:09",_' -i /etc/onlyoffice/communityserver/mail.production.json
+ sed '/mail\.imap-sync-start-date/s/value="\S*"/value="2023-04-16T08:47:09"/g' -i /var/www/onlyoffice/WebStudio/web.appsettings.config 
+ '[' ']'
+ REDIS_SERVER_HOST=
+ REDIS_SERVER_CACHEPORT=6379
+ REDIS_SERVER_PASSWORD=
+ REDIS_SERVER_SSL=false
+ REDIS_SERVER_DATABASE=0
+ REDIS_SERVER_CONNECT_TIMEOUT=5000
+ REDIS_SERVER_EXTERNAL=false
+ '[' ']'
+ '[' false == false ']'
+ '[' -e /etc/redis/redis.conf ']'
+ sed -i 's/bind .*/bind 127.0.0.1/g' /etc/redis/redis.conf
+ ELASTICSEARCH_SERVER_HOST=onlyoffice-elasticsearch
+ ELASTICSEARCH_SERVER_HTTPPORT=9200
+ grep -q '<section name="elastic" type="ASC.ElasticSearch.Config.ElasticSection, ASC.ElasticSearch" />' /var/www/onlyoffice/WebStudio/Web.config
+ echo 'This entry is already there'
This entry is already there
+ '[' true == false ']'
+ service mysql stop
 * Stopping MySQL database server mysqld                                 [ OK ]
+ systemctl disable mysql.service
Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable mysql
+ mysql_check_connection
+ '[' ']'
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
++ mysql_scalar_exec 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\''' opt_ignore_db_name      
++ local queryResult=
++ '[' opt_ignore_db_name == opt_ignore_db_name ']'
+++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -e 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\'''
mysql: [Warning] Using a password on the command line interface can be insecure.
++ queryResult=onlyoffice
++ echo onlyoffice
+ DB_IS_EXIST=onlyoffice
++ mysql_scalar_exec 'SELECT DEFAULT_CHARACTER_SET_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\''' opt_ignore_db_name
++ local queryResult=
++ '[' opt_ignore_db_name == opt_ignore_db_name ']'
+++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -e 'SELECT DEFAULT_CHARACTER_SET_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\'''
mysql: [Warning] Using a password on the command line interface can be insecure.
++ queryResult=utf8mb3
++ echo utf8mb3
+ DB_CHARACTER_SET_NAME=utf8mb3
++ mysql_scalar_exec 'SELECT DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\''' opt_ignore_db_name
++ local queryResult=
++ '[' opt_ignore_db_name == opt_ignore_db_name ']'
+++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -e 'SELECT DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME='\''onlyoffice'\'''
mysql: [Warning] Using a password on the command line interface can be insecure.
++ queryResult=utf8_general_ci
++ echo utf8_general_ci
+ DB_COLLATION_NAME=utf8_general_ci
++ mysql_scalar_exec 'SELECT COUNT(*) FROM information_schema.tables WHERE table_schema='\''onlyoffice'\'''
++ local queryResult=
++ '[' '' == opt_ignore_db_name ']'
+++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -D onlyoffice -e 'SELECT COUNT(*) FROM information_schema.tables WHERE table_schema='\''onlyoffice'\'''
mysql: [Warning] Using a password on the command line interface can be insecure.
++ queryResult=0
++ echo 0
+ DB_TABLES_COUNT=0
+ '[' -z onlyoffice ']'
+ '[' utf8mb3 '!=' utf8 ']'
+ mysql_scalar_exec 'ALTER DATABASE onlyoffice CHARACTER SET utf8 COLLATE utf8_general_ci'
+ local queryResult=
+ '[' '' == opt_ignore_db_name ']'
++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -D onlyoffice -e 'ALTER DATABASE onlyoffice CHARACTER SET utf8 COLLATE utf8_general_ci'
mysql: [Warning] Using a password on the command line interface can be insecure.
+ queryResult=
+ echo

+ change_connections default /var/www/onlyoffice/WebStudio/web.connections.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/WebStudio/web.connections.config
+ change_connections teamlabsite /var/www/onlyoffice/WebStudio/web.connections.config
+ sed '/teamlabsite/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/WebStudio/web.connections.config
+ change_connections default /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ change_connections default /var/www/onlyoffice/Services/Jabber/ASC.Xmpp.Server.Launcher.exe.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/Services/Jabber/ASC.Xmpp.Server.Launcher.exe.config
+ change_connections default /var/www/onlyoffice/ApiSystem/Web.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/ApiSystem/Web.config
+ sed 's!"host":.*,!"host":"onlyoffice-mysql-server",!' -i /var/www/onlyoffice/Services/ASC.UrlShortener/config/config.json
+ sed 's!"user":.*,!"user":"onlyoffice_user",!' -i /var/www/onlyoffice/Services/ASC.UrlShortener/config/config.json
+ sed 's!"password":.*,!"password":"onlyoffice_pass",!' -i /var/www/onlyoffice/Services/ASC.UrlShortener/config/config.json
+ sed 's!"database":.*!"database":"onlyoffice"!' -i /var/www/onlyoffice/Services/ASC.UrlShortener/config/config.json
+ sed -i 's/Server=.*/Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;",/g' /etc/onlyoffice/communityserver/appsettings.production.json
+ '[' 0 -eq 0 ']'
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.sql
+ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -D onlyoffice     
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1067 (42000) at line 2214: Invalid default value for 'creationDate'
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.data.sql
+ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -D onlyoffice     
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1146 (42S02) at line 2113: Table 'onlyoffice.tenants_tenants' doesn't exist
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.resources.sql
+ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -D onlyoffice     
/app/run-community-server.sh: line 530: /var/www/onlyoffice/Sql/onlyoffice.resources.sql: No such file or directory
+ mysql_scalar_exec 'DELETE FROM webstudio_settings WHERE id='\''5C699566-34B1-4714-AB52-0E82410CE4E5'\'';'
+ local queryResult=
+ '[' '' == opt_ignore_db_name ']'
++ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -D onlyoffice -e 'DELETE FROM webstudio_settings WHERE id='\''5C699566-34B1-4714-AB52-0E82410CE4E5'\'';'
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1146 (42S02) at line 1: Table 'onlyoffice.webstudio_settings' doesn't exist
+ queryResult=
+ echo

+ '[' -f /var/www/onlyoffice/Data/certs/onlyoffice.crt -a -f /var/www/onlyoffice/Data/certs/onlyoffice.key ']'
+ cp /etc/nginx/includes/onlyoffice-communityserver-common.conf.template /app/config/nginx/prepare-onlyoffice
+ sed -i 1d /etc/logrotate.d/nginx
+ sed '1 i\/var/log/nginx/*.log /var/log/onlyoffice/nginx.*.log {' -i /etc/logrotate.d/nginx
+ '[' 172.24.0.0/16 ']'
+ sed 's,{{DOCKER_APP_SUBNET}},172.24.0.0/16,' -i /app/config/nginx/prepare-onlyoffice
+ '[' ']'
+ '[' false == true ']'
+ '[' false == true ']'
+ '[' false == true ']'
+ '[' true == true ']'
+ cp /etc/nginx/includes/onlyoffice-communityserver-proxy-to-controlpanel.conf.template /etc/nginx/includes/onlyoffice-communityserver-proxy-to-controlpanel.conf
+ sed 's,{{CONTROL_PANEL_HOST_ADDR}},onlyoffice-control-panel,' -i /etc/nginx/includes/onlyoffice-communityserver-proxy-to-controlpanel.conf
+ sed 's,{{SERVICE_SSO_AUTH_HOST_ADDR}},onlyoffice-control-panel,' -i /etc/nginx/includes/onlyoffice-communityserver-proxy-to-controlpanel.conf
+ sed '/web\.controlpanel\.url/s/\(value\s*=\s*\"\)[^\"]*\"/\1\/controlpanel\/\"/' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/web\.controlpanel\.url/s/\(value\s*=\s*\"\)[^\"]*\"/\1\/controlpanel\/\"/' -i /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ '[' SERVER == SERVER ']'
++ seq 1 1
+ for serverID in $(seq 1 ${APP_MONOSERVE_COUNT})
+ '[' 1 == 1 ']'
+ sed '/web.warmup.count/s/value=\"\S*\"/value=\"1\"/g' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/web.warmup.domain/s/value=\"\S*\"/value=\"localhost\/warmup\"/g' -i /var/www/onlyoffice/WebStudio/web.appsettings.config        
+ sed '/core.machinekey/s!value=".*"!value="core_secret"!g' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/core.machinekey/s!value=".*"!value="core_secret"!g' -i /var/www/onlyoffice/ApiSystem/Web.config
+ sed '/core.machinekey/s!value=".*"!value="core_secret"!g' -i /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ sed '/core\.machinekey/s!"core\.machinekey".*!"core\.machinekey":"core_secret",!' -i /var/www/onlyoffice/Services/ASC.Socket.IO/config/config.json
+ sed 's!machine_key\s*=.*!machine_key = core_secret!g' -i /var/www/onlyoffice/Services/TeamLabSvc/radicale.config
+ sed 's!"core\.machinekey":.*,!"core\.machinekey":"core_secret",!g' -i /var/www/onlyoffice/Services/ASC.UrlShortener/config/config.json
+ sed 's!"machinekey":.*!"machinekey":"core_secret",!' -i /etc/onlyoffice/communityserver/appsettings.production.json
+ continue
+ sed 's/{{APP_NIGNX_KEEPLIVE}}/32/g' -i /app/config/nginx/prepare-onlyoffice
+ bash -c 'echo "onlyoffice ALL=(ALL) NOPASSWD: /usr/sbin/service" | (EDITOR="tee -a" visudo)'
onlyoffice ALL=(ALL) NOPASSWD: /usr/sbin/service
+ '[' false == true ']'
+ systemctl enable redis-server.service
Synchronizing state of redis-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable redis-server
Created symlink /etc/systemd/system/redis.service → /lib/systemd/system/redis-server.service.
+ service redis-server start
Starting redis-server: redis-server.
+ redis-cli config set save ''
OK
+ redis-cli config rewrite
OK
+ redis-cli flushall
OK
+ service redis-server stop
Stopping redis-server: redis-server.
+ '[' SERVER == SERVICES ']'
+ systemctl enable monoserveApiSystem.service
++ seq 1 1
+ for serverID in $(seq 1 ${APP_MONOSERVE_COUNT})
+ index=1
+ '[' 1 == 1 ']'
+ index=
+ systemctl enable monoserve.service
+ chown -R onlyoffice:onlyoffice /var/log/onlyoffice
+ chown -R onlyoffice:onlyoffice /var/www/onlyoffice/DocumentServerData
++ ls -alhd /var/www/onlyoffice/Data
++ awk '{ print $3 }'
+ '[' onlyoffice '!=' onlyoffice ']'
+ '[' '!' -d /var/www/onlyoffice/Data/Index/v7.16.3 ']'
+ mkdir -p /var/log/onlyoffice//Index
+ mkdir -p /var/www/onlyoffice/Data/Index/v7.16.3
++ awk '{ print $3 }'
++ ls -alhd /var/www/onlyoffice/Data/Index/v7.16.3
+ '[' elasticsearch '!=' elasticsearch ']'
+ chown -R elasticsearch:elasticsearch /var/log/onlyoffice//Index
+ dpkg -l
+ grep -q onlyoffice-xmppserver
+ sed '/web\.talk/s/value=\"\S*\"/value=\"true\"/g' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/web\.chat/s/value=\"\S*\"/value=\"false\"/g' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ systemctl stop onlyofficeRadicale
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeTelegram
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeSocketIO
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeThumb
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeFeed
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeIndex
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeJabber
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeMailAggregator
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeMailWatchdog
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeMailCleaner
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeMailImap
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeNotify
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeBackup
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeStorageMigrate
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeStorageEncryption
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeUrlShortener
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeThumbnailBuilder
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop onlyofficeAutoCleanUp
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop god
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl enable god
+ systemctl stop elasticsearch
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop redis-server
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop mysql
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop nginx
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl stop monoserveApiSystem.service
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl enable monoserveApiSystem.service
++ seq 1 1
+ for serverID in $(seq 1 ${APP_MONOSERVE_COUNT})
+ index=1
+ '[' 1 == 1 ']'
+ index=
+ systemctl stop monoserve.service
System has not been booted with systemd as init system (PID 1). Can't operate.
+ systemctl enable monoserve.service
+ '[' false == true ']'
+ systemctl enable onlyofficeRadicale.service
+ systemctl enable onlyofficeTelegram.service
+ systemctl enable onlyofficeSocketIO.service
+ systemctl enable onlyofficeThumb.service
+ systemctl enable onlyofficeFeed.service
+ systemctl enable onlyofficeIndex.service
+ systemctl enable onlyofficeJabber.service
+ systemctl enable onlyofficeMailAggregator.service
+ systemctl enable onlyofficeMailWatchdog.service
+ systemctl enable onlyofficeMailCleaner.service
+ systemctl enable onlyofficeMailImap.service
+ systemctl enable onlyofficeNotify.service
+ systemctl enable onlyofficeBackup.service
+ systemctl enable onlyofficeStorageMigrate.service
+ systemctl enable onlyofficeStorageEncryption.service
+ systemctl enable onlyofficeUrlShortener.service
+ systemctl enable onlyofficeThumbnailBuilder.service
+ systemctl enable onlyofficeAutoCleanUp.service
+ '[' SERVER == SERVER ']'
+ mv /app/config/nginx/prepare-onlyoffice /etc/nginx/sites-enabled/onlyoffice
+ service nginx stop
+ systemctl enable nginx.service
Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable nginx
++ ps auxf
++ grep cron
++ grep -v grep
++ awk '{print $2}'
+ PID=
+ '[' onlyoffice-elasticsearch ']'
+ service elasticsearch stop
 * Stopping Elasticsearch Server                                         [ OK ]
+ systemctl disable elasticsearch.service
Synchronizing state of elasticsearch.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable elasticsearch
+ rm -f /usr/lib/systemd/system/elasticsearch.service
+ rm -f /etc/init.d/elasticsearch
+ '[' -n '' ']'
+ rm -dfr '/tmp/onlyoffice*'
+ rm -dfr '/var/run/onlyoffice/*'
+ rm -dfr '/var/cache/nginx/onlyoffice/*'
+ '[' true == true ']'
+ exec /lib/systemd/systemd
systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
Detected virtualization wsl.
Detected architecture x86-64.

Welcome to Ubuntu 18.04.6 LTS!

Set hostname to <941b85516c51>.
sysinit.target: Wants dependency dropin /lib/systemd/system/sysinit.target.wants/nginx_signing.key is not a symlink, ignoring.
Unnecessary job for /dev/sde was removed.
[  OK  ] Reached target Local File Systems.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Swap.
[  OK  ] Reached target Network is Online.
[  OK  ] Created slice System Slice.
[  OK  ] Listening on Journal Socket.
         Starting Enable support for additional executable binary formats...
         Starting Create Volatile Files and Directories...
[  OK  ] Listening on Syslog Socket.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Enable support for additional executable binary formats.
         Starting Journal Service...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Journal Service.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Run certbot twice daily.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Reached target Basic System.
         Starting ONLYOFFICE Thumb Service...
         Starting ONLYOFFICE AutoCleanUp Service...
         Starting Advanced key-value store...
         Starting nginx - high performance web server...
         Starting ONLYOFFICE MailWatchdog Service...
         Starting ONLYOFFICE Telegram Service...
         Starting ONLYOFFICE MailCleaner Service...
         Starting ONLYOFFICE MailAggregator Service...
         Starting System Logging Service...
         Starting ONLYOFFICE UrlShortener Service...
         Starting ONLYOFFICE WebDav Service...
         Starting God Service...
         Starting ONLYOFFICE Jabber Service...
         Starting ONLYOFFICE SsoAuth Service...
[  OK  ] Started System Logging Service.
[  OK  ] Started nginx - high performance web server.
[  OK  ] Started ONLYOFFICE Thumb Service.
[  OK  ] Started ONLYOFFICE AutoCleanUp Service.
[  OK  ] Started ONLYOFFICE Telegram Service.
[  OK  ] Started ONLYOFFICE UrlShortener Service.
[  OK  ] Started ONLYOFFICE WebDav Service.
[  OK  ] Started ONLYOFFICE Jabber Service.
[  OK  ] Started ONLYOFFICE SsoAuth Service.
[  OK  ] Started Advanced key-value store.
         Starting Start ONLYOFFICE Index Service...
         Starting FastCGI Mono server...
         Starting ONLYOFFICE Feed Service...
         Starting ONLYOFFICE ThumbnailBuilder Service...
         Starting ONLYOFFICE Radicale Service...
         Starting ONLYOFFICE MailImap Service...
         Starting ONLYOFFICE Notify Service...
         Starting Start ONLYOFFICE StorageEncryption Service...
         Starting ONLYOFFICE SocketIO Service...
         Starting FastCGI Mono server...
         Starting Start ONLYOFFICE Backup Service...
         Starting Start ONLYOFFICE StorageMigrate Service...
[  OK  ] Started FastCGI Mono server.
[  OK  ] Started FastCGI Mono server.
[  OK  ] Started Start ONLYOFFICE Index Service.
[  OK  ] Started ONLYOFFICE Feed Service.
[  OK  ] Started ONLYOFFICE ThumbnailBuilder Service.
[  OK  ] Started ONLYOFFICE Radicale Service.
[  OK  ] Started ONLYOFFICE Notify Service.
[  OK  ] Started God Service.
[  OK  ] Started Start ONLYOFFICE StorageEncryption Service.
[  OK  ] Started ONLYOFFICE SocketIO Service.
[  OK  ] Started Start ONLYOFFICE Backup Service.
[  OK  ] Started Start ONLYOFFICE StorageMigrate Service.
         Stopping FastCGI Mono server...
[  OK  ] Stopped FastCGI Mono server.
         Starting FastCGI Mono server...
[  OK  ] Started FastCGI Mono server.
         Stopping FastCGI Mono server...
[  OK  ] Stopped FastCGI Mono server.
         Starting FastCGI Mono server...
[  OK  ] Started FastCGI Mono server.
[  OK  ] Started ONLYOFFICE MailCleaner Service.
[  OK  ] Started ONLYOFFICE MailWatchdog Service.
[  OK  ] Started ONLYOFFICE MailImap Service.
[  OK  ] Started ONLYOFFICE MailAggregator Service.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
filwu8 commented 1 year ago

mysql

docker logs --tail 1000 -f e0eed2b5fbf2145c33778f97ca1ddaccc6d80b24b457668d11727f215efad639 

2023-04-16 08:47:08+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.29-1.el8 started.
2023-04-16 08:47:08+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2023-04-16 08:47:08+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.29-1.el8 started.
2023-04-16 08:47:08+00:00 [Note] [Entrypoint]: Initializing database files
mysqld: [Warning] World-writable config file '/etc/mysql/conf.d/onlyoffice.cnf' is ignored.
2023-04-16T08:47:08.785154Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.29) initializing of server in progress as process 42
2023-04-16T08:47:08.789849Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-04-16T08:47:09.044990Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-04-16T08:47:10.879056Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2023-04-16 08:47:13+00:00 [Note] [Entrypoint]: Database files initialized
2023-04-16 08:47:13+00:00 [Note] [Entrypoint]: Starting temporary server
mysqld: [Warning] World-writable config file '/etc/mysql/conf.d/onlyoffice.cnf' is ignored.
mysqld will log errors to /var/lib/mysql/e0eed2b5fbf2.err
mysqld is running as pid 93
2023-04-16 08:47:13+00:00 [Note] [Entrypoint]: Temporary server started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
mysql: [Warning] World-writable config file '/etc/mysql/conf.d/onlyoffice.cnf' is ignored.
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
mysql: [Warning] World-writable config file '/etc/mysql/conf.d/onlyoffice.cnf' is ignored.

2023-04-16 08:47:15+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/onlyoffice-initdb.sql
mysql: [Warning] World-writable config file '/etc/mysql/conf.d/onlyoffice.cnf' is ignored.

2023-04-16 08:47:15+00:00 [Note] [Entrypoint]: Stopping temporary server
mysqladmin: [Warning] World-writable config file '/etc/mysql/conf.d/onlyoffice.cnf' is ignored.
2023-04-16 08:47:17+00:00 [Note] [Entrypoint]: Temporary server stopped

2023-04-16 08:47:17+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.

mysqld: [Warning] World-writable config file '/etc/mysql/conf.d/onlyoffice.cnf' is ignored.
2023-04-16T08:47:17.482329Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.29) starting as process 1
2023-04-16T08:47:17.485868Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-04-16T08:47:17.555798Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-04-16T08:47:17.691794Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2023-04-16T08:47:17.691832Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2023-04-16T08:47:17.693458Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2023-04-16T08:47:17.701905Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2023-04-16T08:47:17.701990Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.29'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.