args: app: wallabag2 force: false label: Wallabag no_remove_on_failure: false ended_at: 2022-07-25 16:24:35.534085 env: YNH_APP_ARG_ADMIN: cippr YNH_APP_ARG_DOMAIN: maindomain.tld YNH_APP_ARG_PATH: /wallabag YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq YNH_APP_ID: wallabag2 YNH_APP_INSTANCE_NAME: wallabag2 YNH_APP_INSTANCE_NUMBER: '1' YNH_APP_MANIFEST_VERSION: 2.4.3~ynh1 YNH_ARCH: arm64 error: null interface: api operation: app_install parent: null related_to: - - app - wallabag2 started_at: 2022-07-25 16:22:51.308856 success: true yunohost_version: 4.3.6.3 ============ 2022-07-25 18:22:51,324: INFO - Installation de wallabag2... 2022-07-25 18:22:51,543: DEBUG - Nothing to update in LDAP 2022-07-25 18:22:51,544: DEBUG - Permission 'wallabag2.main' mise à jour 2022-07-25 18:22:51,714: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20220725-162251-permission_url-wallabag2" style="text-decoration:underline"> Mise à jour de l'URL associée à l'autorisation 'wallabag2' </a>' 2022-07-25 18:22:52,063: DEBUG - The permission database has been resynchronized 2022-07-25 18:22:52,287: DEBUG - La configuration de SSOwat a été regénérée 2022-07-25 18:22:52,476: DEBUG - Permission 'wallabag2.main' créée 2022-07-25 18:22:52,477: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20220725-162251-permission_create-wallabag2" style="text-decoration:underline"> Créer permission 'wallabag2' </a>' 2022-07-25 18:22:52,507: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']' 2022-07-25 18:22:52,522: DEBUG - + source _common.sh 2022-07-25 18:22:52,523: DEBUG - ++ YNH_PHP_VERSION=7.4 2022-07-25 18:22:52,523: DEBUG - ++ pkg_dependencies='php7.4-cli php7.4-mysql php7.4-json php7.4-gd php7.4-tidy php7.4-curl php7.4-gettext php7.4-redis php7.4-xml' 2022-07-25 18:22:52,523: DEBUG - + source /usr/share/yunohost/helpers 2022-07-25 18:22:52,525: DEBUG - +++ grep xtrace 2022-07-25 18:22:52,528: DEBUG - +++ set +o 2022-07-25 18:22:52,530: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2022-07-25 18:22:52,530: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2022-07-25 18:22:52,577: DEBUG - + ynh_abort_if_errors 2022-07-25 18:22:52,579: DEBUG - + trap ynh_exit_properly EXIT 2022-07-25 18:22:52,579: DEBUG - + domain=maindomain.tld 2022-07-25 18:22:52,580: DEBUG - + path_url=/wallabag 2022-07-25 18:22:52,580: DEBUG - + admin=cippr 2022-07-25 18:22:52,581: DEBUG - + app=wallabag2 2022-07-25 18:22:52,742: DEBUG - + final_path=/var/www/wallabag2 2022-07-25 18:22:52,742: DEBUG - + test '!' -e /var/www/wallabag2 2022-07-25 18:22:52,743: DEBUG - + ynh_webpath_register --app=wallabag2 --domain=maindomain.tld --path_url=/wallabag 2022-07-25 18:22:52,745: INFO - [....................] > Validating installation parameters... 2022-07-25 18:22:52,872: DEBUG - + yunohost app register-url wallabag2 maindomain.tld /wallabag 2022-07-25 18:22:55,545: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=domain --value=maindomain.tld 2022-07-25 18:22:55,545: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:22:55,548: INFO - [....................] > Storing installation settings... 2022-07-25 18:22:55,682: DEBUG - + app=wallabag2 2022-07-25 18:22:55,682: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:22:55,682: DEBUG - + ynh_app_setting set wallabag2 domain maindomain.tld 2022-07-25 18:22:55,799: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=path --value=/wallabag 2022-07-25 18:22:55,799: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:22:55,924: DEBUG - + app=wallabag2 2022-07-25 18:22:55,924: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:22:55,925: DEBUG - + ynh_app_setting set wallabag2 path /wallabag 2022-07-25 18:22:56,036: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=admin --value=cippr 2022-07-25 18:22:56,037: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:22:56,167: DEBUG - + app=wallabag2 2022-07-25 18:22:56,167: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:22:56,168: DEBUG - + ynh_app_setting set wallabag2 admin cippr 2022-07-25 18:22:56,419: DEBUG - + ynh_install_app_dependencies php7.4-cli php7.4-mysql php7.4-json php7.4-gd php7.4-tidy php7.4-curl php7.4-gettext php7.4-redis php7.4-xml 2022-07-25 18:22:56,420: DEBUG - + local 'dependencies=php7.4-cli php7.4-mysql php7.4-json php7.4-gd php7.4-tidy php7.4-curl php7.4-gettext php7.4-redis php7.4-xml' 2022-07-25 18:22:56,420: INFO - [++++................] > Installing dependencies... 2022-07-25 18:22:56,423: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g' 2022-07-25 18:22:56,426: DEBUG - ++ echo 'php7.4-cli php7.4-mysql php7.4-json php7.4-gd php7.4-tidy php7.4-curl php7.4-gettext php7.4-redis php7.4-xml' 2022-07-25 18:22:56,430: DEBUG - + dependencies='php7.4-cli, php7.4-mysql, php7.4-json, php7.4-gd, php7.4-tidy, php7.4-curl, php7.4-gettext, php7.4-redis, php7.4-xml' 2022-07-25 18:22:56,431: DEBUG - + local 'dependencies=php7.4-cli, php7.4-mysql, php7.4-json, php7.4-gd, php7.4-tidy, php7.4-curl, php7.4-gettext, php7.4-redis, php7.4-xml' 2022-07-25 18:22:56,431: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/manifest.json 2022-07-25 18:22:56,432: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/manifest.json 2022-07-25 18:22:56,439: DEBUG - + local version=2.4.3~ynh1 2022-07-25 18:22:56,440: DEBUG - + '[' -z 2.4.3~ynh1 ']' 2022-07-25 18:22:56,440: DEBUG - + '[' 2.4.3~ynh1 == null ']' 2022-07-25 18:22:56,441: DEBUG - + local dep_app=wallabag2 2022-07-25 18:22:56,441: DEBUG - + [[ php7.4-cli, php7.4-mysql, php7.4-json, php7.4-gd, php7.4-tidy, php7.4-curl, php7.4-gettext, php7.4-redis, php7.4-xml =~ [<=>] ]] 2022-07-25 18:22:56,443: DEBUG - ++ sort -u 2022-07-25 18:22:56,444: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)' 2022-07-25 18:22:56,449: DEBUG - ++ echo php7.4-cli, php7.4-mysql, php7.4-json, php7.4-gd, php7.4-tidy, php7.4-curl, php7.4-gettext, php7.4-redis, php7.4-xml 2022-07-25 18:22:56,454: DEBUG - + local specific_php_version=7.4 2022-07-25 18:22:56,454: DEBUG - + [[ 7.4 != \7\.\3 ]] 2022-07-25 18:22:56,454: DEBUG - + [[ -n 7.4 ]] 2022-07-25 18:22:56,456: DEBUG - ++ wc -l 2022-07-25 18:22:56,458: DEBUG - ++ echo 7.4 2022-07-25 18:22:56,462: DEBUG - + [[ 1 -eq 1 ]] 2022-07-25 18:22:56,463: DEBUG - + dependencies+=', php7.4, php7.4-fpm, php7.4-common' 2022-07-25 18:22:56,463: DEBUG - + ynh_add_sury 2022-07-25 18:22:56,464: DEBUG - ++ ynh_get_debian_release 2022-07-25 18:22:56,466: DEBUG - +++ lsb_release --codename --short 2022-07-25 18:22:56,574: DEBUG - ++ echo buster 2022-07-25 18:22:56,574: DEBUG - + ynh_install_extra_repo '--repo=https://packages.sury.org/php/ buster main' --key=https://packages.sury.org/php/apt.gpg --name=extra_php_version --priority=600 2022-07-25 18:22:56,847: DEBUG - + name=extra_php_version 2022-07-25 18:22:56,848: DEBUG - + append=0 2022-07-25 18:22:56,848: DEBUG - + key=https://packages.sury.org/php/apt.gpg 2022-07-25 18:22:56,848: DEBUG - + priority=600 2022-07-25 18:22:56,849: DEBUG - + append= 2022-07-25 18:22:56,849: DEBUG - + wget_append=tee 2022-07-25 18:22:56,850: DEBUG - + repo='https://packages.sury.org/php/ buster main' 2022-07-25 18:22:56,852: DEBUG - ++ awk '{ print $1 }' 2022-07-25 18:22:56,854: DEBUG - ++ echo 'https://packages.sury.org/php/ buster main' 2022-07-25 18:22:56,859: DEBUG - + local uri=https://packages.sury.org/php/ 2022-07-25 18:22:56,861: DEBUG - ++ awk '{ print $2 }' 2022-07-25 18:22:56,866: DEBUG - ++ echo 'https://packages.sury.org/php/ buster main' 2022-07-25 18:22:56,870: DEBUG - + local suite=buster 2022-07-25 18:22:56,871: DEBUG - + local component=main 2022-07-25 18:22:56,871: DEBUG - + ynh_add_repo --uri=https://packages.sury.org/php/ --suite=buster --component=main --name=extra_php_version 2022-07-25 18:22:57,145: DEBUG - + name=extra_php_version 2022-07-25 18:22:57,145: DEBUG - + append=0 2022-07-25 18:22:57,146: DEBUG - + append=tee 2022-07-25 18:22:57,146: DEBUG - + mkdir --parents /etc/apt/sources.list.d 2022-07-25 18:22:57,150: DEBUG - + tee /etc/apt/sources.list.d/extra_php_version.list 2022-07-25 18:22:57,155: DEBUG - deb https://packages.sury.org/php/ buster main 2022-07-25 18:22:57,157: DEBUG - + local pin=packages.sury.org/php/ 2022-07-25 18:22:57,158: DEBUG - + pin=packages.sury.org 2022-07-25 18:22:57,158: DEBUG - + '[' -n 600 ']' 2022-07-25 18:22:57,158: DEBUG - + priority=--priority=600 2022-07-25 18:22:57,159: DEBUG - + ynh_pin_repo '--package=*' '--pin=origin "packages.sury.org"' --priority=600 --name=extra_php_version 2022-07-25 18:22:57,452: DEBUG - + package='*' 2022-07-25 18:22:57,452: DEBUG - + priority=600 2022-07-25 18:22:57,452: DEBUG - + name=extra_php_version 2022-07-25 18:22:57,453: DEBUG - + append=0 2022-07-25 18:22:57,453: DEBUG - + append=tee 2022-07-25 18:22:57,454: DEBUG - + [[ extra_php_version != \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]] 2022-07-25 18:22:57,454: DEBUG - + return 0 2022-07-25 18:22:57,454: DEBUG - + '[' -n https://packages.sury.org/php/apt.gpg ']' 2022-07-25 18:22:57,455: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d 2022-07-25 18:22:57,458: DEBUG - + tee /etc/apt/trusted.gpg.d/extra_php_version.gpg 2022-07-25 18:22:57,462: DEBUG - + gpg --dearmor 2022-07-25 18:22:57,464: DEBUG - + wget --timeout 900 --quiet https://packages.sury.org/php/apt.gpg --output-document=- 2022-07-25 18:22:57,749: DEBUG - + ynh_package_update 2022-07-25 18:22:57,750: DEBUG - + ynh_apt update 2022-07-25 18:22:57,750: DEBUG - + ynh_wait_dpkg_free 2022-07-25 18:22:57,856: DEBUG - + return 0 2022-07-25 18:22:57,856: DEBUG - + LC_ALL=C 2022-07-25 18:22:57,857: DEBUG - + DEBIAN_FRONTEND=noninteractive 2022-07-25 18:22:57,857: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update 2022-07-25 18:22:58,057: DEBUG - Hit:1 http://security.debian.org/debian-security buster/updates InRelease 2022-07-25 18:22:58,058: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease 2022-07-25 18:22:58,078: DEBUG - Hit:3 http://deb.debian.org/debian buster-updates InRelease 2022-07-25 18:22:58,087: DEBUG - Hit:4 http://forge.yunohost.org/debian buster InRelease 2022-07-25 18:22:58,212: DEBUG - Hit:5 https://packages.sury.org/php buster InRelease 2022-07-25 18:23:01,957: DEBUG - Reading package lists... 2022-07-25 18:23:02,056: DEBUG - + [[ true == \t\r\u\e ]] 2022-07-25 18:23:02,056: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false 2022-07-25 18:23:02,056: DEBUG - + grep --quiet php 2022-07-25 18:23:02,061: DEBUG - + grep --quiet --invert-match 7.0.33-0+deb9 2022-07-25 18:23:02,065: DEBUG - + grep php7.0 2022-07-25 18:23:02,068: DEBUG - + dpkg --list 2022-07-25 18:23:02,101: DEBUG - + cat 2022-07-25 18:23:02,105: DEBUG - + ynh_package_install_from_equivs /tmp/wallabag2-ynh-deps.control 2022-07-25 18:23:02,105: DEBUG - + local controlfile=/tmp/wallabag2-ynh-deps.control 2022-07-25 18:23:02,107: DEBUG - ++ cut '--delimiter= ' --fields=2 2022-07-25 18:23:02,110: DEBUG - ++ grep '^Package: ' /tmp/wallabag2-ynh-deps.control 2022-07-25 18:23:02,115: DEBUG - + local pkgname=wallabag2-ynh-deps 2022-07-25 18:23:02,117: DEBUG - ++ cut '--delimiter= ' --fields=2 2022-07-25 18:23:02,120: DEBUG - ++ grep '^Version: ' /tmp/wallabag2-ynh-deps.control 2022-07-25 18:23:02,125: DEBUG - + local pkgversion=2.4.3~ynh1 2022-07-25 18:23:02,125: DEBUG - + [[ -z wallabag2-ynh-deps ]] 2022-07-25 18:23:02,126: DEBUG - + [[ -z 2.4.3~ynh1 ]] 2022-07-25 18:23:02,126: DEBUG - + ynh_package_update 2022-07-25 18:23:02,126: DEBUG - + ynh_apt update 2022-07-25 18:23:02,127: DEBUG - + ynh_wait_dpkg_free 2022-07-25 18:23:02,229: DEBUG - + return 0 2022-07-25 18:23:02,229: DEBUG - + LC_ALL=C 2022-07-25 18:23:02,230: DEBUG - + DEBIAN_FRONTEND=noninteractive 2022-07-25 18:23:02,230: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update 2022-07-25 18:23:02,399: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease 2022-07-25 18:23:02,413: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease 2022-07-25 18:23:02,414: DEBUG - Hit:3 http://security.debian.org/debian-security buster/updates InRelease 2022-07-25 18:23:02,434: DEBUG - Hit:4 http://deb.debian.org/debian buster-updates InRelease 2022-07-25 18:23:02,460: DEBUG - Hit:5 https://packages.sury.org/php buster InRelease 2022-07-25 18:23:05,063: DEBUG - Reading package lists... 2022-07-25 18:23:05,168: DEBUG - ++ mktemp --directory 2022-07-25 18:23:05,172: DEBUG - + local TMPDIR=/tmp/tmp.pM0k90DLZX 2022-07-25 18:23:05,172: DEBUG - + echo 10 2022-07-25 18:23:07,770: DEBUG - + ynh_wait_dpkg_free 2022-07-25 18:23:07,878: DEBUG - + return 0 2022-07-25 18:23:07,878: DEBUG - + cp /tmp/wallabag2-ynh-deps.control /tmp/tmp.pM0k90DLZX/control 2022-07-25 18:23:07,882: DEBUG - + cd /tmp/tmp.pM0k90DLZX 2022-07-25 18:23:07,883: DEBUG - + LC_ALL=C 2022-07-25 18:23:07,883: DEBUG - + equivs-build ./control 2022-07-25 18:23:28,147: DEBUG - + tee ./dpkg_log 2022-07-25 18:23:28,150: DEBUG - + LC_ALL=C 2022-07-25 18:23:28,151: DEBUG - + dpkg --force-depends --install ./wallabag2-ynh-deps_2.4.3~ynh1_all.deb 2022-07-25 18:23:28,205: DEBUG - Selecting previously unselected package wallabag2-ynh-deps. 2022-07-25 18:23:28,266: DEBUG - (Reading database ... 71348 files and directories currently installed.) 2022-07-25 18:23:28,274: DEBUG - Preparing to unpack .../wallabag2-ynh-deps_2.4.3~ynh1_all.deb ... 2022-07-25 18:23:28,279: DEBUG - Unpacking wallabag2-ynh-deps (2.4.3~ynh1) ... 2022-07-25 18:23:28,327: DEBUG - dpkg: wallabag2-ynh-deps: dependency problems, but configuring anyway as you requested: 2022-07-25 18:23:28,327: DEBUG - wallabag2-ynh-deps depends on php7.4-mysql; however: 2022-07-25 18:23:28,328: DEBUG - Package php7.4-mysql is not installed. 2022-07-25 18:23:28,328: DEBUG - wallabag2-ynh-deps depends on php7.4-tidy; however: 2022-07-25 18:23:28,328: DEBUG - Package php7.4-tidy is not installed. 2022-07-25 18:23:28,329: DEBUG - wallabag2-ynh-deps depends on php7.4-curl; however: 2022-07-25 18:23:28,329: DEBUG - Package php7.4-curl is not installed. 2022-07-25 18:23:28,329: DEBUG - wallabag2-ynh-deps depends on php7.4-redis; however: 2022-07-25 18:23:28,329: DEBUG - Package php7.4-redis is not installed. 2022-07-25 18:23:28,330: DEBUG - wallabag2-ynh-deps depends on php7.4; however: 2022-07-25 18:23:28,330: DEBUG - Package php7.4 is not installed. 2022-07-25 18:23:28,330: DEBUG - wallabag2-ynh-deps depends on php7.4-fpm; however: 2022-07-25 18:23:28,331: DEBUG - Package php7.4-fpm is not installed. 2022-07-25 18:23:28,331: DEBUG - 2022-07-25 18:23:28,332: DEBUG - Setting up wallabag2-ynh-deps (2.4.3~ynh1) ... 2022-07-25 18:23:28,370: DEBUG - + ynh_package_install --fix-broken 2022-07-25 18:23:28,370: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken 2022-07-25 18:23:28,370: DEBUG - + ynh_wait_dpkg_free 2022-07-25 18:23:28,475: DEBUG - + return 0 2022-07-25 18:23:28,476: DEBUG - + LC_ALL=C 2022-07-25 18:23:28,476: DEBUG - + DEBIAN_FRONTEND=noninteractive 2022-07-25 18:23:28,476: 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-07-25 18:23:28,773: DEBUG - Reading package lists... 2022-07-25 18:23:29,222: DEBUG - Building dependency tree... 2022-07-25 18:23:29,224: DEBUG - Reading state information... 2022-07-25 18:23:29,634: DEBUG - Correcting dependencies... Done 2022-07-25 18:23:30,241: DEBUG - The following additional packages will be installed: 2022-07-25 18:23:30,243: DEBUG - libtidy5deb1 php7.4 php7.4-curl php7.4-fpm php7.4-igbinary php7.4-mysql 2022-07-25 18:23:30,245: DEBUG - php7.4-redis php7.4-tidy 2022-07-25 18:23:30,286: DEBUG - The following NEW packages will be installed: 2022-07-25 18:23:30,287: DEBUG - libtidy5deb1 php7.4 php7.4-curl php7.4-fpm php7.4-igbinary php7.4-mysql 2022-07-25 18:23:30,289: DEBUG - php7.4-redis php7.4-tidy 2022-07-25 18:23:31,254: DEBUG - 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. 2022-07-25 18:23:31,254: DEBUG - Need to get 0 B/1948 kB of archives. 2022-07-25 18:23:31,254: DEBUG - After this operation, 7491 kB of additional disk space will be used. 2022-07-25 18:23:31,376: DEBUG - Selecting previously unselected package php7.4-fpm. 2022-07-25 18:23:31,436: DEBUG - (Reading database ... 71352 files and directories currently installed.) 2022-07-25 18:23:31,444: DEBUG - Preparing to unpack .../0-php7.4-fpm_1%3a7.4.30-3+0~20220627.69+debian10~1.gbpf2b381_arm64.deb ... 2022-07-25 18:23:31,459: DEBUG - Unpacking php7.4-fpm (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:31,758: DEBUG - Selecting previously unselected package php7.4-igbinary. 2022-07-25 18:23:31,771: DEBUG - Preparing to unpack .../1-php7.4-igbinary_3.2.6+2.0.8-6+0~20220131.33+debian10~1.gbp1d540e_arm64.deb ... 2022-07-25 18:23:31,780: DEBUG - Unpacking php7.4-igbinary (3.2.6+2.0.8-6+0~20220131.33+debian10~1.gbp1d540e) ... 2022-07-25 18:23:31,852: DEBUG - Selecting previously unselected package php7.4-redis. 2022-07-25 18:23:31,865: DEBUG - Preparing to unpack .../2-php7.4-redis_5.3.7+4.3.0-1+0~20220330.42+debian10~1.gbp6fe8b7_arm64.deb ... 2022-07-25 18:23:31,874: DEBUG - Unpacking php7.4-redis (5.3.7+4.3.0-1+0~20220330.42+debian10~1.gbp6fe8b7) ... 2022-07-25 18:23:31,956: DEBUG - Selecting previously unselected package libtidy5deb1:arm64. 2022-07-25 18:23:31,969: DEBUG - Preparing to unpack .../3-libtidy5deb1_2%3a5.6.0-10_arm64.deb ... 2022-07-25 18:23:31,980: DEBUG - Unpacking libtidy5deb1:arm64 (2:5.6.0-10) ... 2022-07-25 18:23:32,067: DEBUG - Selecting previously unselected package php7.4. 2022-07-25 18:23:32,079: DEBUG - Preparing to unpack .../4-php7.4_1%3a7.4.30-3+0~20220627.69+debian10~1.gbpf2b381_all.deb ... 2022-07-25 18:23:32,085: DEBUG - Unpacking php7.4 (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:32,153: DEBUG - Selecting previously unselected package php7.4-curl. 2022-07-25 18:23:32,167: DEBUG - Preparing to unpack .../5-php7.4-curl_1%3a7.4.30-3+0~20220627.69+debian10~1.gbpf2b381_arm64.deb ... 2022-07-25 18:23:32,178: DEBUG - Unpacking php7.4-curl (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:32,244: DEBUG - Selecting previously unselected package php7.4-mysql. 2022-07-25 18:23:32,257: DEBUG - Preparing to unpack .../6-php7.4-mysql_1%3a7.4.30-3+0~20220627.69+debian10~1.gbpf2b381_arm64.deb ... 2022-07-25 18:23:32,266: DEBUG - Unpacking php7.4-mysql (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:32,350: DEBUG - Selecting previously unselected package php7.4-tidy. 2022-07-25 18:23:32,362: DEBUG - Preparing to unpack .../7-php7.4-tidy_1%3a7.4.30-3+0~20220627.69+debian10~1.gbpf2b381_arm64.deb ... 2022-07-25 18:23:32,372: DEBUG - Unpacking php7.4-tidy (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:32,463: DEBUG - Setting up php7.4-curl (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:32,476: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:32,735: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:32,824: DEBUG - 2022-07-25 18:23:32,825: DEBUG - Creating config file /etc/php/7.4/mods-available/curl.ini with new version 2022-07-25 18:23:32,936: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:33,132: DEBUG - Setting up php7.4-mysql (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:33,145: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:33,399: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:33,486: DEBUG - 2022-07-25 18:23:33,487: DEBUG - Creating config file /etc/php/7.4/mods-available/mysqlnd.ini with new version 2022-07-25 18:23:33,597: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:33,783: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:34,040: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:34,127: DEBUG - 2022-07-25 18:23:34,127: DEBUG - Creating config file /etc/php/7.4/mods-available/mysqli.ini with new version 2022-07-25 18:23:34,241: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:34,426: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:34,684: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:34,775: DEBUG - 2022-07-25 18:23:34,775: DEBUG - Creating config file /etc/php/7.4/mods-available/pdo_mysql.ini with new version 2022-07-25 18:23:34,883: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:35,075: DEBUG - Setting up php7.4-fpm (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:35,107: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:35,365: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:35,455: DEBUG - 2022-07-25 18:23:35,456: DEBUG - Creating config file /etc/php/7.4/fpm/php.ini with new version 2022-07-25 18:23:35,566: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:37,241: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/php7.4-fpm.service -> /lib/systemd/system/php7.4-fpm.service. 2022-07-25 18:23:38,759: DEBUG - Setting up php7.4 (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:38,773: DEBUG - Setting up php7.4-igbinary (3.2.6+2.0.8-6+0~20220131.33+debian10~1.gbp1d540e) ... 2022-07-25 18:23:38,926: DEBUG - Setting up libtidy5deb1:arm64 (2:5.6.0-10) ... 2022-07-25 18:23:38,938: DEBUG - Setting up php7.4-tidy (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:38,950: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:39,210: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:39,305: DEBUG - 2022-07-25 18:23:39,306: DEBUG - Creating config file /etc/php/7.4/mods-available/tidy.ini with new version 2022-07-25 18:23:39,416: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor 2022-07-25 18:23:39,607: DEBUG - Setting up php7.4-redis (5.3.7+4.3.0-1+0~20220330.42+debian10~1.gbp6fe8b7) ... 2022-07-25 18:23:39,753: DEBUG - Processing triggers for systemd (241-7~deb10u8) ... 2022-07-25 18:23:40,198: DEBUG - Processing triggers for man-db (2.8.5-2) ... 2022-07-25 18:23:40,269: DEBUG - Processing triggers for libc-bin (2.28-10+deb10u1) ... 2022-07-25 18:23:40,297: DEBUG - Processing triggers for php7.4-cli (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:40,310: DEBUG - Processing triggers for php7.4-fpm (1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381) ... 2022-07-25 18:23:41,266: DEBUG - + [[ -n /tmp/tmp.pM0k90DLZX ]] 2022-07-25 18:23:41,266: DEBUG - + rm --recursive --force /tmp/tmp.pM0k90DLZX 2022-07-25 18:23:41,270: DEBUG - + ynh_package_is_installed wallabag2-ynh-deps 2022-07-25 18:23:41,292: DEBUG - + ynh_wait_dpkg_free 2022-07-25 18:23:41,408: DEBUG - + return 0 2022-07-25 18:23:41,409: DEBUG - + grep --count 'ok installed' 2022-07-25 18:23:41,410: DEBUG - + dpkg-query --show '--showformat=${Status}' wallabag2-ynh-deps 2022-07-25 18:23:41,436: DEBUG - + rm /tmp/wallabag2-ynh-deps.control 2022-07-25 18:23:41,439: DEBUG - + [[ -n 7.4 ]] 2022-07-25 18:23:41,439: DEBUG - + update-alternatives --set php /usr/bin/php7.3 2022-07-25 18:23:41,443: DEBUG - ++ ynh_app_setting_get --app=wallabag2 --key=phpversion 2022-07-25 18:23:41,444: DEBUG - ++ local _globalapp=wallabag2 2022-07-25 18:23:41,513: DEBUG - ++ app=wallabag2 2022-07-25 18:23:41,514: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:41,514: DEBUG - ++ ynh_app_setting get wallabag2 phpversion 2022-07-25 18:23:41,625: DEBUG - + local old_phpversion= 2022-07-25 18:23:41,625: DEBUG - + '[' -n '' ']' 2022-07-25 18:23:41,625: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=phpversion --value=7.4 2022-07-25 18:23:41,626: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:23:41,760: DEBUG - + app=wallabag2 2022-07-25 18:23:41,761: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:41,761: DEBUG - + ynh_app_setting set wallabag2 phpversion 7.4 2022-07-25 18:23:41,875: DEBUG - + yunohost service add php7.4-fpm --log /var/log/php7.4-fpm.log 2022-07-25 18:23:42,356: DEBUG - The service 'php7.4-fpm' was added 2022-07-25 18:23:42,583: DEBUG - + ynh_system_user_create --username=wallabag2 --home_dir=/var/www/wallabag2 2022-07-25 18:23:42,586: INFO - [####+...............] > Configuring system user... 2022-07-25 18:23:42,714: DEBUG - + use_shell=0 2022-07-25 18:23:42,714: DEBUG - + home_dir=/var/www/wallabag2 2022-07-25 18:23:42,714: DEBUG - + groups= 2022-07-25 18:23:42,715: DEBUG - + ynh_system_user_exists wallabag2 2022-07-25 18:23:42,738: DEBUG - + getent passwd wallabag2 2022-07-25 18:23:42,745: DEBUG - + '[' -n /var/www/wallabag2 ']' 2022-07-25 18:23:42,746: DEBUG - + local 'user_home_dir=--home-dir /var/www/wallabag2' 2022-07-25 18:23:42,747: DEBUG - + local 'shell=--shell /usr/sbin/nologin' 2022-07-25 18:23:42,747: DEBUG - + useradd --home-dir /var/www/wallabag2 --system --user-group wallabag2 --shell /usr/sbin/nologin 2022-07-25 18:23:42,909: INFO - [#####...............] > Creating a MySQL database... 2022-07-25 18:23:42,911: DEBUG - ++ ynh_sanitize_dbid --db_name=wallabag2 2022-07-25 18:23:42,938: DEBUG - ++ echo wallabag2 2022-07-25 18:23:42,940: DEBUG - + db_name=wallabag2 2022-07-25 18:23:42,940: DEBUG - + db_user=wallabag2 2022-07-25 18:23:42,940: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=db_name --value=wallabag2 2022-07-25 18:23:42,941: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:23:43,086: DEBUG - + app=wallabag2 2022-07-25 18:23:43,086: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:43,086: DEBUG - + ynh_app_setting set wallabag2 db_name wallabag2 2022-07-25 18:23:43,205: DEBUG - + ynh_mysql_setup_db --db_user=wallabag2 --db_name=wallabag2 2022-07-25 18:23:43,207: DEBUG - + db_pwd= 2022-07-25 18:23:43,295: DEBUG - ++ ynh_string_random 2022-07-25 18:23:43,299: DEBUG - ++ length=24 2022-07-25 18:23:43,301: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p' 2022-07-25 18:23:43,303: DEBUG - ++ tr --complement --delete A-Za-z0-9 2022-07-25 18:23:43,308: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000 2022-07-25 18:23:43,317: DEBUG - + local new_db_pwd=********** 2022-07-25 18:23:43,318: DEBUG - + db_pwd=********** 2022-07-25 18:23:43,318: DEBUG - + ynh_mysql_create_db wallabag2 wallabag2 ********** 2022-07-25 18:23:43,318: DEBUG - + local db=wallabag2 2022-07-25 18:23:43,318: DEBUG - + local 'sql=CREATE DATABASE wallabag2;' 2022-07-25 18:23:43,319: DEBUG - + [[ 3 -gt 1 ]] 2022-07-25 18:23:43,319: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON wallabag2.* TO '\''wallabag2'\''@'\''localhost'\''' 2022-07-25 18:23:43,319: DEBUG - + [[ -n ********** ]] 2022-07-25 18:23:43,320: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\''' 2022-07-25 18:23:43,320: DEBUG - + sql+=' WITH GRANT OPTION;' 2022-07-25 18:23:43,320: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE wallabag2; GRANT ALL PRIVILEGES ON wallabag2.* TO '\''wallabag2'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;' 2022-07-25 18:23:43,360: DEBUG - + database= 2022-07-25 18:23:43,360: DEBUG - + '[' -n '' ']' 2022-07-25 18:23:43,360: DEBUG - + mysql -B '' 2022-07-25 18:23:43,378: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=mysqlpwd --value=********** 2022-07-25 18:23:43,378: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:23:43,521: DEBUG - + app=wallabag2 2022-07-25 18:23:43,522: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:43,522: DEBUG - + ynh_app_setting set wallabag2 mysqlpwd ********** 2022-07-25 18:23:43,793: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=final_path --value=/var/www/wallabag2 2022-07-25 18:23:43,793: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:23:43,796: INFO - [#####++.............] > Setting up source files... 2022-07-25 18:23:43,936: DEBUG - + app=wallabag2 2022-07-25 18:23:43,936: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:43,936: DEBUG - + ynh_app_setting set wallabag2 final_path /var/www/wallabag2 2022-07-25 18:23:44,050: DEBUG - + ynh_setup_source --dest_dir=/var/www/wallabag2 2022-07-25 18:23:44,099: DEBUG - + source_id=app 2022-07-25 18:23:44,099: DEBUG - + keep= 2022-07-25 18:23:44,100: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/app.src 2022-07-25 18:23:44,102: DEBUG - ++ cut --delimiter== --fields=2- 2022-07-25 18:23:44,105: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/app.src 2022-07-25 18:23:44,110: DEBUG - + local src_url=https://static.wallabag.org/releases/wallabag-release-2.4.3.tar.gz 2022-07-25 18:23:44,112: DEBUG - ++ cut --delimiter== --fields=2- 2022-07-25 18:23:44,114: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/app.src 2022-07-25 18:23:44,119: DEBUG - + local src_sum=bba4df940cf1a1ac632e134cbf9b9af8d3c1bf89311b2720cf64179e1b431d3a 2022-07-25 18:23:44,122: DEBUG - ++ cut --delimiter== --fields=2- 2022-07-25 18:23:44,124: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/app.src 2022-07-25 18:23:44,130: DEBUG - + local src_sumprg=sha256sum 2022-07-25 18:23:44,132: DEBUG - ++ cut --delimiter== --fields=2- 2022-07-25 18:23:44,134: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/app.src 2022-07-25 18:23:44,139: DEBUG - + local src_format=tar.gz 2022-07-25 18:23:44,142: DEBUG - ++ cut --delimiter== --fields=2- 2022-07-25 18:23:44,145: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/app.src 2022-07-25 18:23:44,150: DEBUG - + local src_extract=true 2022-07-25 18:23:44,152: DEBUG - ++ cut --delimiter== --fields=2- 2022-07-25 18:23:44,154: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/app.src 2022-07-25 18:23:44,160: DEBUG - + local src_in_subdir=true 2022-07-25 18:23:44,162: DEBUG - ++ cut --delimiter== --fields=2- 2022-07-25 18:23:44,165: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/app.src 2022-07-25 18:23:44,170: DEBUG - + local src_filename= 2022-07-25 18:23:44,170: DEBUG - + src_sumprg=sha256sum 2022-07-25 18:23:44,171: DEBUG - + src_in_subdir=true 2022-07-25 18:23:44,171: DEBUG - + src_format=tar.gz 2022-07-25 18:23:44,173: DEBUG - ++ tr '[:upper:]' '[:lower:]' 2022-07-25 18:23:44,176: DEBUG - ++ echo tar.gz 2022-07-25 18:23:44,179: DEBUG - + src_format=tar.gz 2022-07-25 18:23:44,179: DEBUG - + src_extract=true 2022-07-25 18:23:44,180: DEBUG - + '[' '' = '' ']' 2022-07-25 18:23:44,180: DEBUG - + src_filename=app.tar.gz 2022-07-25 18:23:44,180: DEBUG - + local local_src=/opt/yunohost-apps-src/wallabag2/app.tar.gz 2022-07-25 18:23:44,180: DEBUG - + mkdir -p /var/cache/yunohost/download/wallabag2/ 2022-07-25 18:23:44,184: DEBUG - + src_filename=/var/cache/yunohost/download/wallabag2/app.tar.gz 2022-07-25 18:23:44,184: DEBUG - + test -e /opt/yunohost-apps-src/wallabag2/app.tar.gz 2022-07-25 18:23:44,185: DEBUG - + '[' -n https://static.wallabag.org/releases/wallabag-release-2.4.3.tar.gz ']' 2022-07-25 18:23:44,186: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/wallabag2/app.tar.gz https://static.wallabag.org/releases/wallabag-release-2.4.3.tar.gz 2022-07-25 18:23:50,356: DEBUG - + out='2022-07-25 18:23:50 URL:https://static.wallabag.org/releases/wallabag-release-2.4.3.tar.gz [50113022/50113022] -> "/var/cache/yunohost/download/wallabag2/app.tar.gz" [1]' 2022-07-25 18:23:50,357: DEBUG - + sha256sum --check --status 2022-07-25 18:23:50,716: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/ 2022-07-25 18:23:50,719: DEBUG - + '[' -n '' ']' 2022-07-25 18:23:50,719: DEBUG - + mkdir --parents /var/www/wallabag2 2022-07-25 18:23:50,723: DEBUG - + '[' -n /var/www/wallabag2 ']' 2022-07-25 18:23:50,723: DEBUG - + '[' /var/www/wallabag2 == /var/www/wallabag2 ']' 2022-07-25 18:23:50,723: DEBUG - + _ynh_apply_default_permissions /var/www/wallabag2 2022-07-25 18:23:50,724: DEBUG - + local target=/var/www/wallabag2 2022-07-25 18:23:50,726: DEBUG - ++ tr -d '>= ' 2022-07-25 18:23:50,729: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/manifest.json 2022-07-25 18:23:50,737: DEBUG - + local ynh_requirement=4.3.0 2022-07-25 18:23:50,738: DEBUG - + '[' -z 4.3.0 ']' 2022-07-25 18:23:50,738: DEBUG - + '[' 4.3.0 == null ']' 2022-07-25 18:23:50,739: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2 2022-07-25 18:23:50,743: DEBUG - + chmod o-rwx /var/www/wallabag2 2022-07-25 18:23:50,746: DEBUG - + chmod g-w /var/www/wallabag2 2022-07-25 18:23:50,748: DEBUG - + chown -R root:root /var/www/wallabag2 2022-07-25 18:23:50,756: DEBUG - + ynh_system_user_exists wallabag2 2022-07-25 18:23:50,780: DEBUG - + getent passwd wallabag2 2022-07-25 18:23:50,785: DEBUG - + chown wallabag2:wallabag2 /var/www/wallabag2 2022-07-25 18:23:50,791: DEBUG - + grep -q '^/etc/cron' 2022-07-25 18:23:50,793: DEBUG - + echo /var/www/wallabag2 2022-07-25 18:23:50,798: DEBUG - + true 2022-07-25 18:23:50,798: DEBUG - + '[' tar.gz = zip ']' 2022-07-25 18:23:50,798: DEBUG - + local strip= 2022-07-25 18:23:50,799: DEBUG - + '[' true '!=' false ']' 2022-07-25 18:23:50,799: DEBUG - + '[' true == true ']' 2022-07-25 18:23:50,799: DEBUG - + local sub_dirs=1 2022-07-25 18:23:50,800: DEBUG - + strip='--strip-components 1' 2022-07-25 18:23:50,800: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]] 2022-07-25 18:23:50,800: DEBUG - + tar --extract --file=/var/cache/yunohost/download/wallabag2/app.tar.gz --directory=/var/www/wallabag2 --strip-components 1 2022-07-25 18:23:55,170: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/wallabag2/app.tar.gz 2022-07-25 18:23:55,264: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/sources/patches/ ']' 2022-07-25 18:23:55,266: DEBUG - ++ realpath /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/sources/patches/ 2022-07-25 18:23:55,269: DEBUG - + local patches_folder=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/sources/patches 2022-07-25 18:23:55,272: DEBUG - ++ wc --lines 2022-07-25 18:23:55,273: DEBUG - ++ find /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/sources/patches -type f -name 'app-*.patch' 2022-07-25 18:23:55,283: DEBUG - + (( 3 > 0 )) 2022-07-25 18:23:55,284: DEBUG - + cd /var/www/wallabag2 2022-07-25 18:23:55,285: DEBUG - + for p in $patches_folder/${source_id}-*.patch 2022-07-25 18:23:55,286: DEBUG - + echo /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/sources/patches/app-00-ldap-auth.patch 2022-07-25 18:23:55,286: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/sources/patches/app-00-ldap-auth.patch 2022-07-25 18:23:55,287: DEBUG - + patch --strip=1 2022-07-25 18:23:55,293: DEBUG - patching file app/config/security.yml 2022-07-25 18:23:55,293: DEBUG - Hunk #2 succeeded at 49 with fuzz 2 (offset 3 lines). 2022-07-25 18:23:55,294: DEBUG - patching file app/config/services.yml 2022-07-25 18:23:55,295: DEBUG - Hunk #1 succeeded at 38 (offset -5 lines). 2022-07-25 18:23:55,296: DEBUG - + for p in $patches_folder/${source_id}-*.patch 2022-07-25 18:23:55,297: DEBUG - + echo /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/sources/patches/app-01-logout-success-handler.patch 2022-07-25 18:23:55,297: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/sources/patches/app-01-logout-success-handler.patch 2022-07-25 18:23:55,297: DEBUG - + patch --strip=1 2022-07-25 18:23:55,300: DEBUG - patching file app/config/security.yml 2022-07-25 18:23:55,301: DEBUG - Hunk #1 succeeded at 65 with fuzz 2 (offset 3 lines). 2022-07-25 18:23:55,301: DEBUG - patching file app/config/services.yml 2022-07-25 18:23:55,302: DEBUG - Hunk #1 succeeded at 38 (offset -5 lines). 2022-07-25 18:23:55,303: DEBUG - patching file src/Wallabag/YunoHostBundle/Security/LogoutSuccessHandler.php 2022-07-25 18:23:55,305: DEBUG - + for p in $patches_folder/${source_id}-*.patch 2022-07-25 18:23:55,306: DEBUG - + echo /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/sources/patches/app-02-oauth-workaround.patch 2022-07-25 18:23:55,306: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/sources/patches/app-02-oauth-workaround.patch 2022-07-25 18:23:55,307: DEBUG - + patch --strip=1 2022-07-25 18:23:55,310: DEBUG - patching file vendor/friendsofsymfony/oauth-server-bundle/Storage/OAuthStorage.php 2022-07-25 18:23:55,311: DEBUG - Hunk #1 succeeded at 167 (offset 1 line). 2022-07-25 18:23:55,314: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/sources/extra_files/app 2022-07-25 18:23:55,314: DEBUG - + '[' -n '' ']' 2022-07-25 18:23:55,315: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/ 2022-07-25 18:23:55,486: DEBUG - + ynh_add_nginx_config 2022-07-25 18:23:55,487: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:55,487: DEBUG - + '[' /wallabag '!=' / ']' 2022-07-25 18:23:55,487: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/nginx.conf 2022-07-25 18:23:55,491: INFO - [#######.............] > Configuring NGINX web server... 2022-07-25 18:23:55,637: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/nginx.conf 2022-07-25 18:23:55,643: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:55,714: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf//var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/nginx.conf ']' 2022-07-25 18:23:55,714: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/nginx.conf ']' 2022-07-25 18:23:55,715: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/nginx.conf 2022-07-25 18:23:55,715: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:55,737: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_wallabag2.conf 2022-07-25 18:23:55,739: DEBUG - ++ ynh_app_setting_get --app=wallabag2 --key=checksum__etc_nginx_conf.d_maindomain.tld.d_wallabag2.conf 2022-07-25 18:23:55,740: DEBUG - ++ local _globalapp=wallabag2 2022-07-25 18:23:55,810: DEBUG - ++ app=wallabag2 2022-07-25 18:23:55,810: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_wallabag2.conf =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:55,811: DEBUG - ++ ynh_app_setting get wallabag2 checksum__etc_nginx_conf.d_maindomain.tld.d_wallabag2.conf 2022-07-25 18:23:55,975: DEBUG - + local checksum_value= 2022-07-25 18:23:55,975: DEBUG - + backup_file_checksum= 2022-07-25 18:23:55,975: DEBUG - + '[' -n '' ']' 2022-07-25 18:23:55,976: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:55,980: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:55,983: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:55,987: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:55,992: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:55,992: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:55,994: DEBUG - ++ tr -d '>= ' 2022-07-25 18:23:55,997: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/manifest.json 2022-07-25 18:23:56,010: DEBUG - + local ynh_requirement=4.3.0 2022-07-25 18:23:56,010: DEBUG - + '[' -z 4.3.0 ']' 2022-07-25 18:23:56,011: DEBUG - + '[' 4.3.0 == null ']' 2022-07-25 18:23:56,011: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2 2022-07-25 18:23:56,017: DEBUG - + chmod o-rwx /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,019: DEBUG - + chmod g-w /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,022: DEBUG - + chown -R root:root /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,026: DEBUG - + ynh_system_user_exists wallabag2 2022-07-25 18:23:56,049: DEBUG - + getent passwd wallabag2 2022-07-25 18:23:56,053: DEBUG - + chown wallabag2:wallabag2 /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,057: DEBUG - + grep -q '^/etc/cron' 2022-07-25 18:23:56,061: DEBUG - + echo /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,063: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,086: DEBUG - + test -n /wallabag 2022-07-25 18:23:56,087: DEBUG - + local path_url_slash_less=/wallabag 2022-07-25 18:23:56,087: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/wallabag/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,228: DEBUG - + sed --in-place s@__PATH__/@/wallabag/@g /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,232: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/wallabag --target_file=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,372: DEBUG - + sed --in-place s@__PATH__@/wallabag@g /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,377: DEBUG - + test -n wallabag2 2022-07-25 18:23:56,377: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=wallabag2 --target_file=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,518: DEBUG - + sed --in-place s@__NAME__@wallabag2@g /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,523: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=wallabag2 --target_file=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,663: DEBUG - + sed --in-place s@__NAMETOCHANGE__@wallabag2@g /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,668: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=wallabag2 --target_file=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,809: DEBUG - + sed --in-place s@__USER__@wallabag2@g /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,814: DEBUG - + test -n /var/www/wallabag2 2022-07-25 18:23:56,814: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/wallabag2 --target_file=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,956: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/wallabag2@g /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:56,961: DEBUG - + test -n 7.4 2022-07-25 18:23:56,962: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:57,112: DEBUG - + sed --in-place s@__PHPVERSION__@7.4@g /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:57,117: DEBUG - + test -n '' 2022-07-25 18:23:57,117: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g")) 2022-07-25 18:23:57,120: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g' 2022-07-25 18:23:57,121: DEBUG - ++ sort --unique 2022-07-25 18:23:57,126: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:57,135: DEBUG - + local delimit=@ 2022-07-25 18:23:57,135: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:57,137: DEBUG - + update_only=0 2022-07-25 18:23:57,176: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_wallabag2.conf 2022-07-25 18:23:57,179: DEBUG - ++ cut '--delimiter= ' --fields=1 2022-07-25 18:23:57,182: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/wallabag2.conf 2022-07-25 18:23:57,189: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=checksum__etc_nginx_conf.d_maindomain.tld.d_wallabag2.conf --value=90e15c5ba204ebb9766addcf0db45508 2022-07-25 18:23:57,189: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:23:57,332: DEBUG - + app=wallabag2 2022-07-25 18:23:57,332: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_wallabag2.conf =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:57,333: DEBUG - + ynh_app_setting set wallabag2 checksum__etc_nginx_conf.d_maindomain.tld.d_wallabag2.conf 90e15c5ba204ebb9766addcf0db45508 2022-07-25 18:23:57,448: DEBUG - + '[' -n '' ']' 2022-07-25 18:23:57,448: DEBUG - + unset backup_file_checksum 2022-07-25 18:23:57,448: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload 2022-07-25 18:23:57,627: DEBUG - + service_name=nginx 2022-07-25 18:23:57,627: DEBUG - + action=reload 2022-07-25 18:23:57,628: DEBUG - + line_match= 2022-07-25 18:23:57,628: DEBUG - + length=20 2022-07-25 18:23:57,628: DEBUG - + log_path=/var/log/nginx/nginx.log 2022-07-25 18:23:57,628: DEBUG - + timeout=300 2022-07-25 18:23:57,629: DEBUG - + '[' reload == stop ']' 2022-07-25 18:23:57,629: DEBUG - + '[' reload == reload ']' 2022-07-25 18:23:57,630: DEBUG - + action=reload-or-restart 2022-07-25 18:23:57,630: DEBUG - + systemctl reload-or-restart nginx 2022-07-25 18:23:58,092: DEBUG - + ynh_add_fpm_config --phpversion=7.4 2022-07-25 18:23:58,095: INFO - [#######+............] > Configuring PHP-FPM... 2022-07-25 18:23:58,198: DEBUG - + package= 2022-07-25 18:23:58,198: DEBUG - + use_template=1 2022-07-25 18:23:58,198: DEBUG - + usage= 2022-07-25 18:23:58,199: DEBUG - + footprint= 2022-07-25 18:23:58,199: DEBUG - + '[' -n '' ']' 2022-07-25 18:23:58,199: DEBUG - + '[' -n '' ']' 2022-07-25 18:23:58,199: DEBUG - + dedicated_service=0 2022-07-25 18:23:58,200: DEBUG - + phpversion=7.4 2022-07-25 18:23:58,201: DEBUG - ++ ynh_app_setting_get --app=wallabag2 --key=phpversion 2022-07-25 18:23:58,202: DEBUG - ++ local _globalapp=wallabag2 2022-07-25 18:23:58,271: DEBUG - ++ app=wallabag2 2022-07-25 18:23:58,271: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:58,271: DEBUG - ++ ynh_app_setting get wallabag2 phpversion 2022-07-25 18:23:58,388: DEBUG - + local old_phpversion=7.4 2022-07-25 18:23:58,389: DEBUG - + '[' -n 7.4 ']' 2022-07-25 18:23:58,389: DEBUG - + '[' 7.4 '!=' 7.4 ']' 2022-07-25 18:23:58,389: DEBUG - + '[' -n '' ']' 2022-07-25 18:23:58,390: DEBUG - + local fpm_service=php7.4-fpm 2022-07-25 18:23:58,390: DEBUG - + local fpm_config_dir=/etc/php/7.4/fpm 2022-07-25 18:23:58,391: DEBUG - + mkdir --parents /etc/php/7.4/fpm/pool.d 2022-07-25 18:23:58,395: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=fpm_config_dir --value=/etc/php/7.4/fpm 2022-07-25 18:23:58,396: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:23:58,535: DEBUG - + app=wallabag2 2022-07-25 18:23:58,535: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:58,535: DEBUG - + ynh_app_setting set wallabag2 fpm_config_dir /etc/php/7.4/fpm 2022-07-25 18:23:58,653: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=fpm_service --value=php7.4-fpm 2022-07-25 18:23:58,653: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:23:58,790: DEBUG - + app=wallabag2 2022-07-25 18:23:58,790: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:58,790: DEBUG - + ynh_app_setting set wallabag2 fpm_service php7.4-fpm 2022-07-25 18:23:58,909: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=fpm_dedicated_service --value=0 2022-07-25 18:23:58,909: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:23:59,041: DEBUG - + app=wallabag2 2022-07-25 18:23:59,041: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:59,042: DEBUG - + ynh_app_setting set wallabag2 fpm_dedicated_service 0 2022-07-25 18:23:59,160: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=phpversion --value=7.4 2022-07-25 18:23:59,160: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:23:59,295: DEBUG - + app=wallabag2 2022-07-25 18:23:59,296: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:59,296: DEBUG - + ynh_app_setting set wallabag2 phpversion 7.4 2022-07-25 18:23:59,418: DEBUG - + local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/php-fpm.conf 2022-07-25 18:23:59,418: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/php-fpm.conf ']' 2022-07-25 18:23:59,418: DEBUG - + local finalphpconf=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,418: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/php-fpm.conf --destination=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,484: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf//var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/php-fpm.conf ']' 2022-07-25 18:23:59,484: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/php-fpm.conf ']' 2022-07-25 18:23:59,488: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/php-fpm.conf 2022-07-25 18:23:59,488: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,512: DEBUG - + local checksum_setting_name=checksum__etc_php_7.4_fpm_pool.d_wallabag2.conf 2022-07-25 18:23:59,514: DEBUG - ++ ynh_app_setting_get --app=wallabag2 --key=checksum__etc_php_7.4_fpm_pool.d_wallabag2.conf 2022-07-25 18:23:59,515: DEBUG - ++ local _globalapp=wallabag2 2022-07-25 18:23:59,590: DEBUG - ++ app=wallabag2 2022-07-25 18:23:59,590: DEBUG - ++ [[ checksum__etc_php_7.4_fpm_pool.d_wallabag2.conf =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:23:59,591: DEBUG - ++ ynh_app_setting get wallabag2 checksum__etc_php_7.4_fpm_pool.d_wallabag2.conf 2022-07-25 18:23:59,708: DEBUG - + local checksum_value= 2022-07-25 18:23:59,708: DEBUG - + backup_file_checksum= 2022-07-25 18:23:59,709: DEBUG - + '[' -n '' ']' 2022-07-25 18:23:59,709: DEBUG - + touch /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,712: DEBUG - + chown root:root /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,715: DEBUG - + chmod 640 /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,717: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/php-fpm.conf /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,722: DEBUG - + _ynh_apply_default_permissions /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,722: DEBUG - + local target=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,724: DEBUG - ++ tr -d '>= ' 2022-07-25 18:23:59,728: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/manifest.json 2022-07-25 18:23:59,736: DEBUG - + local ynh_requirement=4.3.0 2022-07-25 18:23:59,736: DEBUG - + '[' -z 4.3.0 ']' 2022-07-25 18:23:59,737: DEBUG - + '[' 4.3.0 == null ']' 2022-07-25 18:23:59,737: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2 2022-07-25 18:23:59,741: DEBUG - + chmod o-rwx /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,744: DEBUG - + chmod g-w /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,746: DEBUG - + chown -R root:root /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,750: DEBUG - + ynh_system_user_exists wallabag2 2022-07-25 18:23:59,773: DEBUG - + getent passwd wallabag2 2022-07-25 18:23:59,776: DEBUG - + chown wallabag2:wallabag2 /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,780: DEBUG - + grep -q '^/etc/cron' 2022-07-25 18:23:59,782: DEBUG - + echo /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,786: DEBUG - + ynh_replace_vars --file=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,808: DEBUG - + test -n /wallabag 2022-07-25 18:23:59,809: DEBUG - + local path_url_slash_less=/wallabag 2022-07-25 18:23:59,809: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/wallabag/ --target_file=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,944: DEBUG - + sed --in-place s@__PATH__/@/wallabag/@g /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:23:59,949: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/wallabag --target_file=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,087: DEBUG - + sed --in-place s@__PATH__@/wallabag@g /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,092: DEBUG - + test -n wallabag2 2022-07-25 18:24:00,092: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=wallabag2 --target_file=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,234: DEBUG - + sed --in-place s@__NAME__@wallabag2@g /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,239: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=wallabag2 --target_file=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,379: DEBUG - + sed --in-place s@__NAMETOCHANGE__@wallabag2@g /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,384: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=wallabag2 --target_file=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,523: DEBUG - + sed --in-place s@__USER__@wallabag2@g /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,528: DEBUG - + test -n /var/www/wallabag2 2022-07-25 18:24:00,529: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/wallabag2 --target_file=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,670: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/wallabag2@g /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,675: DEBUG - + test -n 7.4 2022-07-25 18:24:00,675: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,817: DEBUG - + sed --in-place s@__PHPVERSION__@7.4@g /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,822: DEBUG - + test -n '' 2022-07-25 18:24:00,822: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g")) 2022-07-25 18:24:00,825: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g' 2022-07-25 18:24:00,826: DEBUG - ++ sort --unique 2022-07-25 18:24:00,830: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,839: DEBUG - + local delimit=@ 2022-07-25 18:24:00,840: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,842: DEBUG - + update_only=0 2022-07-25 18:24:00,881: DEBUG - + local checksum_setting_name=checksum__etc_php_7.4_fpm_pool.d_wallabag2.conf 2022-07-25 18:24:00,884: DEBUG - ++ cut '--delimiter= ' --fields=1 2022-07-25 18:24:00,886: DEBUG - ++ md5sum /etc/php/7.4/fpm/pool.d/wallabag2.conf 2022-07-25 18:24:00,893: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=checksum__etc_php_7.4_fpm_pool.d_wallabag2.conf --value=274af6efdf6d0fedb5486b6975760459 2022-07-25 18:24:00,893: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:24:01,041: DEBUG - + app=wallabag2 2022-07-25 18:24:01,041: DEBUG - + [[ checksum__etc_php_7.4_fpm_pool.d_wallabag2.conf =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:24:01,042: DEBUG - + ynh_app_setting set wallabag2 checksum__etc_php_7.4_fpm_pool.d_wallabag2.conf 274af6efdf6d0fedb5486b6975760459 2022-07-25 18:24:01,161: DEBUG - + '[' -n '' ']' 2022-07-25 18:24:01,162: DEBUG - + unset backup_file_checksum 2022-07-25 18:24:01,162: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/php-fpm.ini ']' 2022-07-25 18:24:01,163: DEBUG - + php-fpm7.4 --test 2022-07-25 18:24:01,296: DEBUG - + ynh_systemd_action --service_name=php7.4-fpm --action=reload 2022-07-25 18:24:01,475: DEBUG - + service_name=php7.4-fpm 2022-07-25 18:24:01,475: DEBUG - + action=reload 2022-07-25 18:24:01,475: DEBUG - + line_match= 2022-07-25 18:24:01,476: DEBUG - + length=20 2022-07-25 18:24:01,476: DEBUG - + log_path=/var/log/php7.4-fpm/php7.4-fpm.log 2022-07-25 18:24:01,476: DEBUG - + timeout=300 2022-07-25 18:24:01,477: DEBUG - + '[' reload == stop ']' 2022-07-25 18:24:01,477: DEBUG - + '[' reload == reload ']' 2022-07-25 18:24:01,478: DEBUG - + action=reload-or-restart 2022-07-25 18:24:01,478: DEBUG - + systemctl reload-or-restart php7.4-fpm 2022-07-25 18:24:01,794: DEBUG - + wb_conf=/var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:01,794: DEBUG - + cp /var/www/wallabag2/app/config/parameters.yml.dist /var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:01,794: INFO - [########++++++++++..] > Configuring wallabag... 2022-07-25 18:24:01,800: DEBUG - + ynh_replace_string '--match_string=fosuser_registration: true' '--replace_string=fosuser_registration: false' --target_file=/var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:01,952: DEBUG - + sed --in-place 's@fosuser_registration: true@fosuser_registration: false@g' /var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:01,957: DEBUG - + ynh_replace_string '--match_string=database_name: wallabag' '--replace_string=database_name: wallabag2' --target_file=/var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:02,109: DEBUG - + sed --in-place 's@database_name: wallabag@database_name: wallabag2@g' /var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:02,114: DEBUG - + ynh_replace_string '--match_string=database_user: root' '--replace_string=database_user: wallabag2' --target_file=/var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:02,273: DEBUG - + sed --in-place 's@database_user: root@database_user: wallabag2@g' /var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:02,279: DEBUG - + ynh_replace_string '--match_string=database_password: ~' '--replace_string=database_password: **********' --target_file=/var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:02,459: DEBUG - + sed --in-place 's@database_password: ~@database_password: **********@g' /var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:02,466: DEBUG - + ynh_replace_string '--match_string=database_table_prefix: wallabag_' '--replace_string=database_table_prefix: null' --target_file=/var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:02,647: DEBUG - + sed --in-place 's@database_table_prefix: wallabag_@database_table_prefix: null@g' /var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:02,652: DEBUG - ++ ynh_string_random --length=24 2022-07-25 18:24:02,680: DEBUG - ++ length=24 2022-07-25 18:24:02,681: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p' 2022-07-25 18:24:02,682: DEBUG - ++ tr --complement --delete A-Za-z0-9 2022-07-25 18:24:02,688: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000 2022-07-25 18:24:02,699: DEBUG - + deskey=********** 2022-07-25 18:24:02,700: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=deskey --value=********** 2022-07-25 18:24:02,700: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:24:02,850: DEBUG - + app=wallabag2 2022-07-25 18:24:02,850: DEBUG - + [[ deskey =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:24:02,850: DEBUG - + ynh_app_setting set wallabag2 deskey ********** 2022-07-25 18:24:02,972: DEBUG - + ynh_replace_string '--match_string=secret: ovmpmAWXRCabNlMgzlzFXDYmCFfzGv' '--replace_string=secret: **********' --target_file=/var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:03,107: DEBUG - + sed --in-place 's@secret: ovmpmAWXRCabNlMgzlzFXDYmCFfzGv@secret: **********@g' /var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:03,112: DEBUG - + ynh_replace_string '--match_string=domain_name: https://your-wallabag-url-instance.com' '--replace_string=domain_name: https://maindomain.tld/wallabag' --target_file=/var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:03,255: DEBUG - + sed --in-place 's@domain_name: https://your-wallabag-url-instance.com@domain_name: https://maindomain.tld/wallabag@g' /var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:03,260: DEBUG - + php_exec='ynh_exec_as wallabag2 php7.4 /var/www/wallabag2/bin/console --no-interaction --env=prod' 2022-07-25 18:24:03,261: DEBUG - + chown -R wallabag2: /var/www/wallabag2 2022-07-25 18:24:03,649: DEBUG - + ynh_exec_as wallabag2 php7.4 /var/www/wallabag2/bin/console --no-interaction --env=prod wallabag:install 2022-07-25 18:24:03,649: DEBUG - + local user=wallabag2 2022-07-25 18:24:03,650: DEBUG - + shift 1 2022-07-25 18:24:03,651: DEBUG - ++ whoami 2022-07-25 18:24:03,656: DEBUG - + [[ wallabag2 = root ]] 2022-07-25 18:24:03,656: DEBUG - + sudo -u wallabag2 php7.4 /var/www/wallabag2/bin/console --no-interaction --env=prod wallabag:install 2022-07-25 18:24:06,096: DEBUG - 2022-07-25 18:24:06,097: DEBUG - wallabag installer 2022-07-25 18:24:06,098: DEBUG - ================== 2022-07-25 18:24:06,098: DEBUG - 2022-07-25 18:24:06,099: DEBUG - Step 1 of 4: Checking system requirements. 2022-07-25 18:24:06,099: DEBUG - ------------------------------------------ 2022-07-25 18:24:06,100: DEBUG - 2022-07-25 18:24:06,103: DEBUG - ------------------------ -------- ---------------- 2022-07-25 18:24:06,104: DEBUG - Checked Status Recommendation 2022-07-25 18:24:06,105: DEBUG - ------------------------ -------- ---------------- 2022-07-25 18:24:06,105: DEBUG - PDO Driver (pdo_mysql) OK! 2022-07-25 18:24:06,106: DEBUG - Database connection OK! 2022-07-25 18:24:06,107: DEBUG - Database version OK! 2022-07-25 18:24:06,107: DEBUG - curl_exec OK! 2022-07-25 18:24:06,108: DEBUG - curl_multi_init OK! 2022-07-25 18:24:06,108: DEBUG - ------------------------ -------- ---------------- 2022-07-25 18:24:06,109: DEBUG - 2022-07-25 18:24:06,110: DEBUG - [OK] Success! Your system can run wallabag properly. 2022-07-25 18:24:06,110: DEBUG - 2022-07-25 18:24:06,111: DEBUG - Step 2 of 4: Setting up database. 2022-07-25 18:24:06,113: DEBUG - --------------------------------- 2022-07-25 18:24:06,114: DEBUG - 2022-07-25 18:24:06,119: DEBUG - Creating schema... 2022-07-25 18:24:12,482: DEBUG - Clearing the cache... 2022-07-25 18:24:19,884: DEBUG - 2022-07-25 18:24:19,885: DEBUG - Database successfully setup. 2022-07-25 18:24:19,885: DEBUG - 2022-07-25 18:24:19,886: DEBUG - Step 3 of 4: Administration setup. 2022-07-25 18:24:19,887: DEBUG - ---------------------------------- 2022-07-25 18:24:19,887: DEBUG - 2022-07-25 18:24:19,954: DEBUG - Administration successfully setup. 2022-07-25 18:24:19,955: DEBUG - 2022-07-25 18:24:19,955: DEBUG - Step 4 of 4: Config setup. 2022-07-25 18:24:19,956: DEBUG - -------------------------- 2022-07-25 18:24:19,956: DEBUG - 2022-07-25 18:24:20,002: DEBUG - Config successfully setup. 2022-07-25 18:24:20,002: DEBUG - 2022-07-25 18:24:20,003: DEBUG - [OK] wallabag has been successfully installed. 2022-07-25 18:24:20,003: DEBUG - 2022-07-25 18:24:20,004: DEBUG - [OK] You can now configure your web server, see https://doc.wallabag.org 2022-07-25 18:24:20,004: DEBUG - 2022-07-25 18:24:20,055: DEBUG - ++ ynh_user_list 2022-07-25 18:24:20,057: DEBUG - ++ jq -r '.users | keys[]' 2022-07-25 18:24:20,060: DEBUG - ++ yunohost user list --output-as json --quiet 2022-07-25 18:24:20,882: DEBUG - + for username in $(ynh_user_list) 2022-07-25 18:24:20,883: DEBUG - ++ ynh_user_get_info --username=cippr --key=mail 2022-07-25 18:24:20,955: DEBUG - ++ jq -r .mail 2022-07-25 18:24:20,958: DEBUG - ++ yunohost user info cippr --output-as json --quiet 2022-07-25 18:24:21,909: DEBUG - + user_email=cippr@maindomain.tld 2022-07-25 18:24:21,911: DEBUG - ++ ynh_string_random 2022-07-25 18:24:21,916: DEBUG - ++ length=24 2022-07-25 18:24:21,918: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p' 2022-07-25 18:24:21,919: DEBUG - ++ tr --complement --delete A-Za-z0-9 2022-07-25 18:24:21,924: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000 2022-07-25 18:24:21,932: DEBUG - + user_pass=********** 2022-07-25 18:24:21,933: DEBUG - + ynh_exec_as wallabag2 php7.4 /var/www/wallabag2/bin/console --no-interaction --env=prod fos:user:create cippr cippr@maindomain.tld ********** 2022-07-25 18:24:21,933: DEBUG - + local user=wallabag2 2022-07-25 18:24:21,934: DEBUG - + shift 1 2022-07-25 18:24:21,935: DEBUG - ++ whoami 2022-07-25 18:24:21,939: DEBUG - + [[ wallabag2 = root ]] 2022-07-25 18:24:21,939: DEBUG - + sudo -u wallabag2 php7.4 /var/www/wallabag2/bin/console --no-interaction --env=prod fos:user:create cippr cippr@maindomain.tld ********** 2022-07-25 18:24:22,455: DEBUG - Created user cippr 2022-07-25 18:24:22,479: DEBUG - + ynh_exec_as wallabag2 php7.4 /var/www/wallabag2/bin/console --no-interaction --env=prod fos:user:promote --super cippr 2022-07-25 18:24:22,479: DEBUG - + local user=wallabag2 2022-07-25 18:24:22,479: DEBUG - + shift 1 2022-07-25 18:24:22,481: DEBUG - ++ whoami 2022-07-25 18:24:22,484: DEBUG - + [[ wallabag2 = root ]] 2022-07-25 18:24:22,485: DEBUG - + sudo -u wallabag2 php7.4 /var/www/wallabag2/bin/console --no-interaction --env=prod fos:user:promote --super cippr 2022-07-25 18:24:22,893: DEBUG - User "cippr" has been promoted as a super administrator. This change will not apply until the user logs out and back in again. 2022-07-25 18:24:22,917: DEBUG - + ynh_mysql_connect_as --user=wallabag2 --password=********** --database=wallabag2 2022-07-25 18:24:23,047: DEBUG - + database=wallabag2 2022-07-25 18:24:23,047: DEBUG - + mysql --user=wallabag2 --password=********** --batch wallabag2 2022-07-25 18:24:23,080: DEBUG - + ynh_replace_string --match_string=__APP__ --replace_string=wallabag2 --target_file=../hooks/post_user_create 2022-07-25 18:24:23,219: DEBUG - + sed --in-place s@__APP__@wallabag2@g ../hooks/post_user_create 2022-07-25 18:24:23,225: DEBUG - + ynh_replace_string --match_string=__APP__ --replace_string=wallabag2 --target_file=../hooks/post_user_delete 2022-07-25 18:24:23,363: DEBUG - + sed --in-place s@__APP__@wallabag2@g ../hooks/post_user_delete 2022-07-25 18:24:23,368: DEBUG - + set_permissions 2022-07-25 18:24:23,369: DEBUG - + chown -R wallabag2:www-data /var/www/wallabag2 2022-07-25 18:24:23,712: DEBUG - + chmod -R g=u,g-w,o-rwx /var/www/wallabag2 2022-07-25 18:24:23,988: DEBUG - + chmod 600 /var/www/wallabag2/app/config/parameters.yml 2022-07-25 18:24:23,991: DEBUG - + '[' -e /var/www/wallabag2/var/cache/prod/appProdProjectContainer.php ']' 2022-07-25 18:24:23,991: DEBUG - + chmod 700 /var/www/wallabag2/var/cache/prod/appProdProjectContainer.php 2022-07-25 18:24:24,092: DEBUG - + mkdir -p /var/www/wallabag2/var/logs/ 2022-07-25 18:24:24,092: INFO - [##################+.] > Configuring Fail2Ban... 2022-07-25 18:24:24,097: DEBUG - + touch /var/www/wallabag2/var/logs/prod.log 2022-07-25 18:24:24,100: DEBUG - + chown wallabag2: /var/www/wallabag2/var/logs/prod.log 2022-07-25 18:24:24,104: DEBUG - + ynh_add_fail2ban_config --logpath=/var/www/wallabag2/var/logs/prod.log '--failregex=app.ERROR: Authentication failure for user "([\w]+)?", from IP "<HOST>"' --max_retry=5 2022-07-25 18:24:24,373: DEBUG - + max_retry=5 2022-07-25 18:24:24,373: DEBUG - + ports=http,https 2022-07-25 18:24:24,374: DEBUG - + others_var= 2022-07-25 18:24:24,374: DEBUG - + use_template=0 2022-07-25 18:24:24,374: DEBUG - + [[ -z '' ]] 2022-07-25 18:24:24,374: DEBUG - + '[' 0 -ne 1 ']' 2022-07-25 18:24:24,375: DEBUG - + test -n /var/www/wallabag2/var/logs/prod.log 2022-07-25 18:24:24,375: DEBUG - + test -n 'app.ERROR: Authentication failure for user "([\w]+)?", from IP "<HOST>"' 2022-07-25 18:24:24,376: DEBUG - [__APP__] 2022-07-25 18:24:24,376: DEBUG - enabled = true 2022-07-25 18:24:24,376: DEBUG - port = __PORTS__ 2022-07-25 18:24:24,376: DEBUG - filter = __APP__ 2022-07-25 18:24:24,377: DEBUG - logpath = __LOGPATH__ 2022-07-25 18:24:24,377: DEBUG - maxretry = __MAX_RETRY__ 2022-07-25 18:24:24,377: DEBUG - ' 2022-07-25 18:24:24,378: DEBUG - [INCLUDES] 2022-07-25 18:24:24,378: DEBUG - before = common.conf 2022-07-25 18:24:24,378: DEBUG - [Definition] 2022-07-25 18:24:24,379: DEBUG - failregex = __FAILREGEX__ 2022-07-25 18:24:24,379: DEBUG - ignoreregex = 2022-07-25 18:24:24,379: DEBUG - ' 2022-07-25 18:24:24,379: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/f2b_jail.conf --destination=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,448: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf//var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/f2b_jail.conf ']' 2022-07-25 18:24:24,448: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/f2b_jail.conf ']' 2022-07-25 18:24:24,448: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/f2b_jail.conf 2022-07-25 18:24:24,449: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,471: DEBUG - + local checksum_setting_name=checksum__etc_fail2ban_jail.d_wallabag2.conf 2022-07-25 18:24:24,472: DEBUG - ++ ynh_app_setting_get --app=wallabag2 --key=checksum__etc_fail2ban_jail.d_wallabag2.conf 2022-07-25 18:24:24,473: DEBUG - ++ local _globalapp=wallabag2 2022-07-25 18:24:24,559: DEBUG - ++ app=wallabag2 2022-07-25 18:24:24,560: DEBUG - ++ [[ checksum__etc_fail2ban_jail.d_wallabag2.conf =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:24:24,560: DEBUG - ++ ynh_app_setting get wallabag2 checksum__etc_fail2ban_jail.d_wallabag2.conf 2022-07-25 18:24:24,684: DEBUG - + local checksum_value= 2022-07-25 18:24:24,684: DEBUG - + backup_file_checksum= 2022-07-25 18:24:24,685: DEBUG - + '[' -n '' ']' 2022-07-25 18:24:24,685: DEBUG - + touch /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,688: DEBUG - + chown root:root /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,691: DEBUG - + chmod 640 /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,693: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/f2b_jail.conf /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,697: DEBUG - + _ynh_apply_default_permissions /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,698: DEBUG - + local target=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,700: DEBUG - ++ tr -d '>= ' 2022-07-25 18:24:24,702: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/manifest.json 2022-07-25 18:24:24,712: DEBUG - + local ynh_requirement=4.3.0 2022-07-25 18:24:24,712: DEBUG - + '[' -z 4.3.0 ']' 2022-07-25 18:24:24,712: DEBUG - + '[' 4.3.0 == null ']' 2022-07-25 18:24:24,713: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2 2022-07-25 18:24:24,717: DEBUG - + chmod o-rwx /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,719: DEBUG - + chmod g-w /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,722: DEBUG - + chown -R root:root /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,726: DEBUG - + ynh_system_user_exists wallabag2 2022-07-25 18:24:24,749: DEBUG - + getent passwd wallabag2 2022-07-25 18:24:24,752: DEBUG - + chown wallabag2:wallabag2 /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,756: DEBUG - + grep -q '^/etc/cron' 2022-07-25 18:24:24,758: DEBUG - + echo /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,762: DEBUG - + ynh_replace_vars --file=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,785: DEBUG - + test -n /wallabag 2022-07-25 18:24:24,785: DEBUG - + local path_url_slash_less=/wallabag 2022-07-25 18:24:24,786: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/wallabag/ --target_file=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,921: DEBUG - + sed --in-place s@__PATH__/@/wallabag/@g /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:24,925: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/wallabag --target_file=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,064: DEBUG - + sed --in-place s@__PATH__@/wallabag@g /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,068: DEBUG - + test -n wallabag2 2022-07-25 18:24:25,069: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=wallabag2 --target_file=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,207: DEBUG - + sed --in-place s@__NAME__@wallabag2@g /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,211: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=wallabag2 --target_file=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,351: DEBUG - + sed --in-place s@__NAMETOCHANGE__@wallabag2@g /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,355: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=wallabag2 --target_file=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,493: DEBUG - + sed --in-place s@__USER__@wallabag2@g /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,497: DEBUG - + test -n /var/www/wallabag2 2022-07-25 18:24:25,498: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/wallabag2 --target_file=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,655: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/wallabag2@g /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,659: DEBUG - + test -n 7.4 2022-07-25 18:24:25,660: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,798: DEBUG - + sed --in-place s@__PHPVERSION__@7.4@g /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,802: DEBUG - + test -n '' 2022-07-25 18:24:25,803: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g")) 2022-07-25 18:24:25,806: DEBUG - ++ sort --unique 2022-07-25 18:24:25,806: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g' 2022-07-25 18:24:25,813: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,819: DEBUG - + local delimit=@ 2022-07-25 18:24:25,820: DEBUG - + for one_var in "${uniques_vars[@]}" 2022-07-25 18:24:25,820: DEBUG - + [[ -v app ]] 2022-07-25 18:24:25,820: DEBUG - + match_string=__APP__ 2022-07-25 18:24:25,821: DEBUG - + match_string=__APP__ 2022-07-25 18:24:25,821: DEBUG - + replace_string=wallabag2 2022-07-25 18:24:25,821: DEBUG - + replace_string=wallabag2 2022-07-25 18:24:25,822: DEBUG - + replace_string=wallabag2 2022-07-25 18:24:25,822: DEBUG - + sed --in-place s@__APP__@wallabag2@g /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,826: DEBUG - + for one_var in "${uniques_vars[@]}" 2022-07-25 18:24:25,826: DEBUG - + [[ -v logpath ]] 2022-07-25 18:24:25,827: DEBUG - + match_string=__LOGPATH__ 2022-07-25 18:24:25,827: DEBUG - + match_string=__LOGPATH__ 2022-07-25 18:24:25,827: DEBUG - + replace_string=/var/www/wallabag2/var/logs/prod.log 2022-07-25 18:24:25,828: DEBUG - + replace_string=/var/www/wallabag2/var/logs/prod.log 2022-07-25 18:24:25,828: DEBUG - + replace_string=/var/www/wallabag2/var/logs/prod.log 2022-07-25 18:24:25,828: DEBUG - + sed --in-place s@__LOGPATH__@/var/www/wallabag2/var/logs/prod.log@g /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,832: DEBUG - + for one_var in "${uniques_vars[@]}" 2022-07-25 18:24:25,833: DEBUG - + [[ -v max_retry ]] 2022-07-25 18:24:25,833: DEBUG - + match_string=__MAX_RETRY__ 2022-07-25 18:24:25,833: DEBUG - + match_string=__MAX_RETRY__ 2022-07-25 18:24:25,834: DEBUG - + replace_string=5 2022-07-25 18:24:25,834: DEBUG - + replace_string=5 2022-07-25 18:24:25,834: DEBUG - + replace_string=5 2022-07-25 18:24:25,834: DEBUG - + sed --in-place s@__MAX_RETRY__@5@g /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,839: DEBUG - + for one_var in "${uniques_vars[@]}" 2022-07-25 18:24:25,839: DEBUG - + [[ -v ports ]] 2022-07-25 18:24:25,839: DEBUG - + match_string=__PORTS__ 2022-07-25 18:24:25,840: DEBUG - + match_string=__PORTS__ 2022-07-25 18:24:25,840: DEBUG - + replace_string=http,https 2022-07-25 18:24:25,840: DEBUG - + replace_string=http,https 2022-07-25 18:24:25,840: DEBUG - + replace_string=http,https 2022-07-25 18:24:25,841: DEBUG - + sed --in-place s@__PORTS__@http,https@g /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,845: DEBUG - + ynh_store_file_checksum --file=/etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,847: DEBUG - + update_only=0 2022-07-25 18:24:25,885: DEBUG - + local checksum_setting_name=checksum__etc_fail2ban_jail.d_wallabag2.conf 2022-07-25 18:24:25,888: DEBUG - ++ cut '--delimiter= ' --fields=1 2022-07-25 18:24:25,890: DEBUG - ++ md5sum /etc/fail2ban/jail.d/wallabag2.conf 2022-07-25 18:24:25,896: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=checksum__etc_fail2ban_jail.d_wallabag2.conf --value=ece9a6cf0b21a299c550af90697fead6 2022-07-25 18:24:25,897: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:24:26,036: DEBUG - + app=wallabag2 2022-07-25 18:24:26,036: DEBUG - + [[ checksum__etc_fail2ban_jail.d_wallabag2.conf =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:24:26,037: DEBUG - + ynh_app_setting set wallabag2 checksum__etc_fail2ban_jail.d_wallabag2.conf ece9a6cf0b21a299c550af90697fead6 2022-07-25 18:24:26,155: DEBUG - + '[' -n '' ']' 2022-07-25 18:24:26,155: DEBUG - + unset backup_file_checksum 2022-07-25 18:24:26,156: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/f2b_filter.conf --destination=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,223: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf//var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/f2b_filter.conf ']' 2022-07-25 18:24:26,223: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/f2b_filter.conf ']' 2022-07-25 18:24:26,224: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/f2b_filter.conf 2022-07-25 18:24:26,224: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,246: DEBUG - + local checksum_setting_name=checksum__etc_fail2ban_filter.d_wallabag2.conf 2022-07-25 18:24:26,247: DEBUG - ++ ynh_app_setting_get --app=wallabag2 --key=checksum__etc_fail2ban_filter.d_wallabag2.conf 2022-07-25 18:24:26,248: DEBUG - ++ local _globalapp=wallabag2 2022-07-25 18:24:26,318: DEBUG - ++ app=wallabag2 2022-07-25 18:24:26,318: DEBUG - ++ [[ checksum__etc_fail2ban_filter.d_wallabag2.conf =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:24:26,318: DEBUG - ++ ynh_app_setting get wallabag2 checksum__etc_fail2ban_filter.d_wallabag2.conf 2022-07-25 18:24:26,430: DEBUG - + local checksum_value= 2022-07-25 18:24:26,430: DEBUG - + backup_file_checksum= 2022-07-25 18:24:26,430: DEBUG - + '[' -n '' ']' 2022-07-25 18:24:26,431: DEBUG - + touch /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,434: DEBUG - + chown root:root /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,437: DEBUG - + chmod 640 /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,439: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/conf/f2b_filter.conf /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,443: DEBUG - + _ynh_apply_default_permissions /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,444: DEBUG - + local target=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,446: DEBUG - ++ tr -d '>= ' 2022-07-25 18:24:26,449: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_7supbbrq/manifest.json 2022-07-25 18:24:26,457: DEBUG - + local ynh_requirement=4.3.0 2022-07-25 18:24:26,458: DEBUG - + '[' -z 4.3.0 ']' 2022-07-25 18:24:26,458: DEBUG - + '[' 4.3.0 == null ']' 2022-07-25 18:24:26,458: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2 2022-07-25 18:24:26,462: DEBUG - + chmod o-rwx /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,465: DEBUG - + chmod g-w /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,468: DEBUG - + chown -R root:root /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,471: DEBUG - + ynh_system_user_exists wallabag2 2022-07-25 18:24:26,495: DEBUG - + getent passwd wallabag2 2022-07-25 18:24:26,498: DEBUG - + chown wallabag2:wallabag2 /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,501: DEBUG - + grep -q '^/etc/cron' 2022-07-25 18:24:26,505: DEBUG - + echo /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,508: DEBUG - + ynh_replace_vars --file=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,531: DEBUG - + test -n /wallabag 2022-07-25 18:24:26,531: DEBUG - + local path_url_slash_less=/wallabag 2022-07-25 18:24:26,532: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/wallabag/ --target_file=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,671: DEBUG - + sed --in-place s@__PATH__/@/wallabag/@g /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,675: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/wallabag --target_file=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,813: DEBUG - + sed --in-place s@__PATH__@/wallabag@g /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,817: DEBUG - + test -n wallabag2 2022-07-25 18:24:26,818: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=wallabag2 --target_file=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,956: DEBUG - + sed --in-place s@__NAME__@wallabag2@g /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:26,961: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=wallabag2 --target_file=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,101: DEBUG - + sed --in-place s@__NAMETOCHANGE__@wallabag2@g /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,106: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=wallabag2 --target_file=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,256: DEBUG - + sed --in-place s@__USER__@wallabag2@g /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,260: DEBUG - + test -n /var/www/wallabag2 2022-07-25 18:24:27,261: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/wallabag2 --target_file=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,399: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/wallabag2@g /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,403: DEBUG - + test -n 7.4 2022-07-25 18:24:27,404: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,542: DEBUG - + sed --in-place s@__PHPVERSION__@7.4@g /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,546: DEBUG - + test -n '' 2022-07-25 18:24:27,547: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g")) 2022-07-25 18:24:27,549: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g' 2022-07-25 18:24:27,550: DEBUG - ++ sort --unique 2022-07-25 18:24:27,556: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,563: DEBUG - + local delimit=@ 2022-07-25 18:24:27,563: DEBUG - + for one_var in "${uniques_vars[@]}" 2022-07-25 18:24:27,563: DEBUG - + [[ -v failregex ]] 2022-07-25 18:24:27,564: DEBUG - + match_string=__FAILREGEX__ 2022-07-25 18:24:27,564: DEBUG - + match_string=__FAILREGEX__ 2022-07-25 18:24:27,564: DEBUG - + replace_string='app.ERROR: Authentication failure for user "([\w]+)?", from IP "<HOST>"' 2022-07-25 18:24:27,565: DEBUG - + replace_string='app.ERROR: Authentication failure for user "([\\w]+)?", from IP "<HOST>"' 2022-07-25 18:24:27,565: DEBUG - + replace_string='app.ERROR: Authentication failure for user "([\\w]+)?", from IP "<HOST>"' 2022-07-25 18:24:27,565: DEBUG - + sed --in-place 's@__FAILREGEX__@app.ERROR: Authentication failure for user "([\\w]+)?", from IP "<HOST>"@g' /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,570: DEBUG - + ynh_store_file_checksum --file=/etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,572: DEBUG - + update_only=0 2022-07-25 18:24:27,610: DEBUG - + local checksum_setting_name=checksum__etc_fail2ban_filter.d_wallabag2.conf 2022-07-25 18:24:27,613: DEBUG - ++ cut '--delimiter= ' --fields=1 2022-07-25 18:24:27,617: DEBUG - ++ md5sum /etc/fail2ban/filter.d/wallabag2.conf 2022-07-25 18:24:27,622: DEBUG - + ynh_app_setting_set --app=wallabag2 --key=checksum__etc_fail2ban_filter.d_wallabag2.conf --value=cbb3279a8a8372043354c5a8f222c486 2022-07-25 18:24:27,622: DEBUG - + local _globalapp=wallabag2 2022-07-25 18:24:27,763: DEBUG - + app=wallabag2 2022-07-25 18:24:27,763: DEBUG - + [[ checksum__etc_fail2ban_filter.d_wallabag2.conf =~ (unprotected|protected|skipped)_ ]] 2022-07-25 18:24:27,763: DEBUG - + ynh_app_setting set wallabag2 checksum__etc_fail2ban_filter.d_wallabag2.conf cbb3279a8a8372043354c5a8f222c486 2022-07-25 18:24:27,879: DEBUG - + '[' -n '' ']' 2022-07-25 18:24:27,880: DEBUG - + unset backup_file_checksum 2022-07-25 18:24:27,880: DEBUG - + ynh_systemd_action --service_name=fail2ban --action=reload '--line_match=(Started|Reloaded) Fail2Ban Service' --log_path=systemd 2022-07-25 18:24:28,203: DEBUG - + service_name=fail2ban 2022-07-25 18:24:28,203: DEBUG - + action=reload 2022-07-25 18:24:28,204: DEBUG - + line_match='(Started|Reloaded) Fail2Ban Service' 2022-07-25 18:24:28,204: DEBUG - + length=20 2022-07-25 18:24:28,204: DEBUG - + log_path=systemd 2022-07-25 18:24:28,204: DEBUG - + timeout=300 2022-07-25 18:24:28,205: DEBUG - + '[' reload == stop ']' 2022-07-25 18:24:28,205: DEBUG - + [[ -n (Started|Reloaded) Fail2Ban Service ]] 2022-07-25 18:24:28,206: DEBUG - ++ mktemp 2022-07-25 18:24:28,212: DEBUG - + local templog=/tmp/tmp.5CTgvCXwDP 2022-07-25 18:24:28,213: DEBUG - + '[' systemd == systemd ']' 2022-07-25 18:24:28,213: DEBUG - + local pid_tail=5025 2022-07-25 18:24:28,214: DEBUG - + '[' reload == reload ']' 2022-07-25 18:24:28,214: DEBUG - + action=reload-or-restart 2022-07-25 18:24:28,214: DEBUG - + systemctl reload-or-restart fail2ban 2022-07-25 18:24:28,216: DEBUG - + journalctl --unit=fail2ban --follow --since=-0 --quiet 2022-07-25 18:24:28,567: DEBUG - + [[ -n (Started|Reloaded) Fail2Ban Service ]] 2022-07-25 18:24:29,603: DEBUG - + break 2022-07-25 18:24:29,603: DEBUG - + '[' 2 -ge 3 ']' 2022-07-25 18:24:29,603: DEBUG - + '[' 2 -eq 300 ']' 2022-07-25 18:24:29,604: DEBUG - + ynh_clean_check_starting 2022-07-25 18:24:29,604: DEBUG - + '[' -n 5025 ']' 2022-07-25 18:24:29,604: DEBUG - + kill -SIGTERM 5025 2022-07-25 18:24:29,605: DEBUG - + '[' -n /tmp/tmp.5CTgvCXwDP ']' 2022-07-25 18:24:29,605: DEBUG - + ynh_secure_remove --file=/tmp/tmp.5CTgvCXwDP 2022-07-25 18:24:29,607: INFO - The service fail2ban has correctly executed the action reload-or-restart. 2022-07-25 18:24:29,653: DEBUG - ++ grep 'WARNING.*wallabag2.*' 2022-07-25 18:24:29,654: DEBUG - ++ tail --lines=50 2022-07-25 18:24:29,660: DEBUG - ++ journalctl --no-hostname --unit=fail2ban 2022-07-25 18:24:29,680: DEBUG - + local fail2ban_error= 2022-07-25 18:24:29,795: DEBUG - + ynh_permission_update --permission=main --add=visitors 2022-07-25 18:24:29,799: INFO - [###################.] > Configuring permissions... 2022-07-25 18:24:30,013: DEBUG - + add=visitors 2022-07-25 18:24:30,013: DEBUG - + remove= 2022-07-25 18:24:30,014: DEBUG - + label= 2022-07-25 18:24:30,014: DEBUG - + show_tile= 2022-07-25 18:24:30,014: DEBUG - + protected= 2022-07-25 18:24:30,014: DEBUG - + [[ -n visitors ]] 2022-07-25 18:24:30,015: DEBUG - + add=',add=['\''visitors'\'']' 2022-07-25 18:24:30,016: DEBUG - + yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''wallabag2.main'\'' ,add=['\''visitors'\''] , force=True)' 2022-07-25 18:24:31,919: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload 2022-07-25 18:24:31,923: INFO - [###################.] > Reloading NGINX web server... 2022-07-25 18:24:32,134: DEBUG - + service_name=nginx 2022-07-25 18:24:32,135: DEBUG - + action=reload 2022-07-25 18:24:32,135: DEBUG - + line_match= 2022-07-25 18:24:32,135: DEBUG - + length=20 2022-07-25 18:24:32,136: DEBUG - + log_path=/var/log/nginx/nginx.log 2022-07-25 18:24:32,136: DEBUG - + timeout=300 2022-07-25 18:24:32,136: DEBUG - + '[' reload == stop ']' 2022-07-25 18:24:32,137: DEBUG - + '[' reload == reload ']' 2022-07-25 18:24:32,137: DEBUG - + action=reload-or-restart 2022-07-25 18:24:32,138: DEBUG - + systemctl reload-or-restart nginx 2022-07-25 18:24:32,592: DEBUG - + ynh_exit_properly 2022-07-25 18:24:32,593: INFO - [####################] > Installation of wallabag2 completed 2022-07-25 18:24:33,605: DEBUG - Checking that required services are up and running... 2022-07-25 18:24:35,532: SUCCESS - Installation terminée