Hardware: AMD64
YunoHost version: 11.2.10.01 (stable)
I have access to my server : Yes
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : Yes - it’s behind a openVPN Server
Hi Folks,
Hope you all doing fine?! Today I wanted to update roundcube while I stubbled upon this error:
Updating dependencies with Composer...
Unable to install core dependencies with Composer.
I found that an other topic from the passed seemed very similar?
What can I do in this case?
Here is the full error log
ended_at: 2024-02-29 12:58:18.254494
env:
YNH_APP_ACTION: upgrade
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6
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: Er is een fout opgetreden in het upgradescript van de app
interface: api
operation: app_upgrade
parent: null
related_to:
- - app
- roundcube
started_at: 2024-02-29 12:57:38.032909
success: false
yunohost_version: 11.2.10.1
============
2024-02-29 13:57:38,044: INFO - Provisioning sources...
2024-02-29 13:57:38,045: DEBUG - Prefetching asset main: https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz ...
2024-02-29 13:57:39,907: INFO - Updating system_user...
2024-02-29 13:57:39,977: INFO - Updating install_dir...
2024-02-29 13:57:39,998: INFO - Provisioning permissions...
2024-02-29 13:57:40,523: DEBUG - Nothing to update in LDAP
2024-02-29 13:57:40,730: DEBUG - Permission 'roundcube.main' updated
2024-02-29 13:57:40,730: DEBUG - Full log of this operation: '<a href="#/tools/logs/20240229-125740-user_permission_update-roundcube" style="text-decoration:underline">Update accesses for permission 'roundcube'</a>'
2024-02-29 13:57:41,370: DEBUG - Nothing to update in LDAP
2024-02-29 13:57:41,371: DEBUG - Permission 'roundcube.main' updated
2024-02-29 13:57:41,602: DEBUG - Full log of this operation: '<a href="#/tools/logs/20240229-125741-permission_url-roundcube" style="text-decoration:underline">Update URL related to permission 'roundcube'</a>'
2024-02-29 13:57:41,965: DEBUG - The permission database has been resynchronized
2024-02-29 13:57:43,455: DEBUG - SSOwat configuration regenerated
2024-02-29 13:57:43,492: INFO - Provisioning apt...
2024-02-29 13:57:43,595: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt" 7>&1']'
2024-02-29 13:57:43,661: DEBUG - + source /usr/share/yunohost/helpers
2024-02-29 13:57:43,671: DEBUG - +++ grep xtrace
2024-02-29 13:57:43,685: DEBUG - +++ set +o
2024-02-29 13:57:43,690: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-02-29 13:57:43,690: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-02-29 13:57:43,726: DEBUG - + ynh_abort_if_errors
2024-02-29 13:57:43,727: DEBUG - + trap ynh_exit_properly EXIT
2024-02-29 13:57:43,727: 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-29 13:57:43,727: 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-29 13:57:43,738: 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-29 13:57:43,740: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2024-02-29 13:57:43,747: 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-29 13:57:43,747: 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-29 13:57:43,754: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-02-29 13:57:43,881: DEBUG - ++ '[' '!' -e '' ']'
2024-02-29 13:57:43,881: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_m2aky282/manifest.json ']'
2024-02-29 13:57:43,881: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_m2aky282/manifest.json
2024-02-29 13:57:43,886: DEBUG - ++ grep -q '\.json$'
2024-02-29 13:57:43,886: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_m2aky282/manifest.json
2024-02-29 13:57:43,887: DEBUG - ++ jq .version /var/cache/yunohost/app_tmp_work_dirs/app_m2aky282/manifest.json --raw-output
2024-02-29 13:57:43,959: DEBUG - + local version=1.6.0~ynh4
2024-02-29 13:57:43,960: DEBUG - + '[' -z 1.6.0~ynh4 ']'
2024-02-29 13:57:43,960: DEBUG - + '[' 1.6.0~ynh4 == null ']'
2024-02-29 13:57:43,960: DEBUG - + local dep_app=roundcube
2024-02-29 13:57:43,960: 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-29 13:57:43,960: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2024-02-29 13:57:43,968: DEBUG - ++ sort -u
2024-02-29 13:57:43,972: 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-29 13:57:43,975: DEBUG - + local specific_php_version=8.1
2024-02-29 13:57:43,975: DEBUG - + [[ -n 8.1 ]]
2024-02-29 13:57:43,994: DEBUG - ++ echo 8.1
2024-02-29 13:57:43,995: DEBUG - ++ wc -l
2024-02-29 13:57:43,996: DEBUG - + [[ 1 -eq 1 ]]
2024-02-29 13:57:43,996: DEBUG - + dependencies+=', php8.1, php8.1-fpm, php8.1-common'
2024-02-29 13:57:44,002: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-02-29 13:57:44,002: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:57:44,216: DEBUG - ++ app=roundcube
2024-02-29 13:57:44,216: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:57:44,216: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-02-29 13:57:44,261: DEBUG - + local old_phpversion=7.4
2024-02-29 13:57:44,261: DEBUG - + '[' -n 7.4 ']'
2024-02-29 13:57:44,262: DEBUG - + '[' 7.4 '!=' 8.1 ']'
2024-02-29 13:57:44,262: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_config_dir
2024-02-29 13:57:44,262: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:57:44,520: DEBUG - ++ app=roundcube
2024-02-29 13:57:44,520: DEBUG - ++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:57:44,520: DEBUG - ++ ynh_app_setting get roundcube fpm_config_dir
2024-02-29 13:57:44,606: DEBUG - + local old_php_fpm_config_dir=/etc/php/7.4/fpm
2024-02-29 13:57:44,606: DEBUG - + local old_php_finalphpconf=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-02-29 13:57:44,606: DEBUG - + [[ -f /etc/php/7.4/fpm/pool.d/roundcube.conf ]]
2024-02-29 13:57:44,606: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-02-29 13:57:44,684: DEBUG - + local checksum_setting_name=checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-02-29 13:57:44,692: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-02-29 13:57:44,692: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:57:44,924: DEBUG - ++ app=roundcube
2024-02-29 13:57:44,925: DEBUG - ++ [[ checksum__etc_php_7.4_fpm_pool.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:57:44,925: DEBUG - ++ ynh_app_setting get roundcube checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-02-29 13:57:45,012: DEBUG - + local checksum_value=a43522188d1a80a0f49e03394381e183
2024-02-29 13:57:45,013: DEBUG - + backup_file_checksum=
2024-02-29 13:57:45,013: DEBUG - + '[' -n a43522188d1a80a0f49e03394381e183 ']'
2024-02-29 13:57:45,013: DEBUG - + '[' -e /etc/php/7.4/fpm/pool.d/roundcube.conf ']'
2024-02-29 13:57:45,016: DEBUG - + md5sum --check --status
2024-02-29 13:57:45,023: DEBUG - + ynh_remove_fpm_config
2024-02-29 13:57:45,048: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_config_dir
2024-02-29 13:57:45,048: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:57:45,288: DEBUG - ++ app=roundcube
2024-02-29 13:57:45,288: DEBUG - ++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:57:45,288: DEBUG - ++ ynh_app_setting get roundcube fpm_config_dir
2024-02-29 13:57:45,380: DEBUG - + local fpm_config_dir=/etc/php/7.4/fpm
2024-02-29 13:57:45,384: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_service
2024-02-29 13:57:45,384: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:57:45,593: DEBUG - ++ app=roundcube
2024-02-29 13:57:45,593: DEBUG - ++ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:57:45,593: DEBUG - ++ ynh_app_setting get roundcube fpm_service
2024-02-29 13:57:45,662: DEBUG - + local fpm_service=php7.4-fpm
2024-02-29 13:57:45,662: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_dedicated_service
2024-02-29 13:57:45,662: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:57:45,868: DEBUG - ++ app=roundcube
2024-02-29 13:57:45,869: DEBUG - ++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:57:45,869: DEBUG - ++ ynh_app_setting get roundcube fpm_dedicated_service
2024-02-29 13:57:45,939: DEBUG - + local dedicated_service=0
2024-02-29 13:57:45,939: DEBUG - + dedicated_service=0
2024-02-29 13:57:45,940: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-02-29 13:57:45,940: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:57:45,992: DEBUG - ++ app=roundcube
2024-02-29 13:57:45,992: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:57:45,992: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-02-29 13:57:46,042: DEBUG - + local phpversion=7.4
2024-02-29 13:57:46,042: DEBUG - + phpversion=7.4
2024-02-29 13:57:46,043: DEBUG - + '[' -z /etc/php/7.4/fpm ']'
2024-02-29 13:57:46,043: DEBUG - + ynh_secure_remove --file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-02-29 13:57:46,109: DEBUG - + '[' -e /etc/php/7.4/fpm/conf.d/20-roundcube.ini ']'
2024-02-29 13:57:46,109: DEBUG - + ynh_package_is_installed --package=php7.4-fpm
2024-02-29 13:57:46,150: DEBUG - + ynh_wait_dpkg_free
2024-02-29 13:57:46,515: DEBUG - + return 0
2024-02-29 13:57:46,515: DEBUG - + grep --count 'ok installed'
2024-02-29 13:57:46,517: DEBUG - + dpkg-query --show '--showformat=${Status}' php7.4-fpm
2024-02-29 13:57:46,537: DEBUG - + ynh_systemd_action --service_name=php7.4-fpm --action=reload
2024-02-29 13:57:46,621: DEBUG - + service_name=php7.4-fpm
2024-02-29 13:57:46,622: DEBUG - + action=reload
2024-02-29 13:57:46,622: DEBUG - + line_match=
2024-02-29 13:57:46,622: DEBUG - + length=20
2024-02-29 13:57:46,622: DEBUG - + log_path=/var/log/php7.4-fpm/php7.4-fpm.log
2024-02-29 13:57:46,622: DEBUG - + timeout=300
2024-02-29 13:57:46,622: DEBUG - + '[' reload == stop ']'
2024-02-29 13:57:46,622: DEBUG - + '[' reload == reload ']'
2024-02-29 13:57:46,622: DEBUG - + action=reload-or-restart
2024-02-29 13:57:46,622: DEBUG - ++ cut -d+ -f1
2024-02-29 13:57:46,623: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-29 13:57:46,624: DEBUG - + local 'time_start=2024-02-29 12:57:46 UTC'
2024-02-29 13:57:46,624: DEBUG - + systemctl reload-or-restart php7.4-fpm
2024-02-29 13:57:46,654: DEBUG - + '[' 7.4 '!=' 7.4 ']'
2024-02-29 13:57:46,655: DEBUG - + ynh_app_setting_set --app=roundcube --key=phpversion --value=8.1
2024-02-29 13:57:46,655: DEBUG - + local _globalapp=roundcube
2024-02-29 13:57:46,697: DEBUG - + app=roundcube
2024-02-29 13:57:46,697: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:57:46,697: DEBUG - + ynh_app_setting set roundcube phpversion 8.1
2024-02-29 13:57:46,738: DEBUG - + test -e /usr/bin/php7.4
2024-02-29 13:57:46,738: DEBUG - + update-alternatives --set php /usr/bin/php7.4
2024-02-29 13:57:46,739: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-02-29 13:57:46,757: DEBUG - ++ ynh_wait_dpkg_free
2024-02-29 13:57:47,058: DEBUG - ++ return 0
2024-02-29 13:57:47,065: DEBUG - ++ grep --count 'ok installed'
2024-02-29 13:57:47,066: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-02-29 13:57:47,099: DEBUG - ++ echo yes
2024-02-29 13:57:47,100: DEBUG - + local psql_installed=yes
2024-02-29 13:57:47,100: DEBUG - + [[ true == \t\r\u\e ]]
2024-02-29 13:57:47,100: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2024-02-29 13:57:47,100: DEBUG - + cat
2024-02-29 13:57:47,105: DEBUG - + ynh_package_install_from_equivs /tmp/roundcube-ynh-deps.control
2024-02-29 13:57:47,105: DEBUG - + local controlfile=/tmp/roundcube-ynh-deps.control
2024-02-29 13:57:47,116: DEBUG - ++ grep '^Package: ' /tmp/roundcube-ynh-deps.control
2024-02-29 13:57:47,117: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-02-29 13:57:47,118: DEBUG - + local pkgname=roundcube-ynh-deps
2024-02-29 13:57:47,132: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-02-29 13:57:47,132: DEBUG - ++ grep '^Version: ' /tmp/roundcube-ynh-deps.control
2024-02-29 13:57:47,140: DEBUG - + local pkgversion=1.6.0~ynh4
2024-02-29 13:57:47,140: DEBUG - + [[ -z roundcube-ynh-deps ]]
2024-02-29 13:57:47,141: DEBUG - + [[ -z 1.6.0~ynh4 ]]
2024-02-29 13:57:47,141: DEBUG - + ynh_package_update
2024-02-29 13:57:47,141: DEBUG - + ynh_apt update
2024-02-29 13:57:47,141: DEBUG - + ynh_wait_dpkg_free
2024-02-29 13:57:47,427: DEBUG - + return 0
2024-02-29 13:57:47,427: DEBUG - + LC_ALL=C
2024-02-29 13:57:47,427: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-29 13:57:47,428: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-02-29 13:57:47,557: DEBUG - Hit:1 http://deb.debian.org/debian bullseye InRelease
2024-02-29 13:57:47,557: DEBUG - Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
2024-02-29 13:57:47,561: DEBUG - Hit:3 http://forge.yunohost.org/debian bullseye InRelease
2024-02-29 13:57:47,575: DEBUG - Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
2024-02-29 13:57:47,678: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2024-02-29 13:57:48,955: DEBUG - Reading package lists...
2024-02-29 13:57:48,988: DEBUG - ++ mktemp --directory
2024-02-29 13:57:48,989: DEBUG - + local TMPDIR=/tmp/tmp.gtBL5g9xta
2024-02-29 13:57:48,989: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2024-02-29 13:57:49,001: DEBUG - + ynh_wait_dpkg_free
2024-02-29 13:57:49,477: DEBUG - + return 0
2024-02-29 13:57:49,477: DEBUG - + cp /tmp/roundcube-ynh-deps.control /tmp/tmp.gtBL5g9xta/control
2024-02-29 13:57:49,504: DEBUG - + cd /tmp/tmp.gtBL5g9xta
2024-02-29 13:57:49,504: DEBUG - + LC_ALL=C
2024-02-29 13:57:49,504: DEBUG - + equivs-build ./control
2024-02-29 13:57:49,815: DEBUG - dpkg-buildpackage: info: source package roundcube-ynh-deps
2024-02-29 13:57:49,815: DEBUG - dpkg-buildpackage: info: source version 1.6.0~ynh4
2024-02-29 13:57:49,815: DEBUG - dpkg-buildpackage: info: source distribution unstable
2024-02-29 13:57:49,815: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@ECZ-SRV-01.ECZ>
2024-02-29 13:57:49,854: DEBUG - dpkg-source --before-build .
2024-02-29 13:57:49,854: DEBUG - dpkg-buildpackage: info: host architecture amd64
2024-02-29 13:57:49,980: DEBUG - debian/rules clean
2024-02-29 13:57:49,992: DEBUG - dh clean
2024-02-29 13:57:50,173: DEBUG - dh_clean
2024-02-29 13:57:50,210: DEBUG - debian/rules binary
2024-02-29 13:57:50,212: DEBUG - dh binary
2024-02-29 13:57:50,291: DEBUG - dh_update_autotools_config
2024-02-29 13:57:50,323: DEBUG - dh_autoreconf
2024-02-29 13:57:50,436: DEBUG - create-stamp debian/debhelper-build-stamp
2024-02-29 13:57:50,437: DEBUG - dh_prep
2024-02-29 13:57:50,512: DEBUG - dh_install
2024-02-29 13:57:50,588: DEBUG - dh_installdocs
2024-02-29 13:57:50,625: DEBUG - dh_installchangelogs
2024-02-29 13:57:50,763: DEBUG - dh_perl
2024-02-29 13:57:50,849: DEBUG - dh_link
2024-02-29 13:57:50,909: DEBUG - dh_strip_nondeterminism
2024-02-29 13:57:51,076: DEBUG - dh_compress
2024-02-29 13:57:51,127: DEBUG - dh_fixperms
2024-02-29 13:57:51,179: DEBUG - dh_missing
2024-02-29 13:57:51,203: DEBUG - dh_installdeb
2024-02-29 13:57:51,241: DEBUG - dh_gencontrol
2024-02-29 13:57:51,378: DEBUG - dh_md5sums
2024-02-29 13:57:51,419: DEBUG - dh_builddeb
2024-02-29 13:57:51,445: DEBUG - dpkg-deb: building package 'roundcube-ynh-deps' in '../roundcube-ynh-deps_1.6.0~ynh4_all.deb'.
2024-02-29 13:57:51,463: DEBUG - dpkg-genbuildinfo --build=binary
2024-02-29 13:57:53,092: DEBUG - dpkg-genchanges --build=binary >../roundcube-ynh-deps_1.6.0~ynh4_amd64.changes
2024-02-29 13:57:53,204: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2024-02-29 13:57:53,206: DEBUG - dpkg-source --after-build .
2024-02-29 13:57:53,299: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2024-02-29 13:57:53,303: DEBUG -
2024-02-29 13:57:53,304: DEBUG - The package has been created.
2024-02-29 13:57:53,304: DEBUG - Attention, the package has been created in the current directory,
2024-02-29 13:57:53,304: DEBUG - not in ".." as indicated by the message above!
2024-02-29 13:57:53,305: DEBUG - + LC_ALL=C
2024-02-29 13:57:53,305: DEBUG - + tee ./dpkg_log
2024-02-29 13:57:53,305: DEBUG - + dpkg --force-depends --install ./roundcube-ynh-deps_1.6.0~ynh4_all.deb
2024-02-29 13:57:53,719: DEBUG - (Reading database ... 135242 files and directories currently installed.)
2024-02-29 13:57:53,724: DEBUG - Preparing to unpack .../roundcube-ynh-deps_1.6.0~ynh4_all.deb ...
2024-02-29 13:57:53,783: DEBUG - Unpacking roundcube-ynh-deps (1.6.0~ynh4) over (1.6.0~ynh4) ...
2024-02-29 13:57:53,823: DEBUG - dpkg: roundcube-ynh-deps: dependency problems, but configuring anyway as you requested:
2024-02-29 13:57:53,823: DEBUG - roundcube-ynh-deps depends on php8.1-ldap; however:
2024-02-29 13:57:53,823: DEBUG - Package php8.1-ldap is not installed.
2024-02-29 13:57:53,823: DEBUG - roundcube-ynh-deps depends on php8.1-mysql; however:
2024-02-29 13:57:53,823: DEBUG - Package php8.1-mysql is not installed.
2024-02-29 13:57:53,823: DEBUG - roundcube-ynh-deps depends on php8.1-intl; however:
2024-02-29 13:57:53,824: DEBUG - Package php8.1-intl is not installed.
2024-02-29 13:57:53,824: DEBUG - roundcube-ynh-deps depends on php8.1-zip; however:
2024-02-29 13:57:53,824: DEBUG - Package php8.1-zip is not installed.
2024-02-29 13:57:53,824: DEBUG - roundcube-ynh-deps depends on php8.1-gd; however:
2024-02-29 13:57:53,824: DEBUG - Package php8.1-gd is not installed.
2024-02-29 13:57:53,824: DEBUG - roundcube-ynh-deps depends on php8.1-mbstring; however:
2024-02-29 13:57:53,824: DEBUG - Package php8.1-mbstring is not installed.
2024-02-29 13:57:53,824: DEBUG - roundcube-ynh-deps depends on php8.1-dom; however:
2024-02-29 13:57:53,824: DEBUG - Package php8.1-dom is not installed.
2024-02-29 13:57:53,824: DEBUG - roundcube-ynh-deps depends on php8.1-curl; however:
2024-02-29 13:57:53,824: DEBUG - Package php8.1-curl is not installed.
2024-02-29 13:57:53,824: DEBUG - roundcube-ynh-deps depends on php8.1; however:
2024-02-29 13:57:53,825: DEBUG - Package php8.1 is not installed.
2024-02-29 13:57:53,825: DEBUG - roundcube-ynh-deps depends on php8.1-fpm; however:
2024-02-29 13:57:53,825: DEBUG - Package php8.1-fpm is not installed.
2024-02-29 13:57:53,825: DEBUG -
2024-02-29 13:57:53,825: DEBUG - Setting up roundcube-ynh-deps (1.6.0~ynh4) ...
2024-02-29 13:57:53,846: DEBUG - + ynh_package_install --fix-broken
2024-02-29 13:57:53,846: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-02-29 13:57:53,846: DEBUG - + ynh_wait_dpkg_free
2024-02-29 13:57:54,092: DEBUG - + return 0
2024-02-29 13:57:54,092: DEBUG - + LC_ALL=C
2024-02-29 13:57:54,092: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-29 13:57:54,092: 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-29 13:57:54,274: DEBUG - Reading package lists...
2024-02-29 13:57:54,450: DEBUG - Building dependency tree...
2024-02-29 13:57:54,452: DEBUG - Reading state information...
2024-02-29 13:57:54,577: DEBUG - Correcting dependencies... Done
2024-02-29 13:57:54,776: DEBUG - The following additional packages will be installed:
2024-02-29 13:57:54,776: DEBUG - php8.1 php8.1-curl php8.1-fpm php8.1-gd php8.1-intl php8.1-ldap
2024-02-29 13:57:54,776: DEBUG - php8.1-mbstring php8.1-mysql php8.1-xml php8.1-zip
2024-02-29 13:57:54,801: DEBUG - The following NEW packages will be installed:
2024-02-29 13:57:54,801: DEBUG - php8.1 php8.1-curl php8.1-fpm php8.1-gd php8.1-intl php8.1-ldap
2024-02-29 13:57:54,801: DEBUG - php8.1-mbstring php8.1-mysql php8.1-xml php8.1-zip
2024-02-29 13:57:55,018: DEBUG - 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
2024-02-29 13:57:55,018: DEBUG - Need to get 2590 kB of archives.
2024-02-29 13:57:55,018: DEBUG - After this operation, 8781 kB of additional disk space will be used.
2024-02-29 13:57:55,019: DEBUG - Get:1 https://packages.sury.org/php bullseye/main amd64 php8.1-fpm amd64 8.1.27-1+0~20231221.58+debian11~1.gbp3895b2 [1684 kB]
2024-02-29 13:57:55,619: DEBUG - Get:2 https://packages.sury.org/php bullseye/main amd64 php8.1 all 8.1.27-1+0~20231221.58+debian11~1.gbp3895b2 [40.0 kB]
2024-02-29 13:57:55,627: DEBUG - Get:3 https://packages.sury.org/php bullseye/main amd64 php8.1-curl amd64 8.1.27-1+0~20231221.58+debian11~1.gbp3895b2 [33.7 kB]
2024-02-29 13:57:55,634: DEBUG - Get:4 https://packages.sury.org/php bullseye/main amd64 php8.1-gd amd64 8.1.27-1+0~20231221.58+debian11~1.gbp3895b2 [28.7 kB]
2024-02-29 13:57:55,639: DEBUG - Get:5 https://packages.sury.org/php bullseye/main amd64 php8.1-intl amd64 8.1.27-1+0~20231221.58+debian11~1.gbp3895b2 [125 kB]
2024-02-29 13:57:55,666: DEBUG - Get:6 https://packages.sury.org/php bullseye/main amd64 php8.1-ldap amd64 8.1.27-1+0~20231221.58+debian11~1.gbp3895b2 [30.7 kB]
2024-02-29 13:57:55,672: DEBUG - Get:7 https://packages.sury.org/php bullseye/main amd64 php8.1-mbstring amd64 8.1.27-1+0~20231221.58+debian11~1.gbp3895b2 [397 kB]
2024-02-29 13:57:55,750: DEBUG - Get:8 https://packages.sury.org/php bullseye/main amd64 php8.1-mysql amd64 8.1.27-1+0~20231221.58+debian11~1.gbp3895b2 [116 kB]
2024-02-29 13:57:55,773: DEBUG - Get:9 https://packages.sury.org/php bullseye/main amd64 php8.1-xml amd64 8.1.27-1+0~20231221.58+debian11~1.gbp3895b2 [111 kB]
2024-02-29 13:57:55,826: DEBUG - Get:10 https://packages.sury.org/php bullseye/main amd64 php8.1-zip amd64 8.1.27-1+0~20231221.58+debian11~1.gbp3895b2 [24.2 kB]
2024-02-29 13:57:56,279: DEBUG - Fetched 2590 kB in 1s (2553 kB/s)
2024-02-29 13:57:56,368: DEBUG - Selecting previously unselected package php8.1-fpm.
2024-02-29 13:57:56,466: DEBUG - (Reading database ... 135242 files and directories currently installed.)
2024-02-29 13:57:56,471: DEBUG - Preparing to unpack .../0-php8.1-fpm_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 13:57:56,537: DEBUG - Unpacking php8.1-fpm (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:56,868: DEBUG - Selecting previously unselected package php8.1.
2024-02-29 13:57:56,871: DEBUG - Preparing to unpack .../1-php8.1_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_all.deb ...
2024-02-29 13:57:56,874: DEBUG - Unpacking php8.1 (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:56,992: DEBUG - Selecting previously unselected package php8.1-curl.
2024-02-29 13:57:56,999: DEBUG - Preparing to unpack .../2-php8.1-curl_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 13:57:57,029: DEBUG - Unpacking php8.1-curl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:57,132: DEBUG - Selecting previously unselected package php8.1-gd.
2024-02-29 13:57:57,134: DEBUG - Preparing to unpack .../3-php8.1-gd_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 13:57:57,142: DEBUG - Unpacking php8.1-gd (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:57,188: DEBUG - Selecting previously unselected package php8.1-intl.
2024-02-29 13:57:57,193: DEBUG - Preparing to unpack .../4-php8.1-intl_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 13:57:57,197: DEBUG - Unpacking php8.1-intl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:57,260: DEBUG - Selecting previously unselected package php8.1-ldap.
2024-02-29 13:57:57,266: DEBUG - Preparing to unpack .../5-php8.1-ldap_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 13:57:57,271: DEBUG - Unpacking php8.1-ldap (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:57,320: DEBUG - Selecting previously unselected package php8.1-mbstring.
2024-02-29 13:57:57,321: DEBUG - Preparing to unpack .../6-php8.1-mbstring_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 13:57:57,325: DEBUG - Unpacking php8.1-mbstring (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:57,393: DEBUG - Selecting previously unselected package php8.1-mysql.
2024-02-29 13:57:57,401: DEBUG - Preparing to unpack .../7-php8.1-mysql_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 13:57:57,404: DEBUG - Unpacking php8.1-mysql (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:57,447: DEBUG - Selecting previously unselected package php8.1-xml.
2024-02-29 13:57:57,455: DEBUG - Preparing to unpack .../8-php8.1-xml_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 13:57:57,458: DEBUG - Unpacking php8.1-xml (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:57,508: DEBUG - Selecting previously unselected package php8.1-zip.
2024-02-29 13:57:57,516: DEBUG - Preparing to unpack .../9-php8.1-zip_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 13:57:57,520: DEBUG - Unpacking php8.1-zip (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:57,606: DEBUG - Setting up php8.1-mbstring (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:58,186: DEBUG -
2024-02-29 13:57:58,186: DEBUG - Creating config file /etc/php/8.1/mods-available/mbstring.ini with new version
2024-02-29 13:57:58,411: DEBUG - Setting up php8.1-gd (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:58,665: DEBUG -
2024-02-29 13:57:58,666: DEBUG - Creating config file /etc/php/8.1/mods-available/gd.ini with new version
2024-02-29 13:57:58,828: DEBUG - Setting up php8.1-curl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:59,006: DEBUG -
2024-02-29 13:57:59,006: DEBUG - Creating config file /etc/php/8.1/mods-available/curl.ini with new version
2024-02-29 13:57:59,197: DEBUG - Setting up php8.1-xml (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:57:59,477: DEBUG -
2024-02-29 13:57:59,477: DEBUG - Creating config file /etc/php/8.1/mods-available/dom.ini with new version
2024-02-29 13:58:00,399: DEBUG -
2024-02-29 13:58:00,399: DEBUG - Creating config file /etc/php/8.1/mods-available/simplexml.ini with new version
2024-02-29 13:58:00,750: DEBUG -
2024-02-29 13:58:00,750: DEBUG - Creating config file /etc/php/8.1/mods-available/xml.ini with new version
2024-02-29 13:58:01,502: DEBUG -
2024-02-29 13:58:01,503: DEBUG - Creating config file /etc/php/8.1/mods-available/xmlreader.ini with new version
2024-02-29 13:58:02,520: DEBUG -
2024-02-29 13:58:02,520: DEBUG - Creating config file /etc/php/8.1/mods-available/xmlwriter.ini with new version
2024-02-29 13:58:03,645: DEBUG -
2024-02-29 13:58:03,645: DEBUG - Creating config file /etc/php/8.1/mods-available/xsl.ini with new version
2024-02-29 13:58:04,453: DEBUG - Setting up php8.1-fpm (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:58:04,799: DEBUG -
2024-02-29 13:58:04,799: DEBUG - Creating config file /etc/php/8.1/fpm/php.ini with new version
2024-02-29 13:58:05,692: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/php8.1-fpm.service -> /lib/systemd/system/php8.1-fpm.service.
2024-02-29 13:58:06,419: DEBUG - Setting up php8.1-mysql (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:58:06,660: DEBUG -
2024-02-29 13:58:06,660: DEBUG - Creating config file /etc/php/8.1/mods-available/mysqlnd.ini with new version
2024-02-29 13:58:07,401: DEBUG -
2024-02-29 13:58:07,401: DEBUG - Creating config file /etc/php/8.1/mods-available/mysqli.ini with new version
2024-02-29 13:58:07,780: DEBUG -
2024-02-29 13:58:07,780: DEBUG - Creating config file /etc/php/8.1/mods-available/pdo_mysql.ini with new version
2024-02-29 13:58:07,916: DEBUG - Setting up php8.1-zip (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:58:08,150: DEBUG -
2024-02-29 13:58:08,150: DEBUG - Creating config file /etc/php/8.1/mods-available/zip.ini with new version
2024-02-29 13:58:08,295: DEBUG - Setting up php8.1-intl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:58:08,505: DEBUG -
2024-02-29 13:58:08,505: DEBUG - Creating config file /etc/php/8.1/mods-available/intl.ini with new version
2024-02-29 13:58:08,644: DEBUG - Setting up php8.1-ldap (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:58:08,815: DEBUG -
2024-02-29 13:58:08,815: DEBUG - Creating config file /etc/php/8.1/mods-available/ldap.ini with new version
2024-02-29 13:58:08,955: DEBUG - Setting up php8.1 (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:58:08,964: DEBUG - Processing triggers for man-db (2.9.4-2) ...
2024-02-29 13:58:09,336: DEBUG - Processing triggers for php8.1-cli (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:58:09,342: DEBUG - Processing triggers for php8.1-fpm (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 13:58:09,529: DEBUG - + [[ -n /tmp/tmp.gtBL5g9xta ]]
2024-02-29 13:58:09,529: DEBUG - + rm --recursive --force /tmp/tmp.gtBL5g9xta
2024-02-29 13:58:09,529: DEBUG - + ynh_package_is_installed roundcube-ynh-deps
2024-02-29 13:58:09,535: DEBUG - + ynh_wait_dpkg_free
2024-02-29 13:58:09,764: DEBUG - + return 0
2024-02-29 13:58:09,764: DEBUG - + grep --count 'ok installed'
2024-02-29 13:58:09,765: DEBUG - + dpkg-query --show '--showformat=${Status}' roundcube-ynh-deps
2024-02-29 13:58:09,780: DEBUG - + rm /tmp/roundcube-ynh-deps.control
2024-02-29 13:58:09,781: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-02-29 13:58:09,787: DEBUG - ++ ynh_wait_dpkg_free
2024-02-29 13:58:09,994: DEBUG - ++ return 0
2024-02-29 13:58:09,995: DEBUG - ++ grep --count 'ok installed'
2024-02-29 13:58:09,995: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-02-29 13:58:10,011: DEBUG - ++ echo yes
2024-02-29 13:58:10,012: DEBUG - + local psql_installed2=yes
2024-02-29 13:58:10,012: DEBUG - + [[ yes != \y\e\s ]]
2024-02-29 13:58:10,012: DEBUG - + ynh_exit_properly
2024-02-29 13:58:10,012: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2024-02-29 13:58:11,013: INFO - Provisioning database...
2024-02-29 13:58:11,142: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./upgrade" 7>&1']'
2024-02-29 13:58:11,146: DEBUG - + source _common.sh
2024-02-29 13:58:11,147: DEBUG - ++ YNH_COMPOSER_VERSION=2.5.5
2024-02-29 13:58:11,147: DEBUG - ++ contextmenu_version=3.3.1
2024-02-29 13:58:11,147: DEBUG - ++ automatic_addressbook_version=v0.4.3
2024-02-29 13:58:11,147: DEBUG - ++ carddav_version=5.0.1
2024-02-29 13:58:11,147: DEBUG - + source /usr/share/yunohost/helpers
2024-02-29 13:58:11,147: DEBUG - +++ set +o
2024-02-29 13:58:11,147: DEBUG - +++ grep xtrace
2024-02-29 13:58:11,149: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-02-29 13:58:11,149: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-02-29 13:58:11,161: DEBUG - ++ ynh_check_app_version_changed
2024-02-29 13:58:11,161: DEBUG - ++ local return_value=UPGRADE_APP
2024-02-29 13:58:11,161: DEBUG - ++ '[' UPGRADE_APP == UPGRADE_SAME ']'
2024-02-29 13:58:11,161: DEBUG - ++ '[' UPGRADE_APP == DOWNGRADE ']'
2024-02-29 13:58:11,161: DEBUG - ++ echo UPGRADE_APP
2024-02-29 13:58:11,161: DEBUG - + upgrade_type=UPGRADE_APP
2024-02-29 13:58:11,203: INFO - [....................] > Ensuring downward compatibility...
2024-02-29 13:58:11,204: DEBUG - + '[' -z 0 ']'
2024-02-29 13:58:11,204: DEBUG - + '[' -z en_GB ']'
2024-02-29 13:58:11,204: DEBUG - + '[' -z low ']'
2024-02-29 13:58:11,204: DEBUG - + '[' -z 0 ']'
2024-02-29 13:58:11,204: DEBUG - + '[' -z low ']'
2024-02-29 13:58:11,204: DEBUG - ++ grep RCMAIL_VERSION /var/www/roundcube/program/include/iniset.php
2024-02-29 13:58:11,205: DEBUG - ++ cut '-d'\''' -f4
2024-02-29 13:58:11,205: DEBUG - + oldversion=1.6.0
2024-02-29 13:58:11,205: DEBUG - + '[' UPGRADE_APP == UPGRADE_APP ']'
2024-02-29 13:58:11,242: INFO - [+...................] > Upgrading source files...
2024-02-29 13:58:11,242: DEBUG - + ynh_setup_source --dest_dir=/var/www/roundcube
2024-02-29 13:58:11,258: DEBUG - + keep=
2024-02-29 13:58:11,258: DEBUG - + full_replace=0
2024-02-29 13:58:11,258: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:11,258: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:11,258: DEBUG - + jq -e .resources.sources
2024-02-29 13:58:11,261: DEBUG - + toml_to_json
2024-02-29 13:58:11,261: DEBUG - + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 13:58:11,308: DEBUG - + source_id=main
2024-02-29 13:58:11,308: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:11,308: DEBUG - ++ jq '.resources.sources["main"]'
2024-02-29 13:58:11,312: DEBUG - ++ toml_to_json
2024-02-29 13:58:11,312: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 13:58:11,343: DEBUG - + local 'sources_json={
2024-02-29 13:58:11,343: DEBUG - "url": "https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz",
2024-02-29 13:58:11,343: DEBUG - "sha256": "40e4d7505b01f401e757f7439930ed96b1245ffc3863dd326fcf21e0e5847c74",
2024-02-29 13:58:11,343: DEBUG - "autoupdate": {
2024-02-29 13:58:11,343: DEBUG - "strategy": "latest_github_release"
2024-02-29 13:58:11,343: DEBUG - }
2024-02-29 13:58:11,343: DEBUG - }'
2024-02-29 13:58:11,343: DEBUG - + jq -re .url
2024-02-29 13:58:11,367: DEBUG - https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz
2024-02-29 13:58:11,367: DEBUG - + local arch_prefix=
2024-02-29 13:58:11,368: DEBUG - ++ jq -r .url
2024-02-29 13:58:11,368: DEBUG - ++ sed 's/^null$//'
2024-02-29 13:58:11,399: DEBUG - + local src_url=https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz
2024-02-29 13:58:11,399: DEBUG - ++ jq -r .sha256
2024-02-29 13:58:11,400: DEBUG - ++ sed 's/^null$//'
2024-02-29 13:58:11,430: DEBUG - + local src_sum=40e4d7505b01f401e757f7439930ed96b1245ffc3863dd326fcf21e0e5847c74
2024-02-29 13:58:11,430: DEBUG - + local src_sumprg=sha256sum
2024-02-29 13:58:11,430: DEBUG - ++ jq -r .format
2024-02-29 13:58:11,431: DEBUG - ++ sed 's/^null$//'
2024-02-29 13:58:11,460: DEBUG - + local src_format=
2024-02-29 13:58:11,461: DEBUG - ++ jq -r .in_subdir
2024-02-29 13:58:11,461: DEBUG - ++ sed 's/^null$//'
2024-02-29 13:58:11,488: DEBUG - + local src_in_subdir=
2024-02-29 13:58:11,489: DEBUG - ++ jq -r .extract
2024-02-29 13:58:11,489: DEBUG - ++ sed 's/^null$//'
2024-02-29 13:58:11,514: DEBUG - + local src_extract=
2024-02-29 13:58:11,515: DEBUG - ++ jq -r .platform
2024-02-29 13:58:11,515: DEBUG - ++ sed 's/^null$//'
2024-02-29 13:58:11,541: DEBUG - + local src_platform=
2024-02-29 13:58:11,541: DEBUG - ++ jq -r .rename
2024-02-29 13:58:11,541: DEBUG - ++ sed 's/^null$//'
2024-02-29 13:58:11,572: DEBUG - + local src_rename=
2024-02-29 13:58:11,572: DEBUG - + [[ -n https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz ]]
2024-02-29 13:58:11,572: DEBUG - + [[ -n 40e4d7505b01f401e757f7439930ed96b1245ffc3863dd326fcf21e0e5847c74 ]]
2024-02-29 13:58:11,572: DEBUG - + [[ -z '' ]]
2024-02-29 13:58:11,572: DEBUG - + [[ https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz =~ ^.*\.zip$ ]]
2024-02-29 13:58:11,572: DEBUG - + [[ https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz =~ ^.*/zipball/.*$ ]]
2024-02-29 13:58:11,572: DEBUG - + [[ https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz =~ ^.*\.tar\.gz$ ]]
2024-02-29 13:58:11,572: DEBUG - + src_format=tar.gz
2024-02-29 13:58:11,572: DEBUG - + src_sumprg=sha256sum
2024-02-29 13:58:11,573: DEBUG - + src_in_subdir=true
2024-02-29 13:58:11,573: DEBUG - + src_format=tar.gz
2024-02-29 13:58:11,573: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2024-02-29 13:58:11,574: DEBUG - ++ echo tar.gz
2024-02-29 13:58:11,575: DEBUG - + src_format=tar.gz
2024-02-29 13:58:11,575: DEBUG - + src_extract=true
2024-02-29 13:58:11,575: DEBUG - + [[ true != \t\r\u\e ]]
2024-02-29 13:58:11,575: DEBUG - + local local_src=/opt/yunohost-apps-src/roundcube/main
2024-02-29 13:58:11,576: DEBUG - ++ dirname /var/cache/yunohost/download/roundcube/main
2024-02-29 13:58:11,576: DEBUG - + mkdir -p /var/cache/yunohost/download/roundcube
2024-02-29 13:58:11,578: DEBUG - + src_filename=/var/cache/yunohost/download/roundcube/main
2024-02-29 13:58:11,578: DEBUG - + '[' tar.gz = docker ']'
2024-02-29 13:58:11,578: DEBUG - + test -e /opt/yunohost-apps-src/roundcube/main
2024-02-29 13:58:11,578: DEBUG - + '[' -n https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz ']'
2024-02-29 13:58:11,578: DEBUG - + '[' -e /var/cache/yunohost/download/roundcube/main ']'
2024-02-29 13:58:11,578: DEBUG - + sha256sum --check --status
2024-02-29 13:58:11,595: DEBUG - + '[' '!' -e /var/cache/yunohost/download/roundcube/main ']'
2024-02-29 13:58:11,595: DEBUG - + sha256sum --check --status
2024-02-29 13:58:11,613: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-02-29 13:58:11,613: DEBUG - + '[' -n '' ']'
2024-02-29 13:58:11,614: DEBUG - + mkdir --parents /var/www/roundcube
2024-02-29 13:58:11,615: DEBUG - + '[' -n /var/www/roundcube ']'
2024-02-29 13:58:11,615: DEBUG - + '[' /var/www/roundcube == /var/www/roundcube ']'
2024-02-29 13:58:11,615: DEBUG - + _ynh_apply_default_permissions /var/www/roundcube
2024-02-29 13:58:11,615: DEBUG - + local target=/var/www/roundcube
2024-02-29 13:58:11,616: DEBUG - ++ tr -d '<>= '
2024-02-29 13:58:11,620: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-29 13:58:11,634: DEBUG - ++ '[' '!' -e '' ']'
2024-02-29 13:58:11,634: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.json ']'
2024-02-29 13:58:11,634: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml ']'
2024-02-29 13:58:11,634: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:11,634: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:11,635: DEBUG - ++ grep -q '\.json$'
2024-02-29 13:58:11,637: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 13:58:11,644: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-29 13:58:11,647: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:11,692: DEBUG - + local ynh_requirement=null
2024-02-29 13:58:11,692: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-29 13:58:11,693: DEBUG - + chmod o-rwx /var/www/roundcube
2024-02-29 13:58:11,694: DEBUG - + chmod g-w /var/www/roundcube
2024-02-29 13:58:11,694: DEBUG - + chown -R root:root /var/www/roundcube
2024-02-29 13:58:11,715: DEBUG - + ynh_system_user_exists roundcube
2024-02-29 13:58:11,721: DEBUG - + getent passwd roundcube
2024-02-29 13:58:11,723: DEBUG - + chown roundcube:roundcube /var/www/roundcube
2024-02-29 13:58:11,726: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-29 13:58:11,727: DEBUG - + echo /var/www/roundcube
2024-02-29 13:58:11,728: DEBUG - + '[' -n '' ']'
2024-02-29 13:58:11,728: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-02-29 13:58:11,728: DEBUG - + [[ tar.gz == \d\o\c\k\e\r ]]
2024-02-29 13:58:11,728: DEBUG - + [[ tar.gz == \z\i\p ]]
2024-02-29 13:58:11,729: DEBUG - + local strip=
2024-02-29 13:58:11,729: DEBUG - + '[' true '!=' false ']'
2024-02-29 13:58:11,729: DEBUG - + '[' true == true ']'
2024-02-29 13:58:11,729: DEBUG - + local sub_dirs=1
2024-02-29 13:58:11,729: DEBUG - + strip='--strip-components 1'
2024-02-29 13:58:11,729: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2024-02-29 13:58:11,729: DEBUG - + tar --extract --file=/var/cache/yunohost/download/roundcube/main --directory=/var/www/roundcube --strip-components 1
2024-02-29 13:58:11,918: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/roundcube/main
2024-02-29 13:58:11,930: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/sources/patches/ ']'
2024-02-29 13:58:11,930: DEBUG - ++ realpath /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/sources/patches/
2024-02-29 13:58:11,931: DEBUG - + local patches_folder=/var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/sources/patches
2024-02-29 13:58:11,931: DEBUG - ++ find /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/sources/patches -type f -name 'main-*.patch'
2024-02-29 13:58:11,931: DEBUG - ++ wc --lines
2024-02-29 13:58:11,933: DEBUG - + (( 0 > 0 ))
2024-02-29 13:58:11,933: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/sources/extra_files/main
2024-02-29 13:58:11,933: DEBUG - + '[' -n '' ']'
2024-02-29 13:58:11,934: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-02-29 13:58:11,934: DEBUG - + chmod -R o-rwx /var/www/roundcube
2024-02-29 13:58:11,954: DEBUG - + chown -R roundcube:www-data /var/www/roundcube
2024-02-29 13:58:12,025: INFO - [#+..................] > Upgrading PHP-FPM configuration...
2024-02-29 13:58:12,025: DEBUG - + ynh_add_fpm_config --usage=low --footprint=low
2024-02-29 13:58:12,026: DEBUG - + local _globalphpversion=8.1
2024-02-29 13:58:12,085: DEBUG - + package=
2024-02-29 13:58:12,085: DEBUG - + group=
2024-02-29 13:58:12,085: DEBUG - + local autogenconf=false
2024-02-29 13:58:12,085: DEBUG - + usage=low
2024-02-29 13:58:12,086: DEBUG - + footprint=low
2024-02-29 13:58:12,086: DEBUG - + '[' -n low ']'
2024-02-29 13:58:12,086: DEBUG - + autogenconf=true
2024-02-29 13:58:12,086: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_usage
2024-02-29 13:58:12,086: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:58:12,104: DEBUG - ++ app=roundcube
2024-02-29 13:58:12,104: DEBUG - ++ [[ fpm_usage =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:12,104: DEBUG - ++ ynh_app_setting get roundcube fpm_usage
2024-02-29 13:58:12,147: DEBUG - + local fpm_usage_in_setting=low
2024-02-29 13:58:12,147: DEBUG - + '[' -z low ']'
2024-02-29 13:58:12,147: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_footprint
2024-02-29 13:58:12,147: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:58:12,167: DEBUG - ++ app=roundcube
2024-02-29 13:58:12,167: DEBUG - ++ [[ fpm_footprint =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:12,167: DEBUG - ++ ynh_app_setting get roundcube fpm_footprint
2024-02-29 13:58:12,210: DEBUG - + local fpm_footprint_in_setting=low
2024-02-29 13:58:12,210: DEBUG - + '[' -z low ']'
2024-02-29 13:58:12,210: DEBUG - + dedicated_service=0
2024-02-29 13:58:12,210: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 13:58:12,211: DEBUG - + phpversion=8.1
2024-02-29 13:58:12,211: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-02-29 13:58:12,212: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:58:12,228: DEBUG - ++ app=roundcube
2024-02-29 13:58:12,229: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:12,229: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-02-29 13:58:12,274: DEBUG - + local old_phpversion=8.1
2024-02-29 13:58:12,275: DEBUG - + '[' -n 8.1 ']'
2024-02-29 13:58:12,275: DEBUG - + '[' 8.1 '!=' 8.1 ']'
2024-02-29 13:58:12,275: DEBUG - + '[' -n '' ']'
2024-02-29 13:58:12,275: DEBUG - + local fpm_service=php8.1-fpm
2024-02-29 13:58:12,275: DEBUG - + local fpm_config_dir=/etc/php/8.1/fpm
2024-02-29 13:58:12,275: DEBUG - + mkdir --parents /etc/php/8.1/fpm/pool.d
2024-02-29 13:58:12,275: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_config_dir --value=/etc/php/8.1/fpm
2024-02-29 13:58:12,276: DEBUG - + local _globalapp=roundcube
2024-02-29 13:58:12,312: DEBUG - + app=roundcube
2024-02-29 13:58:12,312: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:12,313: DEBUG - + ynh_app_setting set roundcube fpm_config_dir /etc/php/8.1/fpm
2024-02-29 13:58:12,353: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_service --value=php8.1-fpm
2024-02-29 13:58:12,353: DEBUG - + local _globalapp=roundcube
2024-02-29 13:58:12,411: DEBUG - + app=roundcube
2024-02-29 13:58:12,411: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:12,411: DEBUG - + ynh_app_setting set roundcube fpm_service php8.1-fpm
2024-02-29 13:58:12,458: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_dedicated_service --value=0
2024-02-29 13:58:12,458: DEBUG - + local _globalapp=roundcube
2024-02-29 13:58:12,503: DEBUG - + app=roundcube
2024-02-29 13:58:12,503: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:12,503: DEBUG - + ynh_app_setting set roundcube fpm_dedicated_service 0
2024-02-29 13:58:12,551: DEBUG - + ynh_app_setting_set --app=roundcube --key=phpversion --value=8.1
2024-02-29 13:58:12,551: DEBUG - + local _globalapp=roundcube
2024-02-29 13:58:12,603: DEBUG - + app=roundcube
2024-02-29 13:58:12,603: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:12,603: DEBUG - + ynh_app_setting set roundcube phpversion 8.1
2024-02-29 13:58:12,649: DEBUG - + '[' true == false ']'
2024-02-29 13:58:12,650: DEBUG - + ynh_get_scalable_phpfpm --usage=low --footprint=low
2024-02-29 13:58:12,697: DEBUG - + footprint=low
2024-02-29 13:58:12,697: DEBUG - + usage=low
2024-02-29 13:58:12,697: DEBUG - + print=0
2024-02-29 13:58:12,698: DEBUG - + '[' low = low ']'
2024-02-29 13:58:12,698: DEBUG - + footprint=20
2024-02-29 13:58:12,698: DEBUG - + '[' 20 -le 20 ']'
2024-02-29 13:58:12,698: DEBUG - + min_spare_servers_factor=8
2024-02-29 13:58:12,698: DEBUG - + '[' low = low ']'
2024-02-29 13:58:12,698: DEBUG - + php_pm=ondemand
2024-02-29 13:58:12,698: DEBUG - ++ ynh_get_ram --total --ignore_swap
2024-02-29 13:58:12,730: DEBUG - ++ ignore_swap=1
2024-02-29 13:58:12,731: DEBUG - ++ only_swap=0
2024-02-29 13:58:12,731: DEBUG - ++ free=0
2024-02-29 13:58:12,731: DEBUG - ++ total=1
2024-02-29 13:58:12,731: DEBUG - +++ LC_ALL=C
2024-02-29 13:58:12,731: DEBUG - +++ vmstat --stats --unit M
2024-02-29 13:58:12,732: DEBUG - +++ grep 'total memory'
2024-02-29 13:58:12,732: DEBUG - +++ awk '{print $1}'
2024-02-29 13:58:12,736: DEBUG - ++ local total_ram=30069
2024-02-29 13:58:12,736: DEBUG - +++ LC_ALL=C
2024-02-29 13:58:12,737: DEBUG - +++ grep 'total swap'
2024-02-29 13:58:12,737: DEBUG - +++ vmstat --stats --unit M
2024-02-29 13:58:12,739: DEBUG - +++ awk '{print $1}'
2024-02-29 13:58:12,741: DEBUG - ++ local total_swap=975
2024-02-29 13:58:12,741: DEBUG - ++ local total_ram_swap=31044
2024-02-29 13:58:12,741: DEBUG - ++ local ram=31044
2024-02-29 13:58:12,741: DEBUG - ++ ram=30069
2024-02-29 13:58:12,741: DEBUG - ++ echo 30069
2024-02-29 13:58:12,741: DEBUG - + local max_ram=30069
2024-02-29 13:58:12,742: DEBUG - + php_max_children=751
2024-02-29 13:58:12,742: DEBUG - + '[' ondemand = static ']'
2024-02-29 13:58:12,742: DEBUG - ++ at_least_one 751
2024-02-29 13:58:12,742: DEBUG - ++ '[' 751 -le 0 ']'
2024-02-29 13:58:12,742: DEBUG - ++ echo 751
2024-02-29 13:58:12,742: DEBUG - + php_max_children=751
2024-02-29 13:58:12,742: DEBUG - ++ nproc
2024-02-29 13:58:12,747: DEBUG - + local core_number=4
2024-02-29 13:58:12,747: DEBUG - + local max_proc=16
2024-02-29 13:58:12,747: DEBUG - + '[' 751 -gt 16 ']'
2024-02-29 13:58:12,747: DEBUG - + php_max_children=16
2024-02-29 13:58:12,748: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=php_forced_max_children
2024-02-29 13:58:12,748: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:58:12,774: DEBUG - ++ app=roundcube
2024-02-29 13:58:12,774: DEBUG - ++ [[ php_forced_max_children =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:12,774: DEBUG - ++ ynh_app_setting get roundcube php_forced_max_children
2024-02-29 13:58:12,822: DEBUG - + local php_forced_max_children=
2024-02-29 13:58:12,822: DEBUG - + '[' -n '' ']'
2024-02-29 13:58:12,822: DEBUG - + '[' ondemand = dynamic ']'
2024-02-29 13:58:12,822: DEBUG - + php_min_spare_servers=0
2024-02-29 13:58:12,822: DEBUG - + php_max_spare_servers=0
2024-02-29 13:58:12,822: DEBUG - + php_start_servers=0
2024-02-29 13:58:12,822: DEBUG - ++ echo roundcube
2024-02-29 13:58:12,823: DEBUG - + local phpfpm_group=roundcube
2024-02-29 13:58:12,823: DEBUG - + local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/php-fpm.conf
2024-02-29 13:58:12,823: DEBUG - [__APP__]
2024-02-29 13:58:12,823: DEBUG -
2024-02-29 13:58:12,823: DEBUG - user = __APP__
2024-02-29 13:58:12,823: DEBUG - group = __PHPFPM_GROUP__
2024-02-29 13:58:12,823: DEBUG -
2024-02-29 13:58:12,823: DEBUG - chdir = __INSTALL_DIR__
2024-02-29 13:58:12,823: DEBUG -
2024-02-29 13:58:12,823: DEBUG - listen = /var/run/php/php__PHPVERSION__-fpm-__APP__.sock
2024-02-29 13:58:12,823: DEBUG - listen.owner = www-data
2024-02-29 13:58:12,823: DEBUG - listen.group = www-data
2024-02-29 13:58:12,823: DEBUG -
2024-02-29 13:58:12,824: DEBUG - pm = __PHP_PM__
2024-02-29 13:58:12,824: DEBUG - pm.max_children = __PHP_MAX_CHILDREN__
2024-02-29 13:58:12,824: DEBUG - pm.max_requests = 500
2024-02-29 13:58:12,824: DEBUG - request_terminate_timeout = 1d
2024-02-29 13:58:12,824: DEBUG - '
2024-02-29 13:58:12,824: DEBUG - + '[' ondemand = dynamic ']'
2024-02-29 13:58:12,824: DEBUG - + '[' ondemand = ondemand ']'
2024-02-29 13:58:12,824: DEBUG - pm.process_idle_timeout = 10s
2024-02-29 13:58:12,824: DEBUG - '
2024-02-29 13:58:12,824: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/extra_php-fpm.conf ']'
2024-02-29 13:58:12,824: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/extra_php-fpm.conf
2024-02-29 13:58:12,825: DEBUG - + local finalphpconf=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,826: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/php-fpm.conf --destination=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,846: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf//var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/php-fpm.conf ']'
2024-02-29 13:58:12,846: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/php-fpm.conf ']'
2024-02-29 13:58:12,846: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/php-fpm.conf
2024-02-29 13:58:12,846: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,852: DEBUG - + local checksum_setting_name=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-29 13:58:12,852: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-29 13:58:12,852: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:58:12,872: DEBUG - ++ app=roundcube
2024-02-29 13:58:12,872: DEBUG - ++ [[ checksum__etc_php_8.1_fpm_pool.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:12,872: DEBUG - ++ ynh_app_setting get roundcube checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-29 13:58:12,926: DEBUG - + local checksum_value=
2024-02-29 13:58:12,926: DEBUG - + backup_file_checksum=
2024-02-29 13:58:12,926: DEBUG - + '[' -n '' ']'
2024-02-29 13:58:12,926: DEBUG - + touch /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,936: DEBUG - + chown root:root /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,937: DEBUG - + chmod 640 /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,937: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/php-fpm.conf /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,939: DEBUG - + _ynh_apply_default_permissions /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,939: DEBUG - + local target=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,939: DEBUG - ++ tr -d '<>= '
2024-02-29 13:58:12,940: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-29 13:58:12,951: DEBUG - ++ '[' '!' -e '' ']'
2024-02-29 13:58:12,951: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.json ']'
2024-02-29 13:58:12,952: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml ']'
2024-02-29 13:58:12,952: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:12,952: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:12,952: DEBUG - ++ grep -q '\.json$'
2024-02-29 13:58:12,953: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:12,954: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 13:58:12,955: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-29 13:58:12,992: DEBUG - + local ynh_requirement=null
2024-02-29 13:58:12,992: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-29 13:58:12,993: DEBUG - + chmod o-rwx /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,993: DEBUG - + chmod g-w /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,994: DEBUG - + chown -R root:root /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:12,995: DEBUG - + ynh_system_user_exists roundcube
2024-02-29 13:58:13,001: DEBUG - + getent passwd roundcube
2024-02-29 13:58:13,002: DEBUG - + chown roundcube:roundcube /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,003: DEBUG - + echo /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,004: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-29 13:58:13,005: DEBUG - + chmod 400 /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,005: DEBUG - + chown root:root /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,006: DEBUG - + ynh_replace_vars --file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,017: DEBUG - + test -n /webmail
2024-02-29 13:58:13,017: DEBUG - + local path_url_slash_less=/webmail
2024-02-29 13:58:13,017: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/webmail/ --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,066: DEBUG - + sed --in-place $'s\001__PATH__/\001/webmail/\001g' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,067: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/webmail --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,117: DEBUG - + sed --in-place $'s\001__PATH__\001/webmail\001g' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,119: DEBUG - + test -n roundcube
2024-02-29 13:58:13,119: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=roundcube --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,199: DEBUG - + sed --in-place $'s\001__NAME__\001roundcube\001g' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,201: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=roundcube --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,267: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001roundcube\001g' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,268: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=roundcube --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,322: DEBUG - + sed --in-place $'s\001__USER__\001roundcube\001g' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,324: DEBUG - + test -n ''
2024-02-29 13:58:13,324: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 13:58:13,325: DEBUG - + test -n ''
2024-02-29 13:58:13,326: DEBUG - ++ sort --unique
2024-02-29 13:58:13,327: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,331: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-02-29 13:58:13,333: DEBUG - + uniques_vars=('app' 'install_dir' 'phpfpm_group' 'php_max_children' 'php_pm' 'phpversion')
2024-02-29 13:58:13,343: DEBUG - + ynh_store_file_checksum --file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,343: DEBUG - + update_only=0
2024-02-29 13:58:13,356: DEBUG - + local checksum_setting_name=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-29 13:58:13,356: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-29 13:58:13,357: DEBUG - ++ md5sum /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 13:58:13,359: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf --value=686c0695ebdef15496c767620b0acb90
2024-02-29 13:58:13,359: DEBUG - + local _globalapp=roundcube
2024-02-29 13:58:13,414: DEBUG - + app=roundcube
2024-02-29 13:58:13,414: DEBUG - + [[ checksum__etc_php_8.1_fpm_pool.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:13,414: DEBUG - + ynh_app_setting set roundcube checksum__etc_php_8.1_fpm_pool.d_roundcube.conf 686c0695ebdef15496c767620b0acb90
2024-02-29 13:58:13,461: DEBUG - + '[' -n '' ']'
2024-02-29 13:58:13,461: DEBUG - + unset backup_file_checksum
2024-02-29 13:58:13,461: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/php-fpm.ini ']'
2024-02-29 13:58:13,461: DEBUG - + php-fpm8.1 --test
2024-02-29 13:58:13,497: DEBUG - + ynh_systemd_action --service_name=php8.1-fpm --action=reload
2024-02-29 13:58:13,549: DEBUG - + service_name=php8.1-fpm
2024-02-29 13:58:13,549: DEBUG - + action=reload
2024-02-29 13:58:13,549: DEBUG - + line_match=
2024-02-29 13:58:13,549: DEBUG - + length=20
2024-02-29 13:58:13,549: DEBUG - + log_path=/var/log/php8.1-fpm/php8.1-fpm.log
2024-02-29 13:58:13,549: DEBUG - + timeout=300
2024-02-29 13:58:13,549: DEBUG - + '[' reload == stop ']'
2024-02-29 13:58:13,549: DEBUG - + '[' reload == reload ']'
2024-02-29 13:58:13,550: DEBUG - + action=reload-or-restart
2024-02-29 13:58:13,550: DEBUG - ++ cut -d+ -f1
2024-02-29 13:58:13,550: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-29 13:58:13,551: DEBUG - + local 'time_start=2024-02-29 12:58:13 UTC'
2024-02-29 13:58:13,552: DEBUG - + systemctl reload-or-restart php8.1-fpm
2024-02-29 13:58:13,559: DEBUG - + ynh_add_nginx_config
2024-02-29 13:58:13,560: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,560: DEBUG - + ynh_add_config --template=nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,584: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/nginx.conf ']'
2024-02-29 13:58:13,584: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/nginx.conf
2024-02-29 13:58:13,584: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,592: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-29 13:58:13,593: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-29 13:58:13,593: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:58:13,622: DEBUG - ++ app=roundcube
2024-02-29 13:58:13,622: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:13,622: DEBUG - ++ ynh_app_setting get roundcube checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-29 13:58:13,661: DEBUG - + local checksum_value=11139b8ae39304c6db56873474b5347d
2024-02-29 13:58:13,661: DEBUG - + backup_file_checksum=
2024-02-29 13:58:13,662: DEBUG - + '[' -n 11139b8ae39304c6db56873474b5347d ']'
2024-02-29 13:58:13,662: DEBUG - + '[' -e /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf ']'
2024-02-29 13:58:13,662: DEBUG - + md5sum --check --status
2024-02-29 13:58:13,663: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,664: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,665: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,666: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,667: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,667: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,668: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-29 13:58:13,669: DEBUG - ++ tr -d '<>= '
2024-02-29 13:58:13,679: DEBUG - ++ '[' '!' -e '' ']'
2024-02-29 13:58:13,679: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.json ']'
2024-02-29 13:58:13,679: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml ']'
2024-02-29 13:58:13,679: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:13,679: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:13,680: DEBUG - ++ grep -q '\.json$'
2024-02-29 13:58:13,681: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:13,681: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 13:58:13,681: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-29 13:58:13,713: DEBUG - + local ynh_requirement=null
2024-02-29 13:58:13,713: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-29 13:58:13,714: DEBUG - + chmod o-rwx /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,715: DEBUG - + chmod g-w /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,715: DEBUG - + chown -R root:root /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,716: DEBUG - + ynh_system_user_exists roundcube
2024-02-29 13:58:13,722: DEBUG - + getent passwd roundcube
2024-02-29 13:58:13,723: DEBUG - + chown roundcube:roundcube /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,724: DEBUG - + echo /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,724: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-29 13:58:13,725: DEBUG - + chmod 400 /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,726: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,727: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,733: DEBUG - + test -n /webmail
2024-02-29 13:58:13,733: DEBUG - + local path_url_slash_less=/webmail
2024-02-29 13:58:13,733: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/webmail/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,770: DEBUG - + sed --in-place $'s\001__PATH__/\001/webmail/\001g' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,772: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/webmail --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,807: DEBUG - + sed --in-place $'s\001__PATH__\001/webmail\001g' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,808: DEBUG - + test -n roundcube
2024-02-29 13:58:13,808: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=roundcube --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,841: DEBUG - + sed --in-place $'s\001__NAME__\001roundcube\001g' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,842: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=roundcube --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,876: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001roundcube\001g' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,877: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=roundcube --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,911: DEBUG - + sed --in-place $'s\001__USER__\001roundcube\001g' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,912: DEBUG - + test -n ''
2024-02-29 13:58:13,913: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 13:58:13,913: DEBUG - + test -n ''
2024-02-29 13:58:13,914: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,914: DEBUG - ++ sort --unique
2024-02-29 13:58:13,914: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-02-29 13:58:13,916: DEBUG - + uniques_vars=('install_dir' 'phpversion')
2024-02-29 13:58:13,919: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,919: DEBUG - + update_only=0
2024-02-29 13:58:13,929: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-29 13:58:13,930: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:13,930: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-29 13:58:13,931: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf --value=ca5fd0e5d80881ad109569851b16852f
2024-02-29 13:58:13,931: DEBUG - + local _globalapp=roundcube
2024-02-29 13:58:13,970: DEBUG - + app=roundcube
2024-02-29 13:58:13,971: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:13,971: DEBUG - + ynh_app_setting set roundcube checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf ca5fd0e5d80881ad109569851b16852f
2024-02-29 13:58:14,017: DEBUG - + '[' -n '' ']'
2024-02-29 13:58:14,017: DEBUG - + unset backup_file_checksum
2024-02-29 13:58:14,017: DEBUG - + '[' /webmail '!=' / ']'
2024-02-29 13:58:14,017: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:14,070: DEBUG - + sed --in-place 's^#sub_path_onlyg' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:14,072: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:14,072: DEBUG - + update_only=0
2024-02-29 13:58:14,085: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-29 13:58:14,086: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 13:58:14,086: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-29 13:58:14,087: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf --value=4cc82fc6d08e9eca22357fc9971c7cd7
2024-02-29 13:58:14,088: DEBUG - + local _globalapp=roundcube
2024-02-29 13:58:14,130: DEBUG - + app=roundcube
2024-02-29 13:58:14,130: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:14,130: DEBUG - + ynh_app_setting set roundcube checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf 4cc82fc6d08e9eca22357fc9971c7cd7
2024-02-29 13:58:14,176: DEBUG - + '[' -n '' ']'
2024-02-29 13:58:14,176: DEBUG - + unset backup_file_checksum
2024-02-29 13:58:14,176: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2024-02-29 13:58:14,230: DEBUG - + service_name=nginx
2024-02-29 13:58:14,230: DEBUG - + action=reload
2024-02-29 13:58:14,230: DEBUG - + line_match=
2024-02-29 13:58:14,230: DEBUG - + length=20
2024-02-29 13:58:14,231: DEBUG - + log_path=/var/log/nginx/nginx.log
2024-02-29 13:58:14,231: DEBUG - + timeout=300
2024-02-29 13:58:14,231: DEBUG - + '[' reload == stop ']'
2024-02-29 13:58:14,231: DEBUG - + '[' reload == reload ']'
2024-02-29 13:58:14,231: DEBUG - + action=reload-or-restart
2024-02-29 13:58:14,231: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-29 13:58:14,231: DEBUG - ++ cut -d+ -f1
2024-02-29 13:58:14,232: DEBUG - + local 'time_start=2024-02-29 12:58:14 UTC'
2024-02-29 13:58:14,232: DEBUG - + systemctl reload-or-restart nginx
2024-02-29 13:58:14,402: DEBUG - + '[' UPGRADE_APP == UPGRADE_APP ']'
2024-02-29 13:58:14,490: INFO - [##..................] > Reconfiguring Roundcube...
2024-02-29 13:58:14,490: DEBUG - ++ ynh_string_random --length=24
2024-02-29 13:58:14,508: DEBUG - ++ length=24
2024-02-29 13:58:14,508: DEBUG - ++ filter=A-Za-z0-9
2024-02-29 13:58:14,508: DEBUG - ++ tr --complement --delete A-Za-z0-9
2024-02-29 13:58:14,509: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2024-02-29 13:58:14,512: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2024-02-29 13:58:14,514: DEBUG - + deskey=**********
2024-02-29 13:58:14,515: DEBUG - + ynh_add_config --template=../conf/config.inc.php --destination=/var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,541: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/../conf/config.inc.php ']'
2024-02-29 13:58:14,541: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/../conf/config.inc.php
2024-02-29 13:58:14,541: DEBUG - + ynh_backup_if_checksum_is_different --file=/var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,549: DEBUG - + local checksum_setting_name=checksum__var_www_roundcube_config_config.inc.php
2024-02-29 13:58:14,549: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__var_www_roundcube_config_config.inc.php
2024-02-29 13:58:14,549: DEBUG - ++ local _globalapp=roundcube
2024-02-29 13:58:14,584: DEBUG - ++ app=roundcube
2024-02-29 13:58:14,584: DEBUG - ++ [[ checksum__var_www_roundcube_config_config.inc.php =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:14,585: DEBUG - ++ ynh_app_setting get roundcube checksum__var_www_roundcube_config_config.inc.php
2024-02-29 13:58:14,627: DEBUG - + local checksum_value=ab3238972046b92a8007e6363cab88f6
2024-02-29 13:58:14,627: DEBUG - + backup_file_checksum=
2024-02-29 13:58:14,627: DEBUG - + '[' -n ab3238972046b92a8007e6363cab88f6 ']'
2024-02-29 13:58:14,627: DEBUG - + '[' -e /var/www/roundcube/config/config.inc.php ']'
2024-02-29 13:58:14,627: DEBUG - + md5sum --check --status
2024-02-29 13:58:14,629: DEBUG - + touch /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,629: DEBUG - + chown root:root /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,630: DEBUG - + chmod 640 /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,631: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/conf/../conf/config.inc.php /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,632: DEBUG - + _ynh_apply_default_permissions /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,632: DEBUG - + local target=/var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,633: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-29 13:58:14,633: DEBUG - ++ tr -d '<>= '
2024-02-29 13:58:14,646: DEBUG - ++ '[' '!' -e '' ']'
2024-02-29 13:58:14,646: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.json ']'
2024-02-29 13:58:14,646: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml ']'
2024-02-29 13:58:14,646: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:14,646: DEBUG - ++ grep -q '\.json$'
2024-02-29 13:58:14,646: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:14,647: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_t03lmtf6/manifest.toml
2024-02-29 13:58:14,648: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-29 13:58:14,660: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 13:58:14,690: DEBUG - + local ynh_requirement=null
2024-02-29 13:58:14,690: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-29 13:58:14,691: DEBUG - + chmod o-rwx /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,692: DEBUG - + chmod g-w /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,693: DEBUG - + chown -R root:root /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,694: DEBUG - + ynh_system_user_exists roundcube
2024-02-29 13:58:14,700: DEBUG - + getent passwd roundcube
2024-02-29 13:58:14,701: DEBUG - + chown roundcube:roundcube /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,702: DEBUG - + echo /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,703: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-29 13:58:14,704: DEBUG - + ynh_replace_vars --file=/var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,711: DEBUG - + test -n /webmail
2024-02-29 13:58:14,711: DEBUG - + local path_url_slash_less=/webmail
2024-02-29 13:58:14,711: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/webmail/ --target_file=/var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,757: DEBUG - + sed --in-place $'s\001__PATH__/\001/webmail/\001g' /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,759: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/webmail --target_file=/var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,802: DEBUG - + sed --in-place $'s\001__PATH__\001/webmail\001g' /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,804: DEBUG - + test -n roundcube
2024-02-29 13:58:14,804: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,848: DEBUG - + sed --in-place $'s\001__NAME__\001roundcube\001g' /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,850: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,904: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001roundcube\001g' /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,906: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,951: DEBUG - + sed --in-place $'s\001__USER__\001roundcube\001g' /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,953: DEBUG - + test -n ''
2024-02-29 13:58:14,953: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 13:58:14,954: DEBUG - + test -n ''
2024-02-29 13:58:14,954: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,955: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-02-29 13:58:14,956: DEBUG - ++ sort --unique
2024-02-29 13:58:14,957: DEBUG - + uniques_vars=('db_name' 'db_pwd' 'deskey' 'language')
2024-02-29 13:58:14,962: DEBUG - + ynh_store_file_checksum --file=/var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,963: DEBUG - + update_only=0
2024-02-29 13:58:14,974: DEBUG - + local checksum_setting_name=checksum__var_www_roundcube_config_config.inc.php
2024-02-29 13:58:14,975: DEBUG - ++ md5sum /var/www/roundcube/config/config.inc.php
2024-02-29 13:58:14,975: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-29 13:58:14,977: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__var_www_roundcube_config_config.inc.php --value=1cf237236b833129077bb68cb1f66bb6
2024-02-29 13:58:14,978: DEBUG - + local _globalapp=roundcube
2024-02-29 13:58:15,018: DEBUG - + app=roundcube
2024-02-29 13:58:15,018: DEBUG - + [[ checksum__var_www_roundcube_config_config.inc.php =~ (unprotected|protected|skipped)_ ]]
2024-02-29 13:58:15,019: DEBUG - + ynh_app_setting set roundcube checksum__var_www_roundcube_config_config.inc.php 1cf237236b833129077bb68cb1f66bb6
2024-02-29 13:58:15,067: DEBUG - + '[' -n '' ']'
2024-02-29 13:58:15,068: DEBUG - + unset backup_file_checksum
2024-02-29 13:58:15,118: DEBUG - + ynh_install_composer
2024-02-29 13:58:15,118: DEBUG - + local _globalphpversion=8.1
2024-02-29 13:58:15,118: DEBUG - + declare -Ar args_array
2024-02-29 13:58:15,119: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 13:58:15,119: INFO - [##++++++++..........] > Updating dependencies with Composer...
2024-02-29 13:58:15,121: DEBUG - + workdir=/var/www/roundcube
2024-02-29 13:58:15,121: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 13:58:15,122: DEBUG - + phpversion=8.1
2024-02-29 13:58:15,123: DEBUG - + install_args=
2024-02-29 13:58:15,123: DEBUG - + composerversion=2.5.5
2024-02-29 13:58:15,123: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-02-29 13:58:15,123: DEBUG - + php8.1 -- --quiet --install-dir=/var/www/roundcube --version=2.5.5
2024-02-29 13:58:15,128: DEBUG - + curl -sS https://getcomposer.org/installer
2024-02-29 13:58:16,478: DEBUG - + ynh_composer_exec --phpversion=8.1 --workdir=/var/www/roundcube '--commands=install --no-dev '
2024-02-29 13:58:16,478: DEBUG - + local _globalphpversion=8.1
2024-02-29 13:58:16,479: DEBUG - + declare -Ar args_array
2024-02-29 13:58:16,541: DEBUG - + workdir=/var/www/roundcube
2024-02-29 13:58:16,541: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 13:58:16,543: DEBUG - + phpversion=8.1
2024-02-29 13:58:16,543: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-02-29 13:58:16,543: DEBUG - + COMPOSER_MEMORY_LIMIT=-1
2024-02-29 13:58:16,543: DEBUG - + php8.1 /var/www/roundcube/composer.phar install --no-dev -d /var/www/roundcube --no-interaction --no-ansi
2024-02-29 13:58:16,642: 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-29 13:58:16,642: DEBUG - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2024-02-29 13:58:16,726: DEBUG - Installing dependencies from lock file
2024-02-29 13:58:16,726: DEBUG - Verifying lock file contents can be installed on current platform.
2024-02-29 13:58:16,733: 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-29 13:58:16,735: 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-29 13:58:16,735: DEBUG - - Required package "bacon/bacon-qr-code" is not present in the lock file.
2024-02-29 13:58:16,735: DEBUG - This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
2024-02-29 13:58:16,735: DEBUG - Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
2024-02-29 13:58:16,735: DEBUG - and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r
2024-02-29 13:58:16,740: DEBUG - + ynh_die '--message=Unable to install core dependencies with Composer.'
2024-02-29 13:58:16,754: WARNING - Unable to install core dependencies with Composer.
2024-02-29 13:58:16,754: DEBUG - + ynh_exit_properly
2024-02-29 13:58:16,755: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2024-02-29 13:58:18,253: ERROR - Het is niet gelukt app roundcube bij te werken: Er is een fout opgetreden in het upgradescript van de app
Thanks for your help!