CommunityServer
CommunityServer copied to clipboard
win10 docker:Cannot determine cgroup we are running in: No medium found

Upgrade
Sign in
flamboyant_turing
onlyoffice/communityserver
RUNNING
+ 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.4.0
+ APP_PRIVATE_DATA_DIR=/var/www/onlyoffice/Data/.private
+ APP_SERVICES_DIR=/var/www/onlyoffice/Services
+ 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.17.0.3/16
++ ip addr show eth0
++ awk '/inet / {gsub(/\/.*/,"",$2); print $2}'
++ head -1
+ DOCKER_CONTAINER_IP=172.17.0.3
+ 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
++ wc -l
++ grep -i processor
++ awk '{print $1}'
++ grep -i processor
++ cat /proc/cpuinfo
+ CPU_PROCESSOR_COUNT=16
++ ulimit -n
+ NGINX_WORKER_CONNECTIONS=1048576
+ SERVICE_SSO_AUTH_HOST_ADDR=
++ 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='Vskoproizvolny Salt par Chivreski'
+ echo 'Vskoproizvolny Salt par Chivreski'
++ sudo sed -n '/"version.release-date"/s!.*value\s*=\s*"\([^"]*\)".*!\1!p' /var/www/onlyoffice/WebStudio/web.appsettings.config
+ RELEASE_DATE=20210303
++ CreateAuthToken 20210303 'Vskoproizvolny Salt par Chivreski'
++ local pkey=20210303
+++ echo -n 'Vskoproizvolny Salt par Chivreski'
++ local 'machinekey=Vskoproizvolny Salt par Chivreski'
++ local a=1
++ local LIMIT=10
++ '[' 1 -le 10 ']'
+++ date +%Y%m%d%H%M%S
++ local now=20210317125659
+++ echo -n -e '20210317125659\n20210303'
+++ openssl dgst -sha1 -binary -mac HMAC -macopt 'key:Vskoproizvolny Salt par Chivreski'
++ local 'authkey=^������f�����{�l�'
+++ echo -n '^������f�����{�l�'
+++ base64
++ authkey=XqbZ3QyZqZlmtZOwu4Z7F7gabJM=
++ local 'result=ASC 20210303:20210317125659:XqbZ3QyZqZlmtZOwu4Z7F7gabJM='
++ a=2
+++ echo '"ASC' '20210303:20210317125659:XqbZ3QyZqZlmtZOwu4Z7F7gabJM="'
+++ grep ==
++ '[' -z '' ']'
++ echo 'ASC 20210303:20210317125659:XqbZ3QyZqZlmtZOwu4Z7F7gabJM='
++ exit 0
+ RELEASE_DATE_SIGN='ASC 20210303:20210317125659:XqbZ3QyZqZlmtZOwu4Z7F7gabJM='
+ sed -i '/version.release-date.sign/s!value="[^"]*"!value=\"ASC 20210303:20210317125659:XqbZ3QyZqZlmtZOwu4Z7F7gabJM=\"!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=
+ '[' 20210303 '!=' '' ']'
+ echo 20210303
+ 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=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=
+ MYSQL_SERVER_HOST=127.0.0.1
+ MYSQL_SERVER_PORT=3306
+ MYSQL_SERVER_DB_NAME=onlyoffice
+ MYSQL_SERVER_USER=root
+ MYSQL_SERVER_PASS=
+ MYSQL_SERVER_EXTERNAL=false
+ mkdir -p /var/www/onlyoffice/Data/certs/.well-known/acme-challenge
+ '[' 172.17.0.3/16 ']'
++ normalize_subnet 172.17.0.3/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.17.0.3/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.17.0.3/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.17.0.3/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]=17
++ (( I++ ))
++ (( I<4 ))
++ NETWORK[$I]=0
++ (( I++ ))
++ (( I<4 ))
++ NETWORK[$I]=0
++ (( I++ ))
++ (( I<4 ))
+++ echo 172.17.0.3/16
+++ sed -ne 's:^[^/]*/\([0-9]\+\)$:\1:p'
++ local IP_MASK=16
++ echo 172.17.0.0/16
+ DOCKER_APP_SUBNET=172.17.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 16;/' -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 18971: No such process
[ OK ]
++ grep -oP '\d+'
++ free -m
++ head -n 1
+ TOTAL_MEMORY=25601
+ MEMORY_REQUIREMENTS=12228
+ '[' 25601 -gt 12228 ']'
+ grep -q '[-]Xms1g' /etc/elasticsearch/jvm.options
+ sed -i s/-Xms1g/-Xms4g/ /etc/elasticsearch/jvm.options
+ grep -q '[-]Xmx1g' /etc/elasticsearch/jvm.options
+ sed -i s/-Xmx1g/-Xmx4g/ /etc/elasticsearch/jvm.options
+ '[' ']'
+ '[' ']'
+ '[' ']'
+ '[' false == true ']'
+ '[' true == true ']'
+ '[' '' == onlyoffice-document-server ']'
+ '[' 127.0.0.1 '!=' localhost ']'
+ '[' 127.0.0.1 '!=' 127.0.0.1 ']'
+ '[' ']'
+ '[' ']'
+ 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
+ '[' ']'
+ '[' ']'
+ 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=
+ ELASTICSEARCH_SERVER_HTTPPORT=9200
+ grep -q '<section name="elastic" type="ASC.ElasticSearch.Config.ElasticSection, ASC.ElasticSearch" />' /var/www/onlyoffice/WebStudio/Web.config
+ '[' ']'
+ '[' false == false ']'
+ chown -R mysql:mysql /var/lib/mysql/
+ chmod -R 755 /var/lib/mysql/
+ '[' '!' -f /var/lib/mysql/ibdata1 ']'
+ '[' ']'
+ myisamchk -q -r /var/lib/mysql/mysql/proc
- check record delete-chain
- recovering (with sort) MyISAM-table '/var/lib/mysql/mysql/proc'
Data records: 49
- Fixing index 1
+ systemctl enable mysql.service
Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mysql
+ service mysql start
[ OK ] MySQL database server mysqld
+ '[' '!' -f /var/lib/mysql/mysql_upgrade_info ']'
+ mysqladmin --silent ping -u root
+ grep -q 'mysqld is alive'
+ mysql_upgrade
Checking if update is needed.
Checking server version.
Running queries to upgrade MySQL server.
Checking system database.
mysql.columns_priv OK
mysql.db OK
mysql.engine_cost OK
mysql.event OK
mysql.func OK
mysql.general_log OK
mysql.gtid_executed OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.innodb_index_stats OK
mysql.innodb_table_stats OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.server_cost OK
mysql.servers OK
mysql.slave_master_info OK
mysql.slave_relay_log_info OK
mysql.slave_worker_info OK
mysql.slow_log OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
The sys schema is already up to date (version 1.5.2).
Checking databases.
onlyoffice.account_links OK
onlyoffice.audit_events OK
onlyoffice.backup_backup OK
onlyoffice.backup_schedule OK
onlyoffice.blogs_comments OK
onlyoffice.blogs_posts OK
onlyoffice.blogs_reviewposts OK
onlyoffice.blogs_tags OK
onlyoffice.bookmarking_bookmark OK
onlyoffice.bookmarking_bookmarktag OK
onlyoffice.bookmarking_comment OK
onlyoffice.bookmarking_tag OK
onlyoffice.bookmarking_userbookmark OK
onlyoffice.bookmarking_userbookmarktag OK
onlyoffice.calendar_calendar_item OK
onlyoffice.calendar_calendar_user OK
onlyoffice.calendar_calendars OK
onlyoffice.calendar_event_history OK
onlyoffice.calendar_event_item OK
onlyoffice.calendar_event_user OK
onlyoffice.calendar_events OK
onlyoffice.calendar_notifications OK
onlyoffice.calendar_todos OK
onlyoffice.core_acl OK
onlyoffice.core_group OK
onlyoffice.core_settings OK
onlyoffice.core_subscription OK
onlyoffice.core_subscriptionmethod OK
onlyoffice.core_user OK
onlyoffice.core_usergroup OK
onlyoffice.core_userphoto OK
onlyoffice.core_usersecurity OK
onlyoffice.crm_case OK
onlyoffice.crm_contact OK
onlyoffice.crm_contact_info OK
onlyoffice.crm_currency_info OK
onlyoffice.crm_currency_rate OK
onlyoffice.crm_deal OK
onlyoffice.crm_deal_milestone OK
onlyoffice.crm_entity_contact OK
onlyoffice.crm_entity_tag OK
onlyoffice.crm_field_description OK
onlyoffice.crm_field_value OK
onlyoffice.crm_invoice OK
onlyoffice.crm_invoice_item OK
onlyoffice.crm_invoice_line OK
onlyoffice.crm_invoice_tax OK
onlyoffice.crm_list_item OK
onlyoffice.crm_organisation_logo OK
onlyoffice.crm_projects OK
onlyoffice.crm_relationship_event OK
onlyoffice.crm_report_file OK
onlyoffice.crm_tag OK
onlyoffice.crm_task OK
onlyoffice.crm_task_template OK
onlyoffice.crm_task_template_container OK
onlyoffice.crm_task_template_task OK
onlyoffice.crm_voip_calls OK
onlyoffice.crm_voip_number OK
onlyoffice.dbip_location OK
onlyoffice.dbsync_last OK
onlyoffice.events_comment OK
onlyoffice.events_feed OK
onlyoffice.events_poll OK
onlyoffice.events_pollanswer OK
onlyoffice.events_pollvariant OK
onlyoffice.events_reader OK
onlyoffice.feed_aggregate OK
onlyoffice.feed_last OK
onlyoffice.feed_readed OK
onlyoffice.feed_users OK
onlyoffice.files_bunch_objects OK
onlyoffice.files_converts OK
onlyoffice.files_file OK
onlyoffice.files_folder OK
onlyoffice.files_folder_tree OK
onlyoffice.files_security OK
onlyoffice.files_tag OK
onlyoffice.files_tag_link OK
onlyoffice.files_thirdparty_account OK
onlyoffice.files_thirdparty_app OK
onlyoffice.files_thirdparty_id_mapping OK
onlyoffice.forum_answer OK
onlyoffice.forum_answer_variant OK
onlyoffice.forum_attachment OK
onlyoffice.forum_category OK
onlyoffice.forum_lastvisit OK
onlyoffice.forum_post OK
onlyoffice.forum_question OK
onlyoffice.forum_tag OK
onlyoffice.forum_thread OK
onlyoffice.forum_topic OK
onlyoffice.forum_topic_tag OK
onlyoffice.forum_topicwatch OK
onlyoffice.forum_variant OK
onlyoffice.install_registration OK
onlyoffice.jabber_archive OK
onlyoffice.jabber_archive_switch OK
onlyoffice.jabber_clear OK
onlyoffice.jabber_offactivity OK
onlyoffice.jabber_offmessage OK
onlyoffice.jabber_offpresence OK
onlyoffice.jabber_private OK
onlyoffice.jabber_room OK
onlyoffice.jabber_room_history OK
onlyoffice.jabber_roster OK
onlyoffice.jabber_vcard OK
onlyoffice.login_events OK
onlyoffice.mail_alerts OK
onlyoffice.mail_attachment OK
onlyoffice.mail_chain OK
onlyoffice.mail_chain_x_crm_entity OK
onlyoffice.mail_contact_info OK
onlyoffice.mail_contacts OK
onlyoffice.mail_display_images OK
onlyoffice.mail_filter OK
onlyoffice.mail_folder OK
onlyoffice.mail_folder_counters OK
onlyoffice.mail_imap_flags OK
onlyoffice.mail_imap_special_mailbox OK
onlyoffice.mail_mail OK
onlyoffice.mail_mailbox OK
onlyoffice.mail_mailbox_autoreply OK
onlyoffice.mail_mailbox_autoreply_history OK
onlyoffice.mail_mailbox_domain OK
onlyoffice.mail_mailbox_provider OK
onlyoffice.mail_mailbox_server OK
onlyoffice.mail_mailbox_signature OK
onlyoffice.mail_pop_unordered_domain OK
onlyoffice.mail_server_address OK
onlyoffice.mail_server_dns OK
onlyoffice.mail_server_domain OK
onlyoffice.mail_server_mail_group OK
onlyoffice.mail_server_mail_group_x_mail_server_address OK
onlyoffice.mail_server_server OK
onlyoffice.mail_server_server_type OK
onlyoffice.mail_server_server_x_tenant OK
onlyoffice.mail_tag OK
onlyoffice.mail_tag_addresses OK
onlyoffice.mail_tag_mail OK
onlyoffice.mail_user_folder OK
onlyoffice.mail_user_folder_tree OK
onlyoffice.mail_user_folder_x_mail OK
onlyoffice.mobile_app_install OK
onlyoffice.notify_info OK
onlyoffice.notify_promotion_watch OK
onlyoffice.notify_queue OK
onlyoffice.notify_tip_watch OK
onlyoffice.projects_comments OK
onlyoffice.projects_following_project_participant OK
onlyoffice.projects_messages OK
onlyoffice.projects_milestones OK
onlyoffice.projects_project_participant OK
onlyoffice.projects_project_tag OK
onlyoffice.projects_projects OK
onlyoffice.projects_report_template OK
onlyoffice.projects_reports OK
onlyoffice.projects_status OK
onlyoffice.projects_subtasks OK
onlyoffice.projects_tags OK
onlyoffice.projects_tasks OK
onlyoffice.projects_tasks_links OK
onlyoffice.projects_tasks_order OK
onlyoffice.projects_tasks_recurrence OK
onlyoffice.projects_tasks_responsible OK
onlyoffice.projects_templates OK
onlyoffice.projects_time_tracking OK
onlyoffice.res_authors OK
onlyoffice.res_authorsfile OK
onlyoffice.res_authorslang OK
onlyoffice.res_cultures OK
onlyoffice.res_data OK
onlyoffice.res_files OK
onlyoffice.res_reserve OK
onlyoffice.short_links OK
onlyoffice.sso_links OK
onlyoffice.sso_tokens OK
onlyoffice.telegram_users OK
onlyoffice.tenants_buttons OK
onlyoffice.tenants_forbiden OK
onlyoffice.tenants_iprestrictions OK
onlyoffice.tenants_partners OK
onlyoffice.tenants_quota OK
onlyoffice.tenants_quotarow OK
onlyoffice.tenants_tariff OK
onlyoffice.tenants_tenants OK
onlyoffice.tenants_version OK
onlyoffice.webstudio_fckuploads OK
onlyoffice.webstudio_index OK
onlyoffice.webstudio_settings OK
onlyoffice.webstudio_uservisit OK
onlyoffice.wiki_categories OK
onlyoffice.wiki_comments OK
onlyoffice.wiki_files OK
onlyoffice.wiki_pages OK
onlyoffice.wiki_pages_history OK
sys.sys_config OK
Upgrade process completed successfully.
Checking if update is needed.
+ service mysql restart
[ OK ] MySQL database server mysqld
[ OK ] MySQL database server mysqld
+ '[' -n '' ']'
++ grep password /etc/mysql/debian.cnf
++ head -1
++ sed 's/password\s*=\s*//'
++ tr -d '[[:space:]]'
+ DEBIAN_SYS_MAINT_PASS=iJ6WHkB3IzQynJkh
+ mysql_scalar_exec 'GRANT ALL PRIVILEGES ON *.* TO '\''debian-sys-maint'\''@'\''localhost'\'' IDENTIFIED BY '\''iJ6WHkB3IzQynJkh'\'''
+ local queryResult=
+ '[' '' == opt_ignore_db_name ']'
++ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice -e 'GRANT ALL PRIVILEGES ON *.* TO '\''debian-sys-maint'\''@'\''localhost'\'' IDENTIFIED BY '\''iJ6WHkB3IzQynJkh'\'''
mysql: [Warning] Using a password on the command line interface can be insecure.
+ queryResult=
+ echo
+ mysql_check_connection
+ '[' ']'
+ mysqladmin ping -h 127.0.0.1 -P 3306 -u root --password= --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 127.0.0.1 -P 3306 -u root --password= -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 127.0.0.1 -P 3306 -u root --password= -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=utf8
++ echo utf8
+ DB_CHARACTER_SET_NAME=utf8
++ 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 127.0.0.1 -P 3306 -u root --password= -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 127.0.0.1 -P 3306 -u root --password= -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=196
++ echo 196
+ DB_TABLES_COUNT=196
+ '[' -z onlyoffice ']'
+ '[' utf8 '!=' utf8 ']'
+ change_connections default /var/www/onlyoffice/WebStudio/web.connections.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=127.0.0.1;Port=3306;Database=onlyoffice;User ID=root;Password=;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=127.0.0.1;Port=3306;Database=onlyoffice;User ID=root;Password=;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=127.0.0.1;Port=3306;Database=onlyoffice;User ID=root;Password=;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=127.0.0.1;Port=3306;Database=onlyoffice;User ID=root;Password=;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/Services/MailAggregator/ASC.Mail.Aggregator.CollectionService.exe.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=127.0.0.1;Port=3306;Database=onlyoffice;User ID=root;Password=;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.Aggregator.CollectionService.exe.config
+ change_connections default /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.EmlDownloader.exe.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=127.0.0.1;Port=3306;Database=onlyoffice;User ID=root;Password=;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.EmlDownloader.exe.config
+ change_connections default /var/www/onlyoffice/Services/MailWatchdog/ASC.Mail.Watchdog.Service.exe.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=127.0.0.1;Port=3306;Database=onlyoffice;User ID=root;Password=;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/Services/MailWatchdog/ASC.Mail.Watchdog.Service.exe.config
+ change_connections default /var/www/onlyoffice/Services/MailCleaner/ASC.Mail.StorageCleaner.exe.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=127.0.0.1;Port=3306;Database=onlyoffice;User ID=root;Password=;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\"/' -i /var/www/onlyoffice/Services/MailCleaner/ASC.Mail.StorageCleaner.exe.config
+ change_connections default /var/www/onlyoffice/ApiSystem/Web.config
+ sed '/default/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server=127.0.0.1;Port=3306;Database=onlyoffice;User ID=root;Password=;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":"127.0.0.1",!' -i /var/www/onlyoffice/Services/ASC.UrlShortener/config/config.json
+ sed 's!"user":.*,!"user":"root",!' -i /var/www/onlyoffice/Services/ASC.UrlShortener/config/config.json
+ sed 's!"password":.*,!"password":"",!' -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
+ '[' 196 -eq 0 ']'
+ '[' true == true ']'
++ ls /var/www/onlyoffice/Sql/onlyoffice.upgrade80.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade81.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade85.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade86.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade87.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade88.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade890.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade892.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade90.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade91.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade950.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade952.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade960.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade962.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade963.sql /var/www/onlyoffice/Sql/onlyoffice.upgrade.resources.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev100.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev105.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev110.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev111.sql
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade80.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade81.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade85.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade86.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade87.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade88.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade890.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade892.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade90.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade91.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade950.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade952.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade960.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade962.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade963.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade.resources.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgradev100.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgradev105.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgradev110.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ for i in $(ls ${APP_SQL_DIR}/onlyoffice.upgrade*)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgradev111.sql
+ mysql --silent --skip-column-names -h 127.0.0.1 -P 3306 -u root --password= -D onlyoffice
mysql: [Warning] Using a password on the command line interface can be insecure.
+ 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 127.0.0.1 -P 3306 -u root --password= -D onlyoffice -e 'DELETE FROM webstudio_settings WHERE id='\''5C699566-34B1-4714-AB52-0E82410CE4E5'\'';'
mysql: [Warning] Using a password on the command line interface can be insecure.
+ queryResult=
+ echo
+ '[' -f /var/www/onlyoffice/Data/certs/onlyoffice.crt -a -f /var/www/onlyoffice/Data/certs/onlyoffice.key ']'
+ cp /etc/nginx/includes/onlyoffice-communityserver-common.conf.template /app/config/nginx/prepare-onlyoffice
+ sed -i 1d /etc/logrotate.d/nginx
+ sed '1 i\/var/log/nginx/*.log /var/log/onlyoffice/nginx.*.log {' -i /etc/logrotate.d/nginx
+ '[' 172.17.0.0/16 ']'
+ sed 's,{{DOCKER_APP_SUBNET}},172.17.0.0/16,' -i /app/config/nginx/prepare-onlyoffice
+ '[' ']'
+ '[' false == true ']'
+ '[' false == true ']'
+ '[' false == true ']'
+ '[' false == true ']'
+ '[' 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="Vskoproizvolny Salt par Chivreski"!g' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/core.machinekey/s!value=".*"!value="Vskoproizvolny Salt par Chivreski"!g' -i /var/www/onlyoffice/ApiSystem/Web.config
+ sed '/core.machinekey/s!value=".*"!value="Vskoproizvolny Salt par Chivreski"!g' -i /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.config
+ sed '/core\.machinekey/s!"core\.machinekey".*!"core\.machinekey":"Vskoproizvolny Salt par Chivreski",!' -i /var/www/onlyoffice/Services/ASC.Socket.IO/config/config.json
+ sed 's!machine_key\s*=.*!machine_key = Vskoproizvolny Salt par Chivreski!g' -i /var/www/onlyoffice/Services/TeamLabSvc/radicale.config
+ sed 's!"core\.machinekey":.*,!"core\.machinekey":"Vskoproizvolny Salt par Chivreski",!g' -i /var/www/onlyoffice/Services/ASC.UrlShortener/config/config.json
+ sed '/core.machinekey/s!value=".*"!value="Vskoproizvolny Salt par Chivreski"!g' -i /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.EmlDownloader.exe.config
+ sed '/core.machinekey/s!value=".*"!value="Vskoproizvolny Salt par Chivreski"!g' -i /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.Aggregator.CollectionService.exe.config
+ sed '/core.machinekey/s!value=".*"!value="Vskoproizvolny Salt par Chivreski"!g' -i /var/www/onlyoffice/Services/MailCleaner/ASC.Mail.StorageCleaner.exe.config
+ 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.4.0 ']'
+ mkdir -p /var/log/onlyoffice//Index
+ mkdir -p /var/www/onlyoffice/Data/Index/v7.4.0
++ awk '{ print $3 }'
++ ls -alhd /var/www/onlyoffice/Data/Index/v7.4.0
+ '[' 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 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 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 onlyofficeNotify.service
+ systemctl enable onlyofficeBackup.service
+ systemctl enable onlyofficeStorageMigrate.service
+ systemctl enable onlyofficeStorageEncryption.service
+ systemctl enable onlyofficeUrlShortener.service
+ systemctl enable onlyofficeThumbnailBuilder.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=
+ '[' ']'
+ systemctl enable elasticsearch.service
Synchronizing state of elasticsearch.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable elasticsearch
Created symlink /etc/systemd/system/multi-user.target.wants/elasticsearch.service → /usr/lib/systemd/system/elasticsearch.service.
+ '[' -n '' ']'
+ '[' 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.5 LTS!
Set hostname to <4c337c0f6050>.
Cannot determine cgroup we are running in: No medium found
Failed to allocate manager object: No medium found
[!!!!!!] Failed to allocate manager object, freezing.
Freezing execution.
Search...
Stick to bottom
Seems this is a problem with CommunityServer, moving issue to another repo
@Carazyda please take a look, I think root case of this problem is that docker is runing on windows via WSL, I'm not sure if we ever tested this combination
I hava installed wsl2
Hello @lsyyktv Officially we dont support docker on windows, but we will try to reproduce your problem, and fixed it. Better to use linux for docker, and exe installation for Windows.