@OniriCorpe
ended_at: 2024-02-11 19:13:58.056743
env:
YNH_APP_ACTION: upgrade
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf
YNH_APP_CURRENT_VERSION: 1.6.0~ynh4
YNH_APP_ID: roundcube
YNH_APP_INSTANCE_NAME: roundcube
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_APP_MANIFEST_VERSION: 1.6.6~ynh1
YNH_APP_PACKAGING_FORMAT: ‘2.0’
YNH_APP_UPGRADE_TYPE: UPGRADE_APP
YNH_ARCH: amd64
YNH_DEBIAN_VERSION: bullseye
error: An error occurred inside the app upgrade script
interface: api
operation: app_upgrade
parent: null
related_to:
-
- app
- roundcube
started_at: 2024-02-11 19:12:21.264759
success: false
yunohost_version: 11.2.10
============
2024-02-11 19:12:21,335: INFO - Provisioning sources…
2024-02-11 19:12:21,336: DEBUG - Prefetching asset main: https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz …
2024-02-11 19:12:22,617: INFO - Updating system_user…
2024-02-11 19:12:22,867: INFO - Updating install_dir…
2024-02-11 19:12:22,891: INFO - Provisioning permissions…
2024-02-11 19:12:23,084: DEBUG - Nothing to update in LDAP
2024-02-11 19:12:23,126: DEBUG - Permission ‘roundcube.main’ updated
2024-02-11 19:12:23,127: DEBUG - Full log of this operation: ‘Update accesses for permission ‘roundcube’’
2024-02-11 19:12:23,352: DEBUG - Nothing to update in LDAP
2024-02-11 19:12:23,353: DEBUG - Permission ‘roundcube.main’ updated
2024-02-11 19:12:23,389: DEBUG - Full log of this operation: ‘Update URL related to permission ‘roundcube’’
2024-02-11 19:12:23,511: DEBUG - The permission database has been resynchronized
2024-02-11 19:12:23,635: DEBUG - SSOwat configuration regenerated
2024-02-11 19:12:23,657: INFO - Provisioning apt…
2024-02-11 19:12:23,780: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./provision_or_update_apt” 7>&1’]’
2024-02-11 19:12:23,841: DEBUG - + source /usr/share/yunohost/helpers
2024-02-11 19:12:23,850: DEBUG - +++ set +o
2024-02-11 19:12:23,852: DEBUG - +++ grep xtrace
2024-02-11 19:12:23,865: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2024-02-11 19:12:23,865: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2024-02-11 19:12:23,907: DEBUG - + ynh_abort_if_errors
2024-02-11 19:12:23,908: DEBUG - + trap ynh_exit_properly EXIT
2024-02-11 19:12:23,908: DEBUG - + ynh_install_app_dependencies mariadb-server php-pear php8.1-ldap php8.1-mysql php8.1-cli php8.1-intl php8.1-zip php8.1-gd php8.1-mbstring php8.1-dom php8.1-curl
2024-02-11 19:12:23,908: DEBUG - + local ‘dependencies=mariadb-server php-pear php8.1-ldap php8.1-mysql php8.1-cli php8.1-intl php8.1-zip php8.1-gd php8.1-mbstring php8.1-dom php8.1-curl’
2024-02-11 19:12:23,915: DEBUG - ++ echo ‘mariadb-server php-pear php8.1-ldap php8.1-mysql php8.1-cli php8.1-intl php8.1-zip php8.1-gd php8.1-mbstring php8.1-dom php8.1-curl’
2024-02-11 19:12:23,917: DEBUG - ++ sed ‘s/([^<=>])\ ([^(])/\1, \2/g’
2024-02-11 19:12:23,923: DEBUG - + dependencies=‘mariadb-server, php-pear, php8.1-ldap, php8.1-mysql, php8.1-cli, php8.1-intl, php8.1-zip, php8.1-gd, php8.1-mbstring, php8.1-dom, php8.1-curl’
2024-02-11 19:12:23,923: DEBUG - + local ‘dependencies=mariadb-server, php-pear, php8.1-ldap, php8.1-mysql, php8.1-cli, php8.1-intl, php8.1-zip, php8.1-gd, php8.1-mbstring, php8.1-dom, php8.1-curl’
2024-02-11 19:12:23,925: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-02-11 19:12:24,018: DEBUG - ++ ‘[’ ‘!’ -e ‘’ ‘]’
2024-02-11 19:12:24,018: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_7lztatnz/manifest.json ‘]’
2024-02-11 19:12:24,018: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_7lztatnz/manifest.json
2024-02-11 19:12:24,020: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_7lztatnz/manifest.json
2024-02-11 19:12:24,020: DEBUG - ++ grep -q ‘.json$’
2024-02-11 19:12:24,025: DEBUG - ++ jq .version /var/cache/yunohost/app_tmp_work_dirs/app_7lztatnz/manifest.json --raw-output
2024-02-11 19:12:24,079: DEBUG - + local version=1.6.0~ynh4
2024-02-11 19:12:24,079: DEBUG - + ‘[’ -z 1.6.0~ynh4 ‘]’
2024-02-11 19:12:24,079: DEBUG - + ‘[’ 1.6.0~ynh4 == null ‘]’
2024-02-11 19:12:24,079: DEBUG - + local dep_app=roundcube
2024-02-11 19:12:24,079: DEBUG - + [[ mariadb-server, php-pear, php8.1-ldap, php8.1-mysql, php8.1-cli, php8.1-intl, php8.1-zip, php8.1-gd, php8.1-mbstring, php8.1-dom, php8.1-curl =~ [<=>] ]]
2024-02-11 19:12:24,084: DEBUG - ++ echo mariadb-server, php-pear, php8.1-ldap, php8.1-mysql, php8.1-cli, php8.1-intl, php8.1-zip, php8.1-gd, php8.1-mbstring, php8.1-dom, php8.1-curl
2024-02-11 19:12:24,087: DEBUG - ++ grep -oP ‘(?<=php)[0-9.]+(?=-|>|)’
2024-02-11 19:12:24,090: DEBUG - ++ sort -u
2024-02-11 19:12:24,098: DEBUG - + local specific_php_version=8.1
2024-02-11 19:12:24,099: DEBUG - + [[ -n 8.1 ]]
2024-02-11 19:12:24,105: DEBUG - ++ wc -l
2024-02-11 19:12:24,105: DEBUG - ++ echo 8.1
2024-02-11 19:12:24,111: DEBUG - + [[ 1 -eq 1 ]]
2024-02-11 19:12:24,112: DEBUG - + dependencies+=‘, php8.1, php8.1-fpm, php8.1-common’
2024-02-11 19:12:24,112: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-02-11 19:12:24,113: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:12:24,293: DEBUG - ++ app=roundcube
2024-02-11 19:12:24,293: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped) ]]
2024-02-11 19:12:24,293: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-02-11 19:12:24,397: DEBUG - + local old_phpversion=7.4
2024-02-11 19:12:24,397: DEBUG - + ‘[’ -n 7.4 ‘]’
2024-02-11 19:12:24,398: DEBUG - + ‘[’ 7.4 ‘!=’ 8.1 ‘]’
2024-02-11 19:12:24,398: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_config_dir
2024-02-11 19:12:24,398: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:12:24,558: DEBUG - ++ app=roundcube
2024-02-11 19:12:24,558: DEBUG - ++ [[ fpm_config_dir =~ (unprotected|protected|skipped) ]]
2024-02-11 19:12:24,558: DEBUG - ++ ynh_app_setting get roundcube fpm_config_dir
2024-02-11 19:12:24,641: DEBUG - + local old_php_fpm_config_dir=/etc/php/7.4/fpm
2024-02-11 19:12:24,641: DEBUG - + local old_php_finalphpconf=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-02-11 19:12:24,641: DEBUG - + [[ -f /etc/php/7.4/fpm/pool.d/roundcube.conf ]]
2024-02-11 19:12:24,641: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-02-11 19:12:24,691: DEBUG - + local checksum_setting_name=checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-02-11 19:12:24,691: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-02-11 19:12:24,692: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:12:24,865: DEBUG - ++ app=roundcube
2024-02-11 19:12:24,865: DEBUG - ++ [[ checksum__etc_php_7.4_fpm_pool.d_roundcube.conf =~ (unprotected|protected|skipped) ]]
2024-02-11 19:12:24,870: DEBUG - ++ ynh_app_setting get roundcube checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-02-11 19:12:24,967: DEBUG - + local checksum_value=b14b19c02f46a5a0dcab99b46b8d8f4f
2024-02-11 19:12:24,967: DEBUG - + backup_file_checksum=
2024-02-11 19:12:24,967: DEBUG - + ‘[’ -n b14b19c02f46a5a0dcab99b46b8d8f4f ‘]’
2024-02-11 19:12:24,967: DEBUG - + ‘[’ -e /etc/php/7.4/fpm/pool.d/roundcube.conf ‘]’
2024-02-11 19:12:24,972: DEBUG - + md5sum --check --status
2024-02-11 19:12:24,976: DEBUG - + ynh_remove_fpm_config
2024-02-11 19:12:24,981: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_config_dir
2024-02-11 19:12:24,982: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:12:25,159: DEBUG - ++ app=roundcube
2024-02-11 19:12:25,159: DEBUG - ++ [[ fpm_config_dir =~ (unprotected|protected|skipped) ]]
2024-02-11 19:12:25,159: DEBUG - ++ ynh_app_setting get roundcube fpm_config_dir
2024-02-11 19:12:25,228: DEBUG - + local fpm_config_dir=/etc/php/7.4/fpm
2024-02-11 19:12:25,232: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_service
2024-02-11 19:12:25,232: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:12:25,379: DEBUG - ++ app=roundcube
2024-02-11 19:12:25,380: DEBUG - ++ [[ fpm_service =~ (unprotected|protected|skipped) ]]
2024-02-11 19:12:25,380: DEBUG - ++ ynh_app_setting get roundcube fpm_service
2024-02-11 19:12:25,455: DEBUG - + local fpm_service=php7.4-fpm
2024-02-11 19:12:25,455: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_dedicated_service
2024-02-11 19:12:25,456: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:12:25,631: DEBUG - ++ app=roundcube
2024-02-11 19:12:25,632: DEBUG - ++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped) ]]
2024-02-11 19:12:25,632: DEBUG - ++ ynh_app_setting get roundcube fpm_dedicated_service
2024-02-11 19:12:25,703: DEBUG - + local dedicated_service=0
2024-02-11 19:12:25,703: DEBUG - + dedicated_service=0
2024-02-11 19:12:25,704: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-02-11 19:12:25,704: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:12:25,847: DEBUG - ++ app=roundcube
2024-02-11 19:12:25,847: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped) ]]
2024-02-11 19:12:25,851: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-02-11 19:12:25,928: DEBUG - + local phpversion=7.4
2024-02-11 19:12:25,928: DEBUG - + phpversion=7.4
2024-02-11 19:12:25,928: DEBUG - + ‘[’ -z /etc/php/7.4/fpm ‘]’
2024-02-11 19:12:25,928: DEBUG - + ynh_secure_remove --file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-02-11 19:12:26,017: DEBUG - + ‘[’ -e /etc/php/7.4/fpm/conf.d/20-roundcube.ini ‘]’
2024-02-11 19:12:26,018: DEBUG - + ynh_package_is_installed --package=php7.4-fpm
2024-02-11 19:12:26,063: DEBUG - + ynh_wait_dpkg_free
2024-02-11 19:12:26,264: DEBUG - + return 0
2024-02-11 19:12:26,270: DEBUG - + grep --count ‘ok installed’
2024-02-11 19:12:26,274: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ php7.4-fpm
2024-02-11 19:12:26,293: DEBUG - + ynh_systemd_action --service_name=php7.4-fpm --action=reload
2024-02-11 19:12:26,749: DEBUG - + service_name=php7.4-fpm
2024-02-11 19:12:26,749: DEBUG - + action=reload
2024-02-11 19:12:26,749: DEBUG - + line_match=
2024-02-11 19:12:26,749: DEBUG - + length=20
2024-02-11 19:12:26,749: DEBUG - + log_path=/var/log/php7.4-fpm/php7.4-fpm.log
2024-02-11 19:12:26,749: DEBUG - + timeout=300
2024-02-11 19:12:26,749: DEBUG - + ‘[’ reload == stop ‘]’
2024-02-11 19:12:26,749: DEBUG - + ‘[’ reload == reload ‘]’
2024-02-11 19:12:26,750: DEBUG - + action=reload-or-restart
2024-02-11 19:12:26,755: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-11 19:12:26,759: DEBUG - ++ cut -d+ -f1
2024-02-11 19:12:26,766: DEBUG - + local ‘time_start=2024-02-11 19:12:26 UTC’
2024-02-11 19:12:26,766: DEBUG - + systemctl reload-or-restart php7.4-fpm
2024-02-11 19:12:26,841: DEBUG - + ‘[’ 7.4 ‘!=’ 7.4 ‘]’
2024-02-11 19:12:26,841: DEBUG - + ynh_app_setting_set --app=roundcube --key=phpversion --value=8.1
2024-02-11 19:12:26,841: DEBUG - + local globalapp=roundcube
2024-02-11 19:12:27,317: DEBUG - + app=roundcube
2024-02-11 19:12:27,317: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped) ]]
2024-02-11 19:12:27,317: DEBUG - + ynh_app_setting set roundcube phpversion 8.1
2024-02-11 19:12:27,388: DEBUG - + test -e /usr/bin/php7.4
2024-02-11 19:12:27,388: DEBUG - + update-alternatives --set php /usr/bin/php7.4
2024-02-11 19:12:27,397: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-02-11 19:12:27,450: DEBUG - ++ ynh_wait_dpkg_free
2024-02-11 19:12:27,635: DEBUG - ++ return 0
2024-02-11 19:12:27,636: DEBUG - ++ grep --count ‘ok installed’
2024-02-11 19:12:27,638: DEBUG - ++ dpkg-query --show ‘–showformat=${Status}’ postgresql-13
2024-02-11 19:12:27,669: DEBUG - ++ echo no
2024-02-11 19:12:27,674: DEBUG - + local psql_installed=no
2024-02-11 19:12:27,674: DEBUG - + [[ true == \t\r\u\e ]]
2024-02-11 19:12:27,674: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2024-02-11 19:12:27,674: DEBUG - + cat
2024-02-11 19:12:27,681: DEBUG - + ynh_package_install_from_equivs /tmp/roundcube-ynh-deps.control
2024-02-11 19:12:27,681: DEBUG - + local controlfile=/tmp/roundcube-ynh-deps.control
2024-02-11 19:12:27,688: DEBUG - ++ cut '–delimiter= ’ --fields=2
2024-02-11 19:12:27,692: DEBUG - ++ grep '^Package: ’ /tmp/roundcube-ynh-deps.control
2024-02-11 19:12:27,697: DEBUG - + local pkgname=roundcube-ynh-deps
2024-02-11 19:12:27,703: DEBUG - ++ grep '^Version: ’ /tmp/roundcube-ynh-deps.control
2024-02-11 19:12:27,706: DEBUG - ++ cut ‘–delimiter= ’ --fields=2
2024-02-11 19:12:27,713: DEBUG - + local pkgversion=1.6.0~ynh4
2024-02-11 19:12:27,714: DEBUG - + [[ -z roundcube-ynh-deps ]]
2024-02-11 19:12:27,714: DEBUG - + [[ -z 1.6.0~ynh4 ]]
2024-02-11 19:12:27,714: DEBUG - + ynh_package_update
2024-02-11 19:12:27,714: DEBUG - + ynh_apt update
2024-02-11 19:12:27,714: DEBUG - + ynh_wait_dpkg_free
2024-02-11 19:12:27,909: DEBUG - + return 0
2024-02-11 19:12:27,910: DEBUG - + LC_ALL=C
2024-02-11 19:12:27,910: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-11 19:12:27,910: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-02-11 19:12:28,268: DEBUG - Hit:1 Index of /debian bullseye InRelease
2024-02-11 19:12:28,268: DEBUG - Hit:2 Index of /debian bullseye-updates InRelease
2024-02-11 19:12:28,269: DEBUG - Hit:3 Index of /debian-security bullseye-security InRelease
2024-02-11 19:12:28,269: DEBUG - Hit:4 Index of /debian/ bullseye InRelease
2024-02-11 19:12:28,295: DEBUG - Hit:5 Index of /php/ bullseye InRelease
2024-02-11 19:12:31,974: DEBUG - Reading package lists…
2024-02-11 19:12:32,018: DEBUG - ++ mktemp --directory
2024-02-11 19:12:32,024: DEBUG - + local TMPDIR=/tmp/tmp.1cV77myYrm
2024-02-11 19:12:32,024: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2024-02-11 19:12:32,033: DEBUG - + ynh_wait_dpkg_free
2024-02-11 19:12:32,221: DEBUG - + return 0
2024-02-11 19:12:32,222: DEBUG - + cp /tmp/roundcube-ynh-deps.control /tmp/tmp.1cV77myYrm/control
2024-02-11 19:12:32,237: DEBUG - + cd /tmp/tmp.1cV77myYrm
2024-02-11 19:12:32,237: DEBUG - + LC_ALL=C
2024-02-11 19:12:32,238: DEBUG - + equivs-build ./control
2024-02-11 19:12:32,561: DEBUG - dpkg-buildpackage: info: source package roundcube-ynh-deps
2024-02-11 19:12:32,562: DEBUG - dpkg-buildpackage: info: source version 1.6.0~ynh4
2024-02-11 19:12:32,562: DEBUG - dpkg-buildpackage: info: source distribution unstable
2024-02-11 19:12:32,562: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator root@vps.server.local
2024-02-11 19:12:32,644: DEBUG - dpkg-source --before-build .
2024-02-11 19:12:32,645: DEBUG - dpkg-buildpackage: info: host architecture amd64
2024-02-11 19:12:32,828: DEBUG - debian/rules clean
2024-02-11 19:12:32,841: DEBUG - dh clean
2024-02-11 19:12:33,028: DEBUG - dh_clean
2024-02-11 19:12:33,116: DEBUG - debian/rules binary
2024-02-11 19:12:33,128: DEBUG - dh binary
2024-02-11 19:12:33,250: DEBUG - dh_update_autotools_config
2024-02-11 19:12:33,315: DEBUG - dh_autoreconf
2024-02-11 19:12:33,385: DEBUG - create-stamp debian/debhelper-build-stamp
2024-02-11 19:12:33,385: DEBUG - dh_prep
2024-02-11 19:12:33,448: DEBUG - dh_install
2024-02-11 19:12:33,508: DEBUG - dh_installdocs
2024-02-11 19:12:33,579: DEBUG - dh_installchangelogs
2024-02-11 19:12:33,783: DEBUG - dh_perl
2024-02-11 19:12:33,855: DEBUG - dh_link
2024-02-11 19:12:33,919: DEBUG - dh_strip_nondeterminism
2024-02-11 19:12:34,060: DEBUG - dh_compress
2024-02-11 19:12:34,180: DEBUG - dh_fixperms
2024-02-11 19:12:34,335: DEBUG - dh_missing
2024-02-11 19:12:34,390: DEBUG - dh_installdeb
2024-02-11 19:12:34,448: DEBUG - dh_gencontrol
2024-02-11 19:12:34,668: DEBUG - dh_md5sums
2024-02-11 19:12:34,771: DEBUG - dh_builddeb
2024-02-11 19:12:34,848: DEBUG - dpkg-deb: building package ‘roundcube-ynh-deps’ in ‘…/roundcube-ynh-deps_1.6.0~ynh4_all.deb’.
2024-02-11 19:12:35,030: DEBUG - dpkg-genbuildinfo --build=binary
2024-02-11 19:12:35,594: DEBUG - dpkg-genchanges --build=binary >…/roundcube-ynh-deps_1.6.0~ynh4_amd64.changes
2024-02-11 19:12:35,734: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2024-02-11 19:12:35,739: DEBUG - dpkg-source --after-build .
2024-02-11 19:12:35,929: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2024-02-11 19:12:35,938: DEBUG -
2024-02-11 19:12:35,938: DEBUG - The package has been created.
2024-02-11 19:12:35,938: DEBUG - Attention, the package has been created in the current directory,
2024-02-11 19:12:35,938: DEBUG - not in “…” as indicated by the message above!
2024-02-11 19:12:35,947: DEBUG - + LC_ALL=C
2024-02-11 19:12:35,947: DEBUG - + dpkg --force-depends --install ./roundcube-ynh-deps_1.6.0~ynh4_all.deb
2024-02-11 19:12:35,950: DEBUG - + tee ./dpkg_log
2024-02-11 19:12:36,127: DEBUG - (Reading database … 54619 files and directories currently installed.)
2024-02-11 19:12:36,128: DEBUG - Preparing to unpack …/roundcube-ynh-deps_1.6.0~ynh4_all.deb …
2024-02-11 19:12:36,133: DEBUG - Unpacking roundcube-ynh-deps (1.6.0~ynh4) over (1.6.0~ynh4) …
2024-02-11 19:12:36,175: DEBUG - dpkg: roundcube-ynh-deps: dependency problems, but configuring anyway as you requested:
2024-02-11 19:12:36,176: DEBUG - roundcube-ynh-deps depends on php8.1-ldap; however:
2024-02-11 19:12:36,176: DEBUG - Package php8.1-ldap is not installed.
2024-02-11 19:12:36,176: DEBUG - roundcube-ynh-deps depends on php8.1-mysql; however:
2024-02-11 19:12:36,176: DEBUG - Package php8.1-mysql is not installed.
2024-02-11 19:12:36,176: DEBUG - roundcube-ynh-deps depends on php8.1-intl; however:
2024-02-11 19:12:36,176: DEBUG - Package php8.1-intl is not installed.
2024-02-11 19:12:36,176: DEBUG - roundcube-ynh-deps depends on php8.1-zip; however:
2024-02-11 19:12:36,176: DEBUG - Package php8.1-zip is not installed.
2024-02-11 19:12:36,176: DEBUG - roundcube-ynh-deps depends on php8.1-gd; however:
2024-02-11 19:12:36,176: DEBUG - Package php8.1-gd is not installed.
2024-02-11 19:12:36,176: DEBUG - roundcube-ynh-deps depends on php8.1-curl; however:
2024-02-11 19:12:36,176: DEBUG - Package php8.1-curl is not installed.
2024-02-11 19:12:36,176: DEBUG - roundcube-ynh-deps depends on php8.1; however:
2024-02-11 19:12:36,177: DEBUG - Package php8.1 is not installed.
2024-02-11 19:12:36,177: DEBUG - roundcube-ynh-deps depends on php8.1-fpm; however:
2024-02-11 19:12:36,177: DEBUG - Package php8.1-fpm is not installed.
2024-02-11 19:12:36,177: DEBUG -
2024-02-11 19:12:36,177: DEBUG - Setting up roundcube-ynh-deps (1.6.0~ynh4) …
2024-02-11 19:12:36,192: DEBUG - + ynh_package_install --fix-broken
2024-02-11 19:12:36,192: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2024-02-11 19:12:36,195: DEBUG - + ynh_wait_dpkg_free
2024-02-11 19:12:36,361: DEBUG - + return 0
2024-02-11 19:12:36,362: DEBUG - + LC_ALL=C
2024-02-11 19:12:36,362: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-11 19:12:36,362: 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
2024-02-11 19:12:37,215: DEBUG - Reading package lists…
2024-02-11 19:12:37,443: DEBUG - Building dependency tree…
2024-02-11 19:12:37,444: DEBUG - Reading state information…
2024-02-11 19:12:37,572: DEBUG - Correcting dependencies… Done
2024-02-11 19:12:37,763: DEBUG - The following packages were automatically installed and are no longer required:
2024-02-11 19:12:37,764: DEBUG - php7.4 php7.4-zip
2024-02-11 19:12:37,764: DEBUG - Use ‘apt autoremove’ to remove them.
2024-02-11 19:12:37,765: DEBUG - The following additional packages will be installed:
2024-02-11 19:12:37,766: DEBUG - libapache2-mod-php8.1 php8.1 php8.1-curl php8.1-fpm php8.1-gd php8.1-intl
2024-02-11 19:12:37,766: DEBUG - php8.1-ldap php8.1-mysql php8.1-zip
2024-02-11 19:12:37,767: DEBUG - Recommended packages:
2024-02-11 19:12:37,768: DEBUG - apache2
2024-02-11 19:12:37,806: DEBUG - The following NEW packages will be installed:
2024-02-11 19:12:37,807: DEBUG - libapache2-mod-php8.1 php8.1 php8.1-curl php8.1-fpm php8.1-gd php8.1-intl
2024-02-11 19:12:37,807: DEBUG - php8.1-ldap php8.1-mysql php8.1-zip
2024-02-11 19:12:38,435: DEBUG - 0 upgraded, 9 newly installed, 0 to remove and 1 not upgraded.
2024-02-11 19:12:38,436: DEBUG - Need to get 0 B/3699 kB of archives.
2024-02-11 19:12:38,436: DEBUG - After this operation, 12.7 MB of additional disk space will be used.
2024-02-11 19:12:38,520: DEBUG - Selecting previously unselected package libapache2-mod-php8.1.
2024-02-11 19:12:38,564: DEBUG - (Reading database … 54619 files and directories currently installed.)
2024-02-11 19:12:38,566: DEBUG - Preparing to unpack …/0-libapache2-mod-php8.1_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb …
2024-02-11 19:12:38,567: DEBUG - Unpacking libapache2-mod-php8.1 (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:38,885: DEBUG - Selecting previously unselected package php8.1-fpm.
2024-02-11 19:12:38,885: DEBUG - Preparing to unpack …/1-php8.1-fpm_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb …
2024-02-11 19:12:38,910: DEBUG - Unpacking php8.1-fpm (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:39,284: DEBUG - Selecting previously unselected package php8.1.
2024-02-11 19:12:39,292: DEBUG - Preparing to unpack …/2-php8.1_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_all.deb …
2024-02-11 19:12:39,293: DEBUG - Unpacking php8.1 (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:39,371: DEBUG - Selecting previously unselected package php8.1-curl.
2024-02-11 19:12:39,374: DEBUG - Preparing to unpack …/3-php8.1-curl_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb …
2024-02-11 19:12:39,384: DEBUG - Unpacking php8.1-curl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:39,467: DEBUG - Selecting previously unselected package php8.1-gd.
2024-02-11 19:12:39,475: DEBUG - Preparing to unpack …/4-php8.1-gd_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb …
2024-02-11 19:12:39,485: DEBUG - Unpacking php8.1-gd (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:39,570: DEBUG - Selecting previously unselected package php8.1-intl.
2024-02-11 19:12:39,575: DEBUG - Preparing to unpack …/5-php8.1-intl_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb …
2024-02-11 19:12:39,585: DEBUG - Unpacking php8.1-intl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:39,676: DEBUG - Selecting previously unselected package php8.1-ldap.
2024-02-11 19:12:39,683: DEBUG - Preparing to unpack …/6-php8.1-ldap_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb …
2024-02-11 19:12:39,688: DEBUG - Unpacking php8.1-ldap (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:39,760: DEBUG - Selecting previously unselected package php8.1-mysql.
2024-02-11 19:12:39,765: DEBUG - Preparing to unpack …/7-php8.1-mysql_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb …
2024-02-11 19:12:39,774: DEBUG - Unpacking php8.1-mysql (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:39,867: DEBUG - Selecting previously unselected package php8.1-zip.
2024-02-11 19:12:39,874: DEBUG - Preparing to unpack …/8-php8.1-zip_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb …
2024-02-11 19:12:39,883: DEBUG - Unpacking php8.1-zip (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:39,979: DEBUG - Setting up php8.1-gd (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:40,548: DEBUG -
2024-02-11 19:12:40,548: DEBUG - Creating config file /etc/php/8.1/mods-available/gd.ini with new version
2024-02-11 19:12:41,458: DEBUG - Setting up php8.1-curl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:42,034: DEBUG -
2024-02-11 19:12:42,034: DEBUG - Creating config file /etc/php/8.1/mods-available/curl.ini with new version
2024-02-11 19:12:42,930: DEBUG - Setting up php8.1-fpm (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:43,436: DEBUG -
2024-02-11 19:12:43,436: DEBUG - Creating config file /etc/php/8.1/fpm/php.ini with new version
2024-02-11 19:12:47,797: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/php8.1-fpm.service → /lib/systemd/system/php8.1-fpm.service.
2024-02-11 19:12:50,319: DEBUG - Setting up php8.1-mysql (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:51,256: DEBUG -
2024-02-11 19:12:51,257: DEBUG - Creating config file /etc/php/8.1/mods-available/mysqlnd.ini with new version
2024-02-11 19:12:53,444: DEBUG -
2024-02-11 19:12:53,444: DEBUG - Creating config file /etc/php/8.1/mods-available/mysqli.ini with new version
2024-02-11 19:12:55,581: DEBUG -
2024-02-11 19:12:55,581: DEBUG - Creating config file /etc/php/8.1/mods-available/pdo_mysql.ini with new version
2024-02-11 19:12:57,019: DEBUG - Setting up php8.1-zip (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:57,734: DEBUG -
2024-02-11 19:12:57,734: DEBUG - Creating config file /etc/php/8.1/mods-available/zip.ini with new version
2024-02-11 19:12:59,173: DEBUG - Setting up libapache2-mod-php8.1 (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:12:59,194: DEBUG - Warning: Could not load Apache 2.4 maintainer script helper.
2024-02-11 19:12:59,919: DEBUG -
2024-02-11 19:12:59,919: DEBUG - Creating config file /etc/php/8.1/apache2/php.ini with new version
2024-02-11 19:13:07,613: DEBUG - Setting up php8.1-intl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:13:08,355: DEBUG -
2024-02-11 19:13:08,355: DEBUG - Creating config file /etc/php/8.1/mods-available/intl.ini with new version
2024-02-11 19:13:09,932: DEBUG - Setting up php8.1-ldap (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:13:10,685: DEBUG -
2024-02-11 19:13:10,686: DEBUG - Creating config file /etc/php/8.1/mods-available/ldap.ini with new version
2024-02-11 19:13:12,170: DEBUG - Setting up php8.1 (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:13:12,173: DEBUG - Processing triggers for man-db (2.9.4-2) …
2024-02-11 19:13:12,277: DEBUG - Processing triggers for php8.1-cli (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:13:12,293: DEBUG - Processing triggers for php8.1-fpm (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:13:16,093: DEBUG - Processing triggers for libapache2-mod-php8.1 (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) …
2024-02-11 19:13:16,106: DEBUG - Warning: Could not load Apache 2.4 maintainer script helper.
2024-02-11 19:13:16,546: DEBUG - + [[ -n /tmp/tmp.1cV77myYrm ]]
2024-02-11 19:13:16,546: DEBUG - + rm --recursive --force /tmp/tmp.1cV77myYrm
2024-02-11 19:13:16,555: DEBUG - + ynh_package_is_installed roundcube-ynh-deps
2024-02-11 19:13:16,634: DEBUG - + ynh_wait_dpkg_free
2024-02-11 19:13:16,861: DEBUG - + return 0
2024-02-11 19:13:16,867: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ roundcube-ynh-deps
2024-02-11 19:13:16,869: DEBUG - + grep --count ‘ok installed’
2024-02-11 19:13:16,910: DEBUG - + rm /tmp/roundcube-ynh-deps.control
2024-02-11 19:13:16,930: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-02-11 19:13:17,028: DEBUG - ++ ynh_wait_dpkg_free
2024-02-11 19:13:17,242: DEBUG - ++ return 0
2024-02-11 19:13:17,248: DEBUG - ++ dpkg-query --show ‘–showformat=${Status}’ postgresql-13
2024-02-11 19:13:17,253: DEBUG - ++ grep --count ‘ok installed’
2024-02-11 19:13:17,273: DEBUG - ++ echo no
2024-02-11 19:13:17,274: DEBUG - + local psql_installed2=no
2024-02-11 19:13:17,274: DEBUG - + [[ no != \n\o ]]
2024-02-11 19:13:17,274: DEBUG - + ynh_exit_properly
2024-02-11 19:13:17,274: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2024-02-11 19:13:18,275: INFO - Provisioning database…
2024-02-11 19:13:18,691: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./upgrade” 7>&1’]’
2024-02-11 19:13:18,776: DEBUG - + source common.sh
2024-02-11 19:13:18,777: DEBUG - ++ YNH_COMPOSER_VERSION=2.5.5
2024-02-11 19:13:18,777: DEBUG - ++ contextmenu_version=3.3.1
2024-02-11 19:13:18,777: DEBUG - ++ automatic_addressbook_version=v0.4.3
2024-02-11 19:13:18,777: DEBUG - ++ carddav_version=5.0.1
2024-02-11 19:13:18,777: DEBUG - + source /usr/share/yunohost/helpers
2024-02-11 19:13:18,794: DEBUG - +++ set +o
2024-02-11 19:13:18,797: DEBUG - +++ grep xtrace
2024-02-11 19:13:18,805: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2024-02-11 19:13:18,806: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2024-02-11 19:13:18,873: DEBUG - ++ ynh_check_app_version_changed
2024-02-11 19:13:18,873: DEBUG - ++ local return_value=UPGRADE_APP
2024-02-11 19:13:18,874: DEBUG - ++ ‘[’ UPGRADE_APP == UPGRADE_SAME ‘]’
2024-02-11 19:13:18,874: DEBUG - ++ ‘[’ UPGRADE_APP == DOWNGRADE ‘]’
2024-02-11 19:13:18,874: DEBUG - ++ echo UPGRADE_APP
2024-02-11 19:13:18,875: DEBUG - + upgrade_type=UPGRADE_APP
2024-02-11 19:13:19,605: DEBUG - + ‘[’ -z 0 ‘]’
2024-02-11 19:13:19,605: DEBUG - + ‘[’ -z fr_FR ‘]’
2024-02-11 19:13:19,605: DEBUG - + ‘[’ -z low ‘]’
2024-02-11 19:13:19,605: DEBUG - + ‘[’ -z 0 ‘]’
2024-02-11 19:13:19,606: DEBUG - + ‘[’ -z low ‘]’
2024-02-11 19:13:19,607: INFO - […] > Ensuring downward compatibility…
2024-02-11 19:13:19,620: DEBUG - ++ grep RCMAIL_VERSION /var/www/roundcube/program/include/iniset.php
2024-02-11 19:13:19,622: DEBUG - ++ cut ‘-d’'‘’ -f4
2024-02-11 19:13:19,633: DEBUG - + oldversion=1.6.0
2024-02-11 19:13:19,633: DEBUG - + ‘[’ UPGRADE_APP == UPGRADE_APP ‘]’
2024-02-11 19:13:20,260: DEBUG - + ynh_setup_source --dest_dir=/var/www/roundcube
2024-02-11 19:13:20,265: INFO - [+…] > Upgrading source files…
2024-02-11 19:13:20,532: DEBUG - + keep=
2024-02-11 19:13:20,533: DEBUG - + full_replace=0
2024-02-11 19:13:20,533: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:20,545: DEBUG - + toml_to_json
2024-02-11 19:13:20,545: DEBUG - + python3 -c ‘import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-02-11 19:13:20,549: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:20,560: DEBUG - + jq -e .resources.sources
2024-02-11 19:13:20,626: DEBUG - + source_id=main
2024-02-11 19:13:20,643: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:20,651: DEBUG - ++ toml_to_json
2024-02-11 19:13:20,651: DEBUG - ++ python3 -c ‘import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-02-11 19:13:20,654: DEBUG - ++ jq ‘.resources.sources[“main”]’
2024-02-11 19:13:20,724: DEBUG - + local ‘sources_json={
2024-02-11 19:13:20,724: DEBUG - “url”: “https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz”,
2024-02-11 19:13:20,724: DEBUG - “sha256”: “40e4d7505b01f401e757f7439930ed96b1245ffc3863dd326fcf21e0e5847c74”,
2024-02-11 19:13:20,724: DEBUG - “autoupdate”: {
2024-02-11 19:13:20,724: DEBUG - “strategy”: “latest_github_release”
2024-02-11 19:13:20,724: DEBUG - }
2024-02-11 19:13:20,724: DEBUG - }’
2024-02-11 19:13:20,724: DEBUG - + jq -re .url
2024-02-11 19:13:20,775: DEBUG - https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz
2024-02-11 19:13:20,776: DEBUG - + local arch_prefix=
2024-02-11 19:13:20,792: DEBUG - ++ jq -r .url
2024-02-11 19:13:20,800: DEBUG - ++ sed ‘s/^null$//’
2024-02-11 19:13:20,837: DEBUG - + local src_url=https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz
2024-02-11 19:13:20,852: DEBUG - ++ jq -r .sha256
2024-02-11 19:13:20,855: DEBUG - ++ sed ‘s/^null$//’
2024-02-11 19:13:20,902: DEBUG - + local src_sum=40e4d7505b01f401e757f7439930ed96b1245ffc3863dd326fcf21e0e5847c74
2024-02-11 19:13:20,902: DEBUG - + local src_sumprg=sha256sum
2024-02-11 19:13:20,911: DEBUG - ++ jq -r .format
2024-02-11 19:13:20,915: DEBUG - ++ sed ‘s/^null$//’
2024-02-11 19:13:20,963: DEBUG - + local src_format=
2024-02-11 19:13:20,975: DEBUG - ++ jq -r .in_subdir
2024-02-11 19:13:20,980: DEBUG - ++ sed ‘s/^null$//’
2024-02-11 19:13:21,024: DEBUG - + local src_in_subdir=
2024-02-11 19:13:21,044: DEBUG - ++ jq -r .extract
2024-02-11 19:13:21,050: DEBUG - ++ sed ‘s/^null$//’
2024-02-11 19:13:21,093: DEBUG - + local src_extract=
2024-02-11 19:13:21,106: DEBUG - ++ jq -r .platform
2024-02-11 19:13:21,112: DEBUG - ++ sed ‘s/^null$//’
2024-02-11 19:13:21,154: DEBUG - + local src_platform=
2024-02-11 19:13:21,167: DEBUG - ++ jq -r .rename
2024-02-11 19:13:21,173: DEBUG - ++ sed ‘s/^null$//’
2024-02-11 19:13:21,240: DEBUG - + local src_rename=
2024-02-11 19:13:21,240: DEBUG - + [[ -n https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz ]]
2024-02-11 19:13:21,240: DEBUG - + [[ -n 40e4d7505b01f401e757f7439930ed96b1245ffc3863dd326fcf21e0e5847c74 ]]
2024-02-11 19:13:21,240: DEBUG - + [[ -z ‘’ ]]
2024-02-11 19:13:21,241: DEBUG - + [[ https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz =~ ^..zip$ ]]
2024-02-11 19:13:21,241: DEBUG - + [[ https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz =~ ^./zipball/.$ ]]
2024-02-11 19:13:21,241: DEBUG - + [[ https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz =~ ^..tar.gz$ ]]
2024-02-11 19:13:21,241: DEBUG - + src_format=tar.gz
2024-02-11 19:13:21,241: DEBUG - + src_sumprg=sha256sum
2024-02-11 19:13:21,241: DEBUG - + src_in_subdir=true
2024-02-11 19:13:21,241: DEBUG - + src_format=tar.gz
2024-02-11 19:13:21,255: DEBUG - ++ echo tar.gz
2024-02-11 19:13:21,255: DEBUG - ++ tr ‘[:upper:]’ ‘[:lower:]’
2024-02-11 19:13:21,261: DEBUG - + src_format=tar.gz
2024-02-11 19:13:21,261: DEBUG - + src_extract=true
2024-02-11 19:13:21,261: DEBUG - + [[ true != \t\r\u\e ]]
2024-02-11 19:13:21,261: DEBUG - + local local_src=/opt/yunohost-apps-src/roundcube/main
2024-02-11 19:13:21,267: DEBUG - ++ dirname /var/cache/yunohost/download/roundcube/main
2024-02-11 19:13:21,273: DEBUG - + mkdir -p /var/cache/yunohost/download/roundcube
2024-02-11 19:13:21,285: DEBUG - + src_filename=/var/cache/yunohost/download/roundcube/main
2024-02-11 19:13:21,285: DEBUG - + ‘[’ tar.gz = docker ‘]’
2024-02-11 19:13:21,291: DEBUG - + test -e /opt/yunohost-apps-src/roundcube/main
2024-02-11 19:13:21,291: DEBUG - + ‘[’ -n https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz ‘]’
2024-02-11 19:13:21,292: DEBUG - + ‘[’ -e /var/cache/yunohost/download/roundcube/main ‘]’
2024-02-11 19:13:21,298: DEBUG - + sha256sum --check --status
2024-02-11 19:13:21,338: DEBUG - + ‘[’ ‘!’ -e /var/cache/yunohost/download/roundcube/main ‘]’
2024-02-11 19:13:21,347: DEBUG - + sha256sum --check --status
2024-02-11 19:13:21,380: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-02-11 19:13:21,391: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-02-11 19:13:21,391: DEBUG - + mkdir --parents /var/www/roundcube
2024-02-11 19:13:21,402: DEBUG - + ‘[’ -n /var/www/roundcube ‘]’
2024-02-11 19:13:21,403: DEBUG - + ‘[’ /var/www/roundcube == /var/www/roundcube ‘]’
2024-02-11 19:13:21,403: DEBUG - + ynh_apply_default_permissions /var/www/roundcube
2024-02-11 19:13:21,404: DEBUG - + local target=/var/www/roundcube
2024-02-11 19:13:21,415: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-11 19:13:21,421: DEBUG - ++ tr -d ‘<>= ’
2024-02-11 19:13:21,566: DEBUG - ++ ‘[’ ‘!’ -e ‘’ ‘]’
2024-02-11 19:13:21,567: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.json ‘]’
2024-02-11 19:13:21,567: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml ‘]’
2024-02-11 19:13:21,567: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:21,574: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:21,580: DEBUG - ++ grep -q ‘.json$’
2024-02-11 19:13:21,602: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:21,609: DEBUG - ++ python3 -c ‘import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-02-11 19:13:21,612: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-11 19:13:21,724: DEBUG - + local ynh_requirement=null
2024-02-11 19:13:21,724: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-11 19:13:21,734: DEBUG - + chmod o-rwx /var/www/roundcube
2024-02-11 19:13:21,746: DEBUG - + chmod g-w /var/www/roundcube
2024-02-11 19:13:21,757: DEBUG - + chown -R root:root /var/www/roundcube
2024-02-11 19:13:21,822: DEBUG - + ynh_system_user_exists roundcube
2024-02-11 19:13:21,907: DEBUG - + getent passwd roundcube
2024-02-11 19:13:21,941: DEBUG - + chown roundcube:roundcube /var/www/roundcube
2024-02-11 19:13:21,976: DEBUG - + echo /var/www/roundcube
2024-02-11 19:13:21,976: DEBUG - + grep -q ‘^/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system’
2024-02-11 19:13:21,985: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-02-11 19:13:21,985: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-02-11 19:13:21,985: DEBUG - + [[ tar.gz == \d\o\c\k\e\r ]]
2024-02-11 19:13:21,986: DEBUG - + [[ tar.gz == \z\i\p ]]
2024-02-11 19:13:21,986: DEBUG - + local strip=
2024-02-11 19:13:21,986: DEBUG - + ‘[’ true ‘!=’ false ‘]’
2024-02-11 19:13:21,986: DEBUG - + ‘[’ true == true ‘]’
2024-02-11 19:13:21,986: DEBUG - + local sub_dirs=1
2024-02-11 19:13:21,987: DEBUG - + strip=’–strip-components 1’
2024-02-11 19:13:21,987: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2024-02-11 19:13:21,989: DEBUG - + tar --extract --file=/var/cache/yunohost/download/roundcube/main --directory=/var/www/roundcube --strip-components 1
2024-02-11 19:13:22,335: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/roundcube/main
2024-02-11 19:13:22,498: DEBUG - + ‘[’ -d /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/sources/patches/ ‘]’
2024-02-11 19:13:22,505: DEBUG - ++ realpath /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/sources/patches/
2024-02-11 19:13:22,511: DEBUG - + local patches_folder=/var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/sources/patches
2024-02-11 19:13:22,528: DEBUG - ++ find /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/sources/patches -type f -name ‘main-*.patch’
2024-02-11 19:13:22,535: DEBUG - ++ wc --lines
2024-02-11 19:13:22,540: DEBUG - + (( 0 > 0 ))
2024-02-11 19:13:22,541: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/sources/extra_files/main
2024-02-11 19:13:22,541: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-02-11 19:13:22,541: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-02-11 19:13:22,553: DEBUG - + chmod -R o-rwx /var/www/roundcube
2024-02-11 19:13:22,600: DEBUG - + chown -R roundcube:www-data /var/www/roundcube
2024-02-11 19:13:23,318: INFO - [#+…] > Upgrading PHP-FPM configuration…
2024-02-11 19:13:23,319: DEBUG - + ynh_add_fpm_config --usage=low --footprint=low
2024-02-11 19:13:23,319: DEBUG - + local globalphpversion=8.1
2024-02-11 19:13:24,081: DEBUG - + package=
2024-02-11 19:13:24,081: DEBUG - + group=
2024-02-11 19:13:24,081: DEBUG - + local autogenconf=false
2024-02-11 19:13:24,081: DEBUG - + usage=low
2024-02-11 19:13:24,081: DEBUG - + footprint=low
2024-02-11 19:13:24,082: DEBUG - + ‘[’ -n low ‘]’
2024-02-11 19:13:24,082: DEBUG - + autogenconf=true
2024-02-11 19:13:24,082: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_usage
2024-02-11 19:13:24,083: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:13:24,382: DEBUG - ++ app=roundcube
2024-02-11 19:13:24,382: DEBUG - ++ [[ fpm_usage =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:24,382: DEBUG - ++ ynh_app_setting get roundcube fpm_usage
2024-02-11 19:13:24,491: DEBUG - + local fpm_usage_in_setting=low
2024-02-11 19:13:24,491: DEBUG - + ‘[’ -z low ‘]’
2024-02-11 19:13:24,497: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_footprint
2024-02-11 19:13:24,497: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:13:24,772: DEBUG - ++ app=roundcube
2024-02-11 19:13:24,773: DEBUG - ++ [[ fpm_footprint =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:24,773: DEBUG - ++ ynh_app_setting get roundcube fpm_footprint
2024-02-11 19:13:24,884: DEBUG - + local fpm_footprint_in_setting=low
2024-02-11 19:13:24,885: DEBUG - + ‘[’ -z low ‘]’
2024-02-11 19:13:24,885: DEBUG - + dedicated_service=0
2024-02-11 19:13:24,885: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-11 19:13:24,897: DEBUG - + phpversion=8.1
2024-02-11 19:13:24,905: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-02-11 19:13:24,905: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:13:25,198: DEBUG - ++ app=roundcube
2024-02-11 19:13:25,198: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:25,199: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-02-11 19:13:25,299: DEBUG - + local old_phpversion=8.1
2024-02-11 19:13:25,300: DEBUG - + ‘[’ -n 8.1 ‘]’
2024-02-11 19:13:25,300: DEBUG - + ‘[’ 8.1 ‘!=’ 8.1 ‘]’
2024-02-11 19:13:25,300: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-02-11 19:13:25,301: DEBUG - + local fpm_service=php8.1-fpm
2024-02-11 19:13:25,301: DEBUG - + local fpm_config_dir=/etc/php/8.1/fpm
2024-02-11 19:13:25,301: DEBUG - + mkdir --parents /etc/php/8.1/fpm/pool.d
2024-02-11 19:13:25,321: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_config_dir --value=/etc/php/8.1/fpm
2024-02-11 19:13:25,322: DEBUG - + local globalapp=roundcube
2024-02-11 19:13:25,980: DEBUG - + app=roundcube
2024-02-11 19:13:25,981: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:25,981: DEBUG - + ynh_app_setting set roundcube fpm_config_dir /etc/php/8.1/fpm
2024-02-11 19:13:26,078: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_service --value=php8.1-fpm
2024-02-11 19:13:26,078: DEBUG - + local globalapp=roundcube
2024-02-11 19:13:26,692: DEBUG - + app=roundcube
2024-02-11 19:13:26,693: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:26,693: DEBUG - + ynh_app_setting set roundcube fpm_service php8.1-fpm
2024-02-11 19:13:26,779: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_dedicated_service --value=0
2024-02-11 19:13:26,779: DEBUG - + local globalapp=roundcube
2024-02-11 19:13:27,361: DEBUG - + app=roundcube
2024-02-11 19:13:27,361: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:27,361: DEBUG - + ynh_app_setting set roundcube fpm_dedicated_service 0
2024-02-11 19:13:27,453: DEBUG - + ynh_app_setting_set --app=roundcube --key=phpversion --value=8.1
2024-02-11 19:13:27,454: DEBUG - + local globalapp=roundcube
2024-02-11 19:13:28,066: DEBUG - + app=roundcube
2024-02-11 19:13:28,066: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:28,066: DEBUG - + ynh_app_setting set roundcube phpversion 8.1
2024-02-11 19:13:28,157: DEBUG - + ‘[’ true == false ‘]’
2024-02-11 19:13:28,157: DEBUG - + ynh_get_scalable_phpfpm --usage=low --footprint=low
2024-02-11 19:13:28,585: DEBUG - + footprint=low
2024-02-11 19:13:28,585: DEBUG - + usage=low
2024-02-11 19:13:28,585: DEBUG - + print=0
2024-02-11 19:13:28,585: DEBUG - + ‘[’ low = low ‘]’
2024-02-11 19:13:28,585: DEBUG - + footprint=20
2024-02-11 19:13:28,586: DEBUG - + ‘[’ 20 -le 20 ‘]’
2024-02-11 19:13:28,586: DEBUG - + min_spare_servers_factor=8
2024-02-11 19:13:28,586: DEBUG - + ‘[’ low = low ‘]’
2024-02-11 19:13:28,586: DEBUG - + php_pm=ondemand
2024-02-11 19:13:28,593: DEBUG - ++ ynh_get_ram --total --ignore_swap
2024-02-11 19:13:29,111: DEBUG - ++ ignore_swap=1
2024-02-11 19:13:29,111: DEBUG - ++ only_swap=0
2024-02-11 19:13:29,111: DEBUG - ++ free=0
2024-02-11 19:13:29,112: DEBUG - ++ total=1
2024-02-11 19:13:29,128: DEBUG - +++ grep ‘total memory’
2024-02-11 19:13:29,134: DEBUG - +++ LC_ALL=C
2024-02-11 19:13:29,134: DEBUG - +++ vmstat --stats --unit M
2024-02-11 19:13:29,147: DEBUG - +++ awk ‘{print $1}’
2024-02-11 19:13:29,160: DEBUG - ++ local total_ram=2048
2024-02-11 19:13:29,178: DEBUG - +++ grep ‘total swap’
2024-02-11 19:13:29,182: DEBUG - +++ LC_ALL=C
2024-02-11 19:13:29,182: DEBUG - +++ vmstat --stats --unit M
2024-02-11 19:13:29,186: DEBUG - +++ awk ‘{print $1}’
2024-02-11 19:13:29,201: DEBUG - ++ local total_swap=512
2024-02-11 19:13:29,201: DEBUG - ++ local total_ram_swap=2560
2024-02-11 19:13:29,201: DEBUG - ++ local ram=2560
2024-02-11 19:13:29,202: DEBUG - ++ ram=2048
2024-02-11 19:13:29,202: DEBUG - ++ echo 2048
2024-02-11 19:13:29,202: DEBUG - + local max_ram=2048
2024-02-11 19:13:29,202: DEBUG - + php_max_children=51
2024-02-11 19:13:29,202: DEBUG - + ‘[’ ondemand = static ‘]’
2024-02-11 19:13:29,212: DEBUG - ++ at_least_one 51
2024-02-11 19:13:29,213: DEBUG - ++ ‘[’ 51 -le 0 ‘]’
2024-02-11 19:13:29,213: DEBUG - ++ echo 51
2024-02-11 19:13:29,213: DEBUG - + php_max_children=51
2024-02-11 19:13:29,225: DEBUG - ++ nproc
2024-02-11 19:13:29,238: DEBUG - + local core_number=2
2024-02-11 19:13:29,238: DEBUG - + local max_proc=8
2024-02-11 19:13:29,239: DEBUG - + ‘[’ 51 -gt 8 ‘]’
2024-02-11 19:13:29,239: DEBUG - + php_max_children=8
2024-02-11 19:13:29,242: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=php_forced_max_children
2024-02-11 19:13:29,242: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:13:29,544: DEBUG - ++ app=roundcube
2024-02-11 19:13:29,544: DEBUG - ++ [[ php_forced_max_children =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:29,544: DEBUG - ++ ynh_app_setting get roundcube php_forced_max_children
2024-02-11 19:13:29,682: DEBUG - + local php_forced_max_children=
2024-02-11 19:13:29,683: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-02-11 19:13:29,683: DEBUG - + ‘[’ ondemand = dynamic ‘]’
2024-02-11 19:13:29,683: DEBUG - + php_min_spare_servers=0
2024-02-11 19:13:29,683: DEBUG - + php_max_spare_servers=0
2024-02-11 19:13:29,683: DEBUG - + php_start_servers=0
2024-02-11 19:13:29,688: DEBUG - ++ echo roundcube
2024-02-11 19:13:29,691: DEBUG - + local phpfpm_group=roundcube
2024-02-11 19:13:29,691: DEBUG - + local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/php-fpm.conf
2024-02-11 19:13:29,692: DEBUG - [APP]
2024-02-11 19:13:29,692: DEBUG -
2024-02-11 19:13:29,692: DEBUG - user = APP
2024-02-11 19:13:29,692: DEBUG - group = PHPFPM_GROUP
2024-02-11 19:13:29,692: DEBUG -
2024-02-11 19:13:29,692: DEBUG - chdir = INSTALL_DIR
2024-02-11 19:13:29,693: DEBUG -
2024-02-11 19:13:29,693: DEBUG - listen = /var/run/php/php__PHPVERSION-fpm-APP.sock
2024-02-11 19:13:29,693: DEBUG - listen.owner = www-data
2024-02-11 19:13:29,693: DEBUG - listen.group = www-data
2024-02-11 19:13:29,693: DEBUG -
2024-02-11 19:13:29,693: DEBUG - pm = PHP_PM
2024-02-11 19:13:29,693: DEBUG - pm.max_children = PHP_MAX_CHILDREN
2024-02-11 19:13:29,693: DEBUG - pm.max_requests = 500
2024-02-11 19:13:29,693: DEBUG - request_terminate_timeout = 1d
2024-02-11 19:13:29,693: DEBUG - ’
2024-02-11 19:13:29,695: DEBUG - + ‘[’ ondemand = dynamic ‘]’
2024-02-11 19:13:29,695: DEBUG - + ‘[’ ondemand = ondemand ‘]’
2024-02-11 19:13:29,695: DEBUG - pm.process_idle_timeout = 10s
2024-02-11 19:13:29,695: DEBUG - ’
2024-02-11 19:13:29,696: DEBUG - + ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/extra_php-fpm.conf ‘]’
2024-02-11 19:13:29,696: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/extra_php-fpm.conf
2024-02-11 19:13:29,702: DEBUG - + local finalphpconf=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:29,702: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/php-fpm.conf --destination=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:29,986: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf//var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/php-fpm.conf ‘]’
2024-02-11 19:13:29,986: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/php-fpm.conf ‘]’
2024-02-11 19:13:29,986: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/php-fpm.conf
2024-02-11 19:13:29,986: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,068: DEBUG - + local checksum_setting_name=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-11 19:13:30,074: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-11 19:13:30,074: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:13:30,373: DEBUG - ++ app=roundcube
2024-02-11 19:13:30,374: DEBUG - ++ [[ checksum__etc_php_8.1_fpm_pool.d_roundcube.conf =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:30,374: DEBUG - ++ ynh_app_setting get roundcube checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-11 19:13:30,470: DEBUG - + local checksum_value=
2024-02-11 19:13:30,470: DEBUG - + backup_file_checksum=
2024-02-11 19:13:30,470: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-02-11 19:13:30,470: DEBUG - + touch /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,484: DEBUG - + chown root:root /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,493: DEBUG - + chmod 640 /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,509: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/php-fpm.conf /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,518: DEBUG - + ynh_apply_default_permissions /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,519: DEBUG - + local target=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,531: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-11 19:13:30,538: DEBUG - ++ tr -d '<>= ’
2024-02-11 19:13:30,684: DEBUG - ++ ‘[’ ‘!’ -e ‘’ ‘]’
2024-02-11 19:13:30,684: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.json ‘]’
2024-02-11 19:13:30,685: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml ‘]’
2024-02-11 19:13:30,685: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:30,690: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:30,695: DEBUG - ++ grep -q ‘.json$’
2024-02-11 19:13:30,711: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:30,718: DEBUG - ++ python3 -c ‘import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-02-11 19:13:30,724: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-11 19:13:30,793: DEBUG - + local ynh_requirement=null
2024-02-11 19:13:30,794: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-11 19:13:30,812: DEBUG - + chmod o-rwx /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,824: DEBUG - + chmod g-w /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,833: DEBUG - + chown -R root:root /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,841: DEBUG - + ynh_system_user_exists roundcube
2024-02-11 19:13:30,927: DEBUG - + getent passwd roundcube
2024-02-11 19:13:30,932: DEBUG - + chown roundcube:roundcube /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,949: DEBUG - + echo /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,954: DEBUG - + grep -q ‘^/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system’
2024-02-11 19:13:30,962: DEBUG - + chmod 400 /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,974: DEBUG - + chown root:root /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:30,990: DEBUG - + ynh_replace_vars --file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:31,076: DEBUG - + test -n /webmail
2024-02-11 19:13:31,077: DEBUG - + local path_url_slash_less=/webmail
2024-02-11 19:13:31,077: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/webmail/ --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:31,705: DEBUG - + sed --in-place $'s\001__PATH/\001/webmail/\001g’ /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:31,933: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/webmail --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:32,540: DEBUG - + sed --in-place $‘s\001__PATH__\001/webmail\001g’ /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:32,558: DEBUG - + test -n roundcube
2024-02-11 19:13:32,558: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=roundcube --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:33,175: DEBUG - + sed --in-place $‘s\001__NAME__\001roundcube\001g’ /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:33,190: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=roundcube --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:33,756: DEBUG - + sed --in-place $‘s\001__NAMETOCHANGE__\001roundcube\001g’ /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:33,849: DEBUG - + ynh_replace_string --match_string=USER --replace_string=roundcube --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:34,389: DEBUG - + sed --in-place $‘s\001__USER__\001roundcube\001g’ /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:34,408: DEBUG - + test -n ‘’
2024-02-11 19:13:34,408: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-11 19:13:34,422: DEBUG - + test -n ‘’
2024-02-11 19:13:34,435: DEBUG - ++ grep -oP ‘[A-Z0-9]+?[A-Z0-9_]?[A-Z0-9]?’ /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:34,444: DEBUG - ++ sed ‘s@([^.]*)@\L\1@g’
2024-02-11 19:13:34,444: DEBUG - ++ sort --unique
2024-02-11 19:13:34,455: DEBUG - + uniques_vars=(‘app’ ‘install_dir’ ‘phpfpm_group’ ‘phpversion’ ‘php_max_children’ ‘php_pm’)
2024-02-11 19:13:35,107: DEBUG - + ynh_store_file_checksum --file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:35,107: DEBUG - + update_only=0
2024-02-11 19:13:35,240: DEBUG - + local checksum_setting_name=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-11 19:13:35,254: DEBUG - ++ md5sum /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-11 19:13:35,260: DEBUG - ++ cut ‘–delimiter= ’ --fields=1
2024-02-11 19:13:35,265: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf --value=68abac70ae7df2eee75d7dadd997b85c
2024-02-11 19:13:35,270: DEBUG - + local globalapp=roundcube
2024-02-11 19:13:35,828: DEBUG - + app=roundcube
2024-02-11 19:13:35,829: DEBUG - + [[ checksum__etc_php_8.1_fpm_pool.d_roundcube.conf =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:35,834: DEBUG - + ynh_app_setting set roundcube checksum__etc_php_8.1_fpm_pool.d_roundcube.conf 68abac70ae7df2eee75d7dadd997b85c
2024-02-11 19:13:35,989: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-02-11 19:13:35,989: DEBUG - + unset backup_file_checksum
2024-02-11 19:13:35,989: DEBUG - + ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/php-fpm.ini ‘]’
2024-02-11 19:13:35,989: DEBUG - + php-fpm8.1 --test
2024-02-11 19:13:36,183: DEBUG - + ynh_systemd_action --service_name=php8.1-fpm --action=reload
2024-02-11 19:13:36,935: DEBUG - + service_name=php8.1-fpm
2024-02-11 19:13:36,942: DEBUG - + action=reload
2024-02-11 19:13:36,943: DEBUG - + line_match=
2024-02-11 19:13:36,943: DEBUG - + length=20
2024-02-11 19:13:36,943: DEBUG - + log_path=/var/log/php8.1-fpm/php8.1-fpm.log
2024-02-11 19:13:36,943: DEBUG - + timeout=300
2024-02-11 19:13:36,943: DEBUG - + ‘[’ reload == stop ‘]’
2024-02-11 19:13:36,943: DEBUG - + ‘[’ reload == reload ‘]’
2024-02-11 19:13:36,943: DEBUG - + action=reload-or-restart
2024-02-11 19:13:36,951: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-11 19:13:36,956: DEBUG - ++ cut -d+ -f1
2024-02-11 19:13:36,964: DEBUG - + local ‘time_start=2024-02-11 19:13:36 UTC’
2024-02-11 19:13:36,964: DEBUG - + systemctl reload-or-restart php8.1-fpm
2024-02-11 19:13:37,035: DEBUG - + ynh_add_nginx_config
2024-02-11 19:13:37,035: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:37,035: DEBUG - + ynh_add_config --template=nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:37,298: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/nginx.conf ‘]’
2024-02-11 19:13:37,298: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/nginx.conf
2024-02-11 19:13:37,298: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:37,377: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-11 19:13:37,378: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-11 19:13:37,379: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:13:37,646: DEBUG - ++ app=roundcube
2024-02-11 19:13:37,646: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:37,646: DEBUG - ++ ynh_app_setting get roundcube checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-11 19:13:37,745: DEBUG - + local checksum_value=
2024-02-11 19:13:37,745: DEBUG - + backup_file_checksum=
2024-02-11 19:13:37,745: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-02-11 19:13:37,745: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:37,753: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:37,761: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:37,778: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:37,801: DEBUG - + ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:37,801: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:37,808: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-11 19:13:37,819: DEBUG - ++ tr -d '<>= ’
2024-02-11 19:13:37,967: DEBUG - ++ ‘[’ ‘!’ -e ‘’ ‘]’
2024-02-11 19:13:37,967: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.json ‘]’
2024-02-11 19:13:37,967: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml ‘]’
2024-02-11 19:13:37,968: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:37,970: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:37,976: DEBUG - ++ grep -q ‘.json$’
2024-02-11 19:13:38,002: DEBUG - ++ python3 -c ‘import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-02-11 19:13:38,009: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:38,014: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-11 19:13:38,155: DEBUG - + local ynh_requirement=null
2024-02-11 19:13:38,156: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-11 19:13:38,168: DEBUG - + chmod o-rwx /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:38,176: DEBUG - + chmod g-w /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:38,190: DEBUG - + chown -R root:root /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:38,199: DEBUG - + ynh_system_user_exists roundcube
2024-02-11 19:13:38,284: DEBUG - + getent passwd roundcube
2024-02-11 19:13:38,297: DEBUG - + chown roundcube:roundcube /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:38,318: DEBUG - + grep -q ‘^/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system’
2024-02-11 19:13:38,321: DEBUG - + echo /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:38,332: DEBUG - + chmod 400 /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:38,344: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:38,352: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:38,432: DEBUG - + test -n /webmail
2024-02-11 19:13:38,433: DEBUG - + local path_url_slash_less=/webmail
2024-02-11 19:13:38,433: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/webmail/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:38,957: DEBUG - + sed --in-place $'s\001__PATH_/\001/webmail/\001g’ /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:38,970: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/webmail --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:39,565: DEBUG - + sed --in-place $‘s\001__PATH__\001/webmail\001g’ /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:39,579: DEBUG - + test -n roundcube
2024-02-11 19:13:39,579: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=roundcube --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:40,154: DEBUG - + sed --in-place $‘s\001__NAME__\001roundcube\001g’ /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:40,171: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=roundcube --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:40,777: DEBUG - + sed --in-place $‘s\001__NAMETOCHANGE__\001roundcube\001g’ /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:40,963: DEBUG - + ynh_replace_string --match_string=USER --replace_string=roundcube --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:41,561: DEBUG - + sed --in-place $‘s\001__USER__\001roundcube\001g’ /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:41,579: DEBUG - + test -n ‘’
2024-02-11 19:13:41,579: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-11 19:13:41,591: DEBUG - + test -n ‘’
2024-02-11 19:13:41,607: DEBUG - ++ sort --unique
2024-02-11 19:13:41,613: DEBUG - ++ grep -oP ‘[A-Z0-9]+?[A-Z0-9_]?[A-Z0-9]?’ /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:41,615: DEBUG - ++ sed ‘s@([^.]*)@\L\1@g’
2024-02-11 19:13:41,623: DEBUG - + uniques_vars=(‘install_dir’ ‘phpversion’)
2024-02-11 19:13:41,731: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:41,731: DEBUG - + update_only=0
2024-02-11 19:13:41,903: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-11 19:13:41,914: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:41,919: DEBUG - ++ cut '–delimiter= ’ --fields=1
2024-02-11 19:13:41,931: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf --value=ca5fd0e5d80881ad109569851b16852f
2024-02-11 19:13:41,931: DEBUG - + local globalapp=roundcube
2024-02-11 19:13:42,491: DEBUG - + app=roundcube
2024-02-11 19:13:42,492: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:42,492: DEBUG - + ynh_app_setting set roundcube checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf ca5fd0e5d80881ad109569851b16852f
2024-02-11 19:13:42,786: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-02-11 19:13:42,786: DEBUG - + unset backup_file_checksum
2024-02-11 19:13:42,786: DEBUG - + ‘[’ /webmail ‘!=’ / ‘]’
2024-02-11 19:13:42,786: DEBUG - + ynh_replace_string ‘–match_string=^#sub_path_only’ --replace_string= --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:43,394: DEBUG - + sed --in-place ‘s^#sub_path_onlyg’ /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:43,406: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:43,409: DEBUG - + update_only=0
2024-02-11 19:13:43,554: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-11 19:13:43,572: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-11 19:13:43,574: DEBUG - ++ cut '–delimiter= ’ --fields=1
2024-02-11 19:13:43,585: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf --value=4cc82fc6d08e9eca22357fc9971c7cd7
2024-02-11 19:13:43,586: DEBUG - + local globalapp=roundcube
2024-02-11 19:13:44,184: DEBUG - + app=roundcube
2024-02-11 19:13:44,185: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:44,185: DEBUG - + ynh_app_setting set roundcube checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf 4cc82fc6d08e9eca22357fc9971c7cd7
2024-02-11 19:13:44,298: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-02-11 19:13:44,298: DEBUG - + unset backup_file_checksum
2024-02-11 19:13:44,299: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2024-02-11 19:13:45,108: DEBUG - + service_name=nginx
2024-02-11 19:13:45,108: DEBUG - + action=reload
2024-02-11 19:13:45,108: DEBUG - + line_match=
2024-02-11 19:13:45,108: DEBUG - + length=20
2024-02-11 19:13:45,108: DEBUG - + log_path=/var/log/nginx/nginx.log
2024-02-11 19:13:45,108: DEBUG - + timeout=300
2024-02-11 19:13:45,108: DEBUG - + ‘[’ reload == stop ‘]’
2024-02-11 19:13:45,109: DEBUG - + ‘[’ reload == reload ‘]’
2024-02-11 19:13:45,109: DEBUG - + action=reload-or-restart
2024-02-11 19:13:45,124: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-11 19:13:45,129: DEBUG - ++ cut -d+ -f1
2024-02-11 19:13:45,134: DEBUG - + local ‘time_start=2024-02-11 19:13:45 UTC’
2024-02-11 19:13:45,140: DEBUG - + systemctl reload-or-restart nginx
2024-02-11 19:13:45,337: DEBUG - + ‘[’ UPGRADE_APP == UPGRADE_APP ‘]’
2024-02-11 19:13:46,029: INFO - [##…] > Reconfiguring Roundcube…
2024-02-11 19:13:46,030: DEBUG - ++ ynh_string_random --length=24
2024-02-11 19:13:46,185: DEBUG - ++ length=24
2024-02-11 19:13:46,185: DEBUG - ++ filter=A-Za-z0-9
2024-02-11 19:13:46,191: DEBUG - ++ tr --complement --delete A-Za-z0-9
2024-02-11 19:13:46,197: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2024-02-11 19:13:46,205: DEBUG - ++ sed --quiet ‘s/(.{24})./\1/p’
2024-02-11 19:13:46,217: DEBUG - + deskey=*********
2024-02-11 19:13:46,217: DEBUG - + ynh_add_config --template=…/conf/config.inc.php --destination=/var/www/roundcube/config/config.inc.php
2024-02-11 19:13:46,509: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/…/conf/config.inc.php ‘]’
2024-02-11 19:13:46,509: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/…/conf/config.inc.php
2024-02-11 19:13:46,509: DEBUG - + ynh_backup_if_checksum_is_different --file=/var/www/roundcube/config/config.inc.php
2024-02-11 19:13:46,596: DEBUG - + local checksum_setting_name=checksum__var_www_roundcube_config_config.inc.php
2024-02-11 19:13:46,597: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__var_www_roundcube_config_config.inc.php
2024-02-11 19:13:46,598: DEBUG - ++ local globalapp=roundcube
2024-02-11 19:13:46,880: DEBUG - ++ app=roundcube
2024-02-11 19:13:46,881: DEBUG - ++ [[ checksum__var_www_roundcube_config_config.inc.php =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:46,881: DEBUG - ++ ynh_app_setting get roundcube checksum__var_www_roundcube_config_config.inc.php
2024-02-11 19:13:46,984: DEBUG - + local checksum_value=818aca0099e2dfc8a5bf43c92c488f0b
2024-02-11 19:13:46,984: DEBUG - + backup_file_checksum=
2024-02-11 19:13:46,990: DEBUG - + ‘[’ -n 818aca0099e2dfc8a5bf43c92c488f0b ‘]’
2024-02-11 19:13:46,991: DEBUG - + ‘[’ -e /var/www/roundcube/config/config.inc.php ‘]’
2024-02-11 19:13:46,998: DEBUG - + md5sum --check --status
2024-02-11 19:13:47,007: DEBUG - + touch /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,022: DEBUG - + chown root:root /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,029: DEBUG - + chmod 640 /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,046: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/conf/…/conf/config.inc.php /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,057: DEBUG - + ynh_apply_default_permissions /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,057: DEBUG - + local target=/var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,076: DEBUG - ++ tr -d '<>= ’
2024-02-11 19:13:47,077: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-11 19:13:47,221: DEBUG - ++ ‘[’ ‘!’ -e ‘’ ‘]’
2024-02-11 19:13:47,221: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.json ‘]’
2024-02-11 19:13:47,222: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml ‘]’
2024-02-11 19:13:47,222: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:47,228: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:47,234: DEBUG - ++ grep -q ‘.json$’
2024-02-11 19:13:47,249: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_w4y0ezyf/manifest.toml
2024-02-11 19:13:47,257: DEBUG - ++ python3 -c ‘import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-02-11 19:13:47,261: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-11 19:13:47,326: DEBUG - + local ynh_requirement=null
2024-02-11 19:13:47,328: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-11 19:13:47,345: DEBUG - + chmod o-rwx /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,355: DEBUG - + chmod g-w /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,365: DEBUG - + chown -R root:root /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,378: DEBUG - + ynh_system_user_exists roundcube
2024-02-11 19:13:47,455: DEBUG - + getent passwd roundcube
2024-02-11 19:13:47,466: DEBUG - + chown roundcube:roundcube /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,489: DEBUG - + grep -q ‘^/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system’
2024-02-11 19:13:47,497: DEBUG - + echo /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,500: DEBUG - + ynh_replace_vars --file=/var/www/roundcube/config/config.inc.php
2024-02-11 19:13:47,579: DEBUG - + test -n /webmail
2024-02-11 19:13:47,579: DEBUG - + local path_url_slash_less=/webmail
2024-02-11 19:13:47,579: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/webmail/ --target_file=/var/www/roundcube/config/config.inc.php
2024-02-11 19:13:48,210: DEBUG - + sed --in-place $'s\001__PATH_/\001/webmail/\001g’ /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:48,225: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/webmail --target_file=/var/www/roundcube/config/config.inc.php
2024-02-11 19:13:48,866: DEBUG - + sed --in-place $‘s\001__PATH__\001/webmail\001g’ /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:48,879: DEBUG - + test -n roundcube
2024-02-11 19:13:48,880: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-02-11 19:13:49,508: DEBUG - + sed --in-place $‘s\001__NAME__\001roundcube\001g’ /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:49,528: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-02-11 19:13:50,339: DEBUG - + sed --in-place $‘s\001__NAMETOCHANGE__\001roundcube\001g’ /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:50,356: DEBUG - + ynh_replace_string --match_string=USER --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-02-11 19:13:51,049: DEBUG - + sed --in-place $‘s\001__USER__\001roundcube\001g’ /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:51,059: DEBUG - + test -n ‘’
2024-02-11 19:13:51,059: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-11 19:13:51,084: DEBUG - + test -n ‘’
2024-02-11 19:13:51,104: DEBUG - ++ grep -oP ‘[A-Z0-9]+?[A-Z0-9_]?[A-Z0-9]?’ /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:51,117: DEBUG - ++ sort --unique
2024-02-11 19:13:51,125: DEBUG - ++ sed ‘s@([^.]*)@\L\1@g’
2024-02-11 19:13:51,142: DEBUG - + uniques_vars=(‘db_name’ ‘db_pwd’ ‘deskey’ ‘language’)
2024-02-11 19:13:51,207: DEBUG - + ynh_store_file_checksum --file=/var/www/roundcube/config/config.inc.php
2024-02-11 19:13:51,209: DEBUG - + update_only=0
2024-02-11 19:13:51,370: DEBUG - + local checksum_setting_name=checksum__var_www_roundcube_config_config.inc.php
2024-02-11 19:13:51,388: DEBUG - ++ md5sum /var/www/roundcube/config/config.inc.php
2024-02-11 19:13:51,395: DEBUG - ++ cut '–delimiter= ’ --fields=1
2024-02-11 19:13:51,401: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__var_www_roundcube_config_config.inc.php --value=a5bd4f535d129fefbe1c8a399280a9d9
2024-02-11 19:13:51,401: DEBUG - + local globalapp=roundcube
2024-02-11 19:13:52,057: DEBUG - + app=roundcube
2024-02-11 19:13:52,057: DEBUG - + [[ checksum__var_www_roundcube_config_config.inc.php =~ (unprotected|protected|skipped) ]]
2024-02-11 19:13:52,058: DEBUG - + ynh_app_setting set roundcube checksum__var_www_roundcube_config_config.inc.php a5bd4f535d129fefbe1c8a399280a9d9
2024-02-11 19:13:52,147: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-02-11 19:13:52,148: DEBUG - + unset backup_file_checksum
2024-02-11 19:13:52,842: INFO - [##++++++++…] > Updating dependencies with Composer…
2024-02-11 19:13:52,843: DEBUG - + ynh_install_composer
2024-02-11 19:13:52,843: DEBUG - + local _globalphpversion=8.1
2024-02-11 19:13:52,844: DEBUG - + declare -Ar args_array
2024-02-11 19:13:52,844: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-11 19:13:52,855: DEBUG - + workdir=/var/www/roundcube
2024-02-11 19:13:52,856: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-11 19:13:52,871: DEBUG - + phpversion=8.1
2024-02-11 19:13:52,871: DEBUG - + install_args=
2024-02-11 19:13:52,872: DEBUG - + composerversion=2.5.5
2024-02-11 19:13:52,888: DEBUG - + curl -sS https://getcomposer.org/installer
2024-02-11 19:13:52,919: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-02-11 19:13:52,920: DEBUG - + php8.1 – --quiet --install-dir=/var/www/roundcube --version=2.5.5
2024-02-11 19:13:53,408: DEBUG - + ynh_composer_exec --phpversion=8.1 --workdir=/var/www/roundcube '–commands=install --no-dev ’
2024-02-11 19:13:53,408: DEBUG - + local _globalphpversion=8.1
2024-02-11 19:13:53,408: DEBUG - + declare -Ar args_array
2024-02-11 19:13:54,021: DEBUG - + workdir=/var/www/roundcube
2024-02-11 19:13:54,021: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-11 19:13:54,033: DEBUG - + phpversion=8.1
2024-02-11 19:13:54,034: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-02-11 19:13:54,034: DEBUG - + COMPOSER_MEMORY_LIMIT=-1
2024-02-11 19:13:54,034: DEBUG - + php8.1 /var/www/roundcube/composer.phar install --no-dev -d /var/www/roundcube --no-interaction --no-ansi
2024-02-11 19:13:54,533: DEBUG - Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
2024-02-11 19:13:54,534: DEBUG - Do not run Composer as root/super user! See How do I install untrusted packages safely? Is it safe to run Composer as superuser or root? - Composer for details
2024-02-11 19:13:56,341: DEBUG - Installing dependencies from lock file
2024-02-11 19:13:56,342: DEBUG - Verifying lock file contents can be installed on current platform.
2024-02-11 19:13:56,350: DEBUG - Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update
or composer update <package name>
.
2024-02-11 19:13:56,352: DEBUG - - Required package “guzzlehttp/guzzle” is in the lock file as “6.5.8” but that does not satisfy your constraint “^7.3.0”.
2024-02-11 19:13:56,352: DEBUG - - Required package “bacon/bacon-qr-code” is not present in the lock file.
2024-02-11 19:13:56,352: DEBUG - This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
2024-02-11 19:13:56,352: DEBUG - Read more about correctly resolving merge conflicts Resolving merge conflicts - Composer
2024-02-11 19:13:56,352: DEBUG - and prefer using the “require” command over editing the composer.json file directly Command-line interface / Commands - Composer
2024-02-11 19:13:56,365: DEBUG - + ynh_die ‘–message=Unable to install core dependencies with Composer.’
2024-02-11 19:13:56,534: WARNING - Unable to install core dependencies with Composer.
2024-02-11 19:13:56,536: DEBUG - + ynh_exit_properly
2024-02-11 19:13:56,536: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2024-02-11 19:13:58,055: ERROR - Could not upgrade roundcube: An error occurred inside the app upgrade script