root@workspace:/tmp# sudo dpkg --configure onlyoffice-communityserver Paramétrage de onlyoffice-communityserver (12.8.0.1971) ... + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/onlyoffice-communityserver.postinst configure 12.7.1.1942 + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + DIR=/var/www/onlyoffice + LOG_DIR=/var/log/onlyoffice + APP_DATA_DIR=/var/www/onlyoffice/Data ++ dpkg -l elasticsearch ++ tail -n1 ++ awk '{print $3}' + ELASTIC_SEARCH_VERSION=7.16.3 + APP_INDEX_DIR=/var/www/onlyoffice/Data/Index/v7.16.3 + APP_SERVICES_DIR=/var/www/onlyoffice/Services + OLD_VERSION=12.7.1.1942 + NGINX_ROOT_DIR=/etc/nginx + CONFIG_DIR=/etc/onlyoffice/communityserver + DB_HOST= + DB_USER= + DB_PWD= + DB_NAME= + case "$1" in + cat /etc/passwd + grep -q onlyoffice: + cat /etc/group + grep -q nginx: + cat /etc/passwd + grep -q nginx: + usermod -aG onlyoffice,nginx onlyoffice + '[' '!' -z 12.7.1.1942 ']' ++ awk -F. '{ printf("%d%03d%03d%03d", $1,$2,$3,$4); }' + OLDER_PACKAGE_VERSION=120070011942 + install_db + db_get onlyoffice-communityserver/db-host + _db_cmd 'GET onlyoffice-communityserver/db-host' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET onlyoffice-communityserver/db-host' + IFS=' ' + read -r _db_internal_line + IFS=' ' + RET=127.0.0.1 + case ${_db_internal_line%%[ ]*} in + return 0 + DB_HOST=127.0.0.1 + db_get onlyoffice-communityserver/db-user + _db_cmd 'GET onlyoffice-communityserver/db-user' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET onlyoffice-communityserver/db-user' + IFS=' ' + read -r _db_internal_line + IFS=' ' + RET=root + case ${_db_internal_line%%[ ]*} in + return 0 + DB_USER=root + db_get onlyoffice-communityserver/db-pwd + _db_cmd 'GET onlyoffice-communityserver/db-pwd' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET onlyoffice-communityserver/db-pwd' + IFS=' ' + read -r _db_internal_line + IFS=' ' + RET=P8oxD5LqytmN + case ${_db_internal_line%%[ ]*} in + return 0 + DB_PWD=P8oxD5LqytmN + db_get onlyoffice-communityserver/db-name + _db_cmd 'GET onlyoffice-communityserver/db-name' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET onlyoffice-communityserver/db-name' + IFS=' ' + read -r _db_internal_line + IFS=' ' + RET=onlyoffice + case ${_db_internal_line%%[ ]*} in + return 0 + DB_NAME=onlyoffice + MYSQL='mysql -h127.0.0.1 -uroot' + '[' -n P8oxD5LqytmN ']' + MYSQL='mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN' + sed 's/#max_connections.*/max_connections = 1000/' -i /etc/mysql/my.cnf + CNF_PATH=/etc/mysql/mysql.conf.d/mysqld.cnf + CNF_SERVICE_PATH=/lib/systemd/system/mysql.service + mysql -V + grep -q MariaDB + '[' -e /etc/mysql/mysql.conf.d/mysqld.cnf ']' + grep -q '^sql_mode' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/sql_mode.*/sql_mode = '\''NO_ENGINE_SUBSTITUTION'\''/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^max_connections' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/max_connections.*/max_connections = 1000/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^group_concat_max_len' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/group_concat_max_len.*/group_concat_max_len = 2048/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^max_allowed_packet' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/max_allowed_packet.*/max_allowed_packet = 1048576000/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^character_set_server' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/character_set_server.*/character_set_server = utf8/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^collation_server' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/collation_server.*/collation_server = utf8_general_ci/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^interactive_timeout' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/interactive_timeout.*/interactive_timeout = 900/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^wait_timeout' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/wait_timeout.*/wait_timeout = 900/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + '[' -e /lib/systemd/system/mysql.service ']' + grep -q '^LimitNOFILE' /lib/systemd/system/mysql.service + sed 's/LimitNOFILE.*/LimitNOFILE = infinity/' -i /lib/systemd/system/mysql.service + grep -q '^LimitMEMLOCK' /lib/systemd/system/mysql.service + sed 's/LimitMEMLOCK.*/LimitMEMLOCK = infinity/' -i /lib/systemd/system/mysql.service + systemctl daemon-reload + sed -i '/^default-authentication-plugin/d' /etc/mysql/mysql.conf.d/mysqld.cnf + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN -e ';' ++ mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN -e 'SHOW VARIABLES LIKE '\''default_authentication_plugin'\'';' -s ++ awk '{print $2}' mysql: [Warning] Using a password on the command line interface can be insecure. + MYSQL_AUTHENTICATION_PLUGIN=caching_sha2_password + '[' -n caching_sha2_password ']' + grep -q '^default-authentication-plugin' /etc/mysql/mysql.conf.d/mysqld.cnf + sed '/\[mysqld\]/a default-authentication-plugin = caching_sha2_password' -i /etc/mysql/mysql.conf.d/mysqld.cnf + '[' root = root ']' + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN -D mysql -e 'ALTER USER '\''root'\''@'\''localhost'\'' IDENTIFIED WITH caching_sha2_password BY '\''P8oxD5LqytmN'\''' + service mysql restart + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN -e 'CREATE DATABASE IF NOT EXISTS `onlyoffice` CHARACTER SET utf8 COLLATE `utf8_general_ci`;' mysql: [Warning] Using a password on the command line interface can be insecure. ++ mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN --silent --skip-column-names -e 'SELECT COUNT(*) FROM information_schema.tables WHERE table_schema='\''onlyoffice'\''' mysql: [Warning] Using a password on the command line interface can be insecure. + DB_TABLES_COUNT=208 + '[' 208 -eq 0 ']' ++ 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.upgradev100.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev105.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev110.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev111.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev115.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev116.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev120.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev121.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev125.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev126.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev127.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev128.sql + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + grep -q client_max_body_size /etc/nginx/nginx.conf + sed -i 's/\(client_max_body_size\).*\?\;/\1 100m;/' /etc/nginx/nginx.conf + '[' '!' -f /proc/net/if_inet6 ']' + apply_connection_string + binDirs=("WebStudio" "ApiSystem" "Services/TeamLabSvc") + '[' 127.0.0.1 '!=' localhost ']' + '[' -d /var/www/onlyoffice/ ']' + for i in "${!binDirs[@]}" + find /var/www/onlyoffice/WebStudio -type f -name '*.[cC]onfig' -exec sed -i 's/connectionString=.*/connectionString="Server=127.0.0.1;Database=onlyoffice;User ID=root;Password=P8oxD5LqytmN;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;" providerName="MySql.Data.MySqlClient"\/>/' '{}' ';' + for i in "${!binDirs[@]}" + find /var/www/onlyoffice/ApiSystem -type f -name '*.[cC]onfig' -exec sed -i 's/connectionString=.*/connectionString="Server=127.0.0.1;Database=onlyoffice;User ID=root;Password=P8oxD5LqytmN;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;" providerName="MySql.Data.MySqlClient"\/>/' '{}' ';' + for i in "${!binDirs[@]}" + find /var/www/onlyoffice/Services/TeamLabSvc -type f -name '*.[cC]onfig' -exec sed -i 's/connectionString=.*/connectionString="Server=127.0.0.1;Database=onlyoffice;User ID=root;Password=P8oxD5LqytmN;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;" providerName="MySql.Data.MySqlClient"\/>/' '{}' ';' + find /var/www/onlyoffice/Services/ASC.UrlShortener/config -type f -name '*.json' -exec sed -i -e 's!\("host":\).*,!\1 "127.0.0.1",!' -e 's!\("user":\).*,!\1 "root",!' -e 's!\("password":\).*,!\1 "P8oxD5LqytmN",!' -e 's!\("database":\).*!\1 "onlyoffice"!' '{}' ';' + sed -i 's/Server=.*/Server=127.0.0.1;Port=3306;Database=onlyoffice;User ID=root;Password=P8oxD5LqytmN;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=True;ConnectionReset=false",/g' /etc/onlyoffice/communityserver/appsettings.production.json + apply_core_machinekey + db_get onlyoffice-communityserver/machinekey + _db_cmd 'GET onlyoffice-communityserver/machinekey' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET onlyoffice-communityserver/machinekey' + IFS=' ' + read -r _db_internal_line + IFS=' ' + RET=kAH2nodUYizf + case ${_db_internal_line%%[ ]*} in + return 0 + '[' '!' -z 120070011942 ']' + CORE_MACHINEKEY=kAH2nodUYizf + '[' -z kAH2nodUYizf ']' + true + sed 's^\(machine_key\)\s*=.*^\1 = kAH2nodUYizf^g' -i /var/www/onlyoffice/Services/TeamLabSvc/radicale.config + binDirs=("$DIR/ApiSystem/" "$DIR/WebStudio" "$DIR/controlpanel/www/config" "$APP_SERVICES_DIR" "$CONFIG_DIR") + for i in "${!binDirs[@]}" + '[' -d /var/www/onlyoffice/ApiSystem/ ']' + find /var/www/onlyoffice/ApiSystem/ -type f -name '*.[cC]onfig' -exec sed -i '/core.\machinekey/s_\(value\s*=\s*"\)[^"]*"_\1kAH2nodUYizf"_' '{}' ';' + find /var/www/onlyoffice/ApiSystem/ -type f -name '*.json' -exec sed -i 's_\("core.machinekey":\|"machinekey":\).*,_\1 "kAH2nodUYizf",_' '{}' ';' + for i in "${!binDirs[@]}" + '[' -d /var/www/onlyoffice/WebStudio ']' + find /var/www/onlyoffice/WebStudio -type f -name '*.[cC]onfig' -exec sed -i '/core.\machinekey/s_\(value\s*=\s*"\)[^"]*"_\1kAH2nodUYizf"_' '{}' ';' + find /var/www/onlyoffice/WebStudio -type f -name '*.json' -exec sed -i 's_\("core.machinekey":\|"machinekey":\).*,_\1 "kAH2nodUYizf",_' '{}' ';' + for i in "${!binDirs[@]}" + '[' -d /var/www/onlyoffice/controlpanel/www/config ']' + find /var/www/onlyoffice/controlpanel/www/config -type f -name '*.[cC]onfig' -exec sed -i '/core.\machinekey/s_\(value\s*=\s*"\)[^"]*"_\1kAH2nodUYizf"_' '{}' ';' + find /var/www/onlyoffice/controlpanel/www/config -type f -name '*.json' -exec sed -i 's_\("core.machinekey":\|"machinekey":\).*,_\1 "kAH2nodUYizf",_' '{}' ';' + for i in "${!binDirs[@]}" + '[' -d /var/www/onlyoffice/Services ']' + find /var/www/onlyoffice/Services -type f -name '*.[cC]onfig' -exec sed -i '/core.\machinekey/s_\(value\s*=\s*"\)[^"]*"_\1kAH2nodUYizf"_' '{}' ';' + find /var/www/onlyoffice/Services -type f -name '*.json' -exec sed -i 's_\("core.machinekey":\|"machinekey":\).*,_\1 "kAH2nodUYizf",_' '{}' ';' + for i in "${!binDirs[@]}" + '[' -d /etc/onlyoffice/communityserver ']' + find /etc/onlyoffice/communityserver -type f -name '*.[cC]onfig' -exec sed -i '/core.\machinekey/s_\(value\s*=\s*"\)[^"]*"_\1kAH2nodUYizf"_' '{}' ';' + find /etc/onlyoffice/communityserver -type f -name '*.json' -exec sed -i 's_\("core.machinekey":\|"machinekey":\).*,_\1 "kAH2nodUYizf",_' '{}' ';' + mkdir -p /etc/mono/registry/LocalMachine + mkdir -p /usr/share/.mono/keypairs + mkdir -p /var/log/onlyoffice + mkdir -p /var/www/onlyoffice/Data + mkdir -p /var/www/onlyoffice/DocumentServerData + mkdir -p /var/cache/nginx/onlyoffice + mkdir -p /var/run/onlyoffice + rm -dfr /tmp/onlyoffice-temp-aspnet-0 + rm -dfr /var/run/onlyoffice/onlyofficeApiSystem.socket /var/run/onlyoffice/onlyoffice.socket + rm -dfr '/var/cache/nginx/onlyoffice/*' + mkdir -p -m 700 /var/www/onlyoffice/.config/.mono/keypairs + chown nginx:nginx -R /var/cache/nginx/onlyoffice + chown onlyoffice:nginx -R /var/run/onlyoffice + chmod g+s+w /var/run/onlyoffice + rm -f /etc/nginx/sites-enabled/default + rm -f /etc/nginx/sites-enabled/onlyoffice-apisystem + which apparmor_parser /usr/sbin/apparmor_parser + '[' '!' -f /etc/apparmor.d/disable/usr.sbin.mysqld ']' + '[' -f /etc/apparmor.d/disable/ ']' + '[' -d /etc/apport/blacklist.d ']' ++ python3 -c 'import sys; print(sys.version_info.minor)' + '[' -f /usr/lib/python3.11/EXTERNALLY-MANAGED ']' + pip_packages+=("setuptools<82" "radicale==3.0.5") + for pkg in requests importlib-metadata + dpkg -l python3-requests + for pkg in requests importlib-metadata + dpkg -l python3-importlib-metadata + export PIP_ROOT_USER_ACTION=ignore + PIP_ROOT_USER_ACTION=ignore + python3 -m pip install --upgrade --ignore-installed 'setuptools<82' radicale==3.0.5 /var/www/onlyoffice/Tools/radicale/plugins/app_auth_plugin/. /var/www/onlyoffice/Tools/radicale/plugins/app_store_plugin/. /var/www/onlyoffice/Tools/radicale/plugins/app_rights_plugin/. Processing /var/www/onlyoffice/Tools/radicale/plugins/app_auth_plugin Preparing metadata (setup.py) ... done Processing /var/www/onlyoffice/Tools/radicale/plugins/app_store_plugin Preparing metadata (setup.py) ... done Processing /var/www/onlyoffice/Tools/radicale/plugins/app_rights_plugin Preparing metadata (setup.py) ... done Collecting setuptools<82 Using cached setuptools-81.0.0-py3-none-any.whl (1.1 MB) Collecting radicale==3.0.5 Using cached Radicale-3.0.5-py3-none-any.whl (121 kB) Collecting defusedxml Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting passlib Using cached passlib-1.7.4-py2.py3-none-any.whl (525 kB) Collecting vobject>=0.9.6 Using cached vobject-0.9.9-py2.py3-none-any.whl (47 kB) Collecting python-dateutil>=2.7.3 Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Collecting six>=1.5 Using cached six-1.17.0-py2.py3-none-any.whl (11 kB) Collecting pytz Using cached pytz-2026.2-py2.py3-none-any.whl (510 kB) Building wheels for collected packages: app_auth_plugin, app_store_plugin, app_rights_plugin Building wheel for app_auth_plugin (setup.py) ... done Created wheel for app_auth_plugin: filename=app_auth_plugin-1.0.0-py3-none-any.whl size=2618 sha256=9e6bccf050942476421014187d71f18274af435aa24400d1da407997c63140cf Stored in directory: /tmp/pip-ephem-wheel-cache-eqso0qwm/wheels/5a/54/73/e7744164c9a72590d99ef488280a1b50d46f07a9ac0ecbcb7a Building wheel for app_store_plugin (setup.py) ... done Created wheel for app_store_plugin: filename=app_store_plugin-1.0.0-py3-none-any.whl size=15692 sha256=cd44dbdbf8ea9449000f82b89bd21ae7243cf87b8a54398c58b1a03213274908 Stored in directory: /tmp/pip-ephem-wheel-cache-eqso0qwm/wheels/1a/93/7e/366b9464b3fac4592d182bab3341588f74a723bf1d4e003773 Building wheel for app_rights_plugin (setup.py) ... done Created wheel for app_rights_plugin: filename=app_rights_plugin-1.0.0-py3-none-any.whl size=2089 sha256=ac98c19f281b4c77a7d12890565c24fba5ba66d46b30a274c165f2907317096a Stored in directory: /tmp/pip-ephem-wheel-cache-eqso0qwm/wheels/b1/68/ce/aaa3f7cab40c3a5030b8fa29403f886efa5e83dfcba11f0d2a Successfully built app_auth_plugin app_store_plugin app_rights_plugin Installing collected packages: pytz, passlib, app_store_plugin, app_rights_plugin, app_auth_plugin, six, setuptools, defusedxml, python-dateutil, vobject, radicale Successfully installed app_auth_plugin-1.0.0 app_rights_plugin-1.0.0 app_store_plugin-1.0.0 defusedxml-0.7.1 passlib-1.7.4 python-dateutil-2.9.0.post0 pytz-2026.2 radicale-3.0.5 setuptools-81.0.0 six-1.17.0 vobject-0.9.9 + service elasticsearch stop + /usr/share/elasticsearch/bin/elasticsearch-plugin list + grep -q ingest-attachment + /usr/share/elasticsearch/bin/elasticsearch-plugin install -b file:///tmp/ingest-attachment-7.16.3.zip -> Installing file:///tmp/ingest-attachment-7.16.3.zip -> Downloading file:///tmp/ingest-attachment-7.16.3.zip -> Failed installing file:///tmp/ingest-attachment-7.16.3.zip -> Rolling back file:///tmp/ingest-attachment-7.16.3.zip -> Rolled back file:///tmp/ingest-attachment-7.16.3.zip ERROR: plugin directory [/usr/share/elasticsearch/plugins/ingest-attachment] already exists; if you need to update the plugin, uninstall it first using command 'remove ingest-attachment' dpkg: erreur de traitement du paquet onlyoffice-communityserver (--configure) : le sous-processus paquet onlyoffice-communityserver script post-installation installé a renvoyé un état de sortie d'erreur 1 Des erreurs ont été rencontrées pendant l'exécution : onlyoffice-communityserver root@workspace:/tmp# /usr/share/elasticsearch/bin/elasticsearch-plugin remove ingest-attachment -> removing [ingest-attachment]... root@workspace:/tmp# sudo dpkg --configure onlyoffice-communityserver Paramétrage de onlyoffice-communityserver (12.8.0.1971) ... + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/onlyoffice-communityserver.postinst configure 12.7.1.1942 + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + DIR=/var/www/onlyoffice + LOG_DIR=/var/log/onlyoffice + APP_DATA_DIR=/var/www/onlyoffice/Data ++ dpkg -l elasticsearch ++ tail -n1 ++ awk '{print $3}' + ELASTIC_SEARCH_VERSION=7.16.3 + APP_INDEX_DIR=/var/www/onlyoffice/Data/Index/v7.16.3 + APP_SERVICES_DIR=/var/www/onlyoffice/Services + OLD_VERSION=12.7.1.1942 + NGINX_ROOT_DIR=/etc/nginx + CONFIG_DIR=/etc/onlyoffice/communityserver + DB_HOST= + DB_USER= + DB_PWD= + DB_NAME= + case "$1" in + cat /etc/passwd + grep -q onlyoffice: + cat /etc/group + grep -q nginx: + cat /etc/passwd + grep -q nginx: + usermod -aG onlyoffice,nginx onlyoffice + '[' '!' -z 12.7.1.1942 ']' ++ awk -F. '{ printf("%d%03d%03d%03d", $1,$2,$3,$4); }' + OLDER_PACKAGE_VERSION=120070011942 + install_db + db_get onlyoffice-communityserver/db-host + _db_cmd 'GET onlyoffice-communityserver/db-host' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET onlyoffice-communityserver/db-host' + IFS=' ' + read -r _db_internal_line + IFS=' ' + RET=127.0.0.1 + case ${_db_internal_line%%[ ]*} in + return 0 + DB_HOST=127.0.0.1 + db_get onlyoffice-communityserver/db-user + _db_cmd 'GET onlyoffice-communityserver/db-user' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET onlyoffice-communityserver/db-user' + IFS=' ' + read -r _db_internal_line + IFS=' ' + RET=root + case ${_db_internal_line%%[ ]*} in + return 0 + DB_USER=root + db_get onlyoffice-communityserver/db-pwd + _db_cmd 'GET onlyoffice-communityserver/db-pwd' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET onlyoffice-communityserver/db-pwd' + IFS=' ' + read -r _db_internal_line + IFS=' ' + RET=P8oxD5LqytmN + case ${_db_internal_line%%[ ]*} in + return 0 + DB_PWD=P8oxD5LqytmN + db_get onlyoffice-communityserver/db-name + _db_cmd 'GET onlyoffice-communityserver/db-name' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET onlyoffice-communityserver/db-name' + IFS=' ' + read -r _db_internal_line + IFS=' ' + RET=onlyoffice + case ${_db_internal_line%%[ ]*} in + return 0 + DB_NAME=onlyoffice + MYSQL='mysql -h127.0.0.1 -uroot' + '[' -n P8oxD5LqytmN ']' + MYSQL='mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN' + sed 's/#max_connections.*/max_connections = 1000/' -i /etc/mysql/my.cnf + CNF_PATH=/etc/mysql/mysql.conf.d/mysqld.cnf + CNF_SERVICE_PATH=/lib/systemd/system/mysql.service + mysql -V + grep -q MariaDB + '[' -e /etc/mysql/mysql.conf.d/mysqld.cnf ']' + grep -q '^sql_mode' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/sql_mode.*/sql_mode = '\''NO_ENGINE_SUBSTITUTION'\''/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^max_connections' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/max_connections.*/max_connections = 1000/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^group_concat_max_len' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/group_concat_max_len.*/group_concat_max_len = 2048/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^max_allowed_packet' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/max_allowed_packet.*/max_allowed_packet = 1048576000/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^character_set_server' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/character_set_server.*/character_set_server = utf8/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^collation_server' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/collation_server.*/collation_server = utf8_general_ci/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^interactive_timeout' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/interactive_timeout.*/interactive_timeout = 900/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + grep -q '^wait_timeout' /etc/mysql/mysql.conf.d/mysqld.cnf + sed 's/wait_timeout.*/wait_timeout = 900/' -i /etc/mysql/mysql.conf.d/mysqld.cnf + '[' -e /lib/systemd/system/mysql.service ']' + grep -q '^LimitNOFILE' /lib/systemd/system/mysql.service + sed 's/LimitNOFILE.*/LimitNOFILE = infinity/' -i /lib/systemd/system/mysql.service + grep -q '^LimitMEMLOCK' /lib/systemd/system/mysql.service + sed 's/LimitMEMLOCK.*/LimitMEMLOCK = infinity/' -i /lib/systemd/system/mysql.service + systemctl daemon-reload + sed -i '/^default-authentication-plugin/d' /etc/mysql/mysql.conf.d/mysqld.cnf + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN -e ';' ++ mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN -e 'SHOW VARIABLES LIKE '\''default_authentication_plugin'\'';' -s ++ awk '{print $2}' mysql: [Warning] Using a password on the command line interface can be insecure. + MYSQL_AUTHENTICATION_PLUGIN=caching_sha2_password + '[' -n caching_sha2_password ']' + grep -q '^default-authentication-plugin' /etc/mysql/mysql.conf.d/mysqld.cnf + sed '/\[mysqld\]/a default-authentication-plugin = caching_sha2_password' -i /etc/mysql/mysql.conf.d/mysqld.cnf + '[' root = root ']' + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN -D mysql -e 'ALTER USER '\''root'\''@'\''localhost'\'' IDENTIFIED WITH caching_sha2_password BY '\''P8oxD5LqytmN'\''' + service mysql restart + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN -e 'CREATE DATABASE IF NOT EXISTS `onlyoffice` CHARACTER SET utf8 COLLATE `utf8_general_ci`;' mysql: [Warning] Using a password on the command line interface can be insecure. ++ mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN --silent --skip-column-names -e 'SELECT COUNT(*) FROM information_schema.tables WHERE table_schema='\''onlyoffice'\''' mysql: [Warning] Using a password on the command line interface can be insecure. + DB_TABLES_COUNT=208 + '[' 208 -eq 0 ']' ++ 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.upgradev100.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev105.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev110.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev111.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev115.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev116.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev120.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev121.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev125.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev126.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev127.sql /var/www/onlyoffice/Sql/onlyoffice.upgradev128.sql + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + for i in $(ls $DIR/Sql/onlyoffice.upgrade*) + mysql -h127.0.0.1 -uroot -pP8oxD5LqytmN onlyoffice mysql: [Warning] Using a password on the command line interface can be insecure. + grep -q client_max_body_size /etc/nginx/nginx.conf + sed -i 's/\(client_max_body_size\).*\?\;/\1 100m;/' /etc/nginx/nginx.conf + '[' '!' -f /proc/net/if_inet6 ']' + apply_connection_string + binDirs=("WebStudio" "ApiSystem" "Services/TeamLabSvc") + '[' 127.0.0.1 '!=' localhost ']' + '[' -d /var/www/onlyoffice/ ']' + for i in "${!binDirs[@]}" + find /var/www/onlyoffice/WebStudio -type f -name '*.[cC]onfig' -exec sed -i 's/connectionString=.*/connectionString="Server=127.0.0.1;Database=onlyoffice;User ID=root;Password=P8oxD5LqytmN;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;" providerName="MySql.Data.MySqlClient"\/>/' '{}' ';' + for i in "${!binDirs[@]}" + find /var/www/onlyoffice/ApiSystem -type f -name '*.[cC]onfig' -exec sed -i 's/connectionString=.*/connectionString="Server=127.0.0.1;Database=onlyoffice;User ID=root;Password=P8oxD5LqytmN;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;" providerName="MySql.Data.MySqlClient"\/>/' '{}' ';' + for i in "${!binDirs[@]}" + find /var/www/onlyoffice/Services/TeamLabSvc -type f -name '*.[cC]onfig' -exec sed -i 's/connectionString=.*/connectionString="Server=127.0.0.1;Database=onlyoffice;User ID=root;Password=P8oxD5LqytmN;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;" providerName="MySql.Data.MySqlClient"\/>/' '{}' ';' + find /var/www/onlyoffice/Services/ASC.UrlShortener/config -type f -name '*.json' -exec sed -i -e 's!\("host":\).*,!\1 "127.0.0.1",!' -e 's!\("user":\).*,!\1 "root",!' -e 's!\("password":\).*,!\1 "P8oxD5LqytmN",!' -e 's!\("database":\).*!\1 "onlyoffice"!' '{}' ';' + sed -i 's/Server=.*/Server=127.0.0.1;Port=3306;Database=onlyoffice;User ID=root;Password=P8oxD5LqytmN;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=True;ConnectionReset=false",/g' /etc/onlyoffice/communityserver/appsettings.production.json + apply_core_machinekey + db_get onlyoffice-communityserver/machinekey + _db_cmd 'GET onlyoffice-communityserver/machinekey' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET onlyoffice-communityserver/machinekey' + IFS=' ' + read -r _db_internal_line + IFS=' ' + RET=kAH2nodUYizf + case ${_db_internal_line%%[ ]*} in + return 0 + '[' '!' -z 120070011942 ']' + CORE_MACHINEKEY=kAH2nodUYizf + '[' -z kAH2nodUYizf ']' + true + sed 's^\(machine_key\)\s*=.*^\1 = kAH2nodUYizf^g' -i /var/www/onlyoffice/Services/TeamLabSvc/radicale.config + binDirs=("$DIR/ApiSystem/" "$DIR/WebStudio" "$DIR/controlpanel/www/config" "$APP_SERVICES_DIR" "$CONFIG_DIR") + for i in "${!binDirs[@]}" + '[' -d /var/www/onlyoffice/ApiSystem/ ']' + find /var/www/onlyoffice/ApiSystem/ -type f -name '*.[cC]onfig' -exec sed -i '/core.\machinekey/s_\(value\s*=\s*"\)[^"]*"_\1kAH2nodUYizf"_' '{}' ';' + find /var/www/onlyoffice/ApiSystem/ -type f -name '*.json' -exec sed -i 's_\("core.machinekey":\|"machinekey":\).*,_\1 "kAH2nodUYizf",_' '{}' ';' + for i in "${!binDirs[@]}" + '[' -d /var/www/onlyoffice/WebStudio ']' + find /var/www/onlyoffice/WebStudio -type f -name '*.[cC]onfig' -exec sed -i '/core.\machinekey/s_\(value\s*=\s*"\)[^"]*"_\1kAH2nodUYizf"_' '{}' ';' + find /var/www/onlyoffice/WebStudio -type f -name '*.json' -exec sed -i 's_\("core.machinekey":\|"machinekey":\).*,_\1 "kAH2nodUYizf",_' '{}' ';' + for i in "${!binDirs[@]}" + '[' -d /var/www/onlyoffice/controlpanel/www/config ']' + find /var/www/onlyoffice/controlpanel/www/config -type f -name '*.[cC]onfig' -exec sed -i '/core.\machinekey/s_\(value\s*=\s*"\)[^"]*"_\1kAH2nodUYizf"_' '{}' ';' + find /var/www/onlyoffice/controlpanel/www/config -type f -name '*.json' -exec sed -i 's_\("core.machinekey":\|"machinekey":\).*,_\1 "kAH2nodUYizf",_' '{}' ';' + for i in "${!binDirs[@]}" + '[' -d /var/www/onlyoffice/Services ']' + find /var/www/onlyoffice/Services -type f -name '*.[cC]onfig' -exec sed -i '/core.\machinekey/s_\(value\s*=\s*"\)[^"]*"_\1kAH2nodUYizf"_' '{}' ';' + find /var/www/onlyoffice/Services -type f -name '*.json' -exec sed -i 's_\("core.machinekey":\|"machinekey":\).*,_\1 "kAH2nodUYizf",_' '{}' ';' + for i in "${!binDirs[@]}" + '[' -d /etc/onlyoffice/communityserver ']' + find /etc/onlyoffice/communityserver -type f -name '*.[cC]onfig' -exec sed -i '/core.\machinekey/s_\(value\s*=\s*"\)[^"]*"_\1kAH2nodUYizf"_' '{}' ';' + find /etc/onlyoffice/communityserver -type f -name '*.json' -exec sed -i 's_\("core.machinekey":\|"machinekey":\).*,_\1 "kAH2nodUYizf",_' '{}' ';' + mkdir -p /etc/mono/registry/LocalMachine + mkdir -p /usr/share/.mono/keypairs + mkdir -p /var/log/onlyoffice + mkdir -p /var/www/onlyoffice/Data + mkdir -p /var/www/onlyoffice/DocumentServerData + mkdir -p /var/cache/nginx/onlyoffice + mkdir -p /var/run/onlyoffice + rm -dfr /tmp/onlyoffice-temp-aspnet-0 + rm -dfr /var/run/onlyoffice/onlyofficeApiSystem.socket /var/run/onlyoffice/onlyoffice.socket + rm -dfr '/var/cache/nginx/onlyoffice/*' + mkdir -p -m 700 /var/www/onlyoffice/.config/.mono/keypairs + chown nginx:nginx -R /var/cache/nginx/onlyoffice + chown onlyoffice:nginx -R /var/run/onlyoffice + chmod g+s+w /var/run/onlyoffice + rm -f /etc/nginx/sites-enabled/default + rm -f /etc/nginx/sites-enabled/onlyoffice-apisystem + which apparmor_parser /usr/sbin/apparmor_parser + '[' '!' -f /etc/apparmor.d/disable/usr.sbin.mysqld ']' + '[' -f /etc/apparmor.d/disable/ ']' + '[' -d /etc/apport/blacklist.d ']' ++ python3 -c 'import sys; print(sys.version_info.minor)' + '[' -f /usr/lib/python3.11/EXTERNALLY-MANAGED ']' + pip_packages+=("setuptools<82" "radicale==3.0.5") + for pkg in requests importlib-metadata + dpkg -l python3-requests + for pkg in requests importlib-metadata + dpkg -l python3-importlib-metadata + export PIP_ROOT_USER_ACTION=ignore + PIP_ROOT_USER_ACTION=ignore + python3 -m pip install --upgrade --ignore-installed 'setuptools<82' radicale==3.0.5 /var/www/onlyoffice/Tools/radicale/plugins/app_auth_plugin/. /var/www/onlyoffice/Tools/radicale/plugins/app_store_plugin/. /var/www/onlyoffice/Tools/radicale/plugins/app_rights_plugin/. Processing /var/www/onlyoffice/Tools/radicale/plugins/app_auth_plugin Preparing metadata (setup.py) ... done Processing /var/www/onlyoffice/Tools/radicale/plugins/app_store_plugin Preparing metadata (setup.py) ... done Processing /var/www/onlyoffice/Tools/radicale/plugins/app_rights_plugin Preparing metadata (setup.py) ... done Collecting setuptools<82 Using cached setuptools-81.0.0-py3-none-any.whl (1.1 MB) Collecting radicale==3.0.5 Using cached Radicale-3.0.5-py3-none-any.whl (121 kB) Collecting defusedxml Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting passlib Using cached passlib-1.7.4-py2.py3-none-any.whl (525 kB) Collecting vobject>=0.9.6 Using cached vobject-0.9.9-py2.py3-none-any.whl (47 kB) Collecting python-dateutil>=2.7.3 Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Collecting six>=1.5 Using cached six-1.17.0-py2.py3-none-any.whl (11 kB) Collecting pytz Using cached pytz-2026.2-py2.py3-none-any.whl (510 kB) Building wheels for collected packages: app_auth_plugin, app_store_plugin, app_rights_plugin Building wheel for app_auth_plugin (setup.py) ... done Created wheel for app_auth_plugin: filename=app_auth_plugin-1.0.0-py3-none-any.whl size=2618 sha256=b0eb686f45314ae91e30ca532278b0831dce2a63280e8e0d4cea8eda97e8acc8 Stored in directory: /tmp/pip-ephem-wheel-cache-4jcxk18_/wheels/5a/54/73/e7744164c9a72590d99ef488280a1b50d46f07a9ac0ecbcb7a Building wheel for app_store_plugin (setup.py) ... done Created wheel for app_store_plugin: filename=app_store_plugin-1.0.0-py3-none-any.whl size=15692 sha256=22b3a8655281ee94b8fb07a441b163920e81c11911b62825f14a4a86ba0395ec Stored in directory: /tmp/pip-ephem-wheel-cache-4jcxk18_/wheels/1a/93/7e/366b9464b3fac4592d182bab3341588f74a723bf1d4e003773 Building wheel for app_rights_plugin (setup.py) ... done Created wheel for app_rights_plugin: filename=app_rights_plugin-1.0.0-py3-none-any.whl size=2089 sha256=8a8914310c6a6ed154fb77c1815fab2aceed3b3b27d75d9542230d47f5f0ae85 Stored in directory: /tmp/pip-ephem-wheel-cache-4jcxk18_/wheels/b1/68/ce/aaa3f7cab40c3a5030b8fa29403f886efa5e83dfcba11f0d2a Successfully built app_auth_plugin app_store_plugin app_rights_plugin Installing collected packages: pytz, passlib, app_store_plugin, app_rights_plugin, app_auth_plugin, six, setuptools, defusedxml, python-dateutil, vobject, radicale Successfully installed app_auth_plugin-1.0.0 app_rights_plugin-1.0.0 app_store_plugin-1.0.0 defusedxml-0.7.1 passlib-1.7.4 python-dateutil-2.9.0.post0 pytz-2026.2 radicale-3.0.5 setuptools-81.0.0 six-1.17.0 vobject-0.9.9 + service elasticsearch stop + /usr/share/elasticsearch/bin/elasticsearch-plugin list + grep -q ingest-attachment + /usr/share/elasticsearch/bin/elasticsearch-plugin install -b file///tmp/ingest-attachment-7.16.3.zip -> Installing file///tmp/ingest-attachment-7.16.3.zip -> Failed installing file///tmp/ingest-attachment-7.16.3.zip -> Rolling back file///tmp/ingest-attachment-7.16.3.zip -> Rolled back file///tmp/ingest-attachment-7.16.3.zip A tool for managing installed elasticsearch plugins Non-option arguments: command Option Description ------ ----------- -E Configure a setting -h, --help Show help -s, --silent Show minimal output -v, --verbose Show verbose output ERROR: Unknown plugin file///tmp/ingest-attachment-7.16.3.zip dpkg: erreur de traitement du paquet onlyoffice-communityserver (--configure) : le sous-processus paquet onlyoffice-communityserver script post-installation installé a renvoyé un état de sortie d'erreur 64 Des erreurs ont été rencontrées pendant l'exécution : onlyoffice-communityserver root@workspace:/tmp#