YunoHost-Apps / monica_ynh

Monica package for YunoHost
https://www.monicahq.com/
GNU Affero General Public License v3.0
18 stars 13 forks source link

Cannot install #49

Closed GilDev closed 2 years ago

GilDev commented 3 years ago

Describe the bug Tried to install the module from the web interface.

Versions

Logs

2021-06-17 23:39:25,330: INFO - Installation de monica...
2021-06-17 23:39:25,477: DEBUG - Permission 'monica.main' mise à jour
2021-06-17 23:39:25,481: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210617-213925-permission_url-monica" style="text-decoration:underline"> Mise à jour de l’URL associée à l’autorisation 'monica' </a>'
2021-06-17 23:39:25,516: DEBUG - The permission database has been resynchronized
2021-06-17 23:39:25,539: DEBUG - La configuration de SSOwat a été regénérée
2021-06-17 23:39:25,576: DEBUG - Permission 'monica.main' créée
2021-06-17 23:39:25,577: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210617-213925-permission_create-monica" style="text-decoration:underline"> Créer permission 'monica' </a>'
2021-06-17 23:39:25,606: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=fr YNH_APP_MANIFEST_VERSION='2.17.0~ynh2' YNH_APP_ARG_IS_PUBLIC=0 YNH_STDINFO=/tmp/tmpwxTszT/stdinfo YNH_CWD=/var/cache/yunohost/from_file/scripts YNH_APP_INSTANCE_NAME=monica YNH_APP_ARG_ADMIN=gildev YNH_INTERFACE=api YNH_APP_ID=monica YNH_APP_ARG_PATH=/monica YNH_STDRETURN=/tmp/tmpeEwhsS/stdreturn YNH_APP_ARG_DOMAIN=home.gildev.dev BASH_XTRACEFD=7 /bin/bash -x "./install" home.gildev.dev /monica gildev 0 fr monica 7>&1'
2021-06-17 23:39:25,643: DEBUG - + source _common.sh
2021-06-17 23:39:25,646: DEBUG - ++ pkg_dependencies=
2021-06-17 23:39:25,646: DEBUG - ++ YNH_PHP_VERSION=7.3
2021-06-17 23:39:25,647: DEBUG - ++ extra_php_dependencies='php7.3-cli php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-bcmath php7.3-intl php7.3-xml php7.3-curl php7.3-gd php7.3-gmp php7.3-redis'
2021-06-17 23:39:25,647: DEBUG - + source ynh_composer__2
2021-06-17 23:39:25,648: DEBUG - + source /usr/share/yunohost/helpers
2021-06-17 23:39:25,648: DEBUG - +++ set +o
2021-06-17 23:39:25,649: DEBUG - +++ grep xtrace
2021-06-17 23:39:25,649: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-06-17 23:39:25,650: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-06-17 23:39:25,751: DEBUG - + ynh_abort_if_errors
2021-06-17 23:39:25,751: DEBUG - + set -o errexit
2021-06-17 23:39:25,751: DEBUG - + set -o nounset
2021-06-17 23:39:25,752: DEBUG - + trap ynh_exit_properly EXIT
2021-06-17 23:39:25,752: DEBUG - + domain=home.gildev.dev
2021-06-17 23:39:25,752: DEBUG - + path_url=/monica
2021-06-17 23:39:25,752: DEBUG - + admin=gildev
2021-06-17 23:39:25,753: DEBUG - + is_public=0
2021-06-17 23:39:25,753: DEBUG - + language=fr
2021-06-17 23:39:25,753: DEBUG - ++ ynh_string_random --length=32
2021-06-17 23:39:25,755: DEBUG - ++ length=32
2021-06-17 23:39:25,756: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-06-17 23:39:25,756: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-06-17 23:39:25,756: DEBUG - ++ sed --quiet 's/\(.\{32\}\).*/\1/p'
2021-06-17 23:39:25,857: DEBUG - + random_key=**********
2021-06-17 23:39:25,857: DEBUG - ++ ynh_user_get_info gildev mail
2021-06-17 23:39:25,861: DEBUG - ++ yunohost user info gildev --output-as plain
2021-06-17 23:39:25,861: DEBUG - ++ ynh_get_plain_key mail
2021-06-17 23:39:25,862: DEBUG - ++ local prefix=#
2021-06-17 23:39:25,862: DEBUG - ++ local founded=0
2021-06-17 23:39:25,863: DEBUG - ++ local key_=mail
2021-06-17 23:39:25,863: DEBUG - ++ shift
2021-06-17 23:39:25,863: DEBUG - ++ read line
2021-06-17 23:39:26,565: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,566: DEBUG - ++ [[ #username =~ ^#mail$ ]]
2021-06-17 23:39:26,567: DEBUG - ++ read line
2021-06-17 23:39:26,567: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,567: DEBUG - ++ [[ gildev =~ ^#mail$ ]]
2021-06-17 23:39:26,568: DEBUG - ++ read line
2021-06-17 23:39:26,568: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,569: DEBUG - ++ [[ #firstname =~ ^#mail$ ]]
2021-06-17 23:39:26,569: DEBUG - ++ read line
2021-06-17 23:39:26,569: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,570: DEBUG - ++ [[ Gilles =~ ^#mail$ ]]
2021-06-17 23:39:26,570: DEBUG - ++ read line
2021-06-17 23:39:26,570: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,571: DEBUG - ++ [[ #lastname =~ ^#mail$ ]]
2021-06-17 23:39:26,571: DEBUG - ++ read line
2021-06-17 23:39:26,571: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,572: DEBUG - ++ [[ Devillers =~ ^#mail$ ]]
2021-06-17 23:39:26,572: DEBUG - ++ read line
2021-06-17 23:39:26,572: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,573: DEBUG - ++ [[ #mailbox-quota =~ ^#mail$ ]]
2021-06-17 23:39:26,573: DEBUG - ++ read line
2021-06-17 23:39:26,573: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,574: DEBUG - ++ [[ ##use =~ ^#mail$ ]]
2021-06-17 23:39:26,574: DEBUG - ++ read line
2021-06-17 23:39:26,574: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,575: DEBUG - ++ [[ 0.0K =~ ^#mail$ ]]
2021-06-17 23:39:26,575: DEBUG - ++ read line
2021-06-17 23:39:26,575: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,576: DEBUG - ++ [[ ##limit =~ ^#mail$ ]]
2021-06-17 23:39:26,576: DEBUG - ++ read line
2021-06-17 23:39:26,576: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,577: DEBUG - ++ [[ No quota =~ ^#mail$ ]]
2021-06-17 23:39:26,577: DEBUG - ++ read line
2021-06-17 23:39:26,577: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,578: DEBUG - ++ [[ #mail-aliases =~ ^#mail$ ]]
2021-06-17 23:39:26,578: DEBUG - ++ read line
2021-06-17 23:39:26,579: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,579: DEBUG - ++ [[ root@ynh.gildev.dev =~ ^#mail$ ]]
2021-06-17 23:39:26,579: DEBUG - ++ read line
2021-06-17 23:39:26,580: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,580: DEBUG - ++ [[ admin@ynh.gildev.dev =~ ^#mail$ ]]
2021-06-17 23:39:26,580: DEBUG - ++ read line
2021-06-17 23:39:26,581: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,581: DEBUG - ++ [[ webmaster@ynh.gildev.dev =~ ^#mail$ ]]
2021-06-17 23:39:26,581: DEBUG - ++ read line
2021-06-17 23:39:26,582: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,582: DEBUG - ++ [[ postmaster@ynh.gildev.dev =~ ^#mail$ ]]
2021-06-17 23:39:26,582: DEBUG - ++ read line
2021-06-17 23:39:26,583: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,583: DEBUG - ++ [[ abuse@ynh.gildev.dev =~ ^#mail$ ]]
2021-06-17 23:39:26,583: DEBUG - ++ read line
2021-06-17 23:39:26,584: DEBUG - ++ [[ 0 == \1 ]]
2021-06-17 23:39:26,584: DEBUG - ++ [[ #mail =~ ^#mail$ ]]
2021-06-17 23:39:26,584: DEBUG - ++ [[ -n '' ]]
2021-06-17 23:39:26,585: DEBUG - ++ founded=1
2021-06-17 23:39:26,585: DEBUG - ++ read line
2021-06-17 23:39:26,585: DEBUG - ++ [[ 1 == \1 ]]
2021-06-17 23:39:26,586: DEBUG - ++ [[ gildev@ynh.gildev.dev =~ ^#[^#] ]]
2021-06-17 23:39:26,586: DEBUG - ++ echo gildev@ynh.gildev.dev
2021-06-17 23:39:26,586: DEBUG - ++ read line
2021-06-17 23:39:26,587: DEBUG - ++ [[ 1 == \1 ]]
2021-06-17 23:39:26,587: DEBUG - ++ [[ #fullname =~ ^#[^#] ]]
2021-06-17 23:39:26,587: DEBUG - ++ return
2021-06-17 23:39:26,688: DEBUG - + email=gildev@ynh.gildev.dev
2021-06-17 23:39:26,689: DEBUG - + app=monica
2021-06-17 23:39:26,791: DEBUG - + echo '[+...................] > Validating installation parameters...'
2021-06-17 23:39:26,792: DEBUG - + final_path=/var/www/monica
2021-06-17 23:39:26,793: DEBUG - + test '!' -e /var/www/monica
2021-06-17 23:39:26,793: DEBUG - + ynh_webpath_register --app=monica --domain=home.gildev.dev --path_url=/monica
2021-06-17 23:39:26,998: DEBUG - + yunohost app register-url monica home.gildev.dev /monica
2021-06-17 23:39:26,998: INFO - [+...................] > Validating installation parameters...
2021-06-17 23:39:28,106: DEBUG - + echo '[#+..................] > Storing installation settings...'
2021-06-17 23:39:28,107: DEBUG - + ynh_app_setting_set --app=monica --key=domain --value=home.gildev.dev
2021-06-17 23:39:28,310: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:28,311: INFO - [#+..................] > Storing installation settings...
2021-06-17 23:39:28,312: DEBUG - + ynh_app_setting set monica domain home.gildev.dev
2021-06-17 23:39:28,514: DEBUG - + ynh_app_setting_set --app=monica --key=path --value=/monica
2021-06-17 23:39:28,717: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:28,718: DEBUG - + ynh_app_setting set monica path /monica
2021-06-17 23:39:28,919: DEBUG - + ynh_app_setting_set --app=monica --key=admin --value=gildev
2021-06-17 23:39:29,224: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:29,224: DEBUG - + ynh_app_setting set monica admin gildev
2021-06-17 23:39:29,426: DEBUG - + ynh_app_setting_set --app=monica --key=is_public --value=0
2021-06-17 23:39:29,630: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:29,630: DEBUG - + ynh_app_setting set monica is_public 0
2021-06-17 23:39:29,832: DEBUG - + ynh_app_setting_set --app=monica --key=language --value=fr
2021-06-17 23:39:30,036: DEBUG - + [[ language =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:30,037: DEBUG - + ynh_app_setting set monica language fr
2021-06-17 23:39:30,338: DEBUG - + ynh_app_setting_set --app=monica --key=random_key --value=**********
2021-06-17 23:39:30,442: DEBUG - + [[ random_key =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:30,443: DEBUG - + ynh_app_setting set monica random_key **********
2021-06-17 23:39:30,848: DEBUG - + echo '[##+.................] > Installing dependencies...'
2021-06-17 23:39:30,849: DEBUG - + ynh_install_app_dependencies
2021-06-17 23:39:30,850: DEBUG - + local dependencies=
2021-06-17 23:39:30,850: DEBUG - ++ echo ''
2021-06-17 23:39:30,851: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-06-17 23:39:30,851: DEBUG - + dependencies=
2021-06-17 23:39:30,852: DEBUG - + local dependencies=
2021-06-17 23:39:30,852: DEBUG - + local manifest_path=../manifest.json
2021-06-17 23:39:30,853: DEBUG - + '[' '!' -e ../manifest.json ']'
2021-06-17 23:39:30,854: DEBUG - ++ grep '\"version\": ' ../manifest.json
2021-06-17 23:39:30,854: DEBUG - ++ cut '--delimiter="' --fields=4
2021-06-17 23:39:30,855: DEBUG - + local version=2.17.0~ynh2
2021-06-17 23:39:30,855: DEBUG - + '[' 11 -eq 0 ']'
2021-06-17 23:39:30,856: DEBUG - + local dep_app=monica
2021-06-17 23:39:30,857: DEBUG - + [[ '' =~ [<=>] ]]
2021-06-17 23:39:30,858: DEBUG - + echo
2021-06-17 23:39:30,859: DEBUG - + grep --quiet php
2021-06-17 23:39:30,859: DEBUG - + cat
2021-06-17 23:39:30,860: DEBUG - + ynh_package_install_from_equivs /tmp/monica-ynh-deps.control
2021-06-17 23:39:30,860: DEBUG - + local controlfile=/tmp/monica-ynh-deps.control
2021-06-17 23:39:30,861: DEBUG - ++ grep '^Package: ' /tmp/monica-ynh-deps.control
2021-06-17 23:39:30,862: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-06-17 23:39:30,862: DEBUG - + local pkgname=monica-ynh-deps
2021-06-17 23:39:30,863: DEBUG - ++ grep '^Version: ' /tmp/monica-ynh-deps.control
2021-06-17 23:39:30,863: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-06-17 23:39:30,964: DEBUG - + local pkgversion=2.17.0~ynh2
2021-06-17 23:39:30,965: INFO - [##+.................] > Installing dependencies...
2021-06-17 23:39:30,966: DEBUG - + [[ -z monica-ynh-deps ]]
2021-06-17 23:39:30,967: DEBUG - + [[ -z 2.17.0~ynh2 ]]
2021-06-17 23:39:30,967: DEBUG - + ynh_package_update
2021-06-17 23:39:30,967: DEBUG - + ynh_apt update
2021-06-17 23:39:30,968: DEBUG - + ynh_wait_dpkg_free
2021-06-17 23:39:31,270: DEBUG - + return 0
2021-06-17 23:39:31,271: DEBUG - + LC_ALL=C
2021-06-17 23:39:31,271: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-06-17 23:39:31,271: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-06-17 23:39:31,472: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease
2021-06-17 23:39:31,573: DEBUG - Hit:2 http://archive.raspberrypi.org/debian buster InRelease
2021-06-17 23:39:31,574: DEBUG - Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
2021-06-17 23:39:35,282: DEBUG - Reading package lists...
2021-06-17 23:39:35,383: DEBUG - ++ mktemp --directory
2021-06-17 23:39:35,383: DEBUG - + local TMPDIR=/tmp/tmp.xPc609S7nR
2021-06-17 23:39:35,384: DEBUG - + echo 10
2021-06-17 23:39:35,985: DEBUG - + ynh_wait_dpkg_free
2021-06-17 23:39:36,288: DEBUG - + return 0
2021-06-17 23:39:36,288: DEBUG - + cp /tmp/monica-ynh-deps.control /tmp/tmp.xPc609S7nR/control
2021-06-17 23:39:36,289: DEBUG - + cd /tmp/tmp.xPc609S7nR
2021-06-17 23:39:36,289: DEBUG - + LC_ALL=C
2021-06-17 23:39:36,290: DEBUG - + equivs-build ./control
2021-06-17 23:39:38,495: DEBUG - + LC_ALL=C
2021-06-17 23:39:38,495: DEBUG - + dpkg --force-depends --install ./monica-ynh-deps_2.17.0~ynh2_all.deb
2021-06-17 23:39:38,496: DEBUG - + tee ./dpkg_log
2021-06-17 23:39:38,596: DEBUG - Selecting previously unselected package monica-ynh-deps.
2021-06-17 23:39:38,998: DEBUG - (Reading database ... 52724 files and directories currently installed.)
2021-06-17 23:39:39,000: DEBUG - Preparing to unpack .../monica-ynh-deps_2.17.0~ynh2_all.deb ...
2021-06-17 23:39:39,101: DEBUG - Unpacking monica-ynh-deps (2.17.0~ynh2) ...
2021-06-17 23:39:39,101: DEBUG - Setting up monica-ynh-deps (2.17.0~ynh2) ...
2021-06-17 23:39:39,202: DEBUG - + ynh_package_install --fix-broken
2021-06-17 23:39:39,203: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-06-17 23:39:39,203: DEBUG - + ynh_wait_dpkg_free
2021-06-17 23:39:39,505: DEBUG - + return 0
2021-06-17 23:39:39,506: DEBUG - + LC_ALL=C
2021-06-17 23:39:39,506: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-06-17 23:39:39,507: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-06-17 23:39:42,715: DEBUG - Reading package lists...
2021-06-17 23:39:43,217: DEBUG - Building dependency tree...
2021-06-17 23:39:43,217: DEBUG - Reading state information...
2021-06-17 23:39:44,119: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 96 not upgraded.
2021-06-17 23:39:44,120: DEBUG - + [[ -n /tmp/tmp.xPc609S7nR ]]
2021-06-17 23:39:44,120: DEBUG - + rm --recursive --force /tmp/tmp.xPc609S7nR
2021-06-17 23:39:44,121: DEBUG - + ynh_package_is_installed monica-ynh-deps
2021-06-17 23:39:44,123: DEBUG - + ynh_wait_dpkg_free
2021-06-17 23:39:44,425: DEBUG - + return 0
2021-06-17 23:39:44,425: DEBUG - + dpkg-query --show '--showformat=${Status}' monica-ynh-deps
2021-06-17 23:39:44,426: DEBUG - + grep --count 'ok installed'
2021-06-17 23:39:44,426: DEBUG - + rm /tmp/monica-ynh-deps.control
2021-06-17 23:39:44,427: DEBUG - + ynh_app_setting_set --app=monica --key=apt_dependencies --value=
2021-06-17 23:39:44,631: DEBUG - + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:44,631: DEBUG - + ynh_app_setting set monica apt_dependencies ''
2021-06-17 23:39:45,036: DEBUG - + echo '[###+................] > Creating a MySQL database...'
2021-06-17 23:39:45,038: DEBUG - ++ ynh_sanitize_dbid --db_name=monica
2021-06-17 23:39:45,142: DEBUG - ++ echo monica
2021-06-17 23:39:45,143: INFO - [###+................] > Creating a MySQL database...
2021-06-17 23:39:45,144: DEBUG - + db_name=monica
2021-06-17 23:39:45,145: DEBUG - + db_user=monica
2021-06-17 23:39:45,145: DEBUG - + ynh_app_setting_set --app=monica --key=db_name --value=monica
2021-06-17 23:39:45,451: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:45,452: DEBUG - + ynh_app_setting set monica db_name monica
2021-06-17 23:39:45,654: DEBUG - + ynh_mysql_setup_db --db_user=monica --db_name=monica
2021-06-17 23:39:45,656: DEBUG - + db_pwd=
2021-06-17 23:39:45,757: DEBUG - ++ ynh_string_random
2021-06-17 23:39:45,760: DEBUG - ++ length=24
2021-06-17 23:39:45,760: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-06-17 23:39:45,761: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-06-17 23:39:45,761: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2021-06-17 23:39:45,862: DEBUG - + local new_db_pwd=**********
2021-06-17 23:39:45,862: DEBUG - + db_pwd=**********
2021-06-17 23:39:45,863: DEBUG - + ynh_mysql_create_db monica monica **********
2021-06-17 23:39:45,863: DEBUG - + local db=monica
2021-06-17 23:39:45,863: DEBUG - + local 'sql=CREATE DATABASE monica;'
2021-06-17 23:39:45,863: DEBUG - + [[ 3 -gt 1 ]]
2021-06-17 23:39:45,864: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON monica.* TO '\''monica'\''@'\''localhost'\'''
2021-06-17 23:39:45,864: DEBUG - + [[ -n ********** ]]
2021-06-17 23:39:45,864: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2021-06-17 23:39:45,865: DEBUG - + sql+=' WITH GRANT OPTION;'
2021-06-17 23:39:45,865: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE monica; GRANT ALL PRIVILEGES ON monica.* TO '\''monica'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2021-06-17 23:39:45,867: DEBUG - + database=
2021-06-17 23:39:45,867: DEBUG - + '[' -n '' ']'
2021-06-17 23:39:45,868: DEBUG - ++ cat /etc/yunohost/mysql
2021-06-17 23:39:45,868: DEBUG - + ynh_mysql_connect_as --user=root --password=**********
2021-06-17 23:39:45,972: DEBUG - + database=
2021-06-17 23:39:45,972: DEBUG - + mysql --user=root --password=********** --batch ''
2021-06-17 23:39:46,073: DEBUG - + ynh_app_setting_set --app=monica --key=mysqlpwd --value=**********
2021-06-17 23:39:46,278: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:46,279: DEBUG - + ynh_app_setting set monica mysqlpwd **********
2021-06-17 23:39:46,583: DEBUG - + echo '[####+...............] > Setting up source files...'
2021-06-17 23:39:46,583: DEBUG - + ynh_app_setting_set --app=monica --key=final_path --value=/var/www/monica
2021-06-17 23:39:46,888: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:46,888: INFO - [####+...............] > Setting up source files...
2021-06-17 23:39:46,890: DEBUG - + ynh_app_setting set monica final_path /var/www/monica
2021-06-17 23:39:47,091: DEBUG - + ynh_setup_source --dest_dir=/var/www/monica
2021-06-17 23:39:47,194: DEBUG - + source_id=app
2021-06-17 23:39:47,194: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/scripts/../conf/app.src
2021-06-17 23:39:47,195: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/scripts/../conf/app.src ']'
2021-06-17 23:39:47,195: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-06-17 23:39:47,195: DEBUG - ++ cut --delimiter== --fields=2-
2021-06-17 23:39:47,196: DEBUG - + local src_url=https://github.com/monicahq/monica/archive/v2.17.0.zip
2021-06-17 23:39:47,196: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-06-17 23:39:47,197: DEBUG - ++ cut --delimiter== --fields=2-
2021-06-17 23:39:47,197: DEBUG - + local src_sum=834c91b901f84e4a14a7e4697c0b6226b9b0768ff0b0ed761029c4e9d765262c
2021-06-17 23:39:47,197: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-06-17 23:39:47,198: DEBUG - ++ cut --delimiter== --fields=2-
2021-06-17 23:39:47,198: DEBUG - + local src_sumprg=sha256sum
2021-06-17 23:39:47,198: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-06-17 23:39:47,199: DEBUG - ++ cut --delimiter== --fields=2-
2021-06-17 23:39:47,199: DEBUG - + local src_format=zip
2021-06-17 23:39:47,199: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-06-17 23:39:47,200: DEBUG - ++ cut --delimiter== --fields=2-
2021-06-17 23:39:47,200: DEBUG - + local src_extract=
2021-06-17 23:39:47,200: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-06-17 23:39:47,201: DEBUG - ++ cut --delimiter== --fields=2-
2021-06-17 23:39:47,201: DEBUG - + local src_in_subdir=true
2021-06-17 23:39:47,201: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-06-17 23:39:47,202: DEBUG - ++ cut --delimiter== --fields=2-
2021-06-17 23:39:47,202: DEBUG - + local src_filename=v2.17.0.zip
2021-06-17 23:39:47,202: DEBUG - + src_sumprg=sha256sum
2021-06-17 23:39:47,203: DEBUG - + src_in_subdir=true
2021-06-17 23:39:47,203: DEBUG - + src_format=zip
2021-06-17 23:39:47,203: DEBUG - ++ echo zip
2021-06-17 23:39:47,204: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-06-17 23:39:47,204: DEBUG - + src_format=zip
2021-06-17 23:39:47,204: DEBUG - + src_extract=true
2021-06-17 23:39:47,204: DEBUG - + '[' v2.17.0.zip = '' ']'
2021-06-17 23:39:47,205: DEBUG - + local local_src=/opt/yunohost-apps-src/monica/v2.17.0.zip
2021-06-17 23:39:47,205: DEBUG - + test -e /opt/yunohost-apps-src/monica/v2.17.0.zip
2021-06-17 23:39:47,206: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=v2.17.0.zip https://github.com/monicahq/monica/archive/v2.17.0.zip
2021-06-17 23:39:48,509: DEBUG - + out='2021-06-17 23:39:48 URL:https://codeload.github.com/monicahq/monica/zip/v2.17.0 [6119191] -> "v2.17.0.zip" [1]'
2021-06-17 23:39:48,509: DEBUG - + echo '834c91b901f84e4a14a7e4697c0b6226b9b0768ff0b0ed761029c4e9d765262c v2.17.0.zip'
2021-06-17 23:39:48,510: DEBUG - + sha256sum --check --status
2021-06-17 23:39:48,510: DEBUG - + mkdir --parents /var/www/monica
2021-06-17 23:39:48,510: DEBUG - + true
2021-06-17 23:39:48,511: DEBUG - + '[' zip = zip ']'
2021-06-17 23:39:48,511: DEBUG - + true
2021-06-17 23:39:48,511: DEBUG - ++ mktemp --directory
2021-06-17 23:39:48,511: DEBUG - + local tmp_dir=/tmp/tmp.TcaOJhF2Is
2021-06-17 23:39:48,512: DEBUG - + unzip -quo v2.17.0.zip -d /tmp/tmp.TcaOJhF2Is
2021-06-17 23:39:49,214: DEBUG - + cp --archive /tmp/tmp.TcaOJhF2Is/monica-2.17.0/. /var/www/monica
2021-06-17 23:39:49,816: DEBUG - + ynh_secure_remove --file=/tmp/tmp.TcaOJhF2Is
2021-06-17 23:39:49,818: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-06-17 23:39:49,818: DEBUG - + '[' 1 -ge 2 ']'
2021-06-17 23:39:49,819: DEBUG - + [[ -z /tmp/tmp.TcaOJhF2Is ]]
2021-06-17 23:39:49,819: DEBUG - + [[      /var/www     /home/yunohost.app =~ /tmp/tmp\.TcaOJhF2Is ]]
2021-06-17 23:39:49,819: DEBUG - + [[ /tmp/tmp.TcaOJhF2Is =~ ^/[[:alnum:]]+$ ]]
2021-06-17 23:39:49,820: DEBUG - + [[ s = \/ ]]
2021-06-17 23:39:49,820: DEBUG - + '[' -e /tmp/tmp.TcaOJhF2Is ']'
2021-06-17 23:39:49,820: DEBUG - + rm --recursive /tmp/tmp.TcaOJhF2Is
2021-06-17 23:39:50,021: DEBUG - ++ find /var/cache/yunohost/from_file/scripts/../sources/patches/ -type f -name 'app-*.patch'
2021-06-17 23:39:50,022: DEBUG - ++ wc --lines
2021-06-17 23:39:50,022: DEBUG - + ((  0 > 0  ))
2021-06-17 23:39:50,023: DEBUG - + test -e /var/cache/yunohost/from_file/scripts/../sources/extra_files/app
2021-06-17 23:39:50,126: DEBUG - + echo '[#####++.............] > Configuring nginx web server...'
2021-06-17 23:39:50,127: DEBUG - + ynh_add_nginx_config
2021-06-17 23:39:50,127: DEBUG - + finalnginxconf=/etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:50,128: DEBUG - + local others_var=
2021-06-17 23:39:50,128: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:50,131: INFO - [#####++.............] > Configuring nginx web server...
2021-06-17 23:39:50,132: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_home.gildev.dev.d_monica.conf
2021-06-17 23:39:50,133: DEBUG - ++ ynh_app_setting_get --app=monica --key=checksum__etc_nginx_conf.d_home.gildev.dev.d_monica.conf
2021-06-17 23:39:50,236: DEBUG - ++ [[ checksum__etc_nginx_conf.d_home.gildev.dev.d_monica.conf =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:50,236: DEBUG - ++ ynh_app_setting get monica checksum__etc_nginx_conf.d_home.gildev.dev.d_monica.conf
2021-06-17 23:39:50,538: DEBUG - + local checksum_value=
2021-06-17 23:39:50,538: DEBUG - + backup_file_checksum=
2021-06-17 23:39:50,539: DEBUG - + '[' -n '' ']'
2021-06-17 23:39:50,539: DEBUG - + cp ../conf/nginx.conf /etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:50,539: DEBUG - + test -n /monica
2021-06-17 23:39:50,540: DEBUG - + local path_url_slash_less=/monica
2021-06-17 23:39:50,540: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/monica/ --target_file=/etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:50,743: DEBUG - + local delimit=@
2021-06-17 23:39:50,744: DEBUG - + match_string=__PATH__/
2021-06-17 23:39:50,744: DEBUG - + replace_string=/monica/
2021-06-17 23:39:50,744: DEBUG - + sed --in-place s@__PATH__/@/monica/@g /etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:50,745: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/monica --target_file=/etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:50,949: DEBUG - + local delimit=@
2021-06-17 23:39:50,950: DEBUG - + match_string=__PATH__
2021-06-17 23:39:50,950: DEBUG - + replace_string=/monica
2021-06-17 23:39:50,951: DEBUG - + sed --in-place s@__PATH__@/monica@g /etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:50,951: DEBUG - + test -n home.gildev.dev
2021-06-17 23:39:50,951: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=home.gildev.dev --target_file=/etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:51,155: DEBUG - + local delimit=@
2021-06-17 23:39:51,156: DEBUG - + match_string=__DOMAIN__
2021-06-17 23:39:51,157: DEBUG - + replace_string=home.gildev.dev
2021-06-17 23:39:51,157: DEBUG - + sed --in-place s@__DOMAIN__@home.gildev.dev@g /etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:51,158: DEBUG - + test -n ''
2021-06-17 23:39:51,158: DEBUG - + test -n monica
2021-06-17 23:39:51,159: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=monica --target_file=/etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:51,465: DEBUG - + local delimit=@
2021-06-17 23:39:51,466: DEBUG - + match_string=__NAME__
2021-06-17 23:39:51,467: DEBUG - + replace_string=monica
2021-06-17 23:39:51,467: DEBUG - + sed --in-place s@__NAME__@monica@g /etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:51,468: DEBUG - + test -n /var/www/monica
2021-06-17 23:39:51,469: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/monica --target_file=/etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:51,775: DEBUG - + local delimit=@
2021-06-17 23:39:51,776: DEBUG - + match_string=__FINALPATH__
2021-06-17 23:39:51,777: DEBUG - + replace_string=/var/www/monica
2021-06-17 23:39:51,777: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/monica@g /etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:51,778: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:52,084: DEBUG - + local delimit=@
2021-06-17 23:39:52,084: DEBUG - + match_string=__PHPVERSION__
2021-06-17 23:39:52,085: DEBUG - + replace_string=7.3
2021-06-17 23:39:52,085: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:52,086: DEBUG - + '[' /monica '!=' / ']'
2021-06-17 23:39:52,086: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:52,393: DEBUG - + local delimit=@
2021-06-17 23:39:52,393: DEBUG - + match_string='^#sub_path_only'
2021-06-17 23:39:52,394: DEBUG - + replace_string=
2021-06-17 23:39:52,395: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:52,395: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:52,501: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_home.gildev.dev.d_monica.conf
2021-06-17 23:39:52,502: DEBUG - ++ md5sum /etc/nginx/conf.d/home.gildev.dev.d/monica.conf
2021-06-17 23:39:52,502: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-06-17 23:39:52,503: DEBUG - + ynh_app_setting_set --app=monica --key=checksum__etc_nginx_conf.d_home.gildev.dev.d_monica.conf --value=e596affa6495bbe06c39a0121507ef5b
2021-06-17 23:39:52,809: DEBUG - + [[ checksum__etc_nginx_conf.d_home.gildev.dev.d_monica.conf =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:52,809: DEBUG - + ynh_app_setting set monica checksum__etc_nginx_conf.d_home.gildev.dev.d_monica.conf e596affa6495bbe06c39a0121507ef5b
2021-06-17 23:39:53,011: DEBUG - + '[' -n '' ']'
2021-06-17 23:39:53,012: DEBUG - + unset backup_file_checksum
2021-06-17 23:39:53,012: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2021-06-17 23:39:53,318: DEBUG - + service_name=nginx
2021-06-17 23:39:53,318: DEBUG - + action=reload
2021-06-17 23:39:53,319: DEBUG - + line_match=
2021-06-17 23:39:53,319: DEBUG - + length=20
2021-06-17 23:39:53,319: DEBUG - + log_path=/var/log/nginx/nginx.log
2021-06-17 23:39:53,320: DEBUG - + timeout=300
2021-06-17 23:39:53,320: DEBUG - + [[ -n '' ]]
2021-06-17 23:39:53,321: DEBUG - + '[' reload == reload ']'
2021-06-17 23:39:53,321: DEBUG - + action=reload-or-restart
2021-06-17 23:39:53,321: DEBUG - + systemctl reload-or-restart nginx
2021-06-17 23:39:53,422: DEBUG - + [[ -n '' ]]
2021-06-17 23:39:53,626: DEBUG - + echo '[#######+............] > Configuring system user...'
2021-06-17 23:39:53,627: DEBUG - + ynh_system_user_create --username=monica
2021-06-17 23:39:53,733: DEBUG - + use_shell=0
2021-06-17 23:39:53,733: INFO - [#######+............] > Configuring system user...
2021-06-17 23:39:53,734: DEBUG - + home_dir=
2021-06-17 23:39:53,735: DEBUG - + ynh_system_user_exists monica
2021-06-17 23:39:53,738: DEBUG - + getent passwd monica
2021-06-17 23:39:53,738: DEBUG - + '[' -n '' ']'
2021-06-17 23:39:53,739: DEBUG - + local user_home_dir=--no-create-home
2021-06-17 23:39:53,739: DEBUG - + '[' 0 -eq 1 ']'
2021-06-17 23:39:53,740: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2021-06-17 23:39:53,740: DEBUG - + useradd --no-create-home --system --user-group monica --shell /usr/sbin/nologin
2021-06-17 23:39:54,143: INFO - [########+...........] > Configuring php-fpm...
2021-06-17 23:39:54,145: DEBUG - + echo '[########+...........] > Configuring php-fpm...'
2021-06-17 23:39:54,146: DEBUG - + ynh_add_fpm_config --usage=low --footprint=low '--package=php7.3-cli php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-bcmath php7.3-intl php7.3-xml php7.3-curl php7.3-gd php7.3-gmp php7.3-redis'
2021-06-17 23:39:54,552: DEBUG - + package='php7.3-cli php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-bcmath php7.3-intl php7.3-xml php7.3-curl php7.3-gd php7.3-gmp php7.3-redis'
2021-06-17 23:39:54,553: DEBUG - + use_template=1
2021-06-17 23:39:54,553: DEBUG - + usage=low
2021-06-17 23:39:54,554: DEBUG - + footprint=low
2021-06-17 23:39:54,555: DEBUG - + '[' -n low ']'
2021-06-17 23:39:54,555: DEBUG - + use_template=0
2021-06-17 23:39:54,556: DEBUG - + dedicated_service=0
2021-06-17 23:39:54,557: DEBUG - + phpversion=7.3
2021-06-17 23:39:54,557: DEBUG - ++ ynh_app_setting_get --app=monica --key=phpversion
2021-06-17 23:39:54,662: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:39:54,663: DEBUG - ++ ynh_app_setting get monica phpversion
2021-06-17 23:39:54,965: DEBUG - + local old_phpversion=
2021-06-17 23:39:54,965: DEBUG - + '[' -n '' ']'
2021-06-17 23:39:54,966: DEBUG - + '[' 7.3 '!=' 7.3 ']'
2021-06-17 23:39:54,966: DEBUG - + '[' -n 'php7.3-cli php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-bcmath php7.3-intl php7.3-xml php7.3-curl php7.3-gd php7.3-gmp php7.3-redis' ']'
2021-06-17 23:39:54,967: DEBUG - + ynh_add_app_dependencies '--package=php7.3-cli php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-bcmath php7.3-intl php7.3-xml php7.3-curl php7.3-gd php7.3-gmp php7.3-redis'
2021-06-17 23:39:54,970: DEBUG - + replace=0
2021-06-17 23:39:54,971: DEBUG - + local current_dependencies=
2021-06-17 23:39:54,971: DEBUG - + '[' 0 -eq 0 ']'
2021-06-17 23:39:54,971: DEBUG - + local dep_app=monica
2021-06-17 23:39:54,972: DEBUG - + ynh_package_is_installed --package=monica-ynh-deps
2021-06-17 23:39:55,074: DEBUG - + ynh_wait_dpkg_free
2021-06-17 23:39:55,276: DEBUG - + return 0
2021-06-17 23:39:55,277: DEBUG - + dpkg-query --show '--showformat=${Status}' monica-ynh-deps
2021-06-17 23:39:55,277: DEBUG - + grep --count 'ok installed'
2021-06-17 23:39:55,277: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' monica-ynh-deps
2021-06-17 23:39:55,378: DEBUG - + current_dependencies=' '
2021-06-17 23:39:55,378: DEBUG - + current_dependencies=' '
2021-06-17 23:39:55,379: DEBUG - + ynh_install_app_dependencies ' php7.3-cli php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-bcmath php7.3-intl php7.3-xml php7.3-curl php7.3-gd php7.3-gmp php7.3-redis'
2021-06-17 23:39:55,379: DEBUG - + local 'dependencies= php7.3-cli php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-bcmath php7.3-intl php7.3-xml php7.3-curl php7.3-gd php7.3-gmp php7.3-redis'
2021-06-17 23:39:55,379: DEBUG - ++ echo ' php7.3-cli php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-bcmath php7.3-intl php7.3-xml php7.3-curl php7.3-gd php7.3-gmp php7.3-redis'
2021-06-17 23:39:55,380: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-06-17 23:39:55,380: DEBUG - + dependencies=' php7.3-cli, php7.3-json, php7.3-opcache, php7.3-mysql, php7.3-mbstring, php7.3-zip, php7.3-bcmath, php7.3-intl, php7.3-xml, php7.3-curl, php7.3-gd, php7.3-gmp, php7.3-redis'
2021-06-17 23:39:55,380: DEBUG - + local 'dependencies= php7.3-cli, php7.3-json, php7.3-opcache, php7.3-mysql, php7.3-mbstring, php7.3-zip, php7.3-bcmath, php7.3-intl, php7.3-xml, php7.3-curl, php7.3-gd, php7.3-gmp, php7.3-redis'
2021-06-17 23:39:55,381: DEBUG - + local manifest_path=../manifest.json
2021-06-17 23:39:55,381: DEBUG - + '[' '!' -e ../manifest.json ']'
2021-06-17 23:39:55,382: DEBUG - ++ grep '\"version\": ' ../manifest.json
2021-06-17 23:39:55,382: DEBUG - ++ cut '--delimiter="' --fields=4
2021-06-17 23:39:55,383: DEBUG - + local version=2.17.0~ynh2
2021-06-17 23:39:55,383: DEBUG - + '[' 11 -eq 0 ']'
2021-06-17 23:39:55,383: DEBUG - + local dep_app=monica
2021-06-17 23:39:55,384: DEBUG - + [[  php7.3-cli, php7.3-json, php7.3-opcache, php7.3-mysql, php7.3-mbstring, php7.3-zip, php7.3-bcmath, php7.3-intl, php7.3-xml, php7.3-curl, php7.3-gd, php7.3-gmp, php7.3-redis =~ [<=>] ]]
2021-06-17 23:39:55,384: DEBUG - + echo php7.3-cli, php7.3-json, php7.3-opcache, php7.3-mysql, php7.3-mbstring, php7.3-zip, php7.3-bcmath, php7.3-intl, php7.3-xml, php7.3-curl, php7.3-gd, php7.3-gmp, php7.3-redis
2021-06-17 23:39:55,384: DEBUG - + grep --quiet php
2021-06-17 23:39:55,385: DEBUG - + dpkg --list
2021-06-17 23:39:55,385: DEBUG - + grep php7.0
2021-06-17 23:39:55,385: DEBUG - + grep --quiet --invert-match 7.0.33-0+deb9
2021-06-17 23:39:55,486: DEBUG - + cat
2021-06-17 23:39:55,486: DEBUG - + ynh_package_install_from_equivs /tmp/monica-ynh-deps.control
2021-06-17 23:39:55,487: DEBUG - + local controlfile=/tmp/monica-ynh-deps.control
2021-06-17 23:39:55,487: DEBUG - ++ grep '^Package: ' /tmp/monica-ynh-deps.control
2021-06-17 23:39:55,487: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-06-17 23:39:55,488: DEBUG - + local pkgname=monica-ynh-deps
2021-06-17 23:39:55,488: DEBUG - ++ grep '^Version: ' /tmp/monica-ynh-deps.control
2021-06-17 23:39:55,488: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-06-17 23:39:55,489: DEBUG - + local pkgversion=2.17.0~ynh2
2021-06-17 23:39:55,489: DEBUG - + [[ -z monica-ynh-deps ]]
2021-06-17 23:39:55,489: DEBUG - + [[ -z 2.17.0~ynh2 ]]
2021-06-17 23:39:55,490: DEBUG - + ynh_package_update
2021-06-17 23:39:55,490: DEBUG - + ynh_apt update
2021-06-17 23:39:55,490: DEBUG - + ynh_wait_dpkg_free
2021-06-17 23:39:55,692: DEBUG - + return 0
2021-06-17 23:39:55,692: DEBUG - + LC_ALL=C
2021-06-17 23:39:55,693: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-06-17 23:39:55,693: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-06-17 23:39:55,894: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease
2021-06-17 23:39:55,894: DEBUG - Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
2021-06-17 23:39:55,895: DEBUG - Hit:3 http://archive.raspberrypi.org/debian buster InRelease
2021-06-17 23:39:59,602: DEBUG - Reading package lists...
2021-06-17 23:39:59,703: DEBUG - ++ mktemp --directory
2021-06-17 23:39:59,704: DEBUG - + local TMPDIR=/tmp/tmp.xfVhCVKOdn
2021-06-17 23:39:59,704: DEBUG - + echo 10
2021-06-17 23:39:59,805: DEBUG - + ynh_wait_dpkg_free
2021-06-17 23:40:00,006: DEBUG - + return 0
2021-06-17 23:40:00,007: DEBUG - + cp /tmp/monica-ynh-deps.control /tmp/tmp.xfVhCVKOdn/control
2021-06-17 23:40:00,007: DEBUG - + cd /tmp/tmp.xfVhCVKOdn
2021-06-17 23:40:00,008: DEBUG - + LC_ALL=C
2021-06-17 23:40:00,008: DEBUG - + equivs-build ./control
2021-06-17 23:40:02,213: DEBUG - + LC_ALL=C
2021-06-17 23:40:02,214: DEBUG - + dpkg --force-depends --install ./monica-ynh-deps_2.17.0~ynh2_all.deb
2021-06-17 23:40:02,214: DEBUG - + tee ./dpkg_log
2021-06-17 23:40:02,415: DEBUG - (Reading database ... 52728 files and directories currently installed.)
2021-06-17 23:40:02,416: DEBUG - Preparing to unpack .../monica-ynh-deps_2.17.0~ynh2_all.deb ...
2021-06-17 23:40:02,517: DEBUG - Unpacking monica-ynh-deps (2.17.0~ynh2) over (2.17.0~ynh2) ...
2021-06-17 23:40:02,617: DEBUG - dpkg: monica-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-06-17 23:40:02,618: DEBUG -  monica-ynh-deps depends on php7.3-zip; however:
2021-06-17 23:40:02,618: DEBUG -   Package php7.3-zip is not installed.
2021-06-17 23:40:02,619: DEBUG -  monica-ynh-deps depends on php7.3-bcmath; however:
2021-06-17 23:40:02,619: DEBUG -   Package php7.3-bcmath is not installed.
2021-06-17 23:40:02,619: DEBUG -  monica-ynh-deps depends on php7.3-gmp; however:
2021-06-17 23:40:02,620: DEBUG -   Package php7.3-gmp is not installed.
2021-06-17 23:40:02,620: DEBUG -  monica-ynh-deps depends on php7.3-redis; however:
2021-06-17 23:40:02,620: DEBUG -   Package php7.3-redis is not installed.
2021-06-17 23:40:02,621: DEBUG - 
2021-06-17 23:40:02,621: DEBUG - Setting up monica-ynh-deps (2.17.0~ynh2) ...
2021-06-17 23:40:02,725: DEBUG - + ynh_package_install --fix-broken
2021-06-17 23:40:02,725: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-06-17 23:40:02,725: DEBUG - + ynh_wait_dpkg_free
2021-06-17 23:40:02,927: DEBUG - + return 0
2021-06-17 23:40:02,927: DEBUG - + LC_ALL=C
2021-06-17 23:40:02,928: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-06-17 23:40:02,928: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-06-17 23:40:04,633: DEBUG - Reading package lists...
2021-06-17 23:40:05,135: DEBUG - Building dependency tree...
2021-06-17 23:40:05,136: DEBUG - Reading state information...
2021-06-17 23:40:05,537: DEBUG - Correcting dependencies... Done
2021-06-17 23:40:06,239: DEBUG - The following additional packages will be installed:
2021-06-17 23:40:06,240: DEBUG -   libzip4 php-igbinary php-redis php7.3-bcmath php7.3-gmp php7.3-zip
2021-06-17 23:40:06,340: DEBUG - The following NEW packages will be installed:
2021-06-17 23:40:06,341: DEBUG -   libzip4 php-igbinary php-redis php7.3-bcmath php7.3-gmp php7.3-zip
2021-06-17 23:40:06,742: DEBUG - 0 upgraded, 6 newly installed, 0 to remove and 96 not upgraded.
2021-06-17 23:40:06,742: DEBUG - Need to get 255 kB of archives.
2021-06-17 23:40:06,743: DEBUG - After this operation, 999 kB of additional disk space will be used.
2021-06-17 23:40:06,743: DEBUG - Get:1 http://ftp.igh.cnrs.fr/pub/os/linux/raspbian/raspbian buster/main armhf php-igbinary armhf 3.0.0-1 [58.0 kB]
2021-06-17 23:40:06,743: DEBUG - Get:2 http://ftp.igh.cnrs.fr/pub/os/linux/raspbian/raspbian buster/main armhf libzip4 armhf 1.5.1-4 [45.4 kB]
2021-06-17 23:40:06,844: DEBUG - Get:3 http://ftp.igh.cnrs.fr/pub/os/linux/raspbian/raspbian buster/main armhf php-redis armhf 4.2.0-1 [104 kB]
2021-06-17 23:40:07,046: DEBUG - Get:4 http://ftp.igh.cnrs.fr/pub/os/linux/raspbian/raspbian buster/main armhf php7.3-bcmath armhf 7.3.27-1~deb10u1 [12.5 kB]
2021-06-17 23:40:07,147: DEBUG - Get:5 http://ftp.igh.cnrs.fr/pub/os/linux/raspbian/raspbian buster/main armhf php7.3-gmp armhf 7.3.27-1~deb10u1 [18.1 kB]
2021-06-17 23:40:07,348: DEBUG - Get:6 http://ftp.igh.cnrs.fr/pub/os/linux/raspbian/raspbian buster/main armhf php7.3-zip armhf 7.3.27-1~deb10u1 [17.7 kB]
2021-06-17 23:40:08,652: DEBUG - Fetched 255 kB in 1s (257 kB/s)
2021-06-17 23:40:08,753: DEBUG - Selecting previously unselected package php-igbinary.
2021-06-17 23:40:08,854: DEBUG - (Reading database ... 52728 files and directories currently installed.)
2021-06-17 23:40:08,855: DEBUG - Preparing to unpack .../0-php-igbinary_3.0.0-1_armhf.deb ...
2021-06-17 23:40:08,855: DEBUG - Unpacking php-igbinary (3.0.0-1) ...
2021-06-17 23:40:09,056: DEBUG - Selecting previously unselected package libzip4:armhf.
2021-06-17 23:40:09,057: DEBUG - Preparing to unpack .../1-libzip4_1.5.1-4_armhf.deb ...
2021-06-17 23:40:09,057: DEBUG - Unpacking libzip4:armhf (1.5.1-4) ...
2021-06-17 23:40:09,158: DEBUG - Selecting previously unselected package php-redis.
2021-06-17 23:40:09,260: DEBUG - Preparing to unpack .../2-php-redis_4.2.0-1_armhf.deb ...
2021-06-17 23:40:09,260: DEBUG - Unpacking php-redis (4.2.0-1) ...
2021-06-17 23:40:09,461: DEBUG - Selecting previously unselected package php7.3-bcmath.
2021-06-17 23:40:09,461: DEBUG - Preparing to unpack .../3-php7.3-bcmath_7.3.27-1~deb10u1_armhf.deb ...
2021-06-17 23:40:09,462: DEBUG - Unpacking php7.3-bcmath (7.3.27-1~deb10u1) ...
2021-06-17 23:40:09,663: DEBUG - Selecting previously unselected package php7.3-gmp.
2021-06-17 23:40:09,663: DEBUG - Preparing to unpack .../4-php7.3-gmp_7.3.27-1~deb10u1_armhf.deb ...
2021-06-17 23:40:09,663: DEBUG - Unpacking php7.3-gmp (7.3.27-1~deb10u1) ...
2021-06-17 23:40:09,764: DEBUG - Selecting previously unselected package php7.3-zip.
2021-06-17 23:40:09,765: DEBUG - Preparing to unpack .../5-php7.3-zip_7.3.27-1~deb10u1_armhf.deb ...
2021-06-17 23:40:09,865: DEBUG - Unpacking php7.3-zip (7.3.27-1~deb10u1) ...
2021-06-17 23:40:10,067: DEBUG - Setting up php7.3-bcmath (7.3.27-1~deb10u1) ...
2021-06-17 23:40:10,070: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-06-17 23:40:10,572: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-06-17 23:40:10,672: DEBUG - 
2021-06-17 23:40:10,674: DEBUG - Creating config file /etc/php/7.3/mods-available/bcmath.ini with new version
2021-06-17 23:40:10,975: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-06-17 23:40:11,276: DEBUG - Setting up libzip4:armhf (1.5.1-4) ...
2021-06-17 23:40:11,277: DEBUG - Setting up php7.3-gmp (7.3.27-1~deb10u1) ...
2021-06-17 23:40:11,378: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-06-17 23:40:11,779: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-06-17 23:40:11,880: DEBUG - 
2021-06-17 23:40:11,881: DEBUG - Creating config file /etc/php/7.3/mods-available/gmp.ini with new version
2021-06-17 23:40:12,182: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-06-17 23:40:12,483: DEBUG - Setting up php-igbinary (3.0.0-1) ...
2021-06-17 23:40:12,885: DEBUG - Setting up php7.3-zip (7.3.27-1~deb10u1) ...
2021-06-17 23:40:12,987: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-06-17 23:40:13,388: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-06-17 23:40:13,589: DEBUG - 
2021-06-17 23:40:13,590: DEBUG - Creating config file /etc/php/7.3/mods-available/zip.ini with new version
2021-06-17 23:40:13,791: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-06-17 23:40:14,192: DEBUG - Setting up php-redis (4.2.0-1) ...
2021-06-17 23:40:14,393: DEBUG - Processing triggers for libc-bin (2.28-10+rpi1) ...
2021-06-17 23:40:14,995: DEBUG - Processing triggers for php7.3-fpm (7.3.27-1~deb10u1) ...
2021-06-17 23:40:16,399: DEBUG - + [[ -n /tmp/tmp.xfVhCVKOdn ]]
2021-06-17 23:40:16,400: DEBUG - + rm --recursive --force /tmp/tmp.xfVhCVKOdn
2021-06-17 23:40:16,400: DEBUG - + ynh_package_is_installed monica-ynh-deps
2021-06-17 23:40:16,504: DEBUG - + ynh_wait_dpkg_free
2021-06-17 23:40:16,706: DEBUG - + return 0
2021-06-17 23:40:16,706: DEBUG - + dpkg-query --show '--showformat=${Status}' monica-ynh-deps
2021-06-17 23:40:16,707: DEBUG - + grep --count 'ok installed'
2021-06-17 23:40:16,807: DEBUG - + rm /tmp/monica-ynh-deps.control
2021-06-17 23:40:16,808: DEBUG - + ynh_app_setting_set --app=monica --key=apt_dependencies '--value= php7.3-cli, php7.3-json, php7.3-opcache, php7.3-mysql, php7.3-mbstring, php7.3-zip, php7.3-bcmath, php7.3-intl, php7.3-xml, php7.3-curl, php7.3-gd, php7.3-gmp, php7.3-redis'
2021-06-17 23:40:17,013: DEBUG - + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:40:17,013: DEBUG - + ynh_app_setting set monica apt_dependencies ' php7.3-cli, php7.3-json, php7.3-opcache, php7.3-mysql, php7.3-mbstring, php7.3-zip, php7.3-bcmath, php7.3-intl, php7.3-xml, php7.3-curl, php7.3-gd, php7.3-gmp, php7.3-redis'
2021-06-17 23:40:17,215: DEBUG - + '[' 0 -eq 1 ']'
2021-06-17 23:40:17,215: DEBUG - + local fpm_service=php7.3-fpm
2021-06-17 23:40:17,216: DEBUG - + local fpm_config_dir=/etc/php/7.3/fpm
2021-06-17 23:40:17,216: DEBUG - + mkdir --parents /etc/php/7.3/fpm/pool.d
2021-06-17 23:40:17,216: DEBUG - + ynh_app_setting_set --app=monica --key=fpm_config_dir --value=/etc/php/7.3/fpm
2021-06-17 23:40:17,421: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:40:17,421: DEBUG - + ynh_app_setting set monica fpm_config_dir /etc/php/7.3/fpm
2021-06-17 23:40:17,723: DEBUG - + ynh_app_setting_set --app=monica --key=fpm_service --value=php7.3-fpm
2021-06-17 23:40:17,928: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:40:17,928: DEBUG - + ynh_app_setting set monica fpm_service php7.3-fpm
2021-06-17 23:40:18,130: DEBUG - + ynh_app_setting_set --app=monica --key=fpm_dedicated_service --value=0
2021-06-17 23:40:18,334: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:40:18,335: DEBUG - + ynh_app_setting set monica fpm_dedicated_service 0
2021-06-17 23:40:18,637: DEBUG - + ynh_app_setting_set --app=monica --key=phpversion --value=7.3
2021-06-17 23:40:18,842: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:40:18,842: DEBUG - + ynh_app_setting set monica phpversion 7.3
2021-06-17 23:40:19,044: DEBUG - + finalphpconf=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:19,044: DEBUG - + '[' 0 -eq 1 ']'
2021-06-17 23:40:19,045: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:19,048: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_monica.conf
2021-06-17 23:40:19,048: DEBUG - ++ ynh_app_setting_get --app=monica --key=checksum__etc_php_7.3_fpm_pool.d_monica.conf
2021-06-17 23:40:19,152: DEBUG - ++ [[ checksum__etc_php_7.3_fpm_pool.d_monica.conf =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:40:19,152: DEBUG - ++ ynh_app_setting get monica checksum__etc_php_7.3_fpm_pool.d_monica.conf
2021-06-17 23:40:19,454: DEBUG - + local checksum_value=
2021-06-17 23:40:19,455: DEBUG - + backup_file_checksum=
2021-06-17 23:40:19,455: DEBUG - + '[' -n '' ']'
2021-06-17 23:40:19,456: DEBUG - + '[' 0 -eq 1 ']'
2021-06-17 23:40:19,456: DEBUG - + ynh_app_setting_set --app=monica --key=fpm_footprint --value=low
2021-06-17 23:40:19,660: DEBUG - + [[ fpm_footprint =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:40:19,661: DEBUG - + ynh_app_setting set monica fpm_footprint low
2021-06-17 23:40:19,862: DEBUG - + ynh_app_setting_set --app=monica --key=fpm_usage --value=low
2021-06-17 23:40:20,067: DEBUG - + [[ fpm_usage =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:40:20,068: DEBUG - + ynh_app_setting set monica fpm_usage low
2021-06-17 23:40:20,370: DEBUG - + ynh_get_scalable_phpfpm --usage=low --footprint=low
2021-06-17 23:40:20,473: DEBUG - + footprint=low
2021-06-17 23:40:20,474: DEBUG - + usage=low
2021-06-17 23:40:20,474: DEBUG - + print=0
2021-06-17 23:40:20,475: DEBUG - + '[' low = low ']'
2021-06-17 23:40:20,475: DEBUG - + footprint=20
2021-06-17 23:40:20,476: DEBUG - + '[' 20 -le 20 ']'
2021-06-17 23:40:20,476: DEBUG - + min_spare_servers_factor=8
2021-06-17 23:40:20,476: DEBUG - + '[' low = low ']'
2021-06-17 23:40:20,477: DEBUG - + php_pm=ondemand
2021-06-17 23:40:20,477: DEBUG - ++ ynh_get_ram --total --ignore_swap
2021-06-17 23:40:20,682: DEBUG - ++ ignore_swap=1
2021-06-17 23:40:20,683: DEBUG - ++ only_swap=0
2021-06-17 23:40:20,683: DEBUG - ++ free=0
2021-06-17 23:40:20,684: DEBUG - ++ total=1
2021-06-17 23:40:20,684: DEBUG - ++ '[' 0 -eq 1 ']'
2021-06-17 23:40:20,685: DEBUG - ++ '[' 0 -eq 1 ']'
2021-06-17 23:40:20,685: DEBUG - ++ '[' 1 -eq 1 ']'
2021-06-17 23:40:20,686: DEBUG - +++ vmstat --stats --unit M
2021-06-17 23:40:20,686: DEBUG - +++ grep 'total memory'
2021-06-17 23:40:20,686: DEBUG - +++ awk '{print $1}'
2021-06-17 23:40:20,687: DEBUG - ++ local total_ram=3827
2021-06-17 23:40:20,687: DEBUG - +++ vmstat --stats --unit M
2021-06-17 23:40:20,687: DEBUG - +++ grep 'total swap'
2021-06-17 23:40:20,688: DEBUG - +++ awk '{print $1}'
2021-06-17 23:40:20,688: DEBUG - ++ local total_swap=99
2021-06-17 23:40:20,689: DEBUG - ++ local total_ram_swap=3926
2021-06-17 23:40:20,689: DEBUG - ++ local ram=3926
2021-06-17 23:40:20,689: DEBUG - ++ '[' 1 -eq 1 ']'
2021-06-17 23:40:20,690: DEBUG - ++ ram=3827
2021-06-17 23:40:20,690: DEBUG - ++ echo 3827
2021-06-17 23:40:20,691: DEBUG - + local max_ram=3827
2021-06-17 23:40:20,691: DEBUG - + php_max_children=95
2021-06-17 23:40:20,692: DEBUG - + '[' ondemand = static ']'
2021-06-17 23:40:20,693: DEBUG - ++ at_least_one 95
2021-06-17 23:40:20,693: DEBUG - ++ '[' 95 -le 0 ']'
2021-06-17 23:40:20,693: DEBUG - ++ echo 95
2021-06-17 23:40:20,694: DEBUG - + php_max_children=95
2021-06-17 23:40:20,694: DEBUG - ++ nproc
2021-06-17 23:40:20,694: DEBUG - + local core_number=4
2021-06-17 23:40:20,695: DEBUG - + local max_proc=16
2021-06-17 23:40:20,695: DEBUG - + '[' 95 -gt 16 ']'
2021-06-17 23:40:20,695: DEBUG - + php_max_children=16
2021-06-17 23:40:20,696: DEBUG - ++ ynh_app_setting_get --app=monica --key=php_forced_max_children
2021-06-17 23:40:20,801: DEBUG - ++ [[ php_forced_max_children =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:40:20,802: DEBUG - ++ ynh_app_setting get monica php_forced_max_children
2021-06-17 23:40:21,003: DEBUG - + local php_forced_max_children=
2021-06-17 23:40:21,007: DEBUG - + '[' -n '' ']'
2021-06-17 23:40:21,007: DEBUG - + '[' ondemand = dynamic ']'
2021-06-17 23:40:21,007: DEBUG - + php_min_spare_servers=0
2021-06-17 23:40:21,008: DEBUG - + php_max_spare_servers=0
2021-06-17 23:40:21,008: DEBUG - + php_start_servers=0
2021-06-17 23:40:21,009: DEBUG - + '[' 0 -eq 1 ']'
2021-06-17 23:40:21,009: DEBUG - + cp /etc/php/7.3/fpm/pool.d/www.conf /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:21,009: DEBUG - + ynh_replace_string '--match_string=^\[www\]' '--replace_string=[monica]' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:21,314: DEBUG - + local delimit=@
2021-06-17 23:40:21,314: DEBUG - + match_string='^\[www\]'
2021-06-17 23:40:21,315: DEBUG - + replace_string='[monica]'
2021-06-17 23:40:21,315: DEBUG - + sed --in-place 's@^\[www\]@[monica]@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:21,315: DEBUG - + ynh_replace_string '--match_string=.*listen = .*' '--replace_string=listen = /var/run/php/php7.3-fpm-monica.sock' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:21,519: DEBUG - + local delimit=@
2021-06-17 23:40:21,520: DEBUG - + match_string='.*listen = .*'
2021-06-17 23:40:21,520: DEBUG - + replace_string='listen = /var/run/php/php7.3-fpm-monica.sock'
2021-06-17 23:40:21,520: DEBUG - + sed --in-place 's@.*listen = .*@listen = /var/run/php/php7.3-fpm-monica.sock@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:21,521: DEBUG - + ynh_replace_string '--match_string=^user = .*' '--replace_string=user = monica' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:21,725: DEBUG - + local delimit=@
2021-06-17 23:40:21,726: DEBUG - + match_string='^user = .*'
2021-06-17 23:40:21,726: DEBUG - + replace_string='user = monica'
2021-06-17 23:40:21,727: DEBUG - + sed --in-place 's@^user = .*@user = monica@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:21,727: DEBUG - + ynh_replace_string '--match_string=^group = .*' '--replace_string=group = monica' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:22,033: DEBUG - + local delimit=@
2021-06-17 23:40:22,034: DEBUG - + match_string='^group = .*'
2021-06-17 23:40:22,034: DEBUG - + replace_string='group = monica'
2021-06-17 23:40:22,035: DEBUG - + sed --in-place 's@^group = .*@group = monica@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:22,035: DEBUG - + ynh_replace_string '--match_string=.*chdir = .*' '--replace_string=chdir = /var/www/monica' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:22,342: DEBUG - + local delimit=@
2021-06-17 23:40:22,343: DEBUG - + match_string='.*chdir = .*'
2021-06-17 23:40:22,343: DEBUG - + replace_string='chdir = /var/www/monica'
2021-06-17 23:40:22,344: DEBUG - + sed --in-place 's@.*chdir = .*@chdir = /var/www/monica@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:22,344: DEBUG - + ynh_replace_string '--match_string=.*pm = .*' '--replace_string=pm = ondemand' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:22,650: DEBUG - + local delimit=@
2021-06-17 23:40:22,651: DEBUG - + match_string='.*pm = .*'
2021-06-17 23:40:22,651: DEBUG - + replace_string='pm = ondemand'
2021-06-17 23:40:22,652: DEBUG - + sed --in-place 's@.*pm = .*@pm = ondemand@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:22,652: DEBUG - + ynh_replace_string '--match_string=.*pm.max_children = .*' '--replace_string=pm.max_children = 16' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:22,957: DEBUG - + local delimit=@
2021-06-17 23:40:22,958: DEBUG - + match_string='.*pm.max_children = .*'
2021-06-17 23:40:22,959: DEBUG - + replace_string='pm.max_children = 16'
2021-06-17 23:40:22,959: DEBUG - + sed --in-place 's@.*pm.max_children = .*@pm.max_children = 16@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:22,960: DEBUG - + ynh_replace_string '--match_string=.*pm.max_requests = .*' '--replace_string=pm.max_requests = 500' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:23,267: DEBUG - + local delimit=@
2021-06-17 23:40:23,267: DEBUG - + match_string='.*pm.max_requests = .*'
2021-06-17 23:40:23,268: DEBUG - + replace_string='pm.max_requests = 500'
2021-06-17 23:40:23,269: DEBUG - + sed --in-place 's@.*pm.max_requests = .*@pm.max_requests = 500@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:23,269: DEBUG - + ynh_replace_string '--match_string=.*request_terminate_timeout = .*' '--replace_string=request_terminate_timeout = 1d' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:23,577: DEBUG - + local delimit=@
2021-06-17 23:40:23,578: DEBUG - + match_string='.*request_terminate_timeout = .*'
2021-06-17 23:40:23,578: DEBUG - + replace_string='request_terminate_timeout = 1d'
2021-06-17 23:40:23,579: DEBUG - + sed --in-place 's@.*request_terminate_timeout = .*@request_terminate_timeout = 1d@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:23,580: DEBUG - + '[' ondemand = dynamic ']'
2021-06-17 23:40:23,580: DEBUG - + '[' ondemand = ondemand ']'
2021-06-17 23:40:23,581: DEBUG - + ynh_replace_string '--match_string=.*pm.process_idle_timeout = .*' '--replace_string=pm.process_idle_timeout = 10s' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:23,887: DEBUG - + local delimit=@
2021-06-17 23:40:23,888: DEBUG - + match_string='.*pm.process_idle_timeout = .*'
2021-06-17 23:40:23,888: DEBUG - + replace_string='pm.process_idle_timeout = 10s'
2021-06-17 23:40:23,889: DEBUG - + sed --in-place 's@.*pm.process_idle_timeout = .*@pm.process_idle_timeout = 10s@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:23,990: DEBUG - + '[' ondemand '!=' dynamic ']'
2021-06-17 23:40:23,991: DEBUG - + ynh_replace_string '--match_string=.*\(pm.start_servers = .*\)' '--replace_string=;\1' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:24,296: DEBUG - + local delimit=@
2021-06-17 23:40:24,297: DEBUG - + match_string='.*\(pm.start_servers = .*\)'
2021-06-17 23:40:24,297: DEBUG - + replace_string=';\1'
2021-06-17 23:40:24,298: DEBUG - + sed --in-place 's@.*\(pm.start_servers = .*\)@;\1@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:24,299: DEBUG - + ynh_replace_string '--match_string=.*\(pm.min_spare_servers = .*\)' '--replace_string=;\1' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:24,604: DEBUG - + local delimit=@
2021-06-17 23:40:24,605: DEBUG - + match_string='.*\(pm.min_spare_servers = .*\)'
2021-06-17 23:40:24,606: DEBUG - + replace_string=';\1'
2021-06-17 23:40:24,606: DEBUG - + sed --in-place 's@.*\(pm.min_spare_servers = .*\)@;\1@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:24,607: DEBUG - + ynh_replace_string '--match_string=.*\(pm.max_spare_servers = .*\)' '--replace_string=;\1' --target_file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:24,913: DEBUG - + local delimit=@
2021-06-17 23:40:24,914: DEBUG - + match_string='.*\(pm.max_spare_servers = .*\)'
2021-06-17 23:40:24,914: DEBUG - + replace_string=';\1'
2021-06-17 23:40:24,915: DEBUG - + sed --in-place 's@.*\(pm.max_spare_servers = .*\)@;\1@g' /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:24,915: DEBUG - + '[' ondemand '!=' ondemand ']'
2021-06-17 23:40:24,916: DEBUG - + '[' -e ../conf/extra_php-fpm.conf ']'
2021-06-17 23:40:24,916: DEBUG - + chown root: /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:24,917: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:25,021: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_monica.conf
2021-06-17 23:40:25,022: DEBUG - ++ md5sum /etc/php/7.3/fpm/pool.d/monica.conf
2021-06-17 23:40:25,022: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-06-17 23:40:25,023: DEBUG - + ynh_app_setting_set --app=monica --key=checksum__etc_php_7.3_fpm_pool.d_monica.conf --value=76cde871ac8c621895adab446ad15e24
2021-06-17 23:40:25,330: DEBUG - + [[ checksum__etc_php_7.3_fpm_pool.d_monica.conf =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:40:25,330: DEBUG - + ynh_app_setting set monica checksum__etc_php_7.3_fpm_pool.d_monica.conf 76cde871ac8c621895adab446ad15e24
2021-06-17 23:40:25,532: DEBUG - + '[' -n '' ']'
2021-06-17 23:40:25,532: DEBUG - + unset backup_file_checksum
2021-06-17 23:40:25,533: DEBUG - + '[' -e ../conf/php-fpm.ini ']'
2021-06-17 23:40:25,533: DEBUG - + '[' 0 -eq 1 ']'
2021-06-17 23:40:25,533: DEBUG - + php-fpm7.3 --test
2021-06-17 23:40:25,734: DEBUG - + ynh_systemd_action --service_name=php7.3-fpm --action=reload
2021-06-17 23:40:26,040: DEBUG - + service_name=php7.3-fpm
2021-06-17 23:40:26,045: DEBUG - + action=reload
2021-06-17 23:40:26,046: DEBUG - + line_match=
2021-06-17 23:40:26,047: DEBUG - + length=20
2021-06-17 23:40:26,047: DEBUG - + log_path=/var/log/php7.3-fpm/php7.3-fpm.log
2021-06-17 23:40:26,048: DEBUG - + timeout=300
2021-06-17 23:40:26,049: DEBUG - + [[ -n '' ]]
2021-06-17 23:40:26,049: DEBUG - + '[' reload == reload ']'
2021-06-17 23:40:26,050: DEBUG - + action=reload-or-restart
2021-06-17 23:40:26,051: DEBUG - + systemctl reload-or-restart php7.3-fpm
2021-06-17 23:40:26,051: DEBUG - + [[ -n '' ]]
2021-06-17 23:40:26,052: DEBUG - ++ ynh_app_setting_get --app=monica --key=phpversion
2021-06-17 23:40:26,158: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-06-17 23:40:26,158: DEBUG - ++ ynh_app_setting get monica phpversion
2021-06-17 23:40:26,460: DEBUG - + phpversion=7.3
2021-06-17 23:40:26,564: DEBUG - + echo '[#########+..........] > Installing composer dependencies...'
2021-06-17 23:40:26,564: DEBUG - + ynh_exec_warn_less ynh_install_composer --phpversion=7.3 --workdir=/var/www/monica
2021-06-17 23:40:26,565: DEBUG - + eval ynh_install_composer --phpversion=7.3 --workdir=/var/www/monica
2021-06-17 23:40:26,565: DEBUG - ++ ynh_install_composer --phpversion=7.3 --workdir=/var/www/monica
2021-06-17 23:40:26,566: DEBUG - ++ declare -Ar args_array
2021-06-17 23:40:26,769: DEBUG - ++ workdir=/var/www/monica
2021-06-17 23:40:26,770: INFO - [#########+..........] > Installing composer dependencies...
2021-06-17 23:40:26,770: DEBUG - ++ phpversion=7.3
2021-06-17 23:40:26,771: DEBUG - ++ install_args=
2021-06-17 23:40:26,771: DEBUG - ++ curl -sS https://getcomposer.org/installer
2021-06-17 23:40:26,771: DEBUG - ++ COMPOSER_HOME=/var/www/monica/.composer
2021-06-17 23:40:26,772: DEBUG - ++ php7.3 -- --install-dir=/var/www/monica
2021-06-17 23:40:26,872: DEBUG - All settings correct for using Composer
2021-06-17 23:40:26,873: DEBUG - Downloading...
2021-06-17 23:40:27,374: DEBUG - 
2021-06-17 23:40:27,375: DEBUG - Composer (version 2.1.3) successfully installed to: /var/www/monica/composer.phar
2021-06-17 23:40:27,375: DEBUG - Use it: php /var/www/monica/composer.phar
2021-06-17 23:40:27,376: DEBUG - 
2021-06-17 23:40:27,376: DEBUG - ++ ynh_composer_exec --phpversion=7.3 --workdir=/var/www/monica '--commands=install --no-dev '
2021-06-17 23:40:27,377: DEBUG - ++ declare -Ar args_array
2021-06-17 23:40:27,580: DEBUG - ++ workdir=/var/www/monica
2021-06-17 23:40:27,581: DEBUG - ++ phpversion=7.3
2021-06-17 23:40:27,581: DEBUG - ++ COMPOSER_HOME=/var/www/monica/.composer
2021-06-17 23:40:27,582: DEBUG - ++ php7.3 /var/www/monica/composer.phar install --no-dev -d /var/www/monica --no-interaction
2021-06-17 23:40:28,084: DEBUG - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2021-06-17 23:40:28,084: DEBUG - > App\Helpers\ComposerScripts::preInstall
2021-06-17 23:40:28,085: DEBUG - Installing dependencies from lock file
2021-06-17 23:40:28,185: DEBUG - Verifying lock file contents can be installed on current platform.
2021-06-17 23:40:28,286: DEBUG - Your lock file does not contain a compatible set of packages. Please run composer update.
2021-06-17 23:40:28,287: DEBUG - 
2021-06-17 23:40:28,287: DEBUG -   Problem 1
2021-06-17 23:40:28,287: DEBUG -     - ocramius/package-versions is locked to version 1.4.2 and an update of this package was not requested.
2021-06-17 23:40:28,288: DEBUG -     - ocramius/package-versions 1.4.2 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
2021-06-17 23:40:28,288: DEBUG -   Problem 2
2021-06-17 23:40:28,289: DEBUG -     - ocramius/package-versions 1.4.2 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
2021-06-17 23:40:28,289: DEBUG -     - jean85/pretty-package-versions 1.2 requires ocramius/package-versions ^1.2.0 -> satisfiable by ocramius/package-versions[1.4.2].
2021-06-17 23:40:28,290: DEBUG -     - jean85/pretty-package-versions is locked to version 1.2 and an update of this package was not requested.
2021-06-17 23:40:28,290: DEBUG - 
2021-06-17 23:40:28,290: DEBUG - ++ ynh_die 'Unable to update core dependencies with Composer.'
2021-06-17 23:40:28,395: DEBUG - ++ ret_code=1
2021-06-17 23:40:28,395: DEBUG - ++ echo 'Unable to update core dependencies with Composer.'
2021-06-17 23:40:28,396: DEBUG - Unable to update core dependencies with Composer.
2021-06-17 23:40:28,396: DEBUG - ++ exit 1
2021-06-17 23:40:28,396: DEBUG - + ynh_exit_properly
2021-06-17 23:40:28,396: DEBUG - + local exit_code=1
2021-06-17 23:40:28,397: DEBUG - + '[' 1 -eq 0 ']'
2021-06-17 23:40:28,397: DEBUG - + trap '' EXIT
2021-06-17 23:40:28,397: DEBUG - + set +o errexit
2021-06-17 23:40:28,398: DEBUG - + set +o nounset
2021-06-17 23:40:28,398: DEBUG - + sleep 0.5
2021-06-17 23:40:28,900: DEBUG - + type -t ynh_clean_setup
2021-06-17 23:40:28,900: DEBUG - + exit 1
2021-06-17 23:40:28,957: ERROR - Impossible d’installer monica : Une erreur est survenue dans le script d’installation de l’application
yalh76 commented 2 years ago

Should be solved by #55