Installation Drupal impossible

Bonjour !


Mon serveur YunoHost

Matériel: Raspberry Pi à la maison
Version de YunoHost: 4.2.6.1
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

J’ai un rpi 3B+ (sans sdcard) avec un SSD en USB qui héberge déjà un nextcloud, donc qui fonctionne.

Lors de l’installation de Drupal, il y a une erreur et abort et déinstallation automatique

Voici le log :

  app: drupal
  args: domain=maindomain.tld&path=%2Fdrupal&admin=yvan&is_public=1&language=fr&password=OM89JN35ee%2F73&install_profil=standard
  force: false
  label: Drupal
  no_remove_on_failure: false
ended_at: 2021-07-27 10:15:21.494703
env:
  YNH_APP_ARG_ADMIN: yvan
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_INSTALL_PROFIL: standard
  YNH_APP_ARG_IS_PUBLIC: '1'
  YNH_APP_ARG_LANGUAGE: fr
  YNH_APP_ARG_PATH: /drupal
  YNH_APP_ID: drupal
  YNH_APP_INSTANCE_NAME: drupal
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 8.9.15~ynh1
error: "Une erreur est survenue dans le script d\u2019installation de l\u2019application"
interface: api
operation: app_install
parent: null
related_to:
- - app
  - drupal
started_at: 2021-07-27 10:10:05.477379
success: false
yunohost_version: 4.2.6.1

============

2021-07-27 11:10:05,509: INFO - Installation de drupal...
2021-07-27 11:10:06,004: DEBUG - Permission 'drupal.main' mise à jour
2021-07-27 11:10:06,340: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210727-101005-permission_url-drupal" style="text-decoration:underline"> Mise à jour de l’URL associée à l’autorisation 'drupal' </a>'
2021-07-27 11:10:07,029: DEBUG - The permission database has been resynchronized
2021-07-27 11:10:07,471: DEBUG - La configuration de SSOwat a été regénérée
2021-07-27 11:10:07,859: DEBUG - Executing command '/bin/bash -x "./50-freshrss" drupal yvan main all_users 7>&1'
2021-07-27 11:10:07,888: DEBUG - + set -a
2021-07-27 11:10:07,890: DEBUG - + source /usr/share/yunohost/helpers
2021-07-27 11:10:07,892: DEBUG - +++ set +o
2021-07-27 11:10:07,893: DEBUG - +++ grep xtrace
2021-07-27 11:10:07,898: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-07-27 11:10:07,899: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-07-27 11:10:08,107: DEBUG - + app=drupal
2021-07-27 11:10:08,108: DEBUG - + new_users=yvan
2021-07-27 11:10:08,109: DEBUG - + [[ freshrss = \d\r\u\p\a\l ]]
2021-07-27 11:10:09,112: DEBUG - Permission 'drupal.main' créée
2021-07-27 11:10:09,113: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210727-101005-permission_create-drupal" style="text-decoration:underline"> Créer permission 'drupal' </a>'
2021-07-27 11:10:09,149: DEBUG - Executing command '/bin/bash -x "./install"  7>&1'
2021-07-27 11:10:09,171: DEBUG - + source _common.sh
2021-07-27 11:10:09,173: DEBUG - ++ pkg_dependencies=curl
2021-07-27 11:10:09,173: DEBUG - ++ swap_needed=512
2021-07-27 11:10:09,174: DEBUG - ++ YNH_PHP_VERSION=7.3
2021-07-27 11:10:09,174: DEBUG - ++ extra_php_dependencies='php7.3-fpm php7.3-cli php7.3-gd php7.3-mysql php7.3-xml php7.3-ldap php7.3-mbstring php7.3-json php7.3-simplexml php7.3-curl'
2021-07-27 11:10:09,176: DEBUG - + source ynh_add_swap
2021-07-27 11:10:09,176: DEBUG - + source /usr/share/yunohost/helpers
2021-07-27 11:10:09,178: DEBUG - +++ set +o
2021-07-27 11:10:09,179: DEBUG - +++ grep xtrace
2021-07-27 11:10:09,184: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-07-27 11:10:09,185: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-07-27 11:10:09,356: DEBUG - + ynh_abort_if_errors
2021-07-27 11:10:09,358: DEBUG - + set -o errexit
2021-07-27 11:10:09,359: DEBUG - + set -o nounset
2021-07-27 11:10:09,360: DEBUG - + trap ynh_exit_properly EXIT
2021-07-27 11:10:09,361: DEBUG - + domain=maindomain.tld
2021-07-27 11:10:09,362: DEBUG - + path_url=/drupal
2021-07-27 11:10:09,363: DEBUG - + admin=yvan
2021-07-27 11:10:09,364: DEBUG - + is_public=1
2021-07-27 11:10:09,364: DEBUG - + language=fr
2021-07-27 11:10:09,365: DEBUG - + password=**********
2021-07-27 11:10:09,366: DEBUG - + install_profil=standard
2021-07-27 11:10:09,367: DEBUG - ++ ynh_user_get_info --username=yvan --key=mail
2021-07-27 11:10:09,470: DEBUG - ++ yunohost user info yvan --output-as json --quiet
2021-07-27 11:10:09,471: DEBUG - ++ jq -r .mail
2021-07-27 11:10:11,510: DEBUG - + admin_mail=yvan@maindomain.tld
2021-07-27 11:10:11,511: DEBUG - + app=drupal
2021-07-27 11:10:11,723: DEBUG - + echo '[+...................] > Validating installation parameters...'
2021-07-27 11:10:11,726: INFO - [+...................] > Validating installation parameters...
2021-07-27 11:10:11,729: DEBUG - + final_path=/var/www/drupal
2021-07-27 11:10:11,730: DEBUG - + test '!' -e /var/www/drupal
2021-07-27 11:10:11,730: DEBUG - + ynh_webpath_register --app=drupal --domain=maindomain.tld --path_url=/drupal
2021-07-27 11:10:11,952: DEBUG - + yunohost app register-url drupal maindomain.tld /drupal
2021-07-27 11:10:17,319: DEBUG - + echo '[#+..................] > Storing installation settings...'
2021-07-27 11:10:17,322: INFO - [#+..................] > Storing installation settings...
2021-07-27 11:10:17,324: DEBUG - + ynh_app_setting_set --app=drupal --key=domain --value=maindomain.tld
2021-07-27 11:10:17,560: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:17,561: DEBUG - + ynh_app_setting set drupal domain maindomain.tld
2021-07-27 11:10:17,837: DEBUG - + ynh_app_setting_set --app=drupal --key=path --value=/drupal
2021-07-27 11:10:18,062: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:18,064: DEBUG - + ynh_app_setting set drupal path /drupal
2021-07-27 11:10:18,355: DEBUG - + ynh_app_setting_set --app=drupal --key=admin --value=yvan
2021-07-27 11:10:18,580: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:18,582: DEBUG - + ynh_app_setting set drupal admin yvan
2021-07-27 11:10:18,852: DEBUG - + ynh_app_setting_set --app=drupal --key=language --value=fr
2021-07-27 11:10:19,079: DEBUG - + [[ language =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:19,081: DEBUG - + ynh_app_setting set drupal language fr
2021-07-27 11:10:19,352: DEBUG - + ynh_app_setting_set --app=drupal --key=install_profil --value=standard
2021-07-27 11:10:19,576: DEBUG - + [[ install_profil =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:19,577: DEBUG - + ynh_app_setting set drupal install_profil standard
2021-07-27 11:10:20,010: DEBUG - + echo '[##+.................] > Installing dependencies...'
2021-07-27 11:10:20,013: INFO - [##+.................] > Installing dependencies...
2021-07-27 11:10:20,016: DEBUG - + ynh_install_app_dependencies curl
2021-07-27 11:10:20,017: DEBUG - + local dependencies=curl
2021-07-27 11:10:20,018: DEBUG - ++ echo curl
2021-07-27 11:10:20,018: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-07-27 11:10:20,023: DEBUG - + dependencies=curl
2021-07-27 11:10:20,024: DEBUG - + local dependencies=curl
2021-07-27 11:10:20,025: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/manifest.json
2021-07-27 11:10:20,026: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/manifest.json
2021-07-27 11:10:20,043: DEBUG - + local version=8.9.15~ynh1
2021-07-27 11:10:20,044: DEBUG - + '[' -z 8.9.15~ynh1 ']'
2021-07-27 11:10:20,046: DEBUG - + '[' 8.9.15~ynh1 == null ']'
2021-07-27 11:10:20,047: DEBUG - + local dep_app=drupal
2021-07-27 11:10:20,048: DEBUG - + [[ curl =~ [<=>] ]]
2021-07-27 11:10:20,049: DEBUG - + echo curl
2021-07-27 11:10:20,050: DEBUG - + grep --quiet php
2021-07-27 11:10:20,052: DEBUG - + cat
2021-07-27 11:10:20,058: DEBUG - + ynh_package_install_from_equivs /tmp/drupal-ynh-deps.control
2021-07-27 11:10:20,059: DEBUG - + local controlfile=/tmp/drupal-ynh-deps.control
2021-07-27 11:10:20,062: DEBUG - ++ grep '^Package: ' /tmp/drupal-ynh-deps.control
2021-07-27 11:10:20,063: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-07-27 11:10:20,070: DEBUG - + local pkgname=drupal-ynh-deps
2021-07-27 11:10:20,073: DEBUG - ++ grep '^Version: ' /tmp/drupal-ynh-deps.control
2021-07-27 11:10:20,075: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-07-27 11:10:20,081: DEBUG - + local pkgversion=8.9.15~ynh1
2021-07-27 11:10:20,082: DEBUG - + [[ -z drupal-ynh-deps ]]
2021-07-27 11:10:20,083: DEBUG - + [[ -z 8.9.15~ynh1 ]]
2021-07-27 11:10:20,083: DEBUG - + ynh_package_update
2021-07-27 11:10:20,083: DEBUG - + ynh_apt update
2021-07-27 11:10:20,084: DEBUG - + ynh_wait_dpkg_free
2021-07-27 11:10:20,581: DEBUG - + return 0
2021-07-27 11:10:20,582: DEBUG - + LC_ALL=C
2021-07-27 11:10:20,583: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-07-27 11:10:20,584: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-07-27 11:10:20,970: DEBUG - Hit:1 http://archive.raspberrypi.org/debian buster InRelease
2021-07-27 11:10:20,971: DEBUG - Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
2021-07-27 11:10:20,971: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease
2021-07-27 11:10:21,008: DEBUG - Hit:4 https://packages.sury.org/php buster InRelease
2021-07-27 11:10:27,459: DEBUG - Reading package lists...
2021-07-27 11:10:27,602: DEBUG - ++ mktemp --directory
2021-07-27 11:10:27,607: DEBUG - + local TMPDIR=/tmp/tmp.vh8c7MtD7W
2021-07-27 11:10:27,608: DEBUG - + echo 10
2021-07-27 11:10:27,610: DEBUG - + ynh_wait_dpkg_free
2021-07-27 11:10:28,047: DEBUG - + return 0
2021-07-27 11:10:28,049: DEBUG - + cp /tmp/drupal-ynh-deps.control /tmp/tmp.vh8c7MtD7W/control
2021-07-27 11:10:28,055: DEBUG - + cd /tmp/tmp.vh8c7MtD7W
2021-07-27 11:10:28,056: DEBUG - + LC_ALL=C
2021-07-27 11:10:28,057: DEBUG - + equivs-build ./control
2021-07-27 11:10:31,679: DEBUG - + LC_ALL=C
2021-07-27 11:10:31,680: DEBUG - + dpkg --force-depends --install ./drupal-ynh-deps_8.9.15~ynh1_all.deb
2021-07-27 11:10:31,681: DEBUG - + tee ./dpkg_log
2021-07-27 11:10:31,814: DEBUG - Selecting previously unselected package drupal-ynh-deps.
2021-07-27 11:10:32,407: DEBUG - (Reading database ... 62631 files and directories currently installed.)
2021-07-27 11:10:32,423: DEBUG - Preparing to unpack .../drupal-ynh-deps_8.9.15~ynh1_all.deb ...
2021-07-27 11:10:32,431: DEBUG - Unpacking drupal-ynh-deps (8.9.15~ynh1) ...
2021-07-27 11:10:32,493: DEBUG - Setting up drupal-ynh-deps (8.9.15~ynh1) ...
2021-07-27 11:10:32,589: DEBUG - + ynh_package_install --fix-broken
2021-07-27 11:10:32,590: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-07-27 11:10:32,591: DEBUG - + ynh_wait_dpkg_free
2021-07-27 11:10:33,010: DEBUG - + return 0
2021-07-27 11:10:33,010: DEBUG - + LC_ALL=C
2021-07-27 11:10:33,013: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-07-27 11:10:33,014: 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-07-27 11:10:35,042: DEBUG - Reading package lists...
2021-07-27 11:10:35,951: DEBUG - Building dependency tree...
2021-07-27 11:10:35,956: DEBUG - Reading state information...
2021-07-27 11:10:37,558: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2021-07-27 11:10:37,561: DEBUG - + [[ -n /tmp/tmp.vh8c7MtD7W ]]
2021-07-27 11:10:37,562: DEBUG - + rm --recursive --force /tmp/tmp.vh8c7MtD7W
2021-07-27 11:10:37,567: DEBUG - + ynh_package_is_installed drupal-ynh-deps
2021-07-27 11:10:37,601: DEBUG - + ynh_wait_dpkg_free
2021-07-27 11:10:38,029: DEBUG - + return 0
2021-07-27 11:10:38,032: DEBUG - + dpkg-query --show '--showformat=${Status}' drupal-ynh-deps
2021-07-27 11:10:38,033: DEBUG - + grep --count 'ok installed'
2021-07-27 11:10:38,098: DEBUG - + rm /tmp/drupal-ynh-deps.control
2021-07-27 11:10:38,103: DEBUG - + ynh_app_setting_set --app=drupal --key=apt_dependencies --value=curl
2021-07-27 11:10:38,337: DEBUG - + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:38,338: DEBUG - + ynh_app_setting set drupal apt_dependencies curl
2021-07-27 11:10:38,777: DEBUG - + echo '[###+................] > Configuring system user...'
2021-07-27 11:10:38,780: DEBUG - + ynh_system_user_create --username=drupal --home_dir=/var/www/drupal
2021-07-27 11:10:38,789: INFO - [###+................] > Configuring system user...
2021-07-27 11:10:39,011: DEBUG - + use_shell=0
2021-07-27 11:10:39,012: DEBUG - + home_dir=/var/www/drupal
2021-07-27 11:10:39,013: DEBUG - + groups=
2021-07-27 11:10:39,014: DEBUG - + ynh_system_user_exists drupal
2021-07-27 11:10:39,050: DEBUG - + getent passwd drupal
2021-07-27 11:10:39,065: DEBUG - + '[' -n /var/www/drupal ']'
2021-07-27 11:10:39,066: DEBUG - + local 'user_home_dir=--home-dir /var/www/drupal'
2021-07-27 11:10:39,068: DEBUG - + '[' 0 -eq 1 ']'
2021-07-27 11:10:39,069: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2021-07-27 11:10:39,070: DEBUG - + useradd --home-dir /var/www/drupal --system --user-group drupal --shell /usr/sbin/nologin
2021-07-27 11:10:39,387: DEBUG - + echo '[####+...............] > Creating a MySQL database...'
2021-07-27 11:10:39,390: INFO - [####+...............] > Creating a MySQL database...
2021-07-27 11:10:39,393: DEBUG - ++ ynh_sanitize_dbid --db_name=drupal
2021-07-27 11:10:39,428: DEBUG - ++ echo drupal
2021-07-27 11:10:39,430: DEBUG - + db_name=drupal
2021-07-27 11:10:39,431: DEBUG - + db_user=drupal
2021-07-27 11:10:39,432: DEBUG - + ynh_app_setting_set --app=drupal --key=db_name --value=drupal
2021-07-27 11:10:39,673: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:39,676: DEBUG - + ynh_app_setting set drupal db_name drupal
2021-07-27 11:10:39,983: DEBUG - + ynh_mysql_setup_db --db_user=drupal --db_name=drupal
2021-07-27 11:10:39,989: DEBUG - + db_pwd=
2021-07-27 11:10:40,164: DEBUG - ++ ynh_string_random
2021-07-27 11:10:40,174: DEBUG - ++ length=24
2021-07-27 11:10:40,175: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-07-27 11:10:40,176: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2021-07-27 11:10:40,177: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-07-27 11:10:40,185: DEBUG - + local new_db_pwd=**********
2021-07-27 11:10:40,187: DEBUG - + db_pwd=**********
2021-07-27 11:10:40,188: DEBUG - + ynh_mysql_create_db drupal drupal **********
2021-07-27 11:10:40,189: DEBUG - + local db=drupal
2021-07-27 11:10:40,190: DEBUG - + local 'sql=CREATE DATABASE drupal;'
2021-07-27 11:10:40,191: DEBUG - + [[ 3 -gt 1 ]]
2021-07-27 11:10:40,192: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON drupal.* TO '\''drupal'\''@'\''localhost'\'''
2021-07-27 11:10:40,192: DEBUG - + [[ -n ********** ]]
2021-07-27 11:10:40,193: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2021-07-27 11:10:40,194: DEBUG - + sql+=' WITH GRANT OPTION;'
2021-07-27 11:10:40,195: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE drupal; GRANT ALL PRIVILEGES ON drupal.* TO '\''drupal'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2021-07-27 11:10:40,249: DEBUG - + database=
2021-07-27 11:10:40,251: DEBUG - + '[' -n '' ']'
2021-07-27 11:10:40,252: DEBUG - + mysql -B ''
2021-07-27 11:10:40,417: DEBUG - + ynh_app_setting_set --app=drupal --key=mysqlpwd --value=**********
2021-07-27 11:10:40,675: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:40,676: DEBUG - + ynh_app_setting set drupal mysqlpwd **********
2021-07-27 11:10:41,145: DEBUG - + echo '[#####++.............] > Setting up source files...'
2021-07-27 11:10:41,148: DEBUG - + ynh_app_setting_set --app=drupal --key=final_path --value=/var/www/drupal
2021-07-27 11:10:41,159: INFO - [#####++.............] > Setting up source files...
2021-07-27 11:10:41,392: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:41,394: DEBUG - + ynh_app_setting set drupal final_path /var/www/drupal
2021-07-27 11:10:41,693: DEBUG - + ynh_setup_source --dest_dir=/var/www/drupal
2021-07-27 11:10:41,778: DEBUG - + source_id=app
2021-07-27 11:10:41,780: DEBUG - + keep=
2021-07-27 11:10:41,781: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/app.src
2021-07-27 11:10:41,782: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/app.src
2021-07-27 11:10:41,784: DEBUG - ++ cut --delimiter== --fields=2-
2021-07-27 11:10:41,790: DEBUG - + local src_url=https://github.com/drupal-composer/drupal-project/archive/ec0f41171516c18357ca4cda9068ee4cdeabaa19.tar.gz
2021-07-27 11:10:41,793: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/app.src
2021-07-27 11:10:41,794: DEBUG - ++ cut --delimiter== --fields=2-
2021-07-27 11:10:41,800: DEBUG - + local src_sum=aa94ea1e8a0cc382afb8e9f66b56af02ca7c60817403efc0e7b2a89c3dea09b8
2021-07-27 11:10:41,804: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/app.src
2021-07-27 11:10:41,805: DEBUG - ++ cut --delimiter== --fields=2-
2021-07-27 11:10:41,811: DEBUG - + local src_sumprg=sha256sum
2021-07-27 11:10:41,815: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/app.src
2021-07-27 11:10:41,816: DEBUG - ++ cut --delimiter== --fields=2-
2021-07-27 11:10:41,822: DEBUG - + local src_format=tar.gz
2021-07-27 11:10:41,826: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/app.src
2021-07-27 11:10:41,827: DEBUG - ++ cut --delimiter== --fields=2-
2021-07-27 11:10:41,833: DEBUG - + local src_extract=true
2021-07-27 11:10:41,836: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/app.src
2021-07-27 11:10:41,838: DEBUG - ++ cut --delimiter== --fields=2-
2021-07-27 11:10:41,844: DEBUG - + local src_in_subdir=true
2021-07-27 11:10:41,848: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/app.src
2021-07-27 11:10:41,848: DEBUG - ++ cut --delimiter== --fields=2-
2021-07-27 11:10:41,855: DEBUG - + local src_filename=
2021-07-27 11:10:41,856: DEBUG - + src_sumprg=sha256sum
2021-07-27 11:10:41,857: DEBUG - + src_in_subdir=true
2021-07-27 11:10:41,858: DEBUG - + src_format=tar.gz
2021-07-27 11:10:41,860: DEBUG - ++ echo tar.gz
2021-07-27 11:10:41,861: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-07-27 11:10:41,865: DEBUG - + src_format=tar.gz
2021-07-27 11:10:41,866: DEBUG - + src_extract=true
2021-07-27 11:10:41,867: DEBUG - + '[' '' = '' ']'
2021-07-27 11:10:41,868: DEBUG - + src_filename=app.tar.gz
2021-07-27 11:10:41,869: DEBUG - + local local_src=/opt/yunohost-apps-src/drupal/app.tar.gz
2021-07-27 11:10:41,870: DEBUG - + mkdir -p /var/cache/yunohost/download/drupal/
2021-07-27 11:10:41,874: DEBUG - + src_filename=/var/cache/yunohost/download/drupal/app.tar.gz
2021-07-27 11:10:41,876: DEBUG - + test -e /opt/yunohost-apps-src/drupal/app.tar.gz
2021-07-27 11:10:41,877: DEBUG - + '[' -n https://github.com/drupal-composer/drupal-project/archive/ec0f41171516c18357ca4cda9068ee4cdeabaa19.tar.gz ']'
2021-07-27 11:10:41,879: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/drupal/app.tar.gz https://github.com/drupal-composer/drupal-project/archive/ec0f41171516c18357ca4cda9068ee4cdeabaa19.tar.gz
2021-07-27 11:10:42,655: DEBUG - + out='2021-07-27 11:10:42 URL:https://codeload.github.com/drupal-composer/drupal-project/tar.gz/ec0f41171516c18357ca4cda9068ee4cdeabaa19 [13949] -> "/var/cache/yunohost/download/drupal/app.tar.gz" [1]'
2021-07-27 11:10:42,658: DEBUG - + echo 'aa94ea1e8a0cc382afb8e9f66b56af02ca7c60817403efc0e7b2a89c3dea09b8 /var/cache/yunohost/download/drupal/app.tar.gz'
2021-07-27 11:10:42,660: DEBUG - + sha256sum --check --status
2021-07-27 11:10:42,672: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-07-27 11:10:42,679: DEBUG - + '[' -n '' ']'
2021-07-27 11:10:42,681: DEBUG - + mkdir --parents /var/www/drupal
2021-07-27 11:10:42,690: DEBUG - + '[' -n /var/www/drupal ']'
2021-07-27 11:10:42,692: DEBUG - + '[' /var/www/drupal == /var/www/drupal ']'
2021-07-27 11:10:42,693: DEBUG - + _ynh_apply_default_permissions /var/www/drupal
2021-07-27 11:10:42,695: DEBUG - + local target=/var/www/drupal
2021-07-27 11:10:42,697: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/manifest.json
2021-07-27 11:10:42,699: DEBUG - ++ tr -d '>= '
2021-07-27 11:10:42,747: DEBUG - + local ynh_requirement=4.2.0
2021-07-27 11:10:42,748: DEBUG - + '[' -z 4.2.0 ']'
2021-07-27 11:10:42,749: DEBUG - + '[' 4.2.0 == null ']'
2021-07-27 11:10:42,750: DEBUG - + dpkg --compare-versions 4.2.0 ge 4.2
2021-07-27 11:10:42,755: DEBUG - + chmod o-rwx /var/www/drupal
2021-07-27 11:10:42,759: DEBUG - + chmod g-w /var/www/drupal
2021-07-27 11:10:42,763: DEBUG - + chown -R root:root /var/www/drupal
2021-07-27 11:10:42,780: DEBUG - + ynh_system_user_exists drupal
2021-07-27 11:10:42,814: DEBUG - + getent passwd drupal
2021-07-27 11:10:42,825: DEBUG - + chown drupal:drupal /var/www/drupal
2021-07-27 11:10:42,836: DEBUG - + true
2021-07-27 11:10:42,837: DEBUG - + '[' tar.gz = zip ']'
2021-07-27 11:10:42,838: DEBUG - + local strip=
2021-07-27 11:10:42,839: DEBUG - + '[' true '!=' false ']'
2021-07-27 11:10:42,839: DEBUG - + '[' true == true ']'
2021-07-27 11:10:42,840: DEBUG - + local sub_dirs=1
2021-07-27 11:10:42,841: DEBUG - + strip='--strip-components 1'
2021-07-27 11:10:42,842: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2021-07-27 11:10:42,842: DEBUG - + tar --extract --file=/var/cache/yunohost/download/drupal/app.tar.gz --directory=/var/www/drupal --strip-components 1
2021-07-27 11:10:42,852: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/drupal/app.tar.gz
2021-07-27 11:10:42,901: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-07-27 11:10:42,903: DEBUG - + '[' 1 -ge 2 ']'
2021-07-27 11:10:42,904: DEBUG - + [[ -z /var/cache/yunohost/download/drupal/app.tar.gz ]]
2021-07-27 11:10:42,905: DEBUG - + [[      /var/www     /home/yunohost.app =~ /var/cache/yunohost/download/drupal/app\.tar\.gz ]]
2021-07-27 11:10:42,906: DEBUG - + [[ /var/cache/yunohost/download/drupal/app.tar.gz =~ ^/[[:alnum:]]+$ ]]
2021-07-27 11:10:42,906: DEBUG - + [[ z = \/ ]]
2021-07-27 11:10:42,908: DEBUG - + '[' -e /var/cache/yunohost/download/drupal/app.tar.gz ']'
2021-07-27 11:10:42,909: DEBUG - + rm --recursive /var/cache/yunohost/download/drupal/app.tar.gz
2021-07-27 11:10:42,909: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/sources/patches/ ']'
2021-07-27 11:10:42,910: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/sources/extra_files/app
2021-07-27 11:10:42,911: DEBUG - + '[' -n '' ']'
2021-07-27 11:10:42,912: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-07-27 11:10:42,913: DEBUG - + mkdir -p /var/www/drupal/drupal
2021-07-27 11:10:42,918: DEBUG - + chmod 750 /var/www/drupal
2021-07-27 11:10:42,922: DEBUG - + chmod -R o-rwx /var/www/drupal
2021-07-27 11:10:42,927: DEBUG - + chown -R drupal:www-data /var/www/drupal
2021-07-27 11:10:43,108: DEBUG - + echo '[#######+............] > Configuring NGINX web server...'
2021-07-27 11:10:43,111: DEBUG - + ynh_add_nginx_config
2021-07-27 11:10:43,111: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:43,112: DEBUG - + '[' /drupal '!=' / ']'
2021-07-27 11:10:43,113: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/nginx.conf
2021-07-27 11:10:43,122: INFO - [#######+............] > Configuring NGINX web server...
2021-07-27 11:10:43,354: DEBUG - + local delimit=@
2021-07-27 11:10:43,355: DEBUG - + match_string='^#sub_path_only'
2021-07-27 11:10:43,356: DEBUG - + replace_string=
2021-07-27 11:10:43,357: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/nginx.conf
2021-07-27 11:10:43,362: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:43,495: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf//var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/nginx.conf ']'
2021-07-27 11:10:43,497: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/nginx.conf ']'
2021-07-27 11:10:43,498: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/nginx.conf
2021-07-27 11:10:43,499: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:43,541: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_drupal.conf
2021-07-27 11:10:43,543: DEBUG - ++ ynh_app_setting_get --app=drupal --key=checksum__etc_nginx_conf.d_maindomain.tld.d_drupal.conf
2021-07-27 11:10:43,684: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_drupal.conf =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:43,685: DEBUG - ++ ynh_app_setting get drupal checksum__etc_nginx_conf.d_maindomain.tld.d_drupal.conf
2021-07-27 11:10:43,966: DEBUG - + local checksum_value=
2021-07-27 11:10:43,968: DEBUG - + backup_file_checksum=
2021-07-27 11:10:43,968: DEBUG - + '[' -n '' ']'
2021-07-27 11:10:43,969: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:43,971: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:43,976: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:43,980: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:43,987: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:43,988: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:43,990: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/manifest.json
2021-07-27 11:10:43,992: DEBUG - ++ tr -d '>= '
2021-07-27 11:10:44,010: DEBUG - + local ynh_requirement=4.2.0
2021-07-27 11:10:44,011: DEBUG - + '[' -z 4.2.0 ']'
2021-07-27 11:10:44,012: DEBUG - + '[' 4.2.0 == null ']'
2021-07-27 11:10:44,013: DEBUG - + dpkg --compare-versions 4.2.0 ge 4.2
2021-07-27 11:10:44,018: DEBUG - + chmod o-rwx /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:44,022: DEBUG - + chmod g-w /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:44,026: DEBUG - + chown -R root:root /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:44,031: DEBUG - + ynh_system_user_exists drupal
2021-07-27 11:10:44,068: DEBUG - + getent passwd drupal
2021-07-27 11:10:44,073: DEBUG - + chown drupal:drupal /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:44,078: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:44,118: DEBUG - + test -n /drupal
2021-07-27 11:10:44,119: DEBUG - + local path_url_slash_less=/drupal
2021-07-27 11:10:44,120: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/drupal/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:44,362: DEBUG - + local delimit=@
2021-07-27 11:10:44,368: DEBUG - + match_string=__PATH__/
2021-07-27 11:10:44,369: DEBUG - + replace_string=/drupal/
2021-07-27 11:10:44,369: DEBUG - + sed --in-place s@__PATH__/@/drupal/@g /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:44,374: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/drupal --target_file=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:44,612: DEBUG - + local delimit=@
2021-07-27 11:10:44,613: DEBUG - + match_string=__PATH__
2021-07-27 11:10:44,614: DEBUG - + replace_string=/drupal
2021-07-27 11:10:44,615: DEBUG - + sed --in-place s@__PATH__@/drupal@g /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:44,620: DEBUG - + test -n drupal
2021-07-27 11:10:44,622: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=drupal --target_file=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:44,853: DEBUG - + local delimit=@
2021-07-27 11:10:44,855: DEBUG - + match_string=__NAME__
2021-07-27 11:10:44,855: DEBUG - + replace_string=drupal
2021-07-27 11:10:44,856: DEBUG - + sed --in-place s@__NAME__@drupal@g /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:44,862: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=drupal --target_file=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:45,100: DEBUG - + local delimit=@
2021-07-27 11:10:45,101: DEBUG - + match_string=__NAMETOCHANGE__
2021-07-27 11:10:45,102: DEBUG - + replace_string=drupal
2021-07-27 11:10:45,103: DEBUG - + sed --in-place s@__NAMETOCHANGE__@drupal@g /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:45,108: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=drupal --target_file=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:45,391: DEBUG - + local delimit=@
2021-07-27 11:10:45,393: DEBUG - + match_string=__USER__
2021-07-27 11:10:45,394: DEBUG - + replace_string=drupal
2021-07-27 11:10:45,395: DEBUG - + sed --in-place s@__USER__@drupal@g /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:45,400: DEBUG - + test -n /var/www/drupal
2021-07-27 11:10:45,402: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/drupal --target_file=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:45,718: DEBUG - + local delimit=@
2021-07-27 11:10:45,720: DEBUG - + match_string=__FINALPATH__
2021-07-27 11:10:45,721: DEBUG - + replace_string=/var/www/drupal
2021-07-27 11:10:45,722: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/drupal@g /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:45,728: DEBUG - + test -n 7.3
2021-07-27 11:10:45,730: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:45,986: DEBUG - + local delimit=@
2021-07-27 11:10:45,987: DEBUG - + match_string=__PHPVERSION__
2021-07-27 11:10:45,988: DEBUG - + replace_string=7.3
2021-07-27 11:10:45,989: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:45,994: DEBUG - + test -n ''
2021-07-27 11:10:45,996: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-07-27 11:10:45,999: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:46,000: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-07-27 11:10:46,002: DEBUG - ++ sort --unique
2021-07-27 11:10:46,010: DEBUG - + local delimit=@
2021-07-27 11:10:46,011: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:46,049: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_drupal.conf
2021-07-27 11:10:46,053: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/drupal.conf
2021-07-27 11:10:46,054: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-07-27 11:10:46,061: DEBUG - + ynh_app_setting_set --app=drupal --key=checksum__etc_nginx_conf.d_maindomain.tld.d_drupal.conf --value=ff138a16468fa50234975af9efd07fb4
2021-07-27 11:10:46,304: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_drupal.conf =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:46,306: DEBUG - + ynh_app_setting set drupal checksum__etc_nginx_conf.d_maindomain.tld.d_drupal.conf ff138a16468fa50234975af9efd07fb4
2021-07-27 11:10:46,588: DEBUG - + '[' -n '' ']'
2021-07-27 11:10:46,589: DEBUG - + unset backup_file_checksum
2021-07-27 11:10:46,590: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2021-07-27 11:10:46,894: DEBUG - + service_name=nginx
2021-07-27 11:10:46,895: DEBUG - + action=reload
2021-07-27 11:10:46,896: DEBUG - + line_match=
2021-07-27 11:10:46,897: DEBUG - + length=20
2021-07-27 11:10:46,898: DEBUG - + log_path=/var/log/nginx/nginx.log
2021-07-27 11:10:46,899: DEBUG - + timeout=300
2021-07-27 11:10:46,900: DEBUG - + '[' reload == stop ']'
2021-07-27 11:10:46,900: DEBUG - + [[ -n '' ]]
2021-07-27 11:10:46,901: DEBUG - + '[' reload == reload ']'
2021-07-27 11:10:46,902: DEBUG - + action=reload-or-restart
2021-07-27 11:10:46,902: DEBUG - + systemctl reload-or-restart nginx
2021-07-27 11:10:47,234: DEBUG - + [[ -n '' ]]
2021-07-27 11:10:47,420: INFO - [########+...........] > Configuring PHP-FPM...
2021-07-27 11:10:47,423: DEBUG - + echo '[########+...........] > Configuring PHP-FPM...'
2021-07-27 11:10:47,425: DEBUG - + ynh_add_fpm_config --usage=low --footprint=low '--package=php7.3-fpm php7.3-cli php7.3-gd php7.3-mysql php7.3-xml php7.3-ldap php7.3-mbstring php7.3-json php7.3-simplexml php7.3-curl'
2021-07-27 11:10:47,915: DEBUG - + package='php7.3-fpm php7.3-cli php7.3-gd php7.3-mysql php7.3-xml php7.3-ldap php7.3-mbstring php7.3-json php7.3-simplexml php7.3-curl'
2021-07-27 11:10:47,917: DEBUG - + use_template=1
2021-07-27 11:10:47,920: DEBUG - + usage=low
2021-07-27 11:10:47,923: DEBUG - + footprint=low
2021-07-27 11:10:47,925: DEBUG - + '[' -n low ']'
2021-07-27 11:10:47,927: DEBUG - + use_template=0
2021-07-27 11:10:47,929: DEBUG - + dedicated_service=0
2021-07-27 11:10:47,930: DEBUG - + phpversion=7.3
2021-07-27 11:10:47,931: DEBUG - ++ ynh_app_setting_get --app=drupal --key=phpversion
2021-07-27 11:10:48,054: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:10:48,055: DEBUG - ++ ynh_app_setting get drupal phpversion
2021-07-27 11:10:48,331: DEBUG - + local old_phpversion=
2021-07-27 11:10:48,332: DEBUG - + '[' -n '' ']'
2021-07-27 11:10:48,333: DEBUG - + '[' 7.3 '!=' 7.3 ']'
2021-07-27 11:10:48,334: DEBUG - + '[' -n 'php7.3-fpm php7.3-cli php7.3-gd php7.3-mysql php7.3-xml php7.3-ldap php7.3-mbstring php7.3-json php7.3-simplexml php7.3-curl' ']'
2021-07-27 11:10:48,335: DEBUG - + ynh_add_app_dependencies '--package=php7.3-fpm php7.3-cli php7.3-gd php7.3-mysql php7.3-xml php7.3-ldap php7.3-mbstring php7.3-json php7.3-simplexml php7.3-curl'
2021-07-27 11:10:48,410: DEBUG - + replace=0
2021-07-27 11:10:48,411: DEBUG - + local current_dependencies=
2021-07-27 11:10:48,412: DEBUG - + '[' 0 -eq 0 ']'
2021-07-27 11:10:48,413: DEBUG - + local dep_app=drupal
2021-07-27 11:10:48,414: DEBUG - + ynh_package_is_installed --package=drupal-ynh-deps
2021-07-27 11:10:48,447: DEBUG - + ynh_wait_dpkg_free
2021-07-27 11:10:48,900: DEBUG - + return 0
2021-07-27 11:10:48,902: DEBUG - + dpkg-query --show '--showformat=${Status}' drupal-ynh-deps
2021-07-27 11:10:48,903: DEBUG - + grep --count 'ok installed'
2021-07-27 11:10:48,965: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' drupal-ynh-deps
2021-07-27 11:10:49,025: DEBUG - + current_dependencies='curl '
2021-07-27 11:10:49,027: DEBUG - + current_dependencies='curl '
2021-07-27 11:10:49,028: DEBUG - + ynh_install_app_dependencies 'curl php7.3-fpm php7.3-cli php7.3-gd php7.3-mysql php7.3-xml php7.3-ldap php7.3-mbstring php7.3-json php7.3-simplexml php7.3-curl'
2021-07-27 11:10:49,029: DEBUG - + local 'dependencies=curl php7.3-fpm php7.3-cli php7.3-gd php7.3-mysql php7.3-xml php7.3-ldap php7.3-mbstring php7.3-json php7.3-simplexml php7.3-curl'
2021-07-27 11:10:49,031: DEBUG - ++ echo 'curl php7.3-fpm php7.3-cli php7.3-gd php7.3-mysql php7.3-xml php7.3-ldap php7.3-mbstring php7.3-json php7.3-simplexml php7.3-curl'
2021-07-27 11:10:49,032: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-07-27 11:10:49,039: DEBUG - + dependencies='curl, php7.3-fpm, php7.3-cli, php7.3-gd, php7.3-mysql, php7.3-xml, php7.3-ldap, php7.3-mbstring, php7.3-json, php7.3-simplexml, php7.3-curl'
2021-07-27 11:10:49,040: DEBUG - + local 'dependencies=curl, php7.3-fpm, php7.3-cli, php7.3-gd, php7.3-mysql, php7.3-xml, php7.3-ldap, php7.3-mbstring, php7.3-json, php7.3-simplexml, php7.3-curl'
2021-07-27 11:10:49,041: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/manifest.json
2021-07-27 11:10:49,042: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/manifest.json
2021-07-27 11:10:49,057: DEBUG - + local version=8.9.15~ynh1
2021-07-27 11:10:49,059: DEBUG - + '[' -z 8.9.15~ynh1 ']'
2021-07-27 11:10:49,060: DEBUG - + '[' 8.9.15~ynh1 == null ']'
2021-07-27 11:10:49,061: DEBUG - + local dep_app=drupal
2021-07-27 11:10:49,062: DEBUG - + [[ curl, php7.3-fpm, php7.3-cli, php7.3-gd, php7.3-mysql, php7.3-xml, php7.3-ldap, php7.3-mbstring, php7.3-json, php7.3-simplexml, php7.3-curl =~ [<=>] ]]
2021-07-27 11:10:49,063: DEBUG - + echo curl, php7.3-fpm, php7.3-cli, php7.3-gd, php7.3-mysql, php7.3-xml, php7.3-ldap, php7.3-mbstring, php7.3-json, php7.3-simplexml, php7.3-curl
2021-07-27 11:10:49,064: DEBUG - + grep --quiet php
2021-07-27 11:10:49,068: DEBUG - + dpkg --list
2021-07-27 11:10:49,069: DEBUG - + grep php7.0
2021-07-27 11:10:49,071: DEBUG - + grep --quiet --invert-match 7.0.33-0+deb9
2021-07-27 11:10:49,166: DEBUG - + grep --recursive --quiet '^ *deb.*sury' /etc/apt/sources.list /etc/apt/sources.list.d
2021-07-27 11:10:49,173: DEBUG - + cat
2021-07-27 11:10:49,178: DEBUG - + ynh_package_install_from_equivs /tmp/drupal-ynh-deps.control
2021-07-27 11:10:49,180: DEBUG - + local controlfile=/tmp/drupal-ynh-deps.control
2021-07-27 11:10:49,181: DEBUG - ++ grep '^Package: ' /tmp/drupal-ynh-deps.control
2021-07-27 11:10:49,182: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-07-27 11:10:49,189: DEBUG - + local pkgname=drupal-ynh-deps
2021-07-27 11:10:49,192: DEBUG - ++ grep '^Version: ' /tmp/drupal-ynh-deps.control
2021-07-27 11:10:49,193: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-07-27 11:10:49,200: DEBUG - + local pkgversion=8.9.15~ynh1
2021-07-27 11:10:49,201: DEBUG - + [[ -z drupal-ynh-deps ]]
2021-07-27 11:10:49,202: DEBUG - + [[ -z 8.9.15~ynh1 ]]
2021-07-27 11:10:49,203: DEBUG - + ynh_package_update
2021-07-27 11:10:49,203: DEBUG - + ynh_apt update
2021-07-27 11:10:49,204: DEBUG - + ynh_wait_dpkg_free
2021-07-27 11:10:49,636: DEBUG - + return 0
2021-07-27 11:10:49,637: DEBUG - + LC_ALL=C
2021-07-27 11:10:49,638: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-07-27 11:10:49,639: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-07-27 11:10:49,983: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease
2021-07-27 11:10:49,984: DEBUG - Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
2021-07-27 11:10:49,986: DEBUG - Hit:3 http://archive.raspberrypi.org/debian buster InRelease
2021-07-27 11:10:50,060: DEBUG - Hit:4 https://packages.sury.org/php buster InRelease
2021-07-27 11:10:56,504: DEBUG - Reading package lists...
2021-07-27 11:10:56,655: DEBUG - ++ mktemp --directory
2021-07-27 11:10:56,660: DEBUG - + local TMPDIR=/tmp/tmp.LRroJQVhrZ
2021-07-27 11:10:56,661: DEBUG - + echo 10
2021-07-27 11:10:56,667: DEBUG - + ynh_wait_dpkg_free
2021-07-27 11:10:57,094: DEBUG - + return 0
2021-07-27 11:10:57,096: DEBUG - + cp /tmp/drupal-ynh-deps.control /tmp/tmp.LRroJQVhrZ/control
2021-07-27 11:10:57,104: DEBUG - + cd /tmp/tmp.LRroJQVhrZ
2021-07-27 11:10:57,105: DEBUG - + LC_ALL=C
2021-07-27 11:10:57,106: DEBUG - + equivs-build ./control
2021-07-27 11:11:00,450: DEBUG - + LC_ALL=C
2021-07-27 11:11:00,451: DEBUG - + dpkg --force-depends --install ./drupal-ynh-deps_8.9.15~ynh1_all.deb
2021-07-27 11:11:00,452: DEBUG - + tee ./dpkg_log
2021-07-27 11:11:00,722: DEBUG - (Reading database ... 62635 files and directories currently installed.)
2021-07-27 11:11:00,736: DEBUG - Preparing to unpack .../drupal-ynh-deps_8.9.15~ynh1_all.deb ...
2021-07-27 11:11:00,755: DEBUG - Unpacking drupal-ynh-deps (8.9.15~ynh1) over (8.9.15~ynh1) ...
2021-07-27 11:11:00,821: DEBUG - Setting up drupal-ynh-deps (8.9.15~ynh1) ...
2021-07-27 11:11:00,916: DEBUG - + ynh_package_install --fix-broken
2021-07-27 11:11:00,917: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-07-27 11:11:00,918: DEBUG - + ynh_wait_dpkg_free
2021-07-27 11:11:01,354: DEBUG - + return 0
2021-07-27 11:11:01,355: DEBUG - + LC_ALL=C
2021-07-27 11:11:01,356: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-07-27 11:11:01,357: 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-07-27 11:11:03,808: DEBUG - Reading package lists...
2021-07-27 11:11:04,731: DEBUG - Building dependency tree...
2021-07-27 11:11:04,736: DEBUG - Reading state information...
2021-07-27 11:11:06,342: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2021-07-27 11:11:06,345: DEBUG - + [[ -n /tmp/tmp.LRroJQVhrZ ]]
2021-07-27 11:11:06,346: DEBUG - + rm --recursive --force /tmp/tmp.LRroJQVhrZ
2021-07-27 11:11:06,351: DEBUG - + ynh_package_is_installed drupal-ynh-deps
2021-07-27 11:11:06,384: DEBUG - + ynh_wait_dpkg_free
2021-07-27 11:11:06,804: DEBUG - + return 0
2021-07-27 11:11:06,806: DEBUG - + dpkg-query --show '--showformat=${Status}' drupal-ynh-deps
2021-07-27 11:11:06,807: DEBUG - + grep --count 'ok installed'
2021-07-27 11:11:06,867: DEBUG - + rm /tmp/drupal-ynh-deps.control
2021-07-27 11:11:06,872: DEBUG - + ynh_app_setting_set --app=drupal --key=apt_dependencies '--value=curl, php7.3-fpm, php7.3-cli, php7.3-gd, php7.3-mysql, php7.3-xml, php7.3-ldap, php7.3-mbstring, php7.3-json, php7.3-simplexml, php7.3-curl'
2021-07-27 11:11:07,097: DEBUG - + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:07,099: DEBUG - + ynh_app_setting set drupal apt_dependencies 'curl, php7.3-fpm, php7.3-cli, php7.3-gd, php7.3-mysql, php7.3-xml, php7.3-ldap, php7.3-mbstring, php7.3-json, php7.3-simplexml, php7.3-curl'
2021-07-27 11:11:07,383: DEBUG - + '[' 0 -eq 1 ']'
2021-07-27 11:11:07,384: DEBUG - + local fpm_service=php7.3-fpm
2021-07-27 11:11:07,385: DEBUG - + local fpm_config_dir=/etc/php/7.3/fpm
2021-07-27 11:11:07,386: DEBUG - + mkdir --parents /etc/php/7.3/fpm/pool.d
2021-07-27 11:11:07,392: DEBUG - + ynh_app_setting_set --app=drupal --key=fpm_config_dir --value=/etc/php/7.3/fpm
2021-07-27 11:11:07,631: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:07,633: DEBUG - + ynh_app_setting set drupal fpm_config_dir /etc/php/7.3/fpm
2021-07-27 11:11:07,919: DEBUG - + ynh_app_setting_set --app=drupal --key=fpm_service --value=php7.3-fpm
2021-07-27 11:11:08,153: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:08,155: DEBUG - + ynh_app_setting set drupal fpm_service php7.3-fpm
2021-07-27 11:11:08,443: DEBUG - + ynh_app_setting_set --app=drupal --key=fpm_dedicated_service --value=0
2021-07-27 11:11:08,676: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:08,677: DEBUG - + ynh_app_setting set drupal fpm_dedicated_service 0
2021-07-27 11:11:08,967: DEBUG - + ynh_app_setting_set --app=drupal --key=phpversion --value=7.3
2021-07-27 11:11:09,194: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:09,196: DEBUG - + ynh_app_setting set drupal phpversion 7.3
2021-07-27 11:11:09,485: DEBUG - + '[' 0 -eq 1 ']'
2021-07-27 11:11:09,486: DEBUG - + '[' 0 -eq 1 ']'
2021-07-27 11:11:09,488: DEBUG - + ynh_app_setting_set --app=drupal --key=fpm_footprint --value=low
2021-07-27 11:11:09,712: DEBUG - + [[ fpm_footprint =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:09,713: DEBUG - + ynh_app_setting set drupal fpm_footprint low
2021-07-27 11:11:10,004: DEBUG - + ynh_app_setting_set --app=drupal --key=fpm_usage --value=low
2021-07-27 11:11:10,230: DEBUG - + [[ fpm_usage =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:10,231: DEBUG - + ynh_app_setting set drupal fpm_usage low
2021-07-27 11:11:10,523: DEBUG - + ynh_get_scalable_phpfpm --usage=low --footprint=low
2021-07-27 11:11:10,678: DEBUG - + footprint=low
2021-07-27 11:11:10,679: DEBUG - + usage=low
2021-07-27 11:11:10,680: DEBUG - + print=0
2021-07-27 11:11:10,681: DEBUG - + '[' low = low ']'
2021-07-27 11:11:10,682: DEBUG - + footprint=20
2021-07-27 11:11:10,683: DEBUG - + '[' 20 -le 20 ']'
2021-07-27 11:11:10,684: DEBUG - + min_spare_servers_factor=8
2021-07-27 11:11:10,685: DEBUG - + '[' low = low ']'
2021-07-27 11:11:10,685: DEBUG - + php_pm=ondemand
2021-07-27 11:11:10,686: DEBUG - ++ ynh_get_ram --total --ignore_swap
2021-07-27 11:11:10,875: DEBUG - ++ ignore_swap=1
2021-07-27 11:11:10,876: DEBUG - ++ only_swap=0
2021-07-27 11:11:10,878: DEBUG - ++ free=0
2021-07-27 11:11:10,879: DEBUG - ++ total=1
2021-07-27 11:11:10,880: DEBUG - ++ '[' 0 -eq 1 ']'
2021-07-27 11:11:10,882: DEBUG - ++ '[' 0 -eq 1 ']'
2021-07-27 11:11:10,883: DEBUG - ++ '[' 1 -eq 1 ']'
2021-07-27 11:11:10,884: DEBUG - +++ vmstat --stats --unit M
2021-07-27 11:11:10,885: DEBUG - +++ grep 'total memory'
2021-07-27 11:11:10,886: DEBUG - +++ awk '{print $1}'
2021-07-27 11:11:10,922: DEBUG - ++ local total_ram=924
2021-07-27 11:11:10,925: DEBUG - +++ vmstat --stats --unit M
2021-07-27 11:11:10,926: DEBUG - +++ awk '{print $1}'
2021-07-27 11:11:10,928: DEBUG - +++ grep 'total swap'
2021-07-27 11:11:10,938: DEBUG - ++ local total_swap=99
2021-07-27 11:11:10,941: DEBUG - ++ local total_ram_swap=1023
2021-07-27 11:11:10,942: DEBUG - ++ local ram=1023
2021-07-27 11:11:10,944: DEBUG - ++ '[' 1 -eq 1 ']'
2021-07-27 11:11:10,945: DEBUG - ++ ram=924
2021-07-27 11:11:10,946: DEBUG - ++ echo 924
2021-07-27 11:11:10,947: DEBUG - + local max_ram=924
2021-07-27 11:11:10,948: DEBUG - + php_max_children=23
2021-07-27 11:11:10,948: DEBUG - + '[' ondemand = static ']'
2021-07-27 11:11:10,949: DEBUG - ++ at_least_one 23
2021-07-27 11:11:10,950: DEBUG - ++ '[' 23 -le 0 ']'
2021-07-27 11:11:10,950: DEBUG - ++ echo 23
2021-07-27 11:11:10,953: DEBUG - + php_max_children=23
2021-07-27 11:11:10,955: DEBUG - ++ nproc
2021-07-27 11:11:10,956: DEBUG - + local core_number=4
2021-07-27 11:11:10,957: DEBUG - + local max_proc=16
2021-07-27 11:11:10,958: DEBUG - + '[' 23 -gt 16 ']'
2021-07-27 11:11:10,959: DEBUG - + php_max_children=16
2021-07-27 11:11:10,959: DEBUG - ++ ynh_app_setting_get --app=drupal --key=php_forced_max_children
2021-07-27 11:11:11,065: DEBUG - ++ [[ php_forced_max_children =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:11,067: DEBUG - ++ ynh_app_setting get drupal php_forced_max_children
2021-07-27 11:11:11,373: DEBUG - + local php_forced_max_children=
2021-07-27 11:11:11,375: DEBUG - + '[' -n '' ']'
2021-07-27 11:11:11,376: DEBUG - + '[' ondemand = dynamic ']'
2021-07-27 11:11:11,376: DEBUG - + php_min_spare_servers=0
2021-07-27 11:11:11,378: DEBUG - + php_max_spare_servers=0
2021-07-27 11:11:11,379: DEBUG - + php_start_servers=0
2021-07-27 11:11:11,380: DEBUG - + '[' 0 -eq 1 ']'
2021-07-27 11:11:11,381: DEBUG - + local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/php-fpm.conf
2021-07-27 11:11:11,382: DEBUG - + echo '
2021-07-27 11:11:11,383: DEBUG - [__APP__]
2021-07-27 11:11:11,383: DEBUG - 
2021-07-27 11:11:11,384: DEBUG - user = __APP__
2021-07-27 11:11:11,385: DEBUG - group = __APP__
2021-07-27 11:11:11,387: DEBUG - 
2021-07-27 11:11:11,388: DEBUG - chdir = __FINALPATH__
2021-07-27 11:11:11,389: DEBUG - 
2021-07-27 11:11:11,390: DEBUG - listen = /var/run/php/php__PHPVERSION__-fpm-__APP__.sock
2021-07-27 11:11:11,391: DEBUG - listen.owner = www-data
2021-07-27 11:11:11,399: DEBUG - listen.group = www-data
2021-07-27 11:11:11,403: DEBUG - 
2021-07-27 11:11:11,404: DEBUG - pm = __PHP_PM__
2021-07-27 11:11:11,404: DEBUG - pm.max_children = __PHP_MAX_CHILDREN__
2021-07-27 11:11:11,405: DEBUG - pm.max_requests = 500
2021-07-27 11:11:11,406: DEBUG - request_terminate_timeout = 1d
2021-07-27 11:11:11,407: DEBUG - '
2021-07-27 11:11:11,409: DEBUG - + '[' ondemand = dynamic ']'
2021-07-27 11:11:11,410: DEBUG - + '[' ondemand = ondemand ']'
2021-07-27 11:11:11,411: DEBUG - + echo '
2021-07-27 11:11:11,411: DEBUG - pm.process_idle_timeout = 10s
2021-07-27 11:11:11,412: DEBUG - '
2021-07-27 11:11:11,413: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/extra_php-fpm.conf ']'
2021-07-27 11:11:11,414: DEBUG - + local finalphpconf=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,414: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,491: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf//var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/php-fpm.conf ']'
2021-07-27 11:11:11,492: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/php-fpm.conf ']'
2021-07-27 11:11:11,493: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/php-fpm.conf
2021-07-27 11:11:11,494: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,533: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_drupal.conf
2021-07-27 11:11:11,534: DEBUG - ++ ynh_app_setting_get --app=drupal --key=checksum__etc_php_7.3_fpm_pool.d_drupal.conf
2021-07-27 11:11:11,644: DEBUG - ++ [[ checksum__etc_php_7.3_fpm_pool.d_drupal.conf =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:11,645: DEBUG - ++ ynh_app_setting get drupal checksum__etc_php_7.3_fpm_pool.d_drupal.conf
2021-07-27 11:11:11,927: DEBUG - + local checksum_value=
2021-07-27 11:11:11,928: DEBUG - + backup_file_checksum=
2021-07-27 11:11:11,929: DEBUG - + '[' -n '' ']'
2021-07-27 11:11:11,929: DEBUG - + touch /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,934: DEBUG - + chown root:root /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,939: DEBUG - + chmod 640 /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,943: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,949: DEBUG - + _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,950: DEBUG - + local target=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,953: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/manifest.json
2021-07-27 11:11:11,954: DEBUG - ++ tr -d '>= '
2021-07-27 11:11:11,972: DEBUG - + local ynh_requirement=4.2.0
2021-07-27 11:11:11,973: DEBUG - + '[' -z 4.2.0 ']'
2021-07-27 11:11:11,974: DEBUG - + '[' 4.2.0 == null ']'
2021-07-27 11:11:11,975: DEBUG - + dpkg --compare-versions 4.2.0 ge 4.2
2021-07-27 11:11:11,980: DEBUG - + chmod o-rwx /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,984: DEBUG - + chmod g-w /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,988: DEBUG - + chown -R root:root /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:11,993: DEBUG - + ynh_system_user_exists drupal
2021-07-27 11:11:12,029: DEBUG - + getent passwd drupal
2021-07-27 11:11:12,034: DEBUG - + chown drupal:drupal /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:12,039: DEBUG - + ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:12,075: DEBUG - + test -n /drupal
2021-07-27 11:11:12,076: DEBUG - + local path_url_slash_less=/drupal
2021-07-27 11:11:12,077: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/drupal/ --target_file=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:12,307: DEBUG - + local delimit=@
2021-07-27 11:11:12,309: DEBUG - + match_string=__PATH__/
2021-07-27 11:11:12,310: DEBUG - + replace_string=/drupal/
2021-07-27 11:11:12,310: DEBUG - + sed --in-place s@__PATH__/@/drupal/@g /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:12,315: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/drupal --target_file=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:12,548: DEBUG - + local delimit=@
2021-07-27 11:11:12,550: DEBUG - + match_string=__PATH__
2021-07-27 11:11:12,551: DEBUG - + replace_string=/drupal
2021-07-27 11:11:12,551: DEBUG - + sed --in-place s@__PATH__@/drupal@g /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:12,556: DEBUG - + test -n drupal
2021-07-27 11:11:12,558: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=drupal --target_file=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:12,815: DEBUG - + local delimit=@
2021-07-27 11:11:12,816: DEBUG - + match_string=__NAME__
2021-07-27 11:11:12,817: DEBUG - + replace_string=drupal
2021-07-27 11:11:12,818: DEBUG - + sed --in-place s@__NAME__@drupal@g /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:12,827: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=drupal --target_file=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,065: DEBUG - + local delimit=@
2021-07-27 11:11:13,066: DEBUG - + match_string=__NAMETOCHANGE__
2021-07-27 11:11:13,067: DEBUG - + replace_string=drupal
2021-07-27 11:11:13,068: DEBUG - + sed --in-place s@__NAMETOCHANGE__@drupal@g /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,076: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=drupal --target_file=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,314: DEBUG - + local delimit=@
2021-07-27 11:11:13,316: DEBUG - + match_string=__USER__
2021-07-27 11:11:13,316: DEBUG - + replace_string=drupal
2021-07-27 11:11:13,317: DEBUG - + sed --in-place s@__USER__@drupal@g /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,322: DEBUG - + test -n /var/www/drupal
2021-07-27 11:11:13,324: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/drupal --target_file=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,587: DEBUG - + local delimit=@
2021-07-27 11:11:13,589: DEBUG - + match_string=__FINALPATH__
2021-07-27 11:11:13,590: DEBUG - + replace_string=/var/www/drupal
2021-07-27 11:11:13,591: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/drupal@g /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,598: DEBUG - + test -n 7.3
2021-07-27 11:11:13,599: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,891: DEBUG - + local delimit=@
2021-07-27 11:11:13,893: DEBUG - + match_string=__PHPVERSION__
2021-07-27 11:11:13,894: DEBUG - + replace_string=7.3
2021-07-27 11:11:13,895: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,902: DEBUG - + test -n ''
2021-07-27 11:11:13,903: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-07-27 11:11:13,906: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,909: DEBUG - ++ sort --unique
2021-07-27 11:11:13,910: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-07-27 11:11:13,922: DEBUG - + local delimit=@
2021-07-27 11:11:13,923: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-07-27 11:11:13,924: DEBUG - + [[ -v app ]]
2021-07-27 11:11:13,924: DEBUG - + match_string=__APP__
2021-07-27 11:11:13,925: DEBUG - + match_string=__APP__
2021-07-27 11:11:13,926: DEBUG - + replace_string=drupal
2021-07-27 11:11:13,927: DEBUG - + replace_string=drupal
2021-07-27 11:11:13,928: DEBUG - + replace_string=drupal
2021-07-27 11:11:13,929: DEBUG - + sed --in-place s@__APP__@drupal@g /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,931: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-07-27 11:11:13,932: DEBUG - + [[ -v php_max_children ]]
2021-07-27 11:11:13,933: DEBUG - + match_string=__PHP_MAX_CHILDREN__
2021-07-27 11:11:13,934: DEBUG - + match_string=__PHP_MAX_CHILDREN__
2021-07-27 11:11:13,935: DEBUG - + replace_string=16
2021-07-27 11:11:13,936: DEBUG - + replace_string=16
2021-07-27 11:11:13,937: DEBUG - + replace_string=16
2021-07-27 11:11:13,938: DEBUG - + sed --in-place s@__PHP_MAX_CHILDREN__@16@g /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,942: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-07-27 11:11:13,943: DEBUG - + [[ -v php_pm ]]
2021-07-27 11:11:13,944: DEBUG - + match_string=__PHP_PM__
2021-07-27 11:11:13,945: DEBUG - + match_string=__PHP_PM__
2021-07-27 11:11:13,946: DEBUG - + replace_string=ondemand
2021-07-27 11:11:13,947: DEBUG - + replace_string=ondemand
2021-07-27 11:11:13,948: DEBUG - + replace_string=ondemand
2021-07-27 11:11:13,949: DEBUG - + sed --in-place s@__PHP_PM__@ondemand@g /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,950: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,990: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_drupal.conf
2021-07-27 11:11:13,994: DEBUG - ++ md5sum /etc/php/7.3/fpm/pool.d/drupal.conf
2021-07-27 11:11:13,996: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-07-27 11:11:14,007: DEBUG - + ynh_app_setting_set --app=drupal --key=checksum__etc_php_7.3_fpm_pool.d_drupal.conf --value=d0efee0920e48baeb40d77a2c42deb95
2021-07-27 11:11:14,263: DEBUG - + [[ checksum__etc_php_7.3_fpm_pool.d_drupal.conf =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:14,264: DEBUG - + ynh_app_setting set drupal checksum__etc_php_7.3_fpm_pool.d_drupal.conf d0efee0920e48baeb40d77a2c42deb95
2021-07-27 11:11:14,560: DEBUG - + '[' -n '' ']'
2021-07-27 11:11:14,562: DEBUG - + unset backup_file_checksum
2021-07-27 11:11:14,563: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/php-fpm.ini ']'
2021-07-27 11:11:14,564: DEBUG - + '[' 0 -eq 1 ']'
2021-07-27 11:11:14,565: DEBUG - + php-fpm7.3 --test
2021-07-27 11:11:14,978: DEBUG - + ynh_systemd_action --service_name=php7.3-fpm --action=reload
2021-07-27 11:11:15,286: DEBUG - + service_name=php7.3-fpm
2021-07-27 11:11:15,288: DEBUG - + action=reload
2021-07-27 11:11:15,289: DEBUG - + line_match=
2021-07-27 11:11:15,290: DEBUG - + length=20
2021-07-27 11:11:15,291: DEBUG - + log_path=/var/log/php7.3-fpm/php7.3-fpm.log
2021-07-27 11:11:15,292: DEBUG - + timeout=300
2021-07-27 11:11:15,292: DEBUG - + '[' reload == stop ']'
2021-07-27 11:11:15,293: DEBUG - + [[ -n '' ]]
2021-07-27 11:11:15,294: DEBUG - + '[' reload == reload ']'
2021-07-27 11:11:15,295: DEBUG - + action=reload-or-restart
2021-07-27 11:11:15,295: DEBUG - + systemctl reload-or-restart php7.3-fpm
2021-07-27 11:11:15,336: DEBUG - + [[ -n '' ]]
2021-07-27 11:11:15,349: DEBUG - ++ ynh_app_setting_get --app=drupal --key=phpversion
2021-07-27 11:11:15,490: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:15,492: DEBUG - ++ ynh_app_setting get drupal phpversion
2021-07-27 11:11:15,807: DEBUG - + phpversion=7.3
2021-07-27 11:11:16,002: INFO - [#########+..........] > Adding swap...
2021-07-27 11:11:16,005: DEBUG - + echo '[#########+..........] > Adding swap...'
2021-07-27 11:11:16,008: DEBUG - + ynh_add_swap --size=512
2021-07-27 11:11:16,012: DEBUG - + declare -Ar args_array
2021-07-27 11:11:16,051: DEBUG - + local swap_max_size=524288
2021-07-27 11:11:16,056: DEBUG - ++ df --output=avail /
2021-07-27 11:11:16,058: DEBUG - ++ sed 1d
2021-07-27 11:11:16,065: DEBUG - + local free_space=208125740
2021-07-27 11:11:16,067: DEBUG - + local usable_space=104062870
2021-07-27 11:11:16,068: DEBUG - + SD_CARD_CAN_SWAP=0
2021-07-27 11:11:16,069: DEBUG - + ynh_is_main_device_a_sd_card
2021-07-27 11:11:16,072: DEBUG - +++ findmnt / --nofsroot --uniq --output source --noheadings --first-only
2021-07-27 11:11:16,096: DEBUG - ++ lsblk --output PKNAME --noheadings /dev/sda2
2021-07-27 11:11:16,110: DEBUG - + local main_device=sda
2021-07-27 11:11:16,112: DEBUG - + echo sda
2021-07-27 11:11:16,114: DEBUG - + grep --quiet mmc
2021-07-27 11:11:16,121: DEBUG - + return 1
2021-07-27 11:11:16,123: DEBUG - + '[' 104062870 -ge 524288 ']'
2021-07-27 11:11:16,124: DEBUG - + local swap_size=524288
2021-07-27 11:11:16,125: DEBUG - + '[' 524288 -ne 0 ']'
2021-07-27 11:11:16,126: DEBUG - + '[' '!' -e /swap_drupal ']'
2021-07-27 11:11:16,127: DEBUG - + fallocate -l 524288K /swap_drupal
2021-07-27 11:11:16,147: DEBUG - + chmod 0600 /swap_drupal
2021-07-27 11:11:16,153: DEBUG - + mkswap /swap_drupal
2021-07-27 11:11:16,172: DEBUG - Setting up swapspace version 1, size = 512 MiB (536866816 bytes)
2021-07-27 11:11:16,173: DEBUG - no label, UUID=7ed733db-c80a-4f8d-9224-de81922b3486
2021-07-27 11:11:16,174: DEBUG - + swapon /swap_drupal
2021-07-27 11:11:16,229: DEBUG - + echo -e '/swap_drupal swap swap defaults 0 0 #Swap added by drupal'
2021-07-27 11:11:16,412: INFO - [##########+.........] > Creating Drush alias...
2021-07-27 11:11:16,414: DEBUG - + echo '[##########+.........] > Creating Drush alias...'
2021-07-27 11:11:16,416: DEBUG - + mkdir -p /var/www/drupal/drush/sites/
2021-07-27 11:11:16,417: DEBUG - + ynh_add_config --template=../conf/example.site.yml --destination=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:16,543: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/../conf/example.site.yml ']'
2021-07-27 11:11:16,544: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/../conf/example.site.yml
2021-07-27 11:11:16,545: DEBUG - + ynh_backup_if_checksum_is_different --file=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:16,582: DEBUG - + local checksum_setting_name=checksum__var_www_drupal_drush_sites_drupal.site.yml
2021-07-27 11:11:16,584: DEBUG - ++ ynh_app_setting_get --app=drupal --key=checksum__var_www_drupal_drush_sites_drupal.site.yml
2021-07-27 11:11:16,707: DEBUG - ++ [[ checksum__var_www_drupal_drush_sites_drupal.site.yml =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:16,708: DEBUG - ++ ynh_app_setting get drupal checksum__var_www_drupal_drush_sites_drupal.site.yml
2021-07-27 11:11:17,017: DEBUG - + local checksum_value=
2021-07-27 11:11:17,019: DEBUG - + backup_file_checksum=
2021-07-27 11:11:17,019: DEBUG - + '[' -n '' ']'
2021-07-27 11:11:17,020: DEBUG - + touch /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,022: DEBUG - + chown root:root /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,027: DEBUG - + chmod 640 /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,031: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/../conf/example.site.yml /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,038: DEBUG - + _ynh_apply_default_permissions /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,039: DEBUG - + local target=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,041: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/manifest.json
2021-07-27 11:11:17,043: DEBUG - ++ tr -d '>= '
2021-07-27 11:11:17,061: DEBUG - + local ynh_requirement=4.2.0
2021-07-27 11:11:17,063: DEBUG - + '[' -z 4.2.0 ']'
2021-07-27 11:11:17,063: DEBUG - + '[' 4.2.0 == null ']'
2021-07-27 11:11:17,064: DEBUG - + dpkg --compare-versions 4.2.0 ge 4.2
2021-07-27 11:11:17,069: DEBUG - + chmod o-rwx /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,073: DEBUG - + chmod g-w /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,078: DEBUG - + chown -R root:root /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,083: DEBUG - + ynh_system_user_exists drupal
2021-07-27 11:11:17,121: DEBUG - + getent passwd drupal
2021-07-27 11:11:17,126: DEBUG - + chown drupal:drupal /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,131: DEBUG - + ynh_replace_vars --file=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,170: DEBUG - + test -n /drupal
2021-07-27 11:11:17,172: DEBUG - + local path_url_slash_less=/drupal
2021-07-27 11:11:17,173: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/drupal/ --target_file=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,417: DEBUG - + local delimit=@
2021-07-27 11:11:17,418: DEBUG - + match_string=__PATH__/
2021-07-27 11:11:17,419: DEBUG - + replace_string=/drupal/
2021-07-27 11:11:17,420: DEBUG - + sed --in-place s@__PATH__/@/drupal/@g /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,425: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/drupal --target_file=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,690: DEBUG - + local delimit=@
2021-07-27 11:11:17,691: DEBUG - + match_string=__PATH__
2021-07-27 11:11:17,692: DEBUG - + replace_string=/drupal
2021-07-27 11:11:17,693: DEBUG - + sed --in-place s@__PATH__@/drupal@g /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:17,699: DEBUG - + test -n drupal
2021-07-27 11:11:17,700: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=drupal --target_file=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:18,009: DEBUG - + local delimit=@
2021-07-27 11:11:18,010: DEBUG - + match_string=__NAME__
2021-07-27 11:11:18,011: DEBUG - + replace_string=drupal
2021-07-27 11:11:18,012: DEBUG - + sed --in-place s@__NAME__@drupal@g /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:18,019: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=drupal --target_file=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:18,317: DEBUG - + local delimit=@
2021-07-27 11:11:18,319: DEBUG - + match_string=__NAMETOCHANGE__
2021-07-27 11:11:18,319: DEBUG - + replace_string=drupal
2021-07-27 11:11:18,320: DEBUG - + sed --in-place s@__NAMETOCHANGE__@drupal@g /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:18,325: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=drupal --target_file=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:18,574: DEBUG - + local delimit=@
2021-07-27 11:11:18,575: DEBUG - + match_string=__USER__
2021-07-27 11:11:18,576: DEBUG - + replace_string=drupal
2021-07-27 11:11:18,577: DEBUG - + sed --in-place s@__USER__@drupal@g /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:18,582: DEBUG - + test -n /var/www/drupal
2021-07-27 11:11:18,583: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/drupal --target_file=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:18,831: DEBUG - + local delimit=@
2021-07-27 11:11:18,833: DEBUG - + match_string=__FINALPATH__
2021-07-27 11:11:18,834: DEBUG - + replace_string=/var/www/drupal
2021-07-27 11:11:18,834: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/drupal@g /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:18,839: DEBUG - + test -n 7.3
2021-07-27 11:11:18,841: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:19,140: DEBUG - + local delimit=@
2021-07-27 11:11:19,142: DEBUG - + match_string=__PHPVERSION__
2021-07-27 11:11:19,143: DEBUG - + replace_string=7.3
2021-07-27 11:11:19,144: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:19,150: DEBUG - + test -n ''
2021-07-27 11:11:19,152: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-07-27 11:11:19,155: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:19,158: DEBUG - ++ sort --unique
2021-07-27 11:11:19,160: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-07-27 11:11:19,172: DEBUG - + local delimit=@
2021-07-27 11:11:19,173: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-07-27 11:11:19,174: DEBUG - + [[ -v app ]]
2021-07-27 11:11:19,175: DEBUG - + match_string=__APP__
2021-07-27 11:11:19,176: DEBUG - + match_string=__APP__
2021-07-27 11:11:19,177: DEBUG - + replace_string=drupal
2021-07-27 11:11:19,178: DEBUG - + replace_string=drupal
2021-07-27 11:11:19,179: DEBUG - + replace_string=drupal
2021-07-27 11:11:19,180: DEBUG - + sed --in-place s@__APP__@drupal@g /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:19,182: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-07-27 11:11:19,183: DEBUG - + [[ -v domain ]]
2021-07-27 11:11:19,184: DEBUG - + match_string=__DOMAIN__
2021-07-27 11:11:19,185: DEBUG - + match_string=__DOMAIN__
2021-07-27 11:11:19,186: DEBUG - + replace_string=maindomain.tld
2021-07-27 11:11:19,187: DEBUG - + replace_string=maindomain.tld
2021-07-27 11:11:19,188: DEBUG - + replace_string=maindomain.tld
2021-07-27 11:11:19,189: DEBUG - + sed --in-place s@__DOMAIN__@maindomain.tld@g /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:19,191: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-07-27 11:11:19,192: DEBUG - + [[ -v path_url ]]
2021-07-27 11:11:19,193: DEBUG - + match_string=__PATH_URL__
2021-07-27 11:11:19,194: DEBUG - + match_string=__PATH_URL__
2021-07-27 11:11:19,195: DEBUG - + replace_string=/drupal
2021-07-27 11:11:19,196: DEBUG - + replace_string=/drupal
2021-07-27 11:11:19,197: DEBUG - + replace_string=/drupal
2021-07-27 11:11:19,198: DEBUG - + sed --in-place s@__PATH_URL__@/drupal@g /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:19,201: DEBUG - + ynh_store_file_checksum --file=/var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:19,243: DEBUG - + local checksum_setting_name=checksum__var_www_drupal_drush_sites_drupal.site.yml
2021-07-27 11:11:19,246: DEBUG - ++ md5sum /var/www/drupal/drush/sites/drupal.site.yml
2021-07-27 11:11:19,248: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-07-27 11:11:19,256: DEBUG - + ynh_app_setting_set --app=drupal --key=checksum__var_www_drupal_drush_sites_drupal.site.yml --value=9cf4c35b521f008d3f39db60cb7e4ee9
2021-07-27 11:11:19,506: DEBUG - + [[ checksum__var_www_drupal_drush_sites_drupal.site.yml =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:19,508: DEBUG - + ynh_app_setting set drupal checksum__var_www_drupal_drush_sites_drupal.site.yml 9cf4c35b521f008d3f39db60cb7e4ee9
2021-07-27 11:11:19,806: DEBUG - + '[' -n '' ']'
2021-07-27 11:11:19,807: DEBUG - + unset backup_file_checksum
2021-07-27 11:11:19,981: INFO - [###########+........] > Installing Composer...
2021-07-27 11:11:19,984: DEBUG - + echo '[###########+........] > Installing Composer...'
2021-07-27 11:11:19,986: DEBUG - + mkdir -p /var/www/drupal/.composer
2021-07-27 11:11:19,988: DEBUG - + ynh_add_config --template=../conf/composer.json --destination=/var/www/drupal/composer.json
2021-07-27 11:11:20,111: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/../conf/composer.json ']'
2021-07-27 11:11:20,112: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/../conf/composer.json
2021-07-27 11:11:20,113: DEBUG - + ynh_backup_if_checksum_is_different --file=/var/www/drupal/composer.json
2021-07-27 11:11:20,149: DEBUG - + local checksum_setting_name=checksum__var_www_drupal_composer.json
2021-07-27 11:11:20,151: DEBUG - ++ ynh_app_setting_get --app=drupal --key=checksum__var_www_drupal_composer.json
2021-07-27 11:11:20,271: DEBUG - ++ [[ checksum__var_www_drupal_composer.json =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:20,273: DEBUG - ++ ynh_app_setting get drupal checksum__var_www_drupal_composer.json
2021-07-27 11:11:20,559: DEBUG - + local checksum_value=
2021-07-27 11:11:20,560: DEBUG - + backup_file_checksum=
2021-07-27 11:11:20,561: DEBUG - + '[' -n '' ']'
2021-07-27 11:11:20,562: DEBUG - + touch /var/www/drupal/composer.json
2021-07-27 11:11:20,564: DEBUG - + chown root:root /var/www/drupal/composer.json
2021-07-27 11:11:20,569: DEBUG - + chmod 640 /var/www/drupal/composer.json
2021-07-27 11:11:20,573: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/conf/../conf/composer.json /var/www/drupal/composer.json
2021-07-27 11:11:20,580: DEBUG - + _ynh_apply_default_permissions /var/www/drupal/composer.json
2021-07-27 11:11:20,581: DEBUG - + local target=/var/www/drupal/composer.json
2021-07-27 11:11:20,583: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_004iw8l2/manifest.json
2021-07-27 11:11:20,585: DEBUG - ++ tr -d '>= '
2021-07-27 11:11:20,604: DEBUG - + local ynh_requirement=4.2.0
2021-07-27 11:11:20,605: DEBUG - + '[' -z 4.2.0 ']'
2021-07-27 11:11:20,606: DEBUG - + '[' 4.2.0 == null ']'
2021-07-27 11:11:20,607: DEBUG - + dpkg --compare-versions 4.2.0 ge 4.2
2021-07-27 11:11:20,611: DEBUG - + chmod o-rwx /var/www/drupal/composer.json
2021-07-27 11:11:20,616: DEBUG - + chmod g-w /var/www/drupal/composer.json
2021-07-27 11:11:20,620: DEBUG - + chown -R root:root /var/www/drupal/composer.json
2021-07-27 11:11:20,626: DEBUG - + ynh_system_user_exists drupal
2021-07-27 11:11:20,663: DEBUG - + getent passwd drupal
2021-07-27 11:11:20,668: DEBUG - + chown drupal:drupal /var/www/drupal/composer.json
2021-07-27 11:11:20,673: DEBUG - + ynh_replace_vars --file=/var/www/drupal/composer.json
2021-07-27 11:11:20,712: DEBUG - + test -n /drupal
2021-07-27 11:11:20,713: DEBUG - + local path_url_slash_less=/drupal
2021-07-27 11:11:20,714: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/drupal/ --target_file=/var/www/drupal/composer.json
2021-07-27 11:11:20,989: DEBUG - + local delimit=@
2021-07-27 11:11:20,991: DEBUG - + match_string=__PATH__/
2021-07-27 11:11:20,992: DEBUG - + replace_string=/drupal/
2021-07-27 11:11:20,992: DEBUG - + sed --in-place s@__PATH__/@/drupal/@g /var/www/drupal/composer.json
2021-07-27 11:11:20,998: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/drupal --target_file=/var/www/drupal/composer.json
2021-07-27 11:11:21,245: DEBUG - + local delimit=@
2021-07-27 11:11:21,251: DEBUG - + match_string=__PATH__
2021-07-27 11:11:21,252: DEBUG - + replace_string=/drupal
2021-07-27 11:11:21,253: DEBUG - + sed --in-place s@__PATH__@/drupal@g /var/www/drupal/composer.json
2021-07-27 11:11:21,254: DEBUG - + test -n drupal
2021-07-27 11:11:21,255: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=drupal --target_file=/var/www/drupal/composer.json
2021-07-27 11:11:21,522: DEBUG - + local delimit=@
2021-07-27 11:11:21,523: DEBUG - + match_string=__NAME__
2021-07-27 11:11:21,524: DEBUG - + replace_string=drupal
2021-07-27 11:11:21,525: DEBUG - + sed --in-place s@__NAME__@drupal@g /var/www/drupal/composer.json
2021-07-27 11:11:21,530: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=drupal --target_file=/var/www/drupal/composer.json
2021-07-27 11:11:21,777: DEBUG - + local delimit=@
2021-07-27 11:11:21,779: DEBUG - + match_string=__NAMETOCHANGE__
2021-07-27 11:11:21,779: DEBUG - + replace_string=drupal
2021-07-27 11:11:21,780: DEBUG - + sed --in-place s@__NAMETOCHANGE__@drupal@g /var/www/drupal/composer.json
2021-07-27 11:11:21,785: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=drupal --target_file=/var/www/drupal/composer.json
2021-07-27 11:11:22,030: DEBUG - + local delimit=@
2021-07-27 11:11:22,031: DEBUG - + match_string=__USER__
2021-07-27 11:11:22,032: DEBUG - + replace_string=drupal
2021-07-27 11:11:22,032: DEBUG - + sed --in-place s@__USER__@drupal@g /var/www/drupal/composer.json
2021-07-27 11:11:22,038: DEBUG - + test -n /var/www/drupal
2021-07-27 11:11:22,039: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/drupal --target_file=/var/www/drupal/composer.json
2021-07-27 11:11:22,324: DEBUG - + local delimit=@
2021-07-27 11:11:22,325: DEBUG - + match_string=__FINALPATH__
2021-07-27 11:11:22,326: DEBUG - + replace_string=/var/www/drupal
2021-07-27 11:11:22,327: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/drupal@g /var/www/drupal/composer.json
2021-07-27 11:11:22,333: DEBUG - + test -n 7.3
2021-07-27 11:11:22,335: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/var/www/drupal/composer.json
2021-07-27 11:11:22,599: DEBUG - + local delimit=@
2021-07-27 11:11:22,601: DEBUG - + match_string=__PHPVERSION__
2021-07-27 11:11:22,602: DEBUG - + replace_string=7.3
2021-07-27 11:11:22,602: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /var/www/drupal/composer.json
2021-07-27 11:11:22,608: DEBUG - + test -n ''
2021-07-27 11:11:22,609: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-07-27 11:11:22,612: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/drupal/composer.json
2021-07-27 11:11:22,614: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-07-27 11:11:22,615: DEBUG - ++ sort --unique
2021-07-27 11:11:22,627: DEBUG - + local delimit=@
2021-07-27 11:11:22,628: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-07-27 11:11:22,628: DEBUG - + [[ -v app ]]
2021-07-27 11:11:22,629: DEBUG - + match_string=__APP__
2021-07-27 11:11:22,630: DEBUG - + match_string=__APP__
2021-07-27 11:11:22,630: DEBUG - + replace_string=drupal
2021-07-27 11:11:22,631: DEBUG - + replace_string=drupal
2021-07-27 11:11:22,632: DEBUG - + replace_string=drupal
2021-07-27 11:11:22,633: DEBUG - + sed --in-place s@__APP__@drupal@g /var/www/drupal/composer.json
2021-07-27 11:11:22,634: DEBUG - + ynh_store_file_checksum --file=/var/www/drupal/composer.json
2021-07-27 11:11:22,672: DEBUG - + local checksum_setting_name=checksum__var_www_drupal_composer.json
2021-07-27 11:11:22,676: DEBUG - ++ md5sum /var/www/drupal/composer.json
2021-07-27 11:11:22,678: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-07-27 11:11:22,683: DEBUG - + ynh_app_setting_set --app=drupal --key=checksum__var_www_drupal_composer.json --value=300b55b498323ee5d17a75a0f7f3b16f
2021-07-27 11:11:22,930: DEBUG - + [[ checksum__var_www_drupal_composer.json =~ (unprotected|protected|skipped)_ ]]
2021-07-27 11:11:22,931: DEBUG - + ynh_app_setting set drupal checksum__var_www_drupal_composer.json 300b55b498323ee5d17a75a0f7f3b16f
2021-07-27 11:11:23,255: DEBUG - + '[' -n '' ']'
2021-07-27 11:11:23,256: DEBUG - + unset backup_file_checksum
2021-07-27 11:11:23,257: DEBUG - + ynh_install_composer --phpversion=7.3 --workdir=/var/www/drupal
2021-07-27 11:11:23,260: DEBUG - + declare -Ar args_array
2021-07-27 11:11:23,472: DEBUG - + workdir=/var/www/drupal
2021-07-27 11:11:23,473: DEBUG - + phpversion=7.3
2021-07-27 11:11:23,476: DEBUG - + install_args=
2021-07-27 11:11:23,477: DEBUG - + composerversion=1.10.17
2021-07-27 11:11:23,478: DEBUG - + curl -sS https://getcomposer.org/installer
2021-07-27 11:11:23,479: DEBUG - + COMPOSER_HOME=/var/www/drupal/.composer
2021-07-27 11:11:23,480: DEBUG - + php7.3 -- --quiet --install-dir=/var/www/drupal --version=1.10.17
2021-07-27 11:11:24,363: DEBUG - + ynh_composer_exec --phpversion=7.3 --workdir=/var/www/drupal '--commands=install --no-dev '
2021-07-27 11:11:24,366: DEBUG - + declare -Ar args_array
2021-07-27 11:11:24,604: DEBUG - + workdir=/var/www/drupal
2021-07-27 11:11:24,605: DEBUG - + phpversion=7.3
2021-07-27 11:11:24,606: DEBUG - + COMPOSER_HOME=/var/www/drupal/.composer
2021-07-27 11:11:24,607: DEBUG - + php7.3 /var/www/drupal/composer.phar install --no-dev -d /var/www/drupal --quiet --no-interaction
2021-07-27 11:15:19,501: WARNING - /usr/share/yunohost/helpers.d/php: line 572:  8663 Killed                  COMPOSER_HOME="$workdir/.composer" php${phpversion} "$workdir/composer.phar" $commands -d "$workdir" --quiet --no-interaction
2021-07-27 11:15:20,342: DEBUG - + ynh_die '--message=Unable to install core dependencies with Composer.'
2021-07-27 11:15:20,347: DEBUG - + ret_code=1
2021-07-27 11:15:20,349: WARNING - Unable to install core dependencies with Composer.
2021-07-27 11:15:20,352: DEBUG - + echo 'Unable to install core dependencies with Composer.'
2021-07-27 11:15:20,353: DEBUG - + exit 1
2021-07-27 11:15:20,354: DEBUG - + ynh_exit_properly
2021-07-27 11:15:20,354: DEBUG - + local exit_code=1
2021-07-27 11:15:20,355: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-07-27 11:15:20,357: DEBUG - + '[' 1 -eq 0 ']'
2021-07-27 11:15:20,359: DEBUG - + trap '' EXIT
2021-07-27 11:15:20,361: DEBUG - + set +o errexit
2021-07-27 11:15:20,362: DEBUG - + set +o nounset
2021-07-27 11:15:20,363: DEBUG - + sleep 0.5
2021-07-27 11:15:20,364: DEBUG - + type -t ynh_clean_setup
2021-07-27 11:15:20,364: DEBUG - + ynh_clean_setup
2021-07-27 11:15:20,365: DEBUG - + true
2021-07-27 11:15:20,366: DEBUG - + exit 1
2021-07-27 11:15:21,486: ERROR - Impossible d’installer drupal : Une erreur est survenue dans le script d’installation de l’application

Killed veut généralement dire que le processus était trop gourmand en ressources pour le système.

Tu peux ajouter temporairement un fichier SWAP pour étendre ta mémoire vive sur le SSD (mais attention, ça l’use plus vite, donc à désactiver après :wink: ).

sudo nano /etc/dphys-swapfile
# Change la ligne suivante pour 2Go de swap
# CONF_SWAPFILE=2048 
# Ajoute la ligne suivante en indiquant un chemin vers ton SSD
# CONF_SWAPFILE=</montage/ssd>/swap
# CTRL+O, CTRL+X pour sauvegarder et quitter
# Ensuite on lance le service qui gère le swap
sudo dphys-swapfile swapon

Tu peux vérifier que tu as un swap avec free -m.
Ré-essaie d’installer ton app, puis enlève le swap:

sudo dphys-swapfile swapoff
systemctl disable --now dphys-swapfile

Sources: While installing Roundcube - #12 by ppr et Swap partition & SSD

Merci beaucoup, la manip a fonctionnée.
Drupal est installé et se lance sans problème.

Yvan

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.