args:
app: my_webapp
force: false
ignore_yunohost_version: false
label: My Webapp
no_remove_on_failure: false
ended_at: 2026-04-17 09:55:33.346038
env:
YNH_APP_ACTION: install
YNH_APP_ARG_CUSTOM_ERROR_FILE: '1'
YNH_APP_ARG_DATABASE: mysql
YNH_APP_ARG_DOMAIN: objetstrouves.maindomain.tld
YNH_APP_ARG_INIT_MAIN_PERMISSION: visitors
YNH_APP_ARG_PATH: /site
YNH_APP_ARG_PHPVERSION: '8.3'
YNH_APP_ARG_WITH_SFTP: '1'
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_lfn1orhf
YNH_APP_ID: my_webapp
YNH_APP_INSTANCE_NAME: my_webapp
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 1.0~ynh21
YNH_APP_PACKAGING_FORMAT: '2.0'
YNH_ARCH: amd64
YNH_DEBIAN_VERSION: bookworm
YNH_DEFAULT_PHP_VERSION: '8.2'
YNH_HELPERS_VERSION: '2'
error: Une erreur est survenue dans le script d'installation de l'application
interface: api
operation: app_install
parent: null
related_to:
- - app
- my_webapp
started_at: 2026-04-17 09:55:26.703871
started_by: ******
success: false
yunohost_version: 12.1.39
============
2026-04-17 11:55:27,722: INFO - Installation de my_webapp…
2026-04-17 11:55:27,748: INFO - Provisioning system_user...
2026-04-17 11:55:28,265: INFO - Provisioning install_dir...
2026-04-17 11:55:28,272: INFO - Provisioning permissions...
2026-04-17 11:55:28,280: DEBUG - Permission 'my_webapp.main' mise à jour
2026-04-17 11:55:28,289: DEBUG - Permission 'my_webapp.main' créée
2026-04-17 11:55:28,302: DEBUG - Permission 'my_webapp.main' mise à jour
2026-04-17 11:55:28,306: DEBUG - Permission 'my_webapp.main' mise à jour
2026-04-17 11:55:28,355: DEBUG - Creating LDAP perm my_webapp.main
2026-04-17 11:55:28,391: DEBUG - Permissions were resynchronized to LDAP
2026-04-17 11:55:28,423: DEBUG - Formating result in 'export' mode
2026-04-17 11:55:28,424: DEBUG - La configuration de SSOwat a été regénérée
2026-04-17 11:55:28,424: INFO - Provisioning apt...
2026-04-17 11:55:28,434: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt" 7>&1']'
2026-04-17 11:55:28,452: DEBUG - + source /usr/share/yunohost/helpers
2026-04-17 11:55:28,453: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2026-04-17 11:55:28,453: DEBUG - +++ cd -- /usr/share/yunohost
2026-04-17 11:55:28,454: DEBUG - +++ pwd
2026-04-17 11:55:28,454: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2026-04-17 11:55:28,455: DEBUG - ++ YNH_HELPERS_VERSION=2
2026-04-17 11:55:28,456: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2026-04-17 11:55:28,457: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2026-04-17 11:55:28,486: DEBUG - + ynh_abort_if_errors
2026-04-17 11:55:28,487: DEBUG - + trap ynh_exit_properly EXIT
2026-04-17 11:55:28,488: DEBUG - + ynh_install_app_dependencies nginx mariadb-server php8.3-mysql php8.3-fpm
2026-04-17 11:55:28,488: DEBUG - + local 'dependencies=nginx mariadb-server php8.3-mysql php8.3-fpm'
2026-04-17 11:55:28,488: DEBUG - ++ echo 'nginx mariadb-server php8.3-mysql php8.3-fpm'
2026-04-17 11:55:28,489: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2026-04-17 11:55:28,489: DEBUG - + dependencies='nginx, mariadb-server, php8.3-mysql, php8.3-fpm'
2026-04-17 11:55:28,490: DEBUG - + local 'dependencies=nginx, mariadb-server, php8.3-mysql, php8.3-fpm'
2026-04-17 11:55:28,490: DEBUG - ++ ynh_read_manifest --manifest_key=version
2026-04-17 11:55:28,511: DEBUG - ++ '[' '!' -e '' ']'
2026-04-17 11:55:28,512: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_sielf2ml/manifest.json ']'
2026-04-17 11:55:28,512: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_sielf2ml/manifest.toml ']'
2026-04-17 11:55:28,512: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_sielf2ml/manifest.toml
2026-04-17 11:55:28,513: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_sielf2ml/manifest.toml
2026-04-17 11:55:28,513: DEBUG - ++ grep -q '\.json$'
2026-04-17 11:55:28,514: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_sielf2ml/manifest.toml
2026-04-17 11:55:28,514: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2026-04-17 11:55:28,515: DEBUG - ++ jq .version --raw-output
2026-04-17 11:55:28,565: DEBUG - + local version=1.0~ynh21
2026-04-17 11:55:28,566: DEBUG - + '[' -z 1.0~ynh21 ']'
2026-04-17 11:55:28,566: DEBUG - + '[' 1.0~ynh21 == null ']'
2026-04-17 11:55:28,566: DEBUG - + local dep_app=my-webapp
2026-04-17 11:55:28,567: DEBUG - + [[ nginx, mariadb-server, php8.3-mysql, php8.3-fpm =~ [<=>] ]]
2026-04-17 11:55:28,567: DEBUG - ++ echo nginx, mariadb-server, php8.3-mysql, php8.3-fpm
2026-04-17 11:55:28,568: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2026-04-17 11:55:28,568: DEBUG - ++ sort -u
2026-04-17 11:55:28,569: DEBUG - + local specific_php_version=8.3
2026-04-17 11:55:28,569: DEBUG - + [[ -n 8.3 ]]
2026-04-17 11:55:28,570: DEBUG - ++ echo 8.3
2026-04-17 11:55:28,570: DEBUG - ++ wc -l
2026-04-17 11:55:28,571: DEBUG - + [[ 1 -eq 1 ]]
2026-04-17 11:55:28,572: DEBUG - + dependencies+=', php8.3, php8.3-fpm, php8.3-common'
2026-04-17 11:55:28,572: DEBUG - ++ ynh_app_setting_get --app=my_webapp --key=phpversion
2026-04-17 11:55:28,667: DEBUG - + local old_phpversion=8.3
2026-04-17 11:55:28,667: DEBUG - + '[' -n 8.3 ']'
2026-04-17 11:55:28,667: DEBUG - + '[' 8.3 '!=' 8.3 ']'
2026-04-17 11:55:28,668: DEBUG - + ynh_app_setting_set --app=my_webapp --key=phpversion --value=8.3
2026-04-17 11:55:28,798: DEBUG - + test -e /usr/bin/php8.2
2026-04-17 11:55:28,799: DEBUG - + update-alternatives --set php /usr/bin/php8.2
2026-04-17 11:55:28,801: DEBUG - ++ ynh_package_is_installed postgresql-15
2026-04-17 11:55:28,814: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-15
2026-04-17 11:55:28,814: DEBUG - ++ grep --count 'ok installed'
2026-04-17 11:55:28,830: DEBUG - ++ echo yes
2026-04-17 11:55:28,830: DEBUG - + local psql_installed=yes
2026-04-17 11:55:28,830: DEBUG - + [[ true == \t\r\u\e ]]
2026-04-17 11:55:28,831: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2026-04-17 11:55:28,831: DEBUG - + cat
2026-04-17 11:55:28,832: DEBUG - + ynh_package_install_from_equivs /tmp/my-webapp-ynh-deps.control
2026-04-17 11:55:28,832: DEBUG - + local controlfile=/tmp/my-webapp-ynh-deps.control
2026-04-17 11:55:28,833: DEBUG - ++ grep '^Package: ' /tmp/my-webapp-ynh-deps.control
2026-04-17 11:55:28,833: DEBUG - ++ cut '--delimiter= ' --fields=2
2026-04-17 11:55:28,835: DEBUG - + local pkgname=my-webapp-ynh-deps
2026-04-17 11:55:28,836: DEBUG - ++ grep '^Version: ' /tmp/my-webapp-ynh-deps.control
2026-04-17 11:55:28,836: DEBUG - ++ cut '--delimiter= ' --fields=2
2026-04-17 11:55:28,838: DEBUG - + local pkgversion=1.0~ynh21
2026-04-17 11:55:28,838: DEBUG - + [[ -z my-webapp-ynh-deps ]]
2026-04-17 11:55:28,838: DEBUG - + [[ -z 1.0~ynh21 ]]
2026-04-17 11:55:28,839: DEBUG - + ynh_package_update
2026-04-17 11:55:28,839: DEBUG - + ynh_apt update
2026-04-17 11:55:28,839: DEBUG - + ynh_wait_dpkg_free
2026-04-17 11:55:28,984: DEBUG - + return 0
2026-04-17 11:55:28,985: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2026-04-17 11:55:29,131: DEBUG - Hit:2 http://deb.debian.org/debian bookworm InRelease
2026-04-17 11:55:29,131: DEBUG - Hit:3 http://security.debian.org bookworm-security InRelease
2026-04-17 11:55:29,149: DEBUG - Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
2026-04-17 11:55:29,181: DEBUG - Get:5 https://dl.yarnpkg.com/debian stable InRelease
2026-04-17 11:55:29,198: DEBUG - Hit:6 https://packages.sury.org/php bookworm InRelease
2026-04-17 11:55:29,266: DEBUG - Hit:1 https://forge.yunohost.org/debian bookworm InRelease
2026-04-17 11:55:29,667: DEBUG - Err:5 https://dl.yarnpkg.com/debian stable InRelease
2026-04-17 11:55:29,667: DEBUG - The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
2026-04-17 11:55:29,808: DEBUG - Err:6 https://packages.sury.org/php bookworm InRelease
2026-04-17 11:55:29,808: DEBUG - The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
2026-04-17 11:55:29,896: DEBUG - Fetched 16.5 kB in 1s (19.5 kB/s)
2026-04-17 11:55:30,818: DEBUG - Reading package lists...
2026-04-17 11:55:30,837: WARNING - W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
2026-04-17 11:55:30,837: WARNING - W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.sury.org/php bookworm InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
2026-04-17 11:55:30,839: WARNING - W: Failed to fetch https://packages.sury.org/php/dists/bookworm/InRelease The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
2026-04-17 11:55:30,839: DEBUG - ++ mktemp --directory
2026-04-17 11:55:30,840: WARNING - W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
2026-04-17 11:55:30,841: DEBUG - + local TMPDIR=/tmp/tmp.gLhdM2Dmbk
2026-04-17 11:55:30,841: WARNING - W: Some index files failed to download. They have been ignored, or old ones used instead.
2026-04-17 11:55:30,842: DEBUG - + mkdir -p /tmp/tmp.gLhdM2Dmbk/my-webapp-ynh-deps/DEBIAN/
2026-04-17 11:55:30,842: DEBUG - + chmod -R 755 /tmp/tmp.gLhdM2Dmbk/my-webapp-ynh-deps
2026-04-17 11:55:30,843: DEBUG - + ynh_wait_dpkg_free
2026-04-17 11:55:30,992: DEBUG - + return 0
2026-04-17 11:55:30,992: DEBUG - + cp /tmp/my-webapp-ynh-deps.control /tmp/tmp.gLhdM2Dmbk/my-webapp-ynh-deps/DEBIAN/control
2026-04-17 11:55:30,994: DEBUG - + dpkg-deb --build /tmp/tmp.gLhdM2Dmbk/my-webapp-ynh-deps /tmp/tmp.gLhdM2Dmbk/my-webapp-ynh-deps.deb
2026-04-17 11:55:31,047: DEBUG - + dpkg --force-depends --install /tmp/tmp.gLhdM2Dmbk/my-webapp-ynh-deps.deb
2026-04-17 11:55:31,047: DEBUG - + tee /tmp/tmp.gLhdM2Dmbk/dpkg_log
2026-04-17 11:55:31,110: DEBUG - Selecting previously unselected package my-webapp-ynh-deps.
2026-04-17 11:55:31,149: DEBUG - (Reading database ... 58886 files and directories currently installed.)
2026-04-17 11:55:31,152: DEBUG - Preparing to unpack .../my-webapp-ynh-deps.deb ...
2026-04-17 11:55:31,184: DEBUG - Unpacking my-webapp-ynh-deps (1.0~ynh21) ...
2026-04-17 11:55:31,313: DEBUG - Setting up my-webapp-ynh-deps (1.0~ynh21) ...
2026-04-17 11:55:31,454: DEBUG - + ynh_package_install --fix-broken
2026-04-17 11:55:31,455: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2026-04-17 11:55:31,455: DEBUG - + ynh_wait_dpkg_free
2026-04-17 11:55:31,595: DEBUG - + return 0
2026-04-17 11:55:31,597: 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
2026-04-17 11:55:31,961: DEBUG - Reading package lists...
2026-04-17 11:55:32,175: DEBUG - Building dependency tree...
2026-04-17 11:55:32,176: DEBUG - Reading state information...
2026-04-17 11:55:32,398: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2026-04-17 11:55:32,399: DEBUG - + [[ -n /tmp/tmp.gLhdM2Dmbk ]]
2026-04-17 11:55:32,399: DEBUG - + rm --recursive --force /tmp/tmp.gLhdM2Dmbk
2026-04-17 11:55:32,400: DEBUG - + ynh_package_is_installed my-webapp-ynh-deps
2026-04-17 11:55:32,414: DEBUG - + dpkg-query --show '--showformat=${Status}' my-webapp-ynh-deps
2026-04-17 11:55:32,414: DEBUG - + grep --count 'ok installed'
2026-04-17 11:55:32,430: DEBUG - + rm /tmp/my-webapp-ynh-deps.control
2026-04-17 11:55:32,432: DEBUG - ++ ynh_package_is_installed postgresql-15
2026-04-17 11:55:32,446: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-15
2026-04-17 11:55:32,446: DEBUG - ++ grep --count 'ok installed'
2026-04-17 11:55:32,462: DEBUG - ++ echo yes
2026-04-17 11:55:32,462: DEBUG - + local psql_installed2=yes
2026-04-17 11:55:32,462: DEBUG - + [[ yes != \y\e\s ]]
2026-04-17 11:55:32,463: DEBUG - + ynh_exit_properly
2026-04-17 11:55:32,464: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2026-04-17 11:55:32,573: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2026-04-17 11:55:32,588: DEBUG - + source _common.sh
2026-04-17 11:55:32,588: DEBUG - + source /usr/share/yunohost/helpers
2026-04-17 11:55:32,589: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2026-04-17 11:55:32,590: DEBUG - +++ cd -- /usr/share/yunohost
2026-04-17 11:55:32,590: DEBUG - +++ pwd
2026-04-17 11:55:32,591: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2026-04-17 11:55:32,591: DEBUG - ++ YNH_HELPERS_VERSION=2
2026-04-17 11:55:32,593: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2026-04-17 11:55:32,593: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2026-04-17 11:55:32,622: DEBUG - + app_nb=1
2026-04-17 11:55:32,623: DEBUG - ++ grep '^Port' /etc/ssh/sshd_config
2026-04-17 11:55:32,624: DEBUG - ++ awk '{print $2}'
2026-04-17 11:55:32,626: DEBUG - + ssh_port=22
2026-04-17 11:55:32,719: INFO - [+++.................] > Validating installation parameters...
2026-04-17 11:55:32,721: DEBUG - + '[' '' '!=' '' ']'
2026-04-17 11:55:32,721: DEBUG - + ynh_die '--message=You need to set a password to enable SFTP'
2026-04-17 11:55:32,741: WARNING - You need to set a password to enable SFTP
2026-04-17 11:55:32,742: DEBUG - + ynh_exit_properly
2026-04-17 11:55:32,743: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2026-04-17 11:55:33,345: ERROR - Impossible d'installer my_webapp : Une erreur est survenue dans le script d'installation de l'application