Piwigo - reinstallation impossible

Bonjour et merci d’avance pour vos conseils.

Mon serveur YunoHost

Matériel: Brique Internet avec VPN

Version de YunoHost:
yunohost:
repo: stable
version: 11.0.9.14
yunohost-admin:
repo: stable
version: 11.0.10
moulinette:
repo: stable
version: 11.0.9
ssowat:
repo: stable
version: 11.0.9

J’ai accès à mon serveur : En SSH | Par la webadmin |…

Suite à la migration yunohost 4 vers yunohost 11 faite courant aout j’avais des messages d’erreurs dans les pages de ma galerie piwigo.
j’ai posté à ce sujet sur le forum de piwigo, sans réronse à ce jour:
https://fr.piwigo.org/forum/viewtopic.php?id=29803
J’ai donc tenté aujourd’hui une mise à jour forcée de piwigo avec un

sudo yunohost app upgrade piwigo --force

Et là catastrophe, la mise à jour s’interrompt et désinstalle complètement piwigo.
Je tente une nouvelle installation de piwigo, l’installation s’interrompt en cours de route.
Je suis à la recherche de conseils avisés pour reinstaller ma galerie piwigo, merci.

Voici le log de l’installation

args:
  app: piwigo
  force: false
  label: Piwigo
  no_remove_on_failure: false
ended_at: 2022-09-07 12:45:38.761763
env:
  YNH_APP_ARG_ADMIN: olivier
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '1'
  YNH_APP_ARG_LANGUAGE: fr
  YNH_APP_ARG_PATH: /piwigo
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc
  YNH_APP_ID: piwigo
  YNH_APP_INSTANCE_NAME: piwigo
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 12.3.0~ynh1
  YNH_ARCH: armhf
error: Une erreur est survenue dans le script d'installation de l'application
interface: api
operation: app_install
parent: null
related_to:
- - app
  - piwigo
started_at: 2022-09-07 12:41:23.802000
success: false
yunohost_version: 11.0.9.14

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

2022-09-07 14:41:23,854: INFO - Installation de piwigo...
2022-09-07 14:41:24,757: DEBUG - Nothing to update in LDAP
2022-09-07 14:41:24,760: DEBUG - Permission 'piwigo.main' mise à jour
2022-09-07 14:41:25,484: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20220907-124124-permission_url-piwigo" style="text-decoration:underline"> Mise à jour de l'URL associée à l'autorisation 'piwigo' </a>'
2022-09-07 14:41:27,114: DEBUG - The permission database has been resynchronized
2022-09-07 14:41:29,125: DEBUG - La configuration de SSOwat a été regénérée
2022-09-07 14:41:29,872: DEBUG - Permission 'piwigo.main' créée
2022-09-07 14:41:29,876: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20220907-124123-permission_create-piwigo" style="text-decoration:underline"> Créer permission 'piwigo' </a>'
2022-09-07 14:41:30,024: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2022-09-07 14:41:30,112: DEBUG - + source _common.sh
2022-09-07 14:41:30,121: DEBUG - ++ YNH_PHP_VERSION=7.4
2022-09-07 14:41:30,124: DEBUG - ++ pkg_dependencies='imagemagick php7.4-gd php7.4-imagick php7.4-xml php7.4-mbstring php7.4-mysqli'
2022-09-07 14:41:30,126: DEBUG - + source /usr/share/yunohost/helpers
2022-09-07 14:41:30,135: DEBUG - +++ set +o
2022-09-07 14:41:30,142: DEBUG - +++ grep xtrace
2022-09-07 14:41:30,159: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-09-07 14:41:30,161: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-09-07 14:41:30,372: DEBUG - + ynh_abort_if_errors
2022-09-07 14:41:30,378: DEBUG - + trap ynh_exit_properly EXIT
2022-09-07 14:41:30,386: DEBUG - + domain=maindomain.tld
2022-09-07 14:41:30,388: DEBUG - + path_url=/piwigo
2022-09-07 14:41:30,390: DEBUG - + is_public=1
2022-09-07 14:41:30,393: DEBUG - + language=fr
2022-09-07 14:41:30,395: DEBUG - + admin=olivier
2022-09-07 14:41:30,397: DEBUG - + app=piwigo
2022-09-07 14:41:31,125: INFO - [....................] > Validating installation parameters...
2022-09-07 14:41:31,138: DEBUG - + final_path=/var/www/piwigo
2022-09-07 14:41:31,140: DEBUG - + test '!' -e /var/www/piwigo
2022-09-07 14:41:31,150: DEBUG - + ynh_webpath_register --app=piwigo --domain=maindomain.tld --path_url=/piwigo
2022-09-07 14:41:31,765: DEBUG - + yunohost app register-url piwigo maindomain.tld /piwigo
2022-09-07 14:41:44,601: INFO - [....................] > Storing installation settings...
2022-09-07 14:41:44,617: DEBUG - + ynh_app_setting_set --app=piwigo --key=domain --value=maindomain.tld
2022-09-07 14:41:44,622: DEBUG - + local _globalapp=piwigo
2022-09-07 14:41:45,367: DEBUG - + app=piwigo
2022-09-07 14:41:45,375: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:41:45,379: DEBUG - + ynh_app_setting set piwigo domain maindomain.tld
2022-09-07 14:41:45,995: DEBUG - + ynh_app_setting_set --app=piwigo --key=path --value=/piwigo
2022-09-07 14:41:46,006: DEBUG - + local _globalapp=piwigo
2022-09-07 14:41:46,727: DEBUG - + app=piwigo
2022-09-07 14:41:46,729: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:41:46,732: DEBUG - + ynh_app_setting set piwigo path /piwigo
2022-09-07 14:41:47,404: DEBUG - + ynh_app_setting_set --app=piwigo --key=is_public --value=1
2022-09-07 14:41:47,408: DEBUG - + local _globalapp=piwigo
2022-09-07 14:41:48,125: DEBUG - + app=piwigo
2022-09-07 14:41:48,129: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:41:48,134: DEBUG - + ynh_app_setting set piwigo is_public 1
2022-09-07 14:41:48,728: DEBUG - + ynh_app_setting_set --app=piwigo --key=language --value=fr
2022-09-07 14:41:48,743: DEBUG - + local _globalapp=piwigo
2022-09-07 14:41:49,482: DEBUG - + app=piwigo
2022-09-07 14:41:49,485: DEBUG - + [[ language =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:41:49,490: DEBUG - + ynh_app_setting set piwigo language fr
2022-09-07 14:41:50,071: DEBUG - + ynh_app_setting_set --app=piwigo --key=admin --value=olivier
2022-09-07 14:41:50,085: DEBUG - + local _globalapp=piwigo
2022-09-07 14:41:50,799: DEBUG - + app=piwigo
2022-09-07 14:41:50,802: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:41:50,807: DEBUG - + ynh_app_setting set piwigo admin olivier
2022-09-07 14:41:52,261: INFO - [+++++++++++.........] > Installing dependencies...
2022-09-07 14:41:52,273: DEBUG - + ynh_install_app_dependencies imagemagick php7.4-gd php7.4-imagick php7.4-xml php7.4-mbstring php7.4-mysqli
2022-09-07 14:41:52,276: DEBUG - + local 'dependencies=imagemagick php7.4-gd php7.4-imagick php7.4-xml php7.4-mbstring php7.4-mysqli'
2022-09-07 14:41:52,279: DEBUG - ++ echo 'imagemagick php7.4-gd php7.4-imagick php7.4-xml php7.4-mbstring php7.4-mysqli'
2022-09-07 14:41:52,283: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2022-09-07 14:41:52,295: DEBUG - + dependencies='imagemagick, php7.4-gd, php7.4-imagick, php7.4-xml, php7.4-mbstring, php7.4-mysqli'
2022-09-07 14:41:52,298: DEBUG - + local 'dependencies=imagemagick, php7.4-gd, php7.4-imagick, php7.4-xml, php7.4-mbstring, php7.4-mysqli'
2022-09-07 14:41:52,301: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/manifest.json
2022-09-07 14:41:52,308: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/manifest.json
2022-09-07 14:41:52,924: DEBUG - + local version=12.3.0~ynh1
2022-09-07 14:41:52,937: DEBUG - + '[' -z 12.3.0~ynh1 ']'
2022-09-07 14:41:52,939: DEBUG - + '[' 12.3.0~ynh1 == null ']'
2022-09-07 14:41:52,943: DEBUG - + local dep_app=piwigo
2022-09-07 14:41:52,946: DEBUG - + [[ imagemagick, php7.4-gd, php7.4-imagick, php7.4-xml, php7.4-mbstring, php7.4-mysqli =~ [<=>] ]]
2022-09-07 14:41:52,951: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2022-09-07 14:41:52,959: DEBUG - ++ sort -u
2022-09-07 14:41:52,961: DEBUG - ++ echo imagemagick, php7.4-gd, php7.4-imagick, php7.4-xml, php7.4-mbstring, php7.4-mysqli
2022-09-07 14:41:52,979: DEBUG - + local specific_php_version=7.4
2022-09-07 14:41:52,982: DEBUG - + [[ -n 7.4 ]]
2022-09-07 14:41:52,990: DEBUG - ++ echo 7.4
2022-09-07 14:41:52,993: DEBUG - ++ wc -l
2022-09-07 14:41:53,008: DEBUG - + [[ 1 -eq 1 ]]
2022-09-07 14:41:53,010: DEBUG - + dependencies+=', php7.4, php7.4-fpm, php7.4-common'
2022-09-07 14:41:53,016: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=phpversion
2022-09-07 14:41:53,021: DEBUG - ++ local _globalapp=piwigo
2022-09-07 14:41:53,384: DEBUG - ++ app=piwigo
2022-09-07 14:41:53,387: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:41:53,392: DEBUG - ++ ynh_app_setting get piwigo phpversion
2022-09-07 14:41:53,983: DEBUG - + local old_phpversion=
2022-09-07 14:41:53,987: DEBUG - + '[' -n '' ']'
2022-09-07 14:41:53,991: DEBUG - + ynh_app_setting_set --app=piwigo --key=phpversion --value=7.4
2022-09-07 14:41:53,994: DEBUG - + local _globalapp=piwigo
2022-09-07 14:41:54,703: DEBUG - + app=piwigo
2022-09-07 14:41:54,710: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:41:54,713: DEBUG - + ynh_app_setting set piwigo phpversion 7.4
2022-09-07 14:41:55,310: DEBUG - + update-alternatives --set php /usr/bin/php7.4
2022-09-07 14:41:55,339: DEBUG - ++ ynh_package_is_installed postgresql-13
2022-09-07 14:41:55,429: DEBUG - ++ ynh_wait_dpkg_free
2022-09-07 14:41:56,259: DEBUG - ++ return 0
2022-09-07 14:41:56,265: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2022-09-07 14:41:56,268: DEBUG - ++ grep --count 'ok installed'
2022-09-07 14:41:56,401: DEBUG - ++ echo no
2022-09-07 14:41:56,404: DEBUG - + local psql_installed=no
2022-09-07 14:41:56,407: DEBUG - + [[ true == \t\r\u\e ]]
2022-09-07 14:41:56,410: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2022-09-07 14:41:56,412: DEBUG - + cat
2022-09-07 14:41:56,427: DEBUG - + ynh_package_install_from_equivs /tmp/piwigo-ynh-deps.control
2022-09-07 14:41:56,431: DEBUG - + local controlfile=/tmp/piwigo-ynh-deps.control
2022-09-07 14:41:56,445: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-09-07 14:41:56,453: DEBUG - ++ grep '^Package: ' /tmp/piwigo-ynh-deps.control
2022-09-07 14:41:56,478: DEBUG - + local pkgname=piwigo-ynh-deps
2022-09-07 14:41:56,490: DEBUG - ++ grep '^Version: ' /tmp/piwigo-ynh-deps.control
2022-09-07 14:41:56,503: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-09-07 14:41:56,530: DEBUG - + local pkgversion=12.3.0~ynh1
2022-09-07 14:41:56,533: DEBUG - + [[ -z piwigo-ynh-deps ]]
2022-09-07 14:41:56,536: DEBUG - + [[ -z 12.3.0~ynh1 ]]
2022-09-07 14:41:56,539: DEBUG - + ynh_package_update
2022-09-07 14:41:56,541: DEBUG - + ynh_apt update
2022-09-07 14:41:56,544: DEBUG - + ynh_wait_dpkg_free
2022-09-07 14:41:57,585: DEBUG - + return 0
2022-09-07 14:41:57,600: DEBUG - + LC_ALL=C
2022-09-07 14:41:57,605: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-09-07 14:41:57,607: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-09-07 14:41:58,412: DEBUG - Get:1 http://security.debian.org bullseye-security InRelease [48.4 kB]
2022-09-07 14:41:58,516: DEBUG - Hit:2 http://ftp.fr.debian.org/debian bullseye InRelease
2022-09-07 14:41:58,568: DEBUG - Hit:3 http://forge.yunohost.org/debian bullseye InRelease
2022-09-07 14:41:58,648: DEBUG - Hit:4 https://packages.sury.org/php bullseye InRelease
2022-09-07 14:42:01,614: DEBUG - Get:5 http://security.debian.org bullseye-security/main armhf Packages [177 kB]
2022-09-07 14:42:04,115: DEBUG - Fetched 225 kB in 6s (38.4 kB/s)
2022-09-07 14:42:13,771: DEBUG - Reading package lists...
2022-09-07 14:42:13,996: DEBUG - ++ mktemp --directory
2022-09-07 14:42:14,012: DEBUG - + local TMPDIR=/tmp/tmp.ZSRMfcGqfk
2022-09-07 14:42:14,014: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2022-09-07 14:42:14,843: DEBUG - + ynh_wait_dpkg_free
2022-09-07 14:42:15,704: DEBUG - + return 0
2022-09-07 14:42:15,715: DEBUG - + cp /tmp/piwigo-ynh-deps.control /tmp/tmp.ZSRMfcGqfk/control
2022-09-07 14:42:15,733: DEBUG - + cd /tmp/tmp.ZSRMfcGqfk
2022-09-07 14:42:15,737: DEBUG - + LC_ALL=C
2022-09-07 14:42:15,739: DEBUG - + equivs-build ./control
2022-09-07 14:42:18,111: DEBUG - dpkg-buildpackage: info: source package piwigo-ynh-deps
2022-09-07 14:42:18,114: DEBUG - dpkg-buildpackage: info: source version 12.3.0~ynh1
2022-09-07 14:42:18,122: DEBUG - dpkg-buildpackage: info: source distribution unstable
2022-09-07 14:42:18,132: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@maindomain.tld>
2022-09-07 14:42:20,241: DEBUG -  dpkg-source --before-build .
2022-09-07 14:42:20,244: DEBUG - dpkg-buildpackage: info: host architecture armhf
2022-09-07 14:42:21,711: DEBUG -  debian/rules clean
2022-09-07 14:42:21,761: DEBUG - dh clean
2022-09-07 14:42:22,858: DEBUG -    dh_clean
2022-09-07 14:42:23,267: DEBUG -  debian/rules binary
2022-09-07 14:42:23,304: DEBUG - dh binary
2022-09-07 14:42:24,206: DEBUG -    dh_update_autotools_config
2022-09-07 14:42:24,587: DEBUG -    dh_autoreconf
2022-09-07 14:42:25,162: DEBUG -    create-stamp debian/debhelper-build-stamp
2022-09-07 14:42:25,164: DEBUG -    dh_prep
2022-09-07 14:42:25,545: DEBUG -    dh_install
2022-09-07 14:42:25,999: DEBUG -    dh_installdocs
2022-09-07 14:42:26,582: DEBUG -    dh_installchangelogs
2022-09-07 14:42:28,115: DEBUG -    dh_perl
2022-09-07 14:42:28,627: DEBUG -    dh_link
2022-09-07 14:42:29,178: DEBUG -    dh_strip_nondeterminism
2022-09-07 14:42:30,317: DEBUG -    dh_compress
2022-09-07 14:42:30,855: DEBUG -    dh_fixperms
2022-09-07 14:42:31,376: DEBUG -    dh_missing
2022-09-07 14:42:31,743: DEBUG -    dh_installdeb
2022-09-07 14:42:32,316: DEBUG -    dh_gencontrol
2022-09-07 14:42:33,992: DEBUG -    dh_md5sums
2022-09-07 14:42:34,445: DEBUG -    dh_builddeb
2022-09-07 14:42:34,858: DEBUG - dpkg-deb: building package 'piwigo-ynh-deps' in '../piwigo-ynh-deps_12.3.0~ynh1_all.deb'.
2022-09-07 14:42:35,034: DEBUG -  dpkg-genbuildinfo --build=binary
2022-09-07 14:42:40,364: DEBUG -  dpkg-genchanges --build=binary >../piwigo-ynh-deps_12.3.0~ynh1_armhf.changes
2022-09-07 14:42:41,473: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2022-09-07 14:42:41,506: DEBUG -  dpkg-source --after-build .
2022-09-07 14:42:42,863: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2022-09-07 14:42:42,948: DEBUG - 
2022-09-07 14:42:42,963: DEBUG - The package has been created.
2022-09-07 14:42:42,966: DEBUG - Attention, the package has been created in the current directory,
2022-09-07 14:42:42,971: DEBUG - not in ".." as indicated by the message above!
2022-09-07 14:42:42,981: DEBUG - + tee ./dpkg_log
2022-09-07 14:42:42,984: DEBUG - + LC_ALL=C
2022-09-07 14:42:42,991: DEBUG - + dpkg --force-depends --install ./piwigo-ynh-deps_12.3.0~ynh1_all.deb
2022-09-07 14:42:43,540: DEBUG - Selecting previously unselected package piwigo-ynh-deps.
2022-09-07 14:42:45,878: DEBUG - (Reading database ... 72400 files and directories currently installed.)
2022-09-07 14:42:45,907: DEBUG - Preparing to unpack .../piwigo-ynh-deps_12.3.0~ynh1_all.deb ...
2022-09-07 14:42:45,927: DEBUG - Unpacking piwigo-ynh-deps (12.3.0~ynh1) ...
2022-09-07 14:42:46,099: DEBUG - Setting up piwigo-ynh-deps (12.3.0~ynh1) ...
2022-09-07 14:42:46,374: DEBUG - + ynh_package_install --fix-broken
2022-09-07 14:42:46,384: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-09-07 14:42:46,395: DEBUG - + ynh_wait_dpkg_free
2022-09-07 14:42:47,158: DEBUG - + return 0
2022-09-07 14:42:47,171: DEBUG - + LC_ALL=C
2022-09-07 14:42:47,175: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-09-07 14:42:47,179: 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
2022-09-07 14:42:49,476: DEBUG - Reading package lists...
2022-09-07 14:42:51,669: DEBUG - Building dependency tree...
2022-09-07 14:42:51,701: DEBUG - Reading state information...
2022-09-07 14:42:54,434: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2022-09-07 14:42:54,441: DEBUG - + [[ -n /tmp/tmp.ZSRMfcGqfk ]]
2022-09-07 14:42:54,455: DEBUG - + rm --recursive --force /tmp/tmp.ZSRMfcGqfk
2022-09-07 14:42:54,469: DEBUG - + ynh_package_is_installed piwigo-ynh-deps
2022-09-07 14:42:54,595: DEBUG - + ynh_wait_dpkg_free
2022-09-07 14:42:55,402: DEBUG - + return 0
2022-09-07 14:42:55,417: DEBUG - + dpkg-query --show '--showformat=${Status}' piwigo-ynh-deps
2022-09-07 14:42:55,430: DEBUG - + grep --count 'ok installed'
2022-09-07 14:42:55,544: DEBUG - + rm /tmp/piwigo-ynh-deps.control
2022-09-07 14:42:55,564: DEBUG - ++ ynh_package_is_installed postgresql-13
2022-09-07 14:42:55,671: DEBUG - ++ ynh_wait_dpkg_free
2022-09-07 14:42:56,416: DEBUG - ++ return 0
2022-09-07 14:42:56,437: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2022-09-07 14:42:56,449: DEBUG - ++ grep --count 'ok installed'
2022-09-07 14:42:56,589: DEBUG - ++ echo no
2022-09-07 14:42:56,592: DEBUG - + local psql_installed2=no
2022-09-07 14:42:56,594: DEBUG - + [[ no != \n\o ]]
2022-09-07 14:42:57,332: INFO - [###########+........] > Configuring system user...
2022-09-07 14:42:57,348: DEBUG - + ynh_system_user_create --username=piwigo --home_dir=/var/www/piwigo
2022-09-07 14:42:57,983: DEBUG - + use_shell=0
2022-09-07 14:42:57,991: DEBUG - + home_dir=/var/www/piwigo
2022-09-07 14:42:57,995: DEBUG - + groups=
2022-09-07 14:42:57,998: DEBUG - + ynh_system_user_exists piwigo
2022-09-07 14:42:58,085: DEBUG - + getent passwd piwigo
2022-09-07 14:42:58,681: INFO - [############........] > Creating a MySQL database...
2022-09-07 14:42:58,695: DEBUG - ++ ynh_sanitize_dbid --db_name=piwigo
2022-09-07 14:42:58,783: DEBUG - ++ echo piwigo
2022-09-07 14:42:58,786: DEBUG - + db_name=piwigo
2022-09-07 14:42:58,791: DEBUG - + db_user=piwigo
2022-09-07 14:42:58,794: DEBUG - + ynh_app_setting_set --app=piwigo --key=db_name --value=piwigo
2022-09-07 14:42:58,797: DEBUG - + local _globalapp=piwigo
2022-09-07 14:42:59,520: DEBUG - + app=piwigo
2022-09-07 14:42:59,529: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:42:59,535: DEBUG - + ynh_app_setting set piwigo db_name piwigo
2022-09-07 14:43:00,145: DEBUG - + ynh_mysql_setup_db --db_user=piwigo --db_name=piwigo
2022-09-07 14:43:00,176: DEBUG - + db_pwd=
2022-09-07 14:43:00,655: DEBUG - ++ ynh_string_random
2022-09-07 14:43:00,691: DEBUG - ++ length=24
2022-09-07 14:43:00,702: DEBUG - ++ filter=A-Za-z0-9
2022-09-07 14:43:00,703: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2022-09-07 14:43:00,705: DEBUG - ++ tr --complement --delete A-Za-z0-9
2022-09-07 14:43:00,708: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2022-09-07 14:43:00,723: DEBUG - + local new_db_pwd=**********
2022-09-07 14:43:00,726: DEBUG - + db_pwd=**********
2022-09-07 14:43:00,729: DEBUG - + ynh_mysql_create_db piwigo piwigo **********
2022-09-07 14:43:00,732: DEBUG - + local db=piwigo
2022-09-07 14:43:00,734: DEBUG - + local 'sql=CREATE DATABASE piwigo;'
2022-09-07 14:43:00,738: DEBUG - + [[ 3 -gt 1 ]]
2022-09-07 14:43:00,740: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON piwigo.* TO '\''piwigo'\''@'\''localhost'\'''
2022-09-07 14:43:00,742: DEBUG - + [[ -n ********** ]]
2022-09-07 14:43:00,744: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2022-09-07 14:43:00,747: DEBUG - + sql+=' WITH GRANT OPTION;'
2022-09-07 14:43:00,750: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE piwigo; GRANT ALL PRIVILEGES ON piwigo.* TO '\''piwigo'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2022-09-07 14:43:00,900: DEBUG - + database=
2022-09-07 14:43:00,904: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:00,907: DEBUG - + mysql -B ''
2022-09-07 14:43:01,231: DEBUG - + ynh_app_setting_set --app=piwigo --key=mysqlpwd --value=**********
2022-09-07 14:43:01,234: DEBUG - + local _globalapp=piwigo
2022-09-07 14:43:01,916: DEBUG - + app=piwigo
2022-09-07 14:43:01,920: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:43:01,923: DEBUG - + ynh_app_setting set piwigo mysqlpwd **********
2022-09-07 14:43:03,405: INFO - [############++......] > Setting up source files...
2022-09-07 14:43:03,420: DEBUG - + ynh_app_setting_set --app=piwigo --key=final_path --value=/var/www/piwigo
2022-09-07 14:43:03,423: DEBUG - + local _globalapp=piwigo
2022-09-07 14:43:04,092: DEBUG - + app=piwigo
2022-09-07 14:43:04,094: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:43:04,098: DEBUG - + ynh_app_setting set piwigo final_path /var/www/piwigo
2022-09-07 14:43:04,743: DEBUG - ++ ynh_smart_mktemp --min_size=300
2022-09-07 14:43:04,753: DEBUG - ++ declare -Ar args_array
2022-09-07 14:43:04,855: DEBUG - ++ min_size=300
2022-09-07 14:43:04,860: DEBUG - ++ min_size=307200
2022-09-07 14:43:04,865: DEBUG - ++ is_there_enough_space /tmp
2022-09-07 14:43:04,871: DEBUG - +++ df --output=avail /tmp
2022-09-07 14:43:04,875: DEBUG - +++ sed 1d
2022-09-07 14:43:04,901: DEBUG - ++ local free_space=25410044
2022-09-07 14:43:04,904: DEBUG - ++ test 25410044 -ge 307200
2022-09-07 14:43:04,907: DEBUG - ++ local tmpdir=/tmp
2022-09-07 14:43:04,910: DEBUG - +++ mktemp --directory --tmpdir=/tmp
2022-09-07 14:43:04,921: DEBUG - ++ echo /tmp/tmp.f6Ly2SBIvT
2022-09-07 14:43:04,930: DEBUG - + tmpdir=/tmp/tmp.f6Ly2SBIvT
2022-09-07 14:43:04,938: DEBUG - + ynh_setup_source --dest_dir=/tmp/tmp.f6Ly2SBIvT
2022-09-07 14:43:05,223: DEBUG - + source_id=app
2022-09-07 14:43:05,228: DEBUG - + keep=
2022-09-07 14:43:05,235: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/app.src
2022-09-07 14:43:05,240: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:05,250: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/app.src
2022-09-07 14:43:05,275: DEBUG - + local 'src_url=https://piwigo.org/download/dlcounter.php?code=12.3.0'
2022-09-07 14:43:05,285: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:05,289: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/app.src
2022-09-07 14:43:05,312: DEBUG - + local src_sum=fd09f2fb43273a65c324dd301c2e5821d7ab7256bde41723b8e698a42bcd8f90
2022-09-07 14:43:05,325: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/app.src
2022-09-07 14:43:05,331: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:05,349: DEBUG - + local src_sumprg=sha256sum
2022-09-07 14:43:05,359: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:05,361: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/app.src
2022-09-07 14:43:05,380: DEBUG - + local src_format=zip
2022-09-07 14:43:05,396: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/app.src
2022-09-07 14:43:05,402: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:05,420: DEBUG - + local src_extract=true
2022-09-07 14:43:05,429: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/app.src
2022-09-07 14:43:05,433: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:05,452: DEBUG - + local src_in_subdir=true
2022-09-07 14:43:05,461: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:05,463: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/app.src
2022-09-07 14:43:05,482: DEBUG - + local src_filename=
2022-09-07 14:43:05,484: DEBUG - + src_sumprg=sha256sum
2022-09-07 14:43:05,487: DEBUG - + src_in_subdir=true
2022-09-07 14:43:05,489: DEBUG - + src_format=zip
2022-09-07 14:43:05,493: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2022-09-07 14:43:05,498: DEBUG - ++ echo zip
2022-09-07 14:43:05,507: DEBUG - + src_format=zip
2022-09-07 14:43:05,510: DEBUG - + src_extract=true
2022-09-07 14:43:05,513: DEBUG - + '[' '' = '' ']'
2022-09-07 14:43:05,516: DEBUG - + src_filename=app.zip
2022-09-07 14:43:05,518: DEBUG - + local local_src=/opt/yunohost-apps-src/piwigo/app.zip
2022-09-07 14:43:05,522: DEBUG - + mkdir -p /var/cache/yunohost/download/piwigo/
2022-09-07 14:43:05,534: DEBUG - + src_filename=/var/cache/yunohost/download/piwigo/app.zip
2022-09-07 14:43:05,539: DEBUG - + test -e /opt/yunohost-apps-src/piwigo/app.zip
2022-09-07 14:43:05,542: DEBUG - + '[' -n 'https://piwigo.org/download/dlcounter.php?code=12.3.0' ']'
2022-09-07 14:43:05,550: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/piwigo/app.zip 'https://piwigo.org/download/dlcounter.php?code=12.3.0'
2022-09-07 14:43:11,332: DEBUG - + out='2022-09-07 14:43:11 URL:https://piwigo.org/download/dlcounter.php?code=12.3.0 [17957384/17957384] -> "/var/cache/yunohost/download/piwigo/app.zip" [1]'
2022-09-07 14:43:11,337: DEBUG - + sha256sum --check --status
2022-09-07 14:43:12,121: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-09-07 14:43:12,147: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:12,149: DEBUG - + mkdir --parents /tmp/tmp.f6Ly2SBIvT
2022-09-07 14:43:12,165: DEBUG - + '[' -n /var/www/piwigo ']'
2022-09-07 14:43:12,173: DEBUG - + '[' /tmp/tmp.f6Ly2SBIvT == /var/www/piwigo ']'
2022-09-07 14:43:12,184: DEBUG - + true
2022-09-07 14:43:12,187: DEBUG - + '[' zip = zip ']'
2022-09-07 14:43:12,190: DEBUG - + true
2022-09-07 14:43:12,193: DEBUG - ++ mktemp --directory
2022-09-07 14:43:12,202: DEBUG - + local tmp_dir=/tmp/tmp.YrpQUr3Bqt
2022-09-07 14:43:12,207: DEBUG - + unzip -quo /var/cache/yunohost/download/piwigo/app.zip -d /tmp/tmp.YrpQUr3Bqt
2022-09-07 14:43:17,111: DEBUG - + cp --archive /tmp/tmp.YrpQUr3Bqt/piwigo/. /tmp/tmp.f6Ly2SBIvT
2022-09-07 14:43:23,005: DEBUG - + ynh_secure_remove --file=/tmp/tmp.YrpQUr3Bqt
2022-09-07 14:43:24,603: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/piwigo/app.zip
2022-09-07 14:43:24,911: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/sources/patches/ ']'
2022-09-07 14:43:24,927: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/sources/extra_files/app
2022-09-07 14:43:24,929: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:24,932: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-09-07 14:43:24,938: DEBUG - + mkdir -p /tmp/tmp.f6Ly2SBIvT/plugins/Ldap_Login
2022-09-07 14:43:24,953: DEBUG - + ynh_setup_source --dest_dir=/tmp/tmp.f6Ly2SBIvT/plugins/Ldap_Login --source_id=ldap_plugin
2022-09-07 14:43:25,435: DEBUG - + source_id=ldap_plugin
2022-09-07 14:43:25,440: DEBUG - + keep=
2022-09-07 14:43:25,446: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/ldap_plugin.src
2022-09-07 14:43:25,451: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/ldap_plugin.src
2022-09-07 14:43:25,455: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:25,478: DEBUG - + local 'src_url=https://piwigo.org/ext/download.php?rid=7036'
2022-09-07 14:43:25,488: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/ldap_plugin.src
2022-09-07 14:43:25,494: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:25,514: DEBUG - + local src_sum=3c22652f6c0653aaeebe239435796748ee57612ad44e8e5f2553277545d36e5e
2022-09-07 14:43:25,521: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/ldap_plugin.src
2022-09-07 14:43:25,525: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:25,545: DEBUG - + local src_sumprg=sha256sum
2022-09-07 14:43:25,552: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/ldap_plugin.src
2022-09-07 14:43:25,556: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:25,576: DEBUG - + local src_format=zip
2022-09-07 14:43:25,584: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/ldap_plugin.src
2022-09-07 14:43:25,588: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:25,609: DEBUG - + local src_extract=
2022-09-07 14:43:25,617: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/ldap_plugin.src
2022-09-07 14:43:25,620: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:25,640: DEBUG - + local src_in_subdir=true
2022-09-07 14:43:25,648: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/ldap_plugin.src
2022-09-07 14:43:25,652: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:25,672: DEBUG - + local src_filename=
2022-09-07 14:43:25,674: DEBUG - + src_sumprg=sha256sum
2022-09-07 14:43:25,677: DEBUG - + src_in_subdir=true
2022-09-07 14:43:25,681: DEBUG - + src_format=zip
2022-09-07 14:43:25,683: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2022-09-07 14:43:25,687: DEBUG - ++ echo zip
2022-09-07 14:43:25,701: DEBUG - + src_format=zip
2022-09-07 14:43:25,703: DEBUG - + src_extract=true
2022-09-07 14:43:25,707: DEBUG - + '[' '' = '' ']'
2022-09-07 14:43:25,710: DEBUG - + src_filename=ldap_plugin.zip
2022-09-07 14:43:25,712: DEBUG - + local local_src=/opt/yunohost-apps-src/piwigo/ldap_plugin.zip
2022-09-07 14:43:25,715: DEBUG - + mkdir -p /var/cache/yunohost/download/piwigo/
2022-09-07 14:43:25,718: DEBUG - + src_filename=/var/cache/yunohost/download/piwigo/ldap_plugin.zip
2022-09-07 14:43:25,721: DEBUG - + test -e /opt/yunohost-apps-src/piwigo/ldap_plugin.zip
2022-09-07 14:43:25,725: DEBUG - + '[' -n 'https://piwigo.org/ext/download.php?rid=7036' ']'
2022-09-07 14:43:25,731: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/piwigo/ldap_plugin.zip 'https://piwigo.org/ext/download.php?rid=7036'
2022-09-07 14:43:26,049: DEBUG - + out='2022-09-07 14:43:26 URL:https://piwigo.org/ext/download.php?rid=7036 [74375/74375] -> "/var/cache/yunohost/download/piwigo/ldap_plugin.zip" [1]'
2022-09-07 14:43:26,060: DEBUG - + sha256sum --check --status
2022-09-07 14:43:26,075: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-09-07 14:43:26,092: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:26,096: DEBUG - + mkdir --parents /tmp/tmp.f6Ly2SBIvT/plugins/Ldap_Login
2022-09-07 14:43:26,113: DEBUG - + '[' -n /var/www/piwigo ']'
2022-09-07 14:43:26,115: DEBUG - + '[' /tmp/tmp.f6Ly2SBIvT/plugins/Ldap_Login == /var/www/piwigo ']'
2022-09-07 14:43:26,119: DEBUG - + true
2022-09-07 14:43:26,121: DEBUG - + '[' zip = zip ']'
2022-09-07 14:43:26,123: DEBUG - + true
2022-09-07 14:43:26,125: DEBUG - ++ mktemp --directory
2022-09-07 14:43:26,131: DEBUG - + local tmp_dir=/tmp/tmp.lXENf3l3HC
2022-09-07 14:43:26,134: DEBUG - + unzip -quo /var/cache/yunohost/download/piwigo/ldap_plugin.zip -d /tmp/tmp.lXENf3l3HC
2022-09-07 14:43:26,217: DEBUG - + cp --archive /tmp/tmp.lXENf3l3HC/Ldap_Login/. /tmp/tmp.f6Ly2SBIvT/plugins/Ldap_Login
2022-09-07 14:43:26,291: DEBUG - + ynh_secure_remove --file=/tmp/tmp.lXENf3l3HC
2022-09-07 14:43:26,540: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/piwigo/ldap_plugin.zip
2022-09-07 14:43:26,773: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/sources/patches/ ']'
2022-09-07 14:43:26,775: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/sources/extra_files/ldap_plugin
2022-09-07 14:43:26,778: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:26,780: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-09-07 14:43:26,797: DEBUG - + ynh_setup_source --dest_dir=/tmp/tmp.f6Ly2SBIvT/plugins --source_id=log_failed_logins_plugin
2022-09-07 14:43:27,307: DEBUG - + source_id=log_failed_logins_plugin
2022-09-07 14:43:27,311: DEBUG - + keep=
2022-09-07 14:43:27,315: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/log_failed_logins_plugin.src
2022-09-07 14:43:27,327: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/log_failed_logins_plugin.src
2022-09-07 14:43:27,335: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:27,360: DEBUG - + local 'src_url=http://piwigo.org/ext/download.php?rid=5525'
2022-09-07 14:43:27,371: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/log_failed_logins_plugin.src
2022-09-07 14:43:27,385: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:27,404: DEBUG - + local src_sum=85b9a06f2c7ca8ae9698e6151c7631f519c945f696b02da72f9ff53243d7e4ca
2022-09-07 14:43:27,414: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/log_failed_logins_plugin.src
2022-09-07 14:43:27,419: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:27,448: DEBUG - + local src_sumprg=sha256sum
2022-09-07 14:43:27,460: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/log_failed_logins_plugin.src
2022-09-07 14:43:27,463: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:27,491: DEBUG - + local src_format=zip
2022-09-07 14:43:27,535: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/log_failed_logins_plugin.src
2022-09-07 14:43:27,546: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:27,575: DEBUG - + local src_extract=
2022-09-07 14:43:27,593: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:27,597: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/log_failed_logins_plugin.src
2022-09-07 14:43:27,628: DEBUG - + local src_in_subdir=false
2022-09-07 14:43:27,637: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-07 14:43:27,644: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/log_failed_logins_plugin.src
2022-09-07 14:43:27,667: DEBUG - + local src_filename=
2022-09-07 14:43:27,670: DEBUG - + src_sumprg=sha256sum
2022-09-07 14:43:27,674: DEBUG - + src_in_subdir=false
2022-09-07 14:43:27,705: DEBUG - + src_format=zip
2022-09-07 14:43:27,708: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2022-09-07 14:43:27,724: DEBUG - ++ echo zip
2022-09-07 14:43:27,729: DEBUG - + src_format=zip
2022-09-07 14:43:27,731: DEBUG - + src_extract=true
2022-09-07 14:43:27,735: DEBUG - + '[' '' = '' ']'
2022-09-07 14:43:27,740: DEBUG - + src_filename=log_failed_logins_plugin.zip
2022-09-07 14:43:27,742: DEBUG - + local local_src=/opt/yunohost-apps-src/piwigo/log_failed_logins_plugin.zip
2022-09-07 14:43:27,744: DEBUG - + mkdir -p /var/cache/yunohost/download/piwigo/
2022-09-07 14:43:27,746: DEBUG - + src_filename=/var/cache/yunohost/download/piwigo/log_failed_logins_plugin.zip
2022-09-07 14:43:27,749: DEBUG - + test -e /opt/yunohost-apps-src/piwigo/log_failed_logins_plugin.zip
2022-09-07 14:43:27,751: DEBUG - + '[' -n 'http://piwigo.org/ext/download.php?rid=5525' ']'
2022-09-07 14:43:27,760: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/piwigo/log_failed_logins_plugin.zip 'http://piwigo.org/ext/download.php?rid=5525'
2022-09-07 14:43:28,046: DEBUG - + out='2022-09-07 14:43:28 URL:https://piwigo.org/ext/download.php?rid=5525 [2815/2815] -> "/var/cache/yunohost/download/piwigo/log_failed_logins_plugin.zip" [1]'
2022-09-07 14:43:28,055: DEBUG - + sha256sum --check --status
2022-09-07 14:43:28,069: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-09-07 14:43:28,082: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:28,086: DEBUG - + mkdir --parents /tmp/tmp.f6Ly2SBIvT/plugins
2022-09-07 14:43:28,111: DEBUG - + '[' -n /var/www/piwigo ']'
2022-09-07 14:43:28,114: DEBUG - + '[' /tmp/tmp.f6Ly2SBIvT/plugins == /var/www/piwigo ']'
2022-09-07 14:43:28,118: DEBUG - + true
2022-09-07 14:43:28,121: DEBUG - + '[' zip = zip ']'
2022-09-07 14:43:28,124: DEBUG - + false
2022-09-07 14:43:28,129: DEBUG - + unzip -quo /var/cache/yunohost/download/piwigo/log_failed_logins_plugin.zip -d /tmp/tmp.f6Ly2SBIvT/plugins
2022-09-07 14:43:28,147: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/piwigo/log_failed_logins_plugin.zip
2022-09-07 14:43:28,407: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/sources/patches/ ']'
2022-09-07 14:43:28,413: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/sources/extra_files/log_failed_logins_plugin
2022-09-07 14:43:28,416: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:28,420: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-09-07 14:43:28,426: DEBUG - + shopt -s extglob
2022-09-07 14:43:28,430: DEBUG - + mkdir /var/www/piwigo
2022-09-07 14:43:28,449: DEBUG - + cp -a /tmp/tmp.f6Ly2SBIvT/COPYING.txt /tmp/tmp.f6Ly2SBIvT/LICENSE.txt /tmp/tmp.f6Ly2SBIvT/README.md /tmp/tmp.f6Ly2SBIvT/about.php /tmp/tmp.f6Ly2SBIvT/action.php /tmp/tmp.f6Ly2SBIvT/admin /tmp/tmp.f6Ly2SBIvT/admin.php /tmp/tmp.f6Ly2SBIvT/comments.php /tmp/tmp.f6Ly2SBIvT/doc /tmp/tmp.f6Ly2SBIvT/docs /tmp/tmp.f6Ly2SBIvT/feed.php /tmp/tmp.f6Ly2SBIvT/i.php /tmp/tmp.f6Ly2SBIvT/identification.php /tmp/tmp.f6Ly2SBIvT/include /tmp/tmp.f6Ly2SBIvT/index.php /tmp/tmp.f6Ly2SBIvT/install /tmp/tmp.f6Ly2SBIvT/install.php /tmp/tmp.f6Ly2SBIvT/language /tmp/tmp.f6Ly2SBIvT/local /tmp/tmp.f6Ly2SBIvT/nbm.php /tmp/tmp.f6Ly2SBIvT/notification.php /tmp/tmp.f6Ly2SBIvT/password.php /tmp/tmp.f6Ly2SBIvT/picture.php /tmp/tmp.f6Ly2SBIvT/plugins /tmp/tmp.f6Ly2SBIvT/popuphelp.php /tmp/tmp.f6Ly2SBIvT/profile.php /tmp/tmp.f6Ly2SBIvT/qsearch.php /tmp/tmp.f6Ly2SBIvT/random.php /tmp/tmp.f6Ly2SBIvT/register.php /tmp/tmp.f6Ly2SBIvT/search.php /tmp/tmp.f6Ly2SBIvT/search_rules.php /tmp/tmp.f6Ly2SBIvT/tags.php /tmp/tmp.f6Ly2SBIvT/template-extension /tmp/tmp.f6Ly2SBIvT/themes /tmp/tmp.f6Ly2SBIvT/tools /tmp/tmp.f6Ly2SBIvT/upgrade.php /tmp/tmp.f6Ly2SBIvT/upgrade_feed.php /tmp/tmp.f6Ly2SBIvT/ws.php /var/www/piwigo
2022-09-07 14:43:36,775: DEBUG - + chmod 750 /var/www/piwigo
2022-09-07 14:43:36,797: DEBUG - + chmod -R o-rwx /var/www/piwigo
2022-09-07 14:43:37,301: DEBUG - + chown -R piwigo:www-data /var/www/piwigo
2022-09-07 14:43:38,602: INFO - [##############......] > Configuring PHP-FPM...
2022-09-07 14:43:38,633: DEBUG - + ynh_add_fpm_config
2022-09-07 14:43:38,665: DEBUG - + package=
2022-09-07 14:43:38,667: DEBUG - + use_template=1
2022-09-07 14:43:38,669: DEBUG - + usage=
2022-09-07 14:43:38,671: DEBUG - + footprint=
2022-09-07 14:43:38,673: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:38,677: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:38,679: DEBUG - + dedicated_service=0
2022-09-07 14:43:38,682: DEBUG - + phpversion=7.4
2022-09-07 14:43:38,686: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=phpversion
2022-09-07 14:43:38,688: DEBUG - ++ local _globalapp=piwigo
2022-09-07 14:43:38,988: DEBUG - ++ app=piwigo
2022-09-07 14:43:38,998: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:43:39,000: DEBUG - ++ ynh_app_setting get piwigo phpversion
2022-09-07 14:43:39,591: DEBUG - + local old_phpversion=7.4
2022-09-07 14:43:39,593: DEBUG - + '[' -n 7.4 ']'
2022-09-07 14:43:39,596: DEBUG - + '[' 7.4 '!=' 7.4 ']'
2022-09-07 14:43:39,598: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:39,603: DEBUG - + local fpm_service=php7.4-fpm
2022-09-07 14:43:39,605: DEBUG - + local fpm_config_dir=/etc/php/7.4/fpm
2022-09-07 14:43:39,609: DEBUG - + mkdir --parents /etc/php/7.4/fpm/pool.d
2022-09-07 14:43:39,612: DEBUG - + ynh_app_setting_set --app=piwigo --key=fpm_config_dir --value=/etc/php/7.4/fpm
2022-09-07 14:43:39,616: DEBUG - + local _globalapp=piwigo
2022-09-07 14:43:40,301: DEBUG - + app=piwigo
2022-09-07 14:43:40,304: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:43:40,307: DEBUG - + ynh_app_setting set piwigo fpm_config_dir /etc/php/7.4/fpm
2022-09-07 14:43:40,906: DEBUG - + ynh_app_setting_set --app=piwigo --key=fpm_service --value=php7.4-fpm
2022-09-07 14:43:40,920: DEBUG - + local _globalapp=piwigo
2022-09-07 14:43:41,617: DEBUG - + app=piwigo
2022-09-07 14:43:41,678: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:43:41,680: DEBUG - + ynh_app_setting set piwigo fpm_service php7.4-fpm
2022-09-07 14:43:42,220: DEBUG - + ynh_app_setting_set --app=piwigo --key=fpm_dedicated_service --value=0
2022-09-07 14:43:42,236: DEBUG - + local _globalapp=piwigo
2022-09-07 14:43:43,145: DEBUG - + app=piwigo
2022-09-07 14:43:43,150: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:43:43,156: DEBUG - + ynh_app_setting set piwigo fpm_dedicated_service 0
2022-09-07 14:43:43,960: DEBUG - + ynh_app_setting_set --app=piwigo --key=phpversion --value=7.4
2022-09-07 14:43:43,963: DEBUG - + local _globalapp=piwigo
2022-09-07 14:43:44,663: DEBUG - + app=piwigo
2022-09-07 14:43:44,666: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:43:44,670: DEBUG - + ynh_app_setting set piwigo phpversion 7.4
2022-09-07 14:43:45,290: DEBUG - + local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/php-fpm.conf
2022-09-07 14:43:45,297: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/php-fpm.conf ']'
2022-09-07 14:43:45,300: DEBUG - + local finalphpconf=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:45,303: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/php-fpm.conf --destination=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:45,635: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf//var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/php-fpm.conf ']'
2022-09-07 14:43:45,641: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/php-fpm.conf ']'
2022-09-07 14:43:45,646: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/php-fpm.conf
2022-09-07 14:43:45,652: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:45,762: DEBUG - + local checksum_setting_name=checksum__etc_php_7.4_fpm_pool.d_piwigo.conf
2022-09-07 14:43:45,767: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=checksum__etc_php_7.4_fpm_pool.d_piwigo.conf
2022-09-07 14:43:45,770: DEBUG - ++ local _globalapp=piwigo
2022-09-07 14:43:46,120: DEBUG - ++ app=piwigo
2022-09-07 14:43:46,129: DEBUG - ++ [[ checksum__etc_php_7.4_fpm_pool.d_piwigo.conf =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:43:46,135: DEBUG - ++ ynh_app_setting get piwigo checksum__etc_php_7.4_fpm_pool.d_piwigo.conf
2022-09-07 14:43:46,762: DEBUG - + local checksum_value=
2022-09-07 14:43:46,767: DEBUG - + backup_file_checksum=
2022-09-07 14:43:46,771: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:46,775: DEBUG - + touch /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:46,801: DEBUG - + chown root:root /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:46,839: DEBUG - + chmod 640 /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:46,871: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/php-fpm.conf /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:46,914: DEBUG - + _ynh_apply_default_permissions /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:46,920: DEBUG - + local target=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:46,933: DEBUG - ++ tr -d '>= '
2022-09-07 14:43:46,938: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/manifest.json
2022-09-07 14:43:47,580: DEBUG - + local ynh_requirement=4.3.0
2022-09-07 14:43:47,591: DEBUG - + '[' -z 4.3.0 ']'
2022-09-07 14:43:47,595: DEBUG - + '[' 4.3.0 == null ']'
2022-09-07 14:43:47,600: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-09-07 14:43:47,617: DEBUG - + chmod o-rwx /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:47,637: DEBUG - + chmod g-w /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:47,655: DEBUG - + chown -R root:root /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:47,682: DEBUG - + ynh_system_user_exists piwigo
2022-09-07 14:43:47,775: DEBUG - + getent passwd piwigo
2022-09-07 14:43:47,794: DEBUG - + chown piwigo:piwigo /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:47,843: DEBUG - + echo /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:47,849: DEBUG - + grep -q '^/etc/cron'
2022-09-07 14:43:47,865: DEBUG - + ynh_replace_vars --file=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:47,953: DEBUG - + test -n /piwigo
2022-09-07 14:43:47,956: DEBUG - + local path_url_slash_less=/piwigo
2022-09-07 14:43:47,960: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/piwigo/ --target_file=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:48,715: DEBUG - + sed --in-place s@__PATH__/@/piwigo/@g /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:48,741: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/piwigo --target_file=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:49,537: DEBUG - + sed --in-place s@__PATH__@/piwigo@g /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:49,560: DEBUG - + test -n piwigo
2022-09-07 14:43:49,568: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=piwigo --target_file=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:50,332: DEBUG - + sed --in-place s@__NAME__@piwigo@g /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:50,356: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=piwigo --target_file=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:51,033: DEBUG - + sed --in-place s@__NAMETOCHANGE__@piwigo@g /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:51,059: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=piwigo --target_file=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:51,815: DEBUG - + sed --in-place s@__USER__@piwigo@g /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:51,828: DEBUG - + test -n /var/www/piwigo
2022-09-07 14:43:51,832: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/piwigo --target_file=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:52,604: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/piwigo@g /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:52,626: DEBUG - + test -n 7.4
2022-09-07 14:43:52,633: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:53,336: DEBUG - + sed --in-place s@__PHPVERSION__@7.4@g /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:53,365: DEBUG - + test -n ''
2022-09-07 14:43:53,373: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:53,377: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2022-09-07 14:43:53,382: DEBUG - ++ sort --unique
2022-09-07 14:43:53,416: DEBUG - + uniques_vars=()
2022-09-07 14:43:53,427: DEBUG - + local delimit=@
2022-09-07 14:43:53,430: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:53,447: DEBUG - + update_only=0
2022-09-07 14:43:53,610: DEBUG - + local checksum_setting_name=checksum__etc_php_7.4_fpm_pool.d_piwigo.conf
2022-09-07 14:43:53,624: DEBUG - ++ cut '--delimiter= ' --fields=1
2022-09-07 14:43:53,627: DEBUG - ++ md5sum /etc/php/7.4/fpm/pool.d/piwigo.conf
2022-09-07 14:43:53,654: DEBUG - + ynh_app_setting_set --app=piwigo --key=checksum__etc_php_7.4_fpm_pool.d_piwigo.conf --value=39c0748ab96889f733f28f9c557df31c
2022-09-07 14:43:53,667: DEBUG - + local _globalapp=piwigo
2022-09-07 14:43:54,365: DEBUG - + app=piwigo
2022-09-07 14:43:54,367: DEBUG - + [[ checksum__etc_php_7.4_fpm_pool.d_piwigo.conf =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:43:54,371: DEBUG - + ynh_app_setting set piwigo checksum__etc_php_7.4_fpm_pool.d_piwigo.conf 39c0748ab96889f733f28f9c557df31c
2022-09-07 14:43:55,098: DEBUG - + '[' -n '' ']'
2022-09-07 14:43:55,101: DEBUG - + unset backup_file_checksum
2022-09-07 14:43:55,103: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/php-fpm.ini ']'
2022-09-07 14:43:55,111: DEBUG - + php-fpm7.4 --test
2022-09-07 14:43:55,795: DEBUG - + ynh_systemd_action --service_name=php7.4-fpm --action=reload
2022-09-07 14:43:56,729: DEBUG - + service_name=php7.4-fpm
2022-09-07 14:43:56,731: DEBUG - + action=reload
2022-09-07 14:43:56,734: DEBUG - + line_match=
2022-09-07 14:43:56,736: DEBUG - + length=20
2022-09-07 14:43:56,740: DEBUG - + log_path=/var/log/php7.4-fpm/php7.4-fpm.log
2022-09-07 14:43:56,743: DEBUG - + timeout=300
2022-09-07 14:43:56,751: DEBUG - + '[' reload == stop ']'
2022-09-07 14:43:56,759: DEBUG - + '[' reload == reload ']'
2022-09-07 14:43:56,761: DEBUG - + action=reload-or-restart
2022-09-07 14:43:56,763: DEBUG - + systemctl reload-or-restart php7.4-fpm
2022-09-07 14:43:56,920: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=phpversion
2022-09-07 14:43:56,930: DEBUG - ++ local _globalapp=piwigo
2022-09-07 14:43:57,559: DEBUG - ++ app=piwigo
2022-09-07 14:43:57,562: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:43:57,565: DEBUG - ++ ynh_app_setting get piwigo phpversion
2022-09-07 14:43:58,342: DEBUG - + phpversion=7.4
2022-09-07 14:43:58,899: INFO - [##############+.....] > Configuring NGINX web server...
2022-09-07 14:43:58,905: DEBUG - + ynh_add_nginx_config
2022-09-07 14:43:58,907: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:43:58,909: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:43:59,263: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf//var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/nginx.conf ']'
2022-09-07 14:43:59,269: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/nginx.conf ']'
2022-09-07 14:43:59,272: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/nginx.conf
2022-09-07 14:43:59,274: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:43:59,362: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf
2022-09-07 14:43:59,369: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf
2022-09-07 14:43:59,375: DEBUG - ++ local _globalapp=piwigo
2022-09-07 14:43:59,707: DEBUG - ++ app=piwigo
2022-09-07 14:43:59,710: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:43:59,713: DEBUG - ++ ynh_app_setting get piwigo checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf
2022-09-07 14:44:00,326: DEBUG - + local checksum_value=
2022-09-07 14:44:00,331: DEBUG - + backup_file_checksum=
2022-09-07 14:44:00,335: DEBUG - + '[' -n '' ']'
2022-09-07 14:44:00,337: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:00,351: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:00,382: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:00,393: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:00,417: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:00,422: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:00,432: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/manifest.json
2022-09-07 14:44:00,435: DEBUG - ++ tr -d '>= '
2022-09-07 14:44:01,048: DEBUG - + local ynh_requirement=4.3.0
2022-09-07 14:44:01,054: DEBUG - + '[' -z 4.3.0 ']'
2022-09-07 14:44:01,059: DEBUG - + '[' 4.3.0 == null ']'
2022-09-07 14:44:01,063: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-09-07 14:44:01,088: DEBUG - + chmod o-rwx /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:01,112: DEBUG - + chmod g-w /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:01,137: DEBUG - + chown -R root:root /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:01,152: DEBUG - + ynh_system_user_exists piwigo
2022-09-07 14:44:01,268: DEBUG - + getent passwd piwigo
2022-09-07 14:44:01,285: DEBUG - + chown piwigo:piwigo /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:01,307: DEBUG - + echo /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:01,310: DEBUG - + grep -q '^/etc/cron'
2022-09-07 14:44:01,327: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:01,435: DEBUG - + test -n /piwigo
2022-09-07 14:44:01,437: DEBUG - + local path_url_slash_less=/piwigo
2022-09-07 14:44:01,439: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/piwigo/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:02,243: DEBUG - + sed --in-place s@__PATH__/@/piwigo/@g /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:02,274: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/piwigo --target_file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:03,083: DEBUG - + sed --in-place s@__PATH__@/piwigo@g /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:03,106: DEBUG - + test -n piwigo
2022-09-07 14:44:03,109: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=piwigo --target_file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:03,848: DEBUG - + sed --in-place s@__NAME__@piwigo@g /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:03,867: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=piwigo --target_file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:04,570: DEBUG - + sed --in-place s@__NAMETOCHANGE__@piwigo@g /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:04,590: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=piwigo --target_file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:05,311: DEBUG - + sed --in-place s@__USER__@piwigo@g /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:05,331: DEBUG - + test -n /var/www/piwigo
2022-09-07 14:44:05,334: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/piwigo --target_file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:06,170: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/piwigo@g /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:06,193: DEBUG - + test -n 7.4
2022-09-07 14:44:06,199: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:06,983: DEBUG - + sed --in-place s@__PHPVERSION__@7.4@g /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:07,001: DEBUG - + test -n ''
2022-09-07 14:44:07,008: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:07,012: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2022-09-07 14:44:07,015: DEBUG - ++ sort --unique
2022-09-07 14:44:07,044: DEBUG - + uniques_vars=()
2022-09-07 14:44:07,051: DEBUG - + local delimit=@
2022-09-07 14:44:07,054: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:07,073: DEBUG - + update_only=0
2022-09-07 14:44:07,247: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf
2022-09-07 14:44:07,262: DEBUG - ++ cut '--delimiter= ' --fields=1
2022-09-07 14:44:07,266: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:07,287: DEBUG - + ynh_app_setting_set --app=piwigo --key=checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf --value=be617d27d22b24ebc13a8c633a5cff91
2022-09-07 14:44:07,290: DEBUG - + local _globalapp=piwigo
2022-09-07 14:44:08,038: DEBUG - + app=piwigo
2022-09-07 14:44:08,043: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:44:08,048: DEBUG - + ynh_app_setting set piwigo checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf be617d27d22b24ebc13a8c633a5cff91
2022-09-07 14:44:08,651: DEBUG - + '[' -n '' ']'
2022-09-07 14:44:08,666: DEBUG - + unset backup_file_checksum
2022-09-07 14:44:08,669: DEBUG - + '[' /piwigo '!=' / ']'
2022-09-07 14:44:08,673: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:09,380: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:09,414: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:09,438: DEBUG - + update_only=0
2022-09-07 14:44:09,685: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf
2022-09-07 14:44:09,700: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2022-09-07 14:44:09,704: DEBUG - ++ cut '--delimiter= ' --fields=1
2022-09-07 14:44:09,730: DEBUG - + ynh_app_setting_set --app=piwigo --key=checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf --value=c051e3b9a28ab903b1c740b02008e7e8
2022-09-07 14:44:09,736: DEBUG - + local _globalapp=piwigo
2022-09-07 14:44:10,612: DEBUG - + app=piwigo
2022-09-07 14:44:10,621: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:44:10,626: DEBUG - + ynh_app_setting set piwigo checksum__etc_nginx_conf.d_maindomain.tld.d_piwigo.conf c051e3b9a28ab903b1c740b02008e7e8
2022-09-07 14:44:11,249: DEBUG - + '[' -n '' ']'
2022-09-07 14:44:11,264: DEBUG - + unset backup_file_checksum
2022-09-07 14:44:11,269: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2022-09-07 14:44:12,190: DEBUG - + service_name=nginx
2022-09-07 14:44:12,195: DEBUG - + action=reload
2022-09-07 14:44:12,201: DEBUG - + line_match=
2022-09-07 14:44:12,204: DEBUG - + length=20
2022-09-07 14:44:12,206: DEBUG - + log_path=/var/log/nginx/nginx.log
2022-09-07 14:44:12,208: DEBUG - + timeout=300
2022-09-07 14:44:12,210: DEBUG - + '[' reload == stop ']'
2022-09-07 14:44:12,215: DEBUG - + '[' reload == reload ']'
2022-09-07 14:44:12,217: DEBUG - + action=reload-or-restart
2022-09-07 14:44:12,220: DEBUG - + systemctl reload-or-restart nginx
2022-09-07 14:44:13,260: INFO - [###############.....] > Creating a data directory...
2022-09-07 14:44:13,275: DEBUG - + datadir=/home/yunohost.app/piwigo
2022-09-07 14:44:13,278: DEBUG - + ynh_app_setting_set --app=piwigo --key=datadir --value=/home/yunohost.app/piwigo
2022-09-07 14:44:13,280: DEBUG - + local _globalapp=piwigo
2022-09-07 14:44:13,981: DEBUG - + app=piwigo
2022-09-07 14:44:13,987: DEBUG - + [[ datadir =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:44:13,991: DEBUG - + ynh_app_setting set piwigo datadir /home/yunohost.app/piwigo
2022-09-07 14:44:14,619: DEBUG - + mkdir -p /home/yunohost.app/piwigo/_data
2022-09-07 14:44:14,650: DEBUG - + mkdir -p /home/yunohost.app/piwigo/upload
2022-09-07 14:44:14,679: DEBUG - + mkdir -p /home/yunohost.app/piwigo/galleries
2022-09-07 14:44:14,698: DEBUG - + ln -sd /home/yunohost.app/piwigo/_data /var/www/piwigo/_data
2022-09-07 14:44:14,721: DEBUG - + ln -sd /home/yunohost.app/piwigo/upload /var/www/piwigo/upload
2022-09-07 14:44:14,733: DEBUG - + ln -sd /home/yunohost.app/piwigo/galleries /var/www/piwigo/galleries
2022-09-07 14:44:14,754: DEBUG - + cp -Rp /tmp/tmp.f6Ly2SBIvT/_data/. /var/www/piwigo/_data
2022-09-07 14:44:14,776: DEBUG - + cp -Rp /tmp/tmp.f6Ly2SBIvT/upload/. /var/www/piwigo/upload
2022-09-07 14:44:14,817: DEBUG - + cp -Rp /tmp/tmp.f6Ly2SBIvT/galleries/. /var/www/piwigo/galleries
2022-09-07 14:44:14,857: DEBUG - + ynh_secure_remove --file=/tmp/tmp.f6Ly2SBIvT
2022-09-07 14:44:16,247: DEBUG - + chmod 750 /home/yunohost.app/piwigo
2022-09-07 14:44:16,269: DEBUG - + chmod -R o-rwx /home/yunohost.app/piwigo
2022-09-07 14:44:18,474: DEBUG - + chown -R piwigo:www-data /home/yunohost.app/piwigo
2022-09-07 14:44:19,929: INFO - [###############+....] > Setuping application with CURL...
2022-09-07 14:44:20,460: INFO - [################....] > Configuring SSOwat...
2022-09-07 14:44:20,477: DEBUG - + ynh_permission_update --permission=main --add=visitors
2022-09-07 14:44:21,517: DEBUG - + add=visitors
2022-09-07 14:44:21,522: DEBUG - + remove=
2022-09-07 14:44:21,528: DEBUG - + label=
2022-09-07 14:44:21,531: DEBUG - + show_tile=
2022-09-07 14:44:21,534: DEBUG - + protected=
2022-09-07 14:44:21,536: DEBUG - + [[ -n visitors ]]
2022-09-07 14:44:21,538: DEBUG - + add=',add=['\''visitors'\'']'
2022-09-07 14:44:21,549: DEBUG - + yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''piwigo.main'\'' ,add=['\''visitors'\'']     , force=True)'
2022-09-07 14:44:30,909: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2022-09-07 14:44:31,822: DEBUG - + service_name=nginx
2022-09-07 14:44:31,827: DEBUG - + action=reload
2022-09-07 14:44:31,835: DEBUG - + line_match=
2022-09-07 14:44:31,838: DEBUG - + length=20
2022-09-07 14:44:31,840: DEBUG - + log_path=/var/log/nginx/nginx.log
2022-09-07 14:44:31,842: DEBUG - + timeout=300
2022-09-07 14:44:31,844: DEBUG - + '[' reload == stop ']'
2022-09-07 14:44:31,850: DEBUG - + '[' reload == reload ']'
2022-09-07 14:44:31,852: DEBUG - + action=reload-or-restart
2022-09-07 14:44:31,854: DEBUG - + systemctl reload-or-restart nginx
2022-09-07 14:44:32,500: DEBUG - ++ ynh_string_random --length=24
2022-09-07 14:44:32,691: DEBUG - ++ length=24
2022-09-07 14:44:32,694: DEBUG - ++ filter=A-Za-z0-9
2022-09-07 14:44:32,698: DEBUG - ++ tr --complement --delete A-Za-z0-9
2022-09-07 14:44:32,705: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2022-09-07 14:44:32,725: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2022-09-07 14:44:32,799: DEBUG - + adm_pwd=**********
2022-09-07 14:44:32,801: DEBUG - + ynh_app_setting_set --app=piwigo --key=admin_pwd --value=**********
2022-09-07 14:44:32,805: DEBUG - + local _globalapp=piwigo
2022-09-07 14:44:33,503: DEBUG - + app=piwigo
2022-09-07 14:44:33,505: DEBUG - + [[ admin_pwd =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:44:33,517: DEBUG - + ynh_app_setting set piwigo admin_pwd **********
2022-09-07 14:44:34,220: DEBUG - + '[' fr = fr ']'
2022-09-07 14:44:34,234: DEBUG - + applanguage=fr_FR
2022-09-07 14:44:34,243: DEBUG - ++ ynh_user_get_info --username=olivier --key=mail
2022-09-07 14:44:34,575: DEBUG - ++ yunohost user info olivier --output-as json --quiet
2022-09-07 14:44:34,580: DEBUG - ++ jq -r .mail
2022-09-07 14:44:39,747: DEBUG - + mail=olivier@maindomain.tld
2022-09-07 14:44:39,751: DEBUG - + ynh_local_curl '/install.php?language=fr_FR' install=true dbhost=127.0.0.1 dbuser=piwigo dbpasswd=********** dbname=piwigo prefix= admin_name=olivier admin_pass1=********** admin_pass2=********** admin_mail=olivier@maindomain.tld
2022-09-07 14:44:39,759: DEBUG - ++ ynh_normalize_url_path '/install.php?language=fr_FR'
2022-09-07 14:44:39,860: DEBUG - ++ test -n '/install.php?language=fr_FR'
2022-09-07 14:44:39,865: DEBUG - ++ '[' / '!=' / ']'
2022-09-07 14:44:39,872: DEBUG - ++ '[' R == / ']'
2022-09-07 14:44:39,880: DEBUG - ++ echo '/install.php?language=fr_FR'
2022-09-07 14:44:39,884: DEBUG - + local 'local_page=/install.php?language=fr_FR'
2022-09-07 14:44:39,890: DEBUG - + local 'full_path=/piwigo/install.php?language=fr_FR'
2022-09-07 14:44:39,893: DEBUG - + '[' /piwigo == / ']'
2022-09-07 14:44:39,895: DEBUG - + local 'full_page_url=https://localhost/piwigo/install.php?language=fr_FR'
2022-09-07 14:44:39,898: DEBUG - + local POST_data=
2022-09-07 14:44:39,900: DEBUG - + local arg=
2022-09-07 14:44:39,902: DEBUG - + for arg in "${@:2}"
2022-09-07 14:44:39,905: DEBUG - + POST_data='install=true&'
2022-09-07 14:44:39,907: DEBUG - + for arg in "${@:2}"
2022-09-07 14:44:39,909: DEBUG - + POST_data='install=true&dbhost=127.0.0.1&'
2022-09-07 14:44:39,911: DEBUG - + for arg in "${@:2}"
2022-09-07 14:44:39,915: DEBUG - + POST_data='install=true&dbhost=127.0.0.1&dbuser=piwigo&'
2022-09-07 14:44:39,917: DEBUG - + for arg in "${@:2}"
2022-09-07 14:44:39,919: DEBUG - + POST_data='install=true&dbhost=127.0.0.1&dbuser=piwigo&dbpasswd=**********&'
2022-09-07 14:44:39,921: DEBUG - + for arg in "${@:2}"
2022-09-07 14:44:39,922: DEBUG - + POST_data='install=true&dbhost=127.0.0.1&dbuser=piwigo&dbpasswd=**********&dbname=piwigo&'
2022-09-07 14:44:39,924: DEBUG - + for arg in "${@:2}"
2022-09-07 14:44:39,926: DEBUG - + POST_data='install=true&dbhost=127.0.0.1&dbuser=piwigo&dbpasswd=**********&dbname=piwigo&prefix=&'
2022-09-07 14:44:39,928: DEBUG - + for arg in "${@:2}"
2022-09-07 14:44:39,930: DEBUG - + POST_data='install=true&dbhost=127.0.0.1&dbuser=piwigo&dbpasswd=**********&dbname=piwigo&prefix=&admin_name=olivier&'
2022-09-07 14:44:39,931: DEBUG - + for arg in "${@:2}"
2022-09-07 14:44:39,933: DEBUG - + POST_data='install=true&dbhost=127.0.0.1&dbuser=piwigo&dbpasswd=**********&dbname=piwigo&prefix=&admin_name=olivier&admin_pass1=**********&'
2022-09-07 14:44:39,935: DEBUG - + for arg in "${@:2}"
2022-09-07 14:44:39,938: DEBUG - + POST_data='install=true&dbhost=127.0.0.1&dbuser=piwigo&dbpasswd=**********&dbname=piwigo&prefix=&admin_name=olivier&admin_pass1=**********&admin_pass2=**********&'
2022-09-07 14:44:39,940: DEBUG - + for arg in "${@:2}"
2022-09-07 14:44:39,941: DEBUG - + POST_data='install=true&dbhost=127.0.0.1&dbuser=piwigo&dbpasswd=**********&dbname=piwigo&prefix=&admin_name=olivier&admin_pass1=**********&admin_pass2=**********&admin_mail=olivier@maindomain.tld&'
2022-09-07 14:44:39,943: DEBUG - + '[' -n 'install=true&dbhost=127.0.0.1&dbuser=piwigo&dbpasswd=**********&dbname=piwigo&prefix=&admin_name=olivier&admin_pass1=**********&admin_pass2=**********&admin_mail=olivier@maindomain.tld&' ']'
2022-09-07 14:44:39,945: DEBUG - + POST_data='--data install=true&dbhost=127.0.0.1&dbuser=piwigo&dbpasswd=**********&dbname=piwigo&prefix=&admin_name=olivier&admin_pass1=**********&admin_pass2=**********&admin_mail=olivier@maindomain.tld'
2022-09-07 14:44:39,947: DEBUG - + sleep 2
2022-09-07 14:44:41,900: DEBUG - + local cookiefile=/tmp/ynh-piwigo-cookie.txt
2022-09-07 14:44:41,903: DEBUG - + touch /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:44:41,923: DEBUG - + chown root /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:44:41,999: DEBUG - + chmod 700 /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:44:42,016: DEBUG - ++ ynh_permission_has_user main visitors
2022-09-07 14:44:42,314: DEBUG - ++ ynh_permission_exists --permission=main
2022-09-07 14:44:42,415: DEBUG - ++ yunohost user permission list piwigo --output-as json --quiet
2022-09-07 14:44:42,419: DEBUG - ++ jq -e --arg perm piwigo.main '.permissions[$perm]'
2022-09-07 14:44:45,576: DEBUG - ++ for section in "allowed" "corresponding_users"
2022-09-07 14:44:45,580: DEBUG - ++ yunohost user permission info piwigo.main --output-as json --quiet
2022-09-07 14:44:45,587: DEBUG - ++ jq -e --arg user visitors --arg section allowed '.[$section] | index($user)'
2022-09-07 14:44:49,511: DEBUG - ++ return 0
2022-09-07 14:44:49,519: DEBUG - ++ echo yes
2022-09-07 14:44:49,529: DEBUG - + local visitors_enabled=yes
2022-09-07 14:44:49,545: DEBUG - + [[ yes == \n\o ]]
2022-09-07 14:44:49,547: DEBUG - + curl --silent --show-error --insecure --location --header 'Host: maindomain.tld' --resolve maindomain.tld:443:127.0.0.1 --data 'install=true&dbhost=127.0.0.1&dbuser=piwigo&dbpasswd=**********&dbname=piwigo&prefix=&admin_name=olivier&admin_pass1=**********&admin_pass2=**********&admin_mail=olivier@maindomain.tld' 'https://localhost/piwigo/install.php?language=fr_FR' --cookie-jar /tmp/ynh-piwigo-cookie.txt --cookie /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:44:53,163: DEBUG - <!DOCTYPE html>
2022-09-07 14:44:53,166: DEBUG - <html lang="fr" dir="ltr">
2022-09-07 14:44:53,168: DEBUG - <head>
2022-09-07 14:44:53,171: DEBUG - <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2022-09-07 14:44:53,173: DEBUG - <meta http-equiv="Content-script-type" content="text/javascript">
2022-09-07 14:44:53,175: DEBUG - <meta http-equiv="Content-Style-Type" content="text/css">
2022-09-07 14:44:53,178: DEBUG - <link rel="shortcut icon" type="image/x-icon" href="themes/default/icon/favicon.ico">
2022-09-07 14:44:53,181: DEBUG - 
2022-09-07 14:44:53,183: DEBUG - <link rel="stylesheet" type="text/css" href="_data/combined/janbwr.css">
2022-09-07 14:44:53,186: DEBUG - 
2022-09-07 14:44:53,188: DEBUG - 
2022-09-07 14:44:53,191: DEBUG - 
2022-09-07 14:44:53,194: DEBUG - <!--[if IE 7]>
2022-09-07 14:44:53,196: DEBUG -   <link rel="stylesheet" type="text/css" href="admin/themes/default/fix-ie7.css">
2022-09-07 14:44:53,198: DEBUG - <![endif]-->
2022-09-07 14:44:53,200: DEBUG - 
2022-09-07 14:44:53,202: DEBUG - <!-- BEGIN get_combined_scripts -->
2022-09-07 14:44:53,205: DEBUG - <script type="text/javascript" src="themes/default/js/jquery.min.js?v12.3.0"></script>
2022-09-07 14:44:53,208: DEBUG - <!-- END get_combined_scripts -->
2022-09-07 14:44:53,211: DEBUG - 
2022-09-07 14:44:53,214: DEBUG - 
2022-09-07 14:44:53,216: DEBUG - 
2022-09-07 14:44:53,221: DEBUG - <script type="text/javascript">
2022-09-07 14:44:53,223: DEBUG - $(document).ready(function() {
2022-09-07 14:44:53,226: DEBUG -   $("a.externalLink").click(function() {
2022-09-07 14:44:53,228: DEBUG -     window.open($(this).attr("href"));
2022-09-07 14:44:53,230: DEBUG -     return false;
2022-09-07 14:44:53,232: DEBUG -   });
2022-09-07 14:44:53,236: DEBUG - 
2022-09-07 14:44:53,241: DEBUG -   $("#admin_mail").keyup(function() {
2022-09-07 14:44:53,243: DEBUG -     $(".adminEmail").text($(this).val());
2022-09-07 14:44:53,246: DEBUG -   });
2022-09-07 14:44:53,248: DEBUG - });
2022-09-07 14:44:53,250: DEBUG - </script>
2022-09-07 14:44:53,252: DEBUG - 
2022-09-07 14:44:53,255: DEBUG - <style type="text/css">
2022-09-07 14:44:53,257: DEBUG - body {
2022-09-07 14:44:53,259: DEBUG -   font-size:12px;
2022-09-07 14:44:53,261: DEBUG - }
2022-09-07 14:44:53,263: DEBUG - 
2022-09-07 14:44:53,266: DEBUG - #content {
2022-09-07 14:44:53,268: DEBUG -   width: 800px;
2022-09-07 14:44:53,273: DEBUG -   margin: auto;
2022-09-07 14:44:53,275: DEBUG -   text-align: center;
2022-09-07 14:44:53,277: DEBUG -   padding:0;
2022-09-07 14:44:53,280: DEBUG -   background-color:transparent !important;
2022-09-07 14:44:53,282: DEBUG -   border:none;
2022-09-07 14:44:53,287: DEBUG - }
2022-09-07 14:44:53,291: DEBUG - 
2022-09-07 14:44:53,296: DEBUG - #theHeader {
2022-09-07 14:44:53,301: DEBUG -   display: block;
2022-09-07 14:44:53,303: DEBUG -   background:url("admin/themes/default/images/piwigo-orange.svg") no-repeat scroll center 20px transparent;
2022-09-07 14:44:53,306: DEBUG -   height:100px;
2022-09-07 14:44:53,308: DEBUG -   background-size: 300px;
2022-09-07 14:44:53,310: DEBUG - }
2022-09-07 14:44:53,313: DEBUG - 
2022-09-07 14:44:53,315: DEBUG - fieldset {
2022-09-07 14:44:53,320: DEBUG -   margin-top:20px;
2022-09-07 14:44:53,322: DEBUG -   background-color:#f1f1f1;
2022-09-07 14:44:53,325: DEBUG - }
2022-09-07 14:44:53,327: DEBUG - 
2022-09-07 14:44:53,329: DEBUG - legend {
2022-09-07 14:44:53,332: DEBUG -   font-weight:bold;
2022-09-07 14:44:53,334: DEBUG -   letter-spacing:2px;
2022-09-07 14:44:53,336: DEBUG - }
2022-09-07 14:44:53,339: DEBUG - 
2022-09-07 14:44:53,341: DEBUG - .content h2 {
2022-09-07 14:44:53,343: DEBUG -   display:block;
2022-09-07 14:44:53,345: DEBUG -   font-size:20px;
2022-09-07 14:44:53,347: DEBUG -   text-align:center;
2022-09-07 14:44:53,350: DEBUG -   /* margin-top:5px; */
2022-09-07 14:44:53,352: DEBUG - }
2022-09-07 14:44:53,354: DEBUG - 
2022-09-07 14:44:53,356: DEBUG - table.table2 {
2022-09-07 14:44:53,358: DEBUG -   width: 100%;
2022-09-07 14:44:53,361: DEBUG -   border:0;
2022-09-07 14:44:53,363: DEBUG - }
2022-09-07 14:44:53,365: DEBUG - 
2022-09-07 14:44:53,367: DEBUG - table.table2 td {
2022-09-07 14:44:53,370: DEBUG -   text-align: left;
2022-09-07 14:44:53,372: DEBUG -   padding: 5px 2px;
2022-09-07 14:44:53,374: DEBUG - }
2022-09-07 14:44:53,376: DEBUG - 
2022-09-07 14:44:53,378: DEBUG - table.table2 td.fieldname {
2022-09-07 14:44:53,381: DEBUG -   font-weight:normal;
2022-09-07 14:44:53,383: DEBUG - }
2022-09-07 14:44:53,386: DEBUG - 
2022-09-07 14:44:53,388: DEBUG - table.table2 td.fielddesc {
2022-09-07 14:44:53,390: DEBUG -   padding-left:10px;
2022-09-07 14:44:53,392: DEBUG -   font-style:italic;
2022-09-07 14:44:53,394: DEBUG - }
2022-09-07 14:44:53,397: DEBUG - 
2022-09-07 14:44:53,399: DEBUG - input[type="submit"], input[type="button"], a.bigButton {
2022-09-07 14:44:53,401: DEBUG -   font-size:14px;
2022-09-07 14:44:53,403: DEBUG -   font-weight:bold;
2022-09-07 14:44:53,406: DEBUG -   letter-spacing:2px;
2022-09-07 14:44:53,408: DEBUG -   border:none;
2022-09-07 14:44:53,410: DEBUG -   background-color:#666666;
2022-09-07 14:44:53,413: DEBUG -   color:#fff;
2022-09-07 14:44:53,415: DEBUG -   padding:5px;
2022-09-07 14:44:53,417: DEBUG -   -moz-border-radius:5px;
2022-09-07 14:44:53,420: DEBUG -   -webkit-border-radius:5px;
2022-09-07 14:44:53,422: DEBUG -   border-radius:5px;
2022-09-07 14:44:53,424: DEBUG - }
2022-09-07 14:44:53,427: DEBUG - 
2022-09-07 14:44:53,429: DEBUG - input[type="submit"]:hover, input[type="button"]:hover, a.bigButton:hover {
2022-09-07 14:44:53,431: DEBUG -   background-color:#ff7700;
2022-09-07 14:44:53,433: DEBUG -   color:white;
2022-09-07 14:44:53,435: DEBUG - }
2022-09-07 14:44:53,437: DEBUG - 
2022-09-07 14:44:53,439: DEBUG - input[type="text"], input[type="password"], select {
2022-09-07 14:44:53,442: DEBUG -   background-color:#ddd;
2022-09-07 14:44:53,445: DEBUG -   border:2px solid #ccc;
2022-09-07 14:44:53,447: DEBUG -   -moz-border-radius:5px;
2022-09-07 14:44:53,450: DEBUG -   -webkit-border-radius:5px;
2022-09-07 14:44:53,452: DEBUG -   border-radius:5px;
2022-09-07 14:44:53,454: DEBUG -   padding:2px;
2022-09-07 14:44:53,456: DEBUG - }
2022-09-07 14:44:53,458: DEBUG - 
2022-09-07 14:44:53,461: DEBUG - input[type="text"]:focus, input[type="password"]:focus, select:focus {
2022-09-07 14:44:53,464: DEBUG -   background-color:#fff;
2022-09-07 14:44:53,466: DEBUG -   border:2px solid #ff7700;
2022-09-07 14:44:53,468: DEBUG - }
2022-09-07 14:44:53,470: DEBUG - 
2022-09-07 14:44:53,473: DEBUG - .sql_content, .infos a {
2022-09-07 14:44:53,475: DEBUG -   color: #ff3363;
2022-09-07 14:44:53,477: DEBUG - }
2022-09-07 14:44:53,479: DEBUG - 
2022-09-07 14:44:53,481: DEBUG - .errors {
2022-09-07 14:44:53,484: DEBUG -   padding-bottom:5px;
2022-09-07 14:44:53,486: DEBUG - }
2022-09-07 14:44:53,488: DEBUG - 
2022-09-07 14:44:53,491: DEBUG - </style>
2022-09-07 14:44:53,493: DEBUG - 
2022-09-07 14:44:53,497: DEBUG - 
2022-09-07 14:44:53,499: DEBUG - 
2022-09-07 14:44:53,502: DEBUG - 
2022-09-07 14:44:53,504: DEBUG - 
2022-09-07 14:44:53,506: DEBUG - 
2022-09-07 14:44:53,508: DEBUG - <title>Piwigo 12.3.0 - Installation</title>
2022-09-07 14:44:53,511: DEBUG - <script type="text/javascript" src="/ynh_portal.js"></script><link type="text/css" rel="stylesheet" href="/ynh_overlay.css"><script type="text/javascript" src="/ynhtheme/custom_portal.js"></script><link type="text/css" rel="stylesheet" href="/ynhtheme/custom_overlay.css"></head>
2022-09-07 14:44:53,513: DEBUG - 
2022-09-07 14:44:53,515: DEBUG - <body>
2022-09-07 14:44:53,517: DEBUG - <div id="the_page">
2022-09-07 14:44:53,519: DEBUG - <div id="theHeader"></div>
2022-09-07 14:44:53,522: DEBUG - <div id="content" class="content">
2022-09-07 14:44:53,524: DEBUG - 
2022-09-07 14:44:53,526: DEBUG - <h2>Version 12.3.0 - Installation</h2>
2022-09-07 14:44:53,529: DEBUG - 
2022-09-07 14:44:53,531: DEBUG - 
2022-09-07 14:44:53,533: DEBUG - 
2022-09-07 14:44:53,535: DEBUG - <div class="infos">
2022-09-07 14:44:53,537: DEBUG -   <ul>
2022-09-07 14:44:53,539: DEBUG -     <li>Félicitations, l'installation de Piwigo est terminée</li>
2022-09-07 14:44:53,542: DEBUG -   </ul>
2022-09-07 14:44:53,544: DEBUG - </div>
2022-09-07 14:44:53,547: DEBUG - 
2022-09-07 14:44:53,549: DEBUG - <p>
2022-09-07 14:44:53,551: DEBUG -   <a class="bigButton" href="index.php">Visiter la galerie</a>
2022-09-07 14:44:53,554: DEBUG - </p>
2022-09-07 14:44:53,555: DEBUG - </div> <div style="text-align: center">Besoin d'aide ? Posez votre question sur le <a href="https://fr.piwigo.org/forum">forum de Piwigo</a>.</div>
2022-09-07 14:44:53,558: DEBUG - </div>
2022-09-07 14:44:53,560: DEBUG - <!-- BEGIN get_combined_scripts -->
2022-09-07 14:44:53,563: DEBUG - <script type="text/javascript" src="themes/default/js/plugins/jquery.cluetip.js?v12.3.0"></script>
2022-09-07 14:44:53,566: DEBUG - <script type="text/javascript">//<![CDATA[
2022-09-07 14:44:53,568: DEBUG - 
2022-09-07 14:44:53,570: DEBUG - jQuery().ready(function(){
2022-09-07 14:44:53,572: DEBUG - 	jQuery('.cluetip').cluetip({
2022-09-07 14:44:53,575: DEBUG - 		width: 300,
2022-09-07 14:44:53,577: DEBUG - 		splitTitle: '|',
2022-09-07 14:44:53,579: DEBUG - 		positionBy: 'bottomTop'
2022-09-07 14:44:53,581: DEBUG - 	});
2022-09-07 14:44:53,583: DEBUG - });
2022-09-07 14:44:53,586: DEBUG - //]]></script>
2022-09-07 14:44:53,588: DEBUG - <!-- END get_combined_scripts -->
2022-09-07 14:44:53,590: DEBUG - 
2022-09-07 14:44:53,592: DEBUG - </body>
2022-09-07 14:44:53,594: DEBUG - </html>
2022-09-07 14:44:53,597: DEBUG - + [[ yes == \n\o ]]
2022-09-07 14:44:53,673: INFO - [################+...] > Configuring Piwigo...
2022-09-07 14:44:53,683: DEBUG - + ynh_add_config --template=../conf/config.inc.php --destination=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:54,055: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/../conf/config.inc.php ']'
2022-09-07 14:44:54,059: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/../conf/config.inc.php
2022-09-07 14:44:54,064: DEBUG - + ynh_backup_if_checksum_is_different --file=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:54,160: DEBUG - + local checksum_setting_name=checksum__var_www_piwigo_local_config_config.inc.php
2022-09-07 14:44:54,165: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=checksum__var_www_piwigo_local_config_config.inc.php
2022-09-07 14:44:54,169: DEBUG - ++ local _globalapp=piwigo
2022-09-07 14:44:54,564: DEBUG - ++ app=piwigo
2022-09-07 14:44:54,567: DEBUG - ++ [[ checksum__var_www_piwigo_local_config_config.inc.php =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:44:54,571: DEBUG - ++ ynh_app_setting get piwigo checksum__var_www_piwigo_local_config_config.inc.php
2022-09-07 14:44:55,184: DEBUG - + local checksum_value=
2022-09-07 14:44:55,189: DEBUG - + backup_file_checksum=
2022-09-07 14:44:55,192: DEBUG - + '[' -n '' ']'
2022-09-07 14:44:55,194: DEBUG - + touch /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:55,206: DEBUG - + chown root:root /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:55,262: DEBUG - + chmod 640 /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:55,277: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/../conf/config.inc.php /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:55,299: DEBUG - + _ynh_apply_default_permissions /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:55,302: DEBUG - + local target=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:55,308: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/manifest.json
2022-09-07 14:44:55,313: DEBUG - ++ tr -d '>= '
2022-09-07 14:44:55,924: DEBUG - + local ynh_requirement=4.3.0
2022-09-07 14:44:55,932: DEBUG - + '[' -z 4.3.0 ']'
2022-09-07 14:44:55,936: DEBUG - + '[' 4.3.0 == null ']'
2022-09-07 14:44:55,940: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-09-07 14:44:55,957: DEBUG - + chmod o-rwx /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:55,970: DEBUG - + chmod g-w /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:55,994: DEBUG - + chown -R root:root /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:56,025: DEBUG - + ynh_system_user_exists piwigo
2022-09-07 14:44:56,155: DEBUG - + getent passwd piwigo
2022-09-07 14:44:56,211: DEBUG - + chown piwigo:piwigo /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:56,265: DEBUG - + echo /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:56,268: DEBUG - + grep -q '^/etc/cron'
2022-09-07 14:44:56,287: DEBUG - + ynh_replace_vars --file=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:56,391: DEBUG - + test -n /piwigo
2022-09-07 14:44:56,395: DEBUG - + local path_url_slash_less=/piwigo
2022-09-07 14:44:56,401: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/piwigo/ --target_file=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:57,072: DEBUG - + sed --in-place s@__PATH__/@/piwigo/@g /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:57,092: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/piwigo --target_file=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:57,786: DEBUG - + sed --in-place s@__PATH__@/piwigo@g /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:57,811: DEBUG - + test -n piwigo
2022-09-07 14:44:57,820: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=piwigo --target_file=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:58,571: DEBUG - + sed --in-place s@__NAME__@piwigo@g /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:58,600: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=piwigo --target_file=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:59,582: DEBUG - + sed --in-place s@__NAMETOCHANGE__@piwigo@g /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:44:59,610: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=piwigo --target_file=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:45:00,368: DEBUG - + sed --in-place s@__USER__@piwigo@g /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:45:00,392: DEBUG - + test -n /var/www/piwigo
2022-09-07 14:45:00,399: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/piwigo --target_file=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:45:01,158: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/piwigo@g /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:45:01,174: DEBUG - + test -n 7.4
2022-09-07 14:45:01,179: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:45:01,860: DEBUG - + sed --in-place s@__PHPVERSION__@7.4@g /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:45:01,886: DEBUG - + test -n ''
2022-09-07 14:45:01,900: DEBUG - ++ sort --unique
2022-09-07 14:45:01,907: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:45:01,913: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2022-09-07 14:45:01,957: DEBUG - + uniques_vars=()
2022-09-07 14:45:01,978: DEBUG - + local delimit=@
2022-09-07 14:45:01,981: DEBUG - + ynh_store_file_checksum --file=/var/www/piwigo/local/config/config.inc.php
2022-09-07 14:45:02,016: DEBUG - + update_only=0
2022-09-07 14:45:02,244: DEBUG - + local checksum_setting_name=checksum__var_www_piwigo_local_config_config.inc.php
2022-09-07 14:45:02,253: DEBUG - ++ cut '--delimiter= ' --fields=1
2022-09-07 14:45:02,261: DEBUG - ++ md5sum /var/www/piwigo/local/config/config.inc.php
2022-09-07 14:45:02,294: DEBUG - + ynh_app_setting_set --app=piwigo --key=checksum__var_www_piwigo_local_config_config.inc.php --value=01d16d98f64a71f83a1a29cd74d0390d
2022-09-07 14:45:02,298: DEBUG - + local _globalapp=piwigo
2022-09-07 14:45:03,379: DEBUG - + app=piwigo
2022-09-07 14:45:03,383: DEBUG - + [[ checksum__var_www_piwigo_local_config_config.inc.php =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:45:03,386: DEBUG - + ynh_app_setting set piwigo checksum__var_www_piwigo_local_config_config.inc.php 01d16d98f64a71f83a1a29cd74d0390d
2022-09-07 14:45:04,108: DEBUG - + '[' -n '' ']'
2022-09-07 14:45:04,110: DEBUG - + unset backup_file_checksum
2022-09-07 14:45:04,114: DEBUG - + ynh_add_config --template=../conf/database.inc.php --destination=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:04,465: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/../conf/database.inc.php ']'
2022-09-07 14:45:04,467: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/../conf/database.inc.php
2022-09-07 14:45:04,475: DEBUG - + ynh_backup_if_checksum_is_different --file=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:04,567: DEBUG - + local checksum_setting_name=checksum__var_www_piwigo_local_config_database.inc.php
2022-09-07 14:45:04,572: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=checksum__var_www_piwigo_local_config_database.inc.php
2022-09-07 14:45:04,575: DEBUG - ++ local _globalapp=piwigo
2022-09-07 14:45:04,922: DEBUG - ++ app=piwigo
2022-09-07 14:45:04,925: DEBUG - ++ [[ checksum__var_www_piwigo_local_config_database.inc.php =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:45:04,929: DEBUG - ++ ynh_app_setting get piwigo checksum__var_www_piwigo_local_config_database.inc.php
2022-09-07 14:45:05,645: DEBUG - + local checksum_value=
2022-09-07 14:45:05,647: DEBUG - + backup_file_checksum=
2022-09-07 14:45:05,650: DEBUG - + '[' -n '' ']'
2022-09-07 14:45:05,652: DEBUG - + touch /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:05,655: DEBUG - + chown root:root /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:05,673: DEBUG - + chmod 640 /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:05,689: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/conf/../conf/database.inc.php /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:05,711: DEBUG - + _ynh_apply_default_permissions /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:05,714: DEBUG - + local target=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:05,720: DEBUG - ++ tr -d '>= '
2022-09-07 14:45:05,723: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_eru9rktc/manifest.json
2022-09-07 14:45:06,479: DEBUG - + local ynh_requirement=4.3.0
2022-09-07 14:45:06,482: DEBUG - + '[' -z 4.3.0 ']'
2022-09-07 14:45:06,484: DEBUG - + '[' 4.3.0 == null ']'
2022-09-07 14:45:06,486: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-09-07 14:45:06,497: DEBUG - + chmod o-rwx /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:06,509: DEBUG - + chmod g-w /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:06,529: DEBUG - + chown -R root:root /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:06,549: DEBUG - + ynh_system_user_exists piwigo
2022-09-07 14:45:06,657: DEBUG - + getent passwd piwigo
2022-09-07 14:45:06,673: DEBUG - + chown piwigo:piwigo /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:06,691: DEBUG - + grep -q '^/etc/cron'
2022-09-07 14:45:06,700: DEBUG - + echo /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:06,712: DEBUG - + ynh_replace_vars --file=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:06,817: DEBUG - + test -n /piwigo
2022-09-07 14:45:06,821: DEBUG - + local path_url_slash_less=/piwigo
2022-09-07 14:45:06,824: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/piwigo/ --target_file=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:07,643: DEBUG - + sed --in-place s@__PATH__/@/piwigo/@g /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:07,670: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/piwigo --target_file=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:08,409: DEBUG - + sed --in-place s@__PATH__@/piwigo@g /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:08,433: DEBUG - + test -n piwigo
2022-09-07 14:45:08,435: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=piwigo --target_file=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:09,152: DEBUG - + sed --in-place s@__NAME__@piwigo@g /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:09,174: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=piwigo --target_file=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:09,861: DEBUG - + sed --in-place s@__NAMETOCHANGE__@piwigo@g /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:09,888: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=piwigo --target_file=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:10,677: DEBUG - + sed --in-place s@__USER__@piwigo@g /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:10,711: DEBUG - + test -n /var/www/piwigo
2022-09-07 14:45:10,714: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/piwigo --target_file=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:11,555: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/piwigo@g /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:11,578: DEBUG - + test -n 7.4
2022-09-07 14:45:11,580: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:12,495: DEBUG - + sed --in-place s@__PHPVERSION__@7.4@g /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:12,517: DEBUG - + test -n ''
2022-09-07 14:45:12,525: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:12,530: DEBUG - ++ sort --unique
2022-09-07 14:45:12,536: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2022-09-07 14:45:12,567: DEBUG - + uniques_vars=('db_name' 'db_pwd' 'db_user')
2022-09-07 14:45:12,581: DEBUG - + local delimit=@
2022-09-07 14:45:12,584: DEBUG - + for one_var in "${uniques_vars[@]}"
2022-09-07 14:45:12,588: DEBUG - + [[ -v db_name ]]
2022-09-07 14:45:12,591: DEBUG - + match_string=__DB_NAME__
2022-09-07 14:45:12,593: DEBUG - + match_string=__DB_NAME__
2022-09-07 14:45:12,596: DEBUG - + replace_string=piwigo
2022-09-07 14:45:12,601: DEBUG - + replace_string=piwigo
2022-09-07 14:45:12,603: DEBUG - + replace_string=piwigo
2022-09-07 14:45:12,606: DEBUG - + sed --in-place s@__DB_NAME__@piwigo@g /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:12,609: DEBUG - + for one_var in "${uniques_vars[@]}"
2022-09-07 14:45:12,612: DEBUG - + [[ -v db_pwd ]]
2022-09-07 14:45:12,614: DEBUG - + match_string=__DB_PWD__
2022-09-07 14:45:12,617: DEBUG - + match_string=__DB_PWD__
2022-09-07 14:45:12,619: DEBUG - + replace_string=**********
2022-09-07 14:45:12,622: DEBUG - + replace_string=**********
2022-09-07 14:45:12,624: DEBUG - + replace_string=**********
2022-09-07 14:45:12,629: DEBUG - + sed --in-place s@__DB_PWD__@**********@g /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:12,634: DEBUG - + for one_var in "${uniques_vars[@]}"
2022-09-07 14:45:12,637: DEBUG - + [[ -v db_user ]]
2022-09-07 14:45:12,639: DEBUG - + match_string=__DB_USER__
2022-09-07 14:45:12,643: DEBUG - + match_string=__DB_USER__
2022-09-07 14:45:12,645: DEBUG - + replace_string=piwigo
2022-09-07 14:45:12,647: DEBUG - + replace_string=piwigo
2022-09-07 14:45:12,650: DEBUG - + replace_string=piwigo
2022-09-07 14:45:12,652: DEBUG - + sed --in-place s@__DB_USER__@piwigo@g /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:12,656: DEBUG - + ynh_store_file_checksum --file=/var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:12,671: DEBUG - + update_only=0
2022-09-07 14:45:12,824: DEBUG - + local checksum_setting_name=checksum__var_www_piwigo_local_config_database.inc.php
2022-09-07 14:45:12,845: DEBUG - ++ cut '--delimiter= ' --fields=1
2022-09-07 14:45:12,847: DEBUG - ++ md5sum /var/www/piwigo/local/config/database.inc.php
2022-09-07 14:45:12,886: DEBUG - + ynh_app_setting_set --app=piwigo --key=checksum__var_www_piwigo_local_config_database.inc.php --value=758e8351cf79545dad95c07f15022631
2022-09-07 14:45:12,890: DEBUG - + local _globalapp=piwigo
2022-09-07 14:45:13,718: DEBUG - + app=piwigo
2022-09-07 14:45:13,724: DEBUG - + [[ checksum__var_www_piwigo_local_config_database.inc.php =~ (unprotected|protected|skipped)_ ]]
2022-09-07 14:45:13,727: DEBUG - + ynh_app_setting set piwigo checksum__var_www_piwigo_local_config_database.inc.php 758e8351cf79545dad95c07f15022631
2022-09-07 14:45:14,343: DEBUG - + '[' -n '' ']'
2022-09-07 14:45:14,354: DEBUG - + unset backup_file_checksum
2022-09-07 14:45:14,358: DEBUG - + chmod 750 /var/www/piwigo
2022-09-07 14:45:14,381: DEBUG - + chmod -R o-rwx /var/www/piwigo
2022-09-07 14:45:14,692: DEBUG - + chown -R piwigo:www-data /var/www/piwigo
2022-09-07 14:45:15,581: INFO - [#################...] > Configuring LDAP plugin...
2022-09-07 14:45:15,595: DEBUG - + ynh_local_curl '/ws.php?format=json' method=pwg.session.login username=olivier password=**********
2022-09-07 14:45:15,599: DEBUG - ++ ynh_normalize_url_path '/ws.php?format=json'
2022-09-07 14:45:15,688: DEBUG - ++ test -n '/ws.php?format=json'
2022-09-07 14:45:15,692: DEBUG - ++ '[' / '!=' / ']'
2022-09-07 14:45:15,698: DEBUG - ++ '[' n == / ']'
2022-09-07 14:45:15,701: DEBUG - ++ echo '/ws.php?format=json'
2022-09-07 14:45:15,706: DEBUG - + local 'local_page=/ws.php?format=json'
2022-09-07 14:45:15,708: DEBUG - + local 'full_path=/piwigo/ws.php?format=json'
2022-09-07 14:45:15,711: DEBUG - + '[' /piwigo == / ']'
2022-09-07 14:45:15,714: DEBUG - + local 'full_page_url=https://localhost/piwigo/ws.php?format=json'
2022-09-07 14:45:15,717: DEBUG - + local POST_data=
2022-09-07 14:45:15,719: DEBUG - + local arg=
2022-09-07 14:45:15,722: DEBUG - + for arg in "${@:2}"
2022-09-07 14:45:15,726: DEBUG - + POST_data='method=pwg.session.login&'
2022-09-07 14:45:15,728: DEBUG - + for arg in "${@:2}"
2022-09-07 14:45:15,730: DEBUG - + POST_data='method=pwg.session.login&username=olivier&'
2022-09-07 14:45:15,731: DEBUG - + for arg in "${@:2}"
2022-09-07 14:45:15,733: DEBUG - + POST_data='method=pwg.session.login&username=olivier&password=**********&'
2022-09-07 14:45:15,736: DEBUG - + '[' -n 'method=pwg.session.login&username=olivier&password=**********&' ']'
2022-09-07 14:45:15,738: DEBUG - + POST_data='--data method=pwg.session.login&username=olivier&password=**********'
2022-09-07 14:45:15,739: DEBUG - + sleep 2
2022-09-07 14:45:17,717: DEBUG - + local cookiefile=/tmp/ynh-piwigo-cookie.txt
2022-09-07 14:45:17,719: DEBUG - + touch /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:45:17,730: DEBUG - + chown root /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:45:17,744: DEBUG - + chmod 700 /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:45:17,763: DEBUG - ++ ynh_permission_has_user main visitors
2022-09-07 14:45:18,092: DEBUG - ++ ynh_permission_exists --permission=main
2022-09-07 14:45:18,202: DEBUG - ++ yunohost user permission list piwigo --output-as json --quiet
2022-09-07 14:45:18,205: DEBUG - ++ jq -e --arg perm piwigo.main '.permissions[$perm]'
2022-09-07 14:45:21,423: DEBUG - ++ for section in "allowed" "corresponding_users"
2022-09-07 14:45:21,426: DEBUG - ++ yunohost user permission info piwigo.main --output-as json --quiet
2022-09-07 14:45:21,433: DEBUG - ++ jq -e --arg user visitors --arg section allowed '.[$section] | index($user)'
2022-09-07 14:45:25,379: DEBUG - ++ return 0
2022-09-07 14:45:25,382: DEBUG - ++ echo yes
2022-09-07 14:45:25,385: DEBUG - + local visitors_enabled=yes
2022-09-07 14:45:25,387: DEBUG - + [[ yes == \n\o ]]
2022-09-07 14:45:25,390: DEBUG - + curl --silent --show-error --insecure --location --header 'Host: maindomain.tld' --resolve maindomain.tld:443:127.0.0.1 --data 'method=pwg.session.login&username=olivier&password=**********' 'https://localhost/piwigo/ws.php?format=json' --cookie-jar /tmp/ynh-piwigo-cookie.txt --cookie /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:45:25,854: DEBUG - <br />
2022-09-07 14:45:25,856: DEBUG - <b>Deprecated</b>:  Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/piwigo/include/template.class.php</b> on line <b>215</b><br />
2022-09-07 14:45:25,883: DEBUG - {"stat":"ok","result":true}+ [[ yes == \n\o ]]
2022-09-07 14:45:25,888: DEBUG - ++ ynh_local_curl '/ws.php?format=json' method=pwg.session.getStatus
2022-09-07 14:45:25,896: DEBUG - +++ ynh_normalize_url_path '/ws.php?format=json'
2022-09-07 14:45:25,992: DEBUG - +++ test -n '/ws.php?format=json'
2022-09-07 14:45:25,996: DEBUG - +++ '[' / '!=' / ']'
2022-09-07 14:45:26,001: DEBUG - +++ '[' n == / ']'
2022-09-07 14:45:26,004: DEBUG - +++ echo '/ws.php?format=json'
2022-09-07 14:45:26,007: DEBUG - ++ local 'local_page=/ws.php?format=json'
2022-09-07 14:45:26,009: DEBUG - ++ local 'full_path=/piwigo/ws.php?format=json'
2022-09-07 14:45:26,011: DEBUG - ++ '[' /piwigo == / ']'
2022-09-07 14:45:26,013: DEBUG - ++ local 'full_page_url=https://localhost/piwigo/ws.php?format=json'
2022-09-07 14:45:26,015: DEBUG - ++ local POST_data=
2022-09-07 14:45:26,017: DEBUG - ++ local arg=
2022-09-07 14:45:26,019: DEBUG - ++ for arg in "${@:2}"
2022-09-07 14:45:26,021: DEBUG - ++ POST_data='method=pwg.session.getStatus&'
2022-09-07 14:45:26,023: DEBUG - ++ '[' -n 'method=pwg.session.getStatus&' ']'
2022-09-07 14:45:26,024: DEBUG - ++ POST_data='--data method=pwg.session.getStatus'
2022-09-07 14:45:26,026: DEBUG - ++ sleep 2
2022-09-07 14:45:28,020: DEBUG - ++ local cookiefile=/tmp/ynh-piwigo-cookie.txt
2022-09-07 14:45:28,023: DEBUG - ++ touch /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:45:28,037: DEBUG - ++ chown root /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:45:28,062: DEBUG - ++ chmod 700 /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:45:28,079: DEBUG - +++ ynh_permission_has_user main visitors
2022-09-07 14:45:28,411: DEBUG - +++ ynh_permission_exists --permission=main
2022-09-07 14:45:28,526: DEBUG - +++ yunohost user permission list piwigo --output-as json --quiet
2022-09-07 14:45:28,532: DEBUG - +++ jq -e --arg perm piwigo.main '.permissions[$perm]'
2022-09-07 14:45:31,958: DEBUG - +++ for section in "allowed" "corresponding_users"
2022-09-07 14:45:31,972: DEBUG - +++ yunohost user permission info piwigo.main --output-as json --quiet
2022-09-07 14:45:31,975: DEBUG - +++ jq -e --arg user visitors --arg section allowed '.[$section] | index($user)'
2022-09-07 14:45:36,238: DEBUG - +++ return 0
2022-09-07 14:45:36,248: DEBUG - +++ echo yes
2022-09-07 14:45:36,259: DEBUG - ++ local visitors_enabled=yes
2022-09-07 14:45:36,266: DEBUG - ++ [[ yes == \n\o ]]
2022-09-07 14:45:36,270: DEBUG - ++ curl --silent --show-error --insecure --location --header 'Host: maindomain.tld' --resolve maindomain.tld:443:127.0.0.1 --data method=pwg.session.getStatus 'https://localhost/piwigo/ws.php?format=json' --cookie-jar /tmp/ynh-piwigo-cookie.txt --cookie /tmp/ynh-piwigo-cookie.txt
2022-09-07 14:45:36,574: DEBUG - ++ [[ yes == \n\o ]]
2022-09-07 14:45:36,577: DEBUG - + status='<br />
2022-09-07 14:45:36,579: DEBUG - <b>Deprecated</b>:  Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/piwigo/include/template.class.php</b> on line <b>215</b><br />
2022-09-07 14:45:36,581: DEBUG - {"stat":"ok","result":{"username":"olivier","status":"webmaster","theme":"modus","language":"fr_FR","pwg_token":"3f393638e53192da37545a7a97297c68","charset":"utf-8","current_datetime":"2022-09-07 14:45:36","version":"12.3.0","available_sizes":["square","thumb","2small","xsmall","small","medium","large","xlarge","xxlarge"],"upload_file_types":"jpg,jpeg,png,gif","upload_form_chunk_size":500}}'
2022-09-07 14:45:36,586: DEBUG - ++ jq --raw-output .result.pwg_token
2022-09-07 14:45:37,203: WARNING - parse error: Invalid numeric literal at line 1, column 4
2022-09-07 14:45:37,213: DEBUG - + pwg_token=
2022-09-07 14:45:37,219: DEBUG - + ynh_exit_properly
2022-09-07 14:45:37,225: DEBUG - + local exit_code=4
2022-09-07 14:45:37,231: DEBUG - + '[' 4 -eq 0 ']'
2022-09-07 14:45:38,753: ERROR - Impossible d'installer piwigo : Une erreur est survenue dans le script d'installation de l'application

Hmalors ça ne résouds pas le problème mais ça semble être lié à ce curl:

qui ne renvoie pas un “json” pur mais aussi un warning PHP :

Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/piwigo/include/template.class.php on line 215

Eventuellement (je dis ça à moitié au pif) ça pourrait être un password qui contient des caractères spéciaux trop bizarres qui font à moitié bugger PHP …

Bonjour Aleks,
Merci de intéresser à mon problème
J’ai fait plusieurs essais en changeant les mots de passe, en choisissant d’installer piwigo en anglais, l’installation bloque toujours au même endroit.
Dans mon installation précedente de piwigo;, il y avait des lignes de textes qui s’affichait comme un message d’erreur au début de chaque page de la galerie

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /var/www/piwigo/include/template.class.php on line 215
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /var/www/piwigo/include/template.class.php on line 1024
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /var/www/piwigo/include/template.class.php on line 1024
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /var/www/piwigo/include/template.class.php on line 1899

Par curiosité j’avais été consulté les lignes en question du fichier template.class.php qui semble être à l’origine du problème.

215 $this->smarty->compile_id = base_convert(crc32($compile_id), 10, 36 );
1024 $this->smarty->compile_id .= ‘.’.base_convert(crc32($compile_id), 10, 36);
1899 $file = PWG_COMBINED_DIR . base_convert(crc32($key),10,36) . ‘.’ . $this->type;

Sans rien y connaître en PHP je remarque que ces lignes font appel à la même fonction base_convert, j’ai l’impression que le problème vient de la même source, un traitement de chaîne de caractères que PHP digère mal.

Bonjour, je retrouveaussi ces messages identiques en heut et en bas des pages quand j’affiche ces photos

Je suis resté en piwigo 12.1.0 ynh1 après migration sous Debian 11.

Je ne tente pas la mise à jour de Piwigo vers 12.3.0 ynh1 puisque Piwigo fonctionne encore

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