Error while updating Roundcube: Unable to install core dependencies with Composer

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!

did you try the workaround described here ?

1 Like

Yes but introduced me to other errors.

ended_at: 2024-02-29 16:38:55.936355
env:
  YNH_APP_ACTION: upgrade
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi
  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: cli
operation: app_upgrade
parent: null
related_to:
- - app
  - roundcube
started_at: 2024-02-29 16:38:31.368338
success: false
yunohost_version: 11.2.10.1

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

2024-02-29 17:38:31,377: INFO - Provisioning sources...
2024-02-29 17:38:31,378: DEBUG - Prefetching asset main: https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz ...
2024-02-29 17:38:33,098: INFO - Updating system_user...
2024-02-29 17:38:33,152: INFO - Updating install_dir...
2024-02-29 17:38:33,186: INFO - Provisioning permissions...
2024-02-29 17:38:33,648: DEBUG - Nothing to update in LDAP
2024-02-29 17:38:33,850: DEBUG - Permission 'roundcube.main' updated
2024-02-29 17:38:33,852: DEBUG - To view the log of the operation 'Update accesses for permission 'roundcube'', use the command 'yunohost log show 20240229-163833-user_permission_update-roundcube'
2024-02-29 17:38:34,333: DEBUG - Nothing to update in LDAP
2024-02-29 17:38:34,333: DEBUG - Permission 'roundcube.main' updated
2024-02-29 17:38:34,544: DEBUG - To view the log of the operation 'Update URL related to permission 'roundcube'', use the command 'yunohost log show 20240229-163834-permission_url-roundcube'
2024-02-29 17:38:34,756: DEBUG - The permission database has been resynchronized
2024-02-29 17:38:35,465: DEBUG - SSOwat configuration regenerated
2024-02-29 17:38:35,473: INFO - Provisioning apt...
2024-02-29 17:38:35,515: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt"  7>&1']'
2024-02-29 17:38:35,521: DEBUG - + source /usr/share/yunohost/helpers
2024-02-29 17:38:35,521: DEBUG - +++ grep xtrace
2024-02-29 17:38:35,521: DEBUG - +++ set +o
2024-02-29 17:38:35,522: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-02-29 17:38:35,522: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-02-29 17:38:35,541: DEBUG - + ynh_abort_if_errors
2024-02-29 17:38:35,542: DEBUG - + trap ynh_exit_properly EXIT
2024-02-29 17:38:35,542: 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 17:38:35,542: 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 17:38:35,542: 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 17:38:35,542: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2024-02-29 17:38:35,544: 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 17:38:35,544: 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 17:38:35,544: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-02-29 17:38:35,554: DEBUG - ++ '[' '!' -e '' ']'
2024-02-29 17:38:35,555: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_4qr_tm0z/manifest.json ']'
2024-02-29 17:38:35,555: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_4qr_tm0z/manifest.json
2024-02-29 17:38:35,555: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_4qr_tm0z/manifest.json
2024-02-29 17:38:35,555: DEBUG - ++ grep -q '\.json$'
2024-02-29 17:38:35,556: DEBUG - ++ jq .version /var/cache/yunohost/app_tmp_work_dirs/app_4qr_tm0z/manifest.json --raw-output
2024-02-29 17:38:35,580: DEBUG - + local version=1.6.0~ynh4
2024-02-29 17:38:35,580: DEBUG - + '[' -z 1.6.0~ynh4 ']'
2024-02-29 17:38:35,580: DEBUG - + '[' 1.6.0~ynh4 == null ']'
2024-02-29 17:38:35,580: DEBUG - + local dep_app=roundcube
2024-02-29 17:38:35,581: 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 17:38:35,581: 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 17:38:35,581: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2024-02-29 17:38:35,581: DEBUG - ++ sort -u
2024-02-29 17:38:35,582: DEBUG - + local specific_php_version=8.1
2024-02-29 17:38:35,582: DEBUG - + [[ -n 8.1 ]]
2024-02-29 17:38:35,583: DEBUG - ++ echo 8.1
2024-02-29 17:38:35,583: DEBUG - ++ wc -l
2024-02-29 17:38:35,583: DEBUG - + [[ 1 -eq 1 ]]
2024-02-29 17:38:35,584: DEBUG - + dependencies+=', php8.1, php8.1-fpm, php8.1-common'
2024-02-29 17:38:35,584: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-02-29 17:38:35,584: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:35,600: DEBUG - ++ app=roundcube
2024-02-29 17:38:35,600: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:35,600: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-02-29 17:38:35,657: DEBUG - + local old_phpversion=7.4
2024-02-29 17:38:35,657: DEBUG - + '[' -n 7.4 ']'
2024-02-29 17:38:35,657: DEBUG - + '[' 7.4 '!=' 8.1 ']'
2024-02-29 17:38:35,658: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_config_dir
2024-02-29 17:38:35,658: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:35,679: DEBUG - ++ app=roundcube
2024-02-29 17:38:35,679: DEBUG - ++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:35,679: DEBUG - ++ ynh_app_setting get roundcube fpm_config_dir
2024-02-29 17:38:35,714: DEBUG - + local old_php_fpm_config_dir=/etc/php/7.4/fpm
2024-02-29 17:38:35,714: DEBUG - + local old_php_finalphpconf=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-02-29 17:38:35,714: DEBUG - + [[ -f /etc/php/7.4/fpm/pool.d/roundcube.conf ]]
2024-02-29 17:38:35,714: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-02-29 17:38:35,721: DEBUG - + local checksum_setting_name=checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-02-29 17:38:35,721: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-02-29 17:38:35,721: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:35,742: DEBUG - ++ app=roundcube
2024-02-29 17:38:35,742: DEBUG - ++ [[ checksum__etc_php_7.4_fpm_pool.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:35,742: DEBUG - ++ ynh_app_setting get roundcube checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-02-29 17:38:35,803: DEBUG - + local checksum_value=a43522188d1a80a0f49e03394381e183
2024-02-29 17:38:35,803: DEBUG - + backup_file_checksum=
2024-02-29 17:38:35,803: DEBUG - + '[' -n a43522188d1a80a0f49e03394381e183 ']'
2024-02-29 17:38:35,803: DEBUG - + '[' -e /etc/php/7.4/fpm/pool.d/roundcube.conf ']'
2024-02-29 17:38:35,803: DEBUG - + md5sum --check --status
2024-02-29 17:38:35,804: DEBUG - + ynh_remove_fpm_config
2024-02-29 17:38:35,805: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_config_dir
2024-02-29 17:38:35,805: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:35,827: DEBUG - ++ app=roundcube
2024-02-29 17:38:35,827: DEBUG - ++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:35,827: DEBUG - ++ ynh_app_setting get roundcube fpm_config_dir
2024-02-29 17:38:35,887: DEBUG - + local fpm_config_dir=/etc/php/7.4/fpm
2024-02-29 17:38:35,887: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_service
2024-02-29 17:38:35,888: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:35,909: DEBUG - ++ app=roundcube
2024-02-29 17:38:35,909: DEBUG - ++ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:35,909: DEBUG - ++ ynh_app_setting get roundcube fpm_service
2024-02-29 17:38:35,971: DEBUG - + local fpm_service=php7.4-fpm
2024-02-29 17:38:35,971: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_dedicated_service
2024-02-29 17:38:35,971: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:35,994: DEBUG - ++ app=roundcube
2024-02-29 17:38:35,995: DEBUG - ++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:35,995: DEBUG - ++ ynh_app_setting get roundcube fpm_dedicated_service
2024-02-29 17:38:36,055: DEBUG - + local dedicated_service=0
2024-02-29 17:38:36,056: DEBUG - + dedicated_service=0
2024-02-29 17:38:36,056: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-02-29 17:38:36,056: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:36,074: DEBUG - ++ app=roundcube
2024-02-29 17:38:36,075: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:36,075: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-02-29 17:38:36,108: DEBUG - + local phpversion=7.4
2024-02-29 17:38:36,108: DEBUG - + phpversion=7.4
2024-02-29 17:38:36,108: DEBUG - + '[' -z /etc/php/7.4/fpm ']'
2024-02-29 17:38:36,108: DEBUG - + ynh_secure_remove --file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-02-29 17:38:36,123: DEBUG - + '[' -e /etc/php/7.4/fpm/conf.d/20-roundcube.ini ']'
2024-02-29 17:38:36,123: DEBUG - + ynh_package_is_installed --package=php7.4-fpm
2024-02-29 17:38:36,130: DEBUG - + ynh_wait_dpkg_free
2024-02-29 17:38:36,439: DEBUG - + return 0
2024-02-29 17:38:36,439: DEBUG - + dpkg-query --show '--showformat=${Status}' php7.4-fpm
2024-02-29 17:38:36,439: DEBUG - + grep --count 'ok installed'
2024-02-29 17:38:36,454: DEBUG - + ynh_systemd_action --service_name=php7.4-fpm --action=reload
2024-02-29 17:38:36,528: DEBUG - + service_name=php7.4-fpm
2024-02-29 17:38:36,528: DEBUG - + action=reload
2024-02-29 17:38:36,528: DEBUG - + line_match=
2024-02-29 17:38:36,528: DEBUG - + length=20
2024-02-29 17:38:36,528: DEBUG - + log_path=/var/log/php7.4-fpm/php7.4-fpm.log
2024-02-29 17:38:36,528: DEBUG - + timeout=300
2024-02-29 17:38:36,528: DEBUG - + '[' reload == stop ']'
2024-02-29 17:38:36,528: DEBUG - + '[' reload == reload ']'
2024-02-29 17:38:36,528: DEBUG - + action=reload-or-restart
2024-02-29 17:38:36,529: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-29 17:38:36,529: DEBUG - ++ cut -d+ -f1
2024-02-29 17:38:36,530: DEBUG - + local 'time_start=2024-02-29 16:38:36 UTC'
2024-02-29 17:38:36,530: DEBUG - + systemctl reload-or-restart php7.4-fpm
2024-02-29 17:38:36,556: DEBUG - + '[' 7.4 '!=' 7.4 ']'
2024-02-29 17:38:36,556: DEBUG - + ynh_app_setting_set --app=roundcube --key=phpversion --value=8.1
2024-02-29 17:38:36,556: DEBUG - + local _globalapp=roundcube
2024-02-29 17:38:36,586: DEBUG - + app=roundcube
2024-02-29 17:38:36,586: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:36,586: DEBUG - + ynh_app_setting set roundcube phpversion 8.1
2024-02-29 17:38:36,624: DEBUG - + test -e /usr/bin/php7.4
2024-02-29 17:38:36,624: DEBUG - + update-alternatives --set php /usr/bin/php7.4
2024-02-29 17:38:36,625: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-02-29 17:38:36,631: DEBUG - ++ ynh_wait_dpkg_free
2024-02-29 17:38:36,891: DEBUG - ++ return 0
2024-02-29 17:38:36,891: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-02-29 17:38:36,891: DEBUG - ++ grep --count 'ok installed'
2024-02-29 17:38:36,924: DEBUG - ++ echo yes
2024-02-29 17:38:36,924: DEBUG - + local psql_installed=yes
2024-02-29 17:38:36,924: DEBUG - + [[ true == \t\r\u\e ]]
2024-02-29 17:38:36,924: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2024-02-29 17:38:36,925: DEBUG - + cat
2024-02-29 17:38:36,926: DEBUG - + ynh_package_install_from_equivs /tmp/roundcube-ynh-deps.control
2024-02-29 17:38:36,926: DEBUG - + local controlfile=/tmp/roundcube-ynh-deps.control
2024-02-29 17:38:36,926: DEBUG - ++ grep '^Package: ' /tmp/roundcube-ynh-deps.control
2024-02-29 17:38:36,926: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-02-29 17:38:36,928: DEBUG - + local pkgname=roundcube-ynh-deps
2024-02-29 17:38:36,928: DEBUG - ++ grep '^Version: ' /tmp/roundcube-ynh-deps.control
2024-02-29 17:38:36,929: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-02-29 17:38:36,930: DEBUG - + local pkgversion=1.6.0~ynh4
2024-02-29 17:38:36,930: DEBUG - + [[ -z roundcube-ynh-deps ]]
2024-02-29 17:38:36,931: DEBUG - + [[ -z 1.6.0~ynh4 ]]
2024-02-29 17:38:36,931: DEBUG - + ynh_package_update
2024-02-29 17:38:36,931: DEBUG - + ynh_apt update
2024-02-29 17:38:36,931: DEBUG - + ynh_wait_dpkg_free
2024-02-29 17:38:37,178: DEBUG - + return 0
2024-02-29 17:38:37,178: DEBUG - + LC_ALL=C
2024-02-29 17:38:37,178: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-29 17:38:37,178: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-02-29 17:38:37,355: DEBUG - Get:1 http://forge.yunohost.org/debian bullseye InRelease [18.4 kB]
2024-02-29 17:38:37,374: DEBUG - Hit:2 http://deb.debian.org/debian bullseye InRelease
2024-02-29 17:38:37,374: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2024-02-29 17:38:37,398: DEBUG - Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
2024-02-29 17:38:37,442: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2024-02-29 17:38:38,055: DEBUG - Fetched 18.4 kB in 1s (22.2 kB/s)
2024-02-29 17:38:38,576: DEBUG - Reading package lists...
2024-02-29 17:38:38,585: DEBUG - ++ mktemp --directory
2024-02-29 17:38:38,587: DEBUG - + local TMPDIR=/tmp/tmp.CrjKtnuV9k
2024-02-29 17:38:38,587: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2024-02-29 17:38:38,587: DEBUG - + ynh_wait_dpkg_free
2024-02-29 17:38:38,841: DEBUG - + return 0
2024-02-29 17:38:38,841: DEBUG - + cp /tmp/roundcube-ynh-deps.control /tmp/tmp.CrjKtnuV9k/control
2024-02-29 17:38:38,843: DEBUG - + cd /tmp/tmp.CrjKtnuV9k
2024-02-29 17:38:38,843: DEBUG - + LC_ALL=C
2024-02-29 17:38:38,843: DEBUG - + equivs-build ./control
2024-02-29 17:38:38,963: DEBUG - dpkg-buildpackage: info: source package roundcube-ynh-deps
2024-02-29 17:38:38,963: DEBUG - dpkg-buildpackage: info: source version 1.6.0~ynh4
2024-02-29 17:38:38,963: DEBUG - dpkg-buildpackage: info: source distribution unstable
2024-02-29 17:38:38,964: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@ECZ-SRV-01.ECZ>
2024-02-29 17:38:39,021: DEBUG -  dpkg-source --before-build .
2024-02-29 17:38:39,021: DEBUG - dpkg-buildpackage: info: host architecture amd64
2024-02-29 17:38:39,136: DEBUG -  debian/rules clean
2024-02-29 17:38:39,137: DEBUG - dh clean
2024-02-29 17:38:39,237: DEBUG -    dh_clean
2024-02-29 17:38:39,281: DEBUG -  debian/rules binary
2024-02-29 17:38:39,282: DEBUG - dh binary
2024-02-29 17:38:39,342: DEBUG -    dh_update_autotools_config
2024-02-29 17:38:39,368: DEBUG -    dh_autoreconf
2024-02-29 17:38:39,406: DEBUG -    create-stamp debian/debhelper-build-stamp
2024-02-29 17:38:39,406: DEBUG -    dh_prep
2024-02-29 17:38:39,434: DEBUG -    dh_install
2024-02-29 17:38:39,465: DEBUG -    dh_installdocs
2024-02-29 17:38:39,499: DEBUG -    dh_installchangelogs
2024-02-29 17:38:39,584: DEBUG -    dh_perl
2024-02-29 17:38:39,618: DEBUG -    dh_link
2024-02-29 17:38:39,649: DEBUG -    dh_strip_nondeterminism
2024-02-29 17:38:39,712: DEBUG -    dh_compress
2024-02-29 17:38:39,749: DEBUG -    dh_fixperms
2024-02-29 17:38:39,782: DEBUG -    dh_missing
2024-02-29 17:38:39,805: DEBUG -    dh_installdeb
2024-02-29 17:38:39,833: DEBUG -    dh_gencontrol
2024-02-29 17:38:39,962: DEBUG -    dh_md5sums
2024-02-29 17:38:39,993: DEBUG -    dh_builddeb
2024-02-29 17:38:40,044: DEBUG - dpkg-deb: building package 'roundcube-ynh-deps' in '../roundcube-ynh-deps_1.6.0~ynh4_all.deb'.
2024-02-29 17:38:40,063: DEBUG -  dpkg-genbuildinfo --build=binary
2024-02-29 17:38:40,470: DEBUG -  dpkg-genchanges --build=binary >../roundcube-ynh-deps_1.6.0~ynh4_amd64.changes
2024-02-29 17:38:40,539: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2024-02-29 17:38:40,541: DEBUG -  dpkg-source --after-build .
2024-02-29 17:38:40,630: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2024-02-29 17:38:40,634: DEBUG - 
2024-02-29 17:38:40,634: DEBUG - The package has been created.
2024-02-29 17:38:40,634: DEBUG - Attention, the package has been created in the current directory,
2024-02-29 17:38:40,634: DEBUG - not in ".." as indicated by the message above!
2024-02-29 17:38:40,635: DEBUG - + LC_ALL=C
2024-02-29 17:38:40,635: DEBUG - + dpkg --force-depends --install ./roundcube-ynh-deps_1.6.0~ynh4_all.deb
2024-02-29 17:38:40,635: DEBUG - + tee ./dpkg_log
2024-02-29 17:38:40,723: DEBUG - (Reading database ... 135270 files and directories currently installed.)
2024-02-29 17:38:40,727: DEBUG - Preparing to unpack .../roundcube-ynh-deps_1.6.0~ynh4_all.deb ...
2024-02-29 17:38:40,732: DEBUG - Unpacking roundcube-ynh-deps (1.6.0~ynh4) over (1.6.0~ynh4) ...
2024-02-29 17:38:40,761: DEBUG - dpkg: roundcube-ynh-deps: dependency problems, but configuring anyway as you requested:
2024-02-29 17:38:40,761: DEBUG -  roundcube-ynh-deps depends on php8.1-ldap; however:
2024-02-29 17:38:40,761: DEBUG -   Package php8.1-ldap is not installed.
2024-02-29 17:38:40,762: DEBUG -  roundcube-ynh-deps depends on php8.1-mysql; however:
2024-02-29 17:38:40,762: DEBUG -   Package php8.1-mysql is not installed.
2024-02-29 17:38:40,762: DEBUG -  roundcube-ynh-deps depends on php8.1-intl; however:
2024-02-29 17:38:40,762: DEBUG -   Package php8.1-intl is not installed.
2024-02-29 17:38:40,762: DEBUG -  roundcube-ynh-deps depends on php8.1-zip; however:
2024-02-29 17:38:40,762: DEBUG -   Package php8.1-zip is not installed.
2024-02-29 17:38:40,763: DEBUG -  roundcube-ynh-deps depends on php8.1-gd; however:
2024-02-29 17:38:40,763: DEBUG -   Package php8.1-gd is not installed.
2024-02-29 17:38:40,763: DEBUG -  roundcube-ynh-deps depends on php8.1-curl; however:
2024-02-29 17:38:40,763: DEBUG -   Package php8.1-curl is not installed.
2024-02-29 17:38:40,763: DEBUG -  roundcube-ynh-deps depends on php8.1; however:
2024-02-29 17:38:40,763: DEBUG -   Package php8.1 is not installed.
2024-02-29 17:38:40,763: DEBUG -  roundcube-ynh-deps depends on php8.1-fpm; however:
2024-02-29 17:38:40,764: DEBUG -   Package php8.1-fpm is not installed.
2024-02-29 17:38:40,764: DEBUG - 
2024-02-29 17:38:40,764: DEBUG - Setting up roundcube-ynh-deps (1.6.0~ynh4) ...
2024-02-29 17:38:40,783: DEBUG - + ynh_package_install --fix-broken
2024-02-29 17:38:40,784: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-02-29 17:38:40,784: DEBUG - + ynh_wait_dpkg_free
2024-02-29 17:38:41,049: DEBUG - + return 0
2024-02-29 17:38:41,049: DEBUG - + LC_ALL=C
2024-02-29 17:38:41,049: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-29 17:38:41,049: 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 17:38:41,824: DEBUG - Reading package lists...
2024-02-29 17:38:41,995: DEBUG - Building dependency tree...
2024-02-29 17:38:41,996: DEBUG - Reading state information...
2024-02-29 17:38:42,102: DEBUG - Correcting dependencies... Done
2024-02-29 17:38:42,265: DEBUG - The following additional packages will be installed:
2024-02-29 17:38:42,265: DEBUG -   php8.1 php8.1-curl php8.1-fpm php8.1-gd php8.1-intl php8.1-ldap php8.1-mysql
2024-02-29 17:38:42,265: DEBUG -   php8.1-zip
2024-02-29 17:38:42,279: DEBUG - The following NEW packages will be installed:
2024-02-29 17:38:42,279: DEBUG -   php8.1 php8.1-curl php8.1-fpm php8.1-gd php8.1-intl php8.1-ldap php8.1-mysql
2024-02-29 17:38:42,279: DEBUG -   php8.1-zip
2024-02-29 17:38:42,727: DEBUG - 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
2024-02-29 17:38:42,727: DEBUG - Need to get 0 B/2082 kB of archives.
2024-02-29 17:38:42,727: DEBUG - After this operation, 7193 kB of additional disk space will be used.
2024-02-29 17:38:42,773: DEBUG - Selecting previously unselected package php8.1-fpm.
2024-02-29 17:38:42,829: DEBUG - (Reading database ... 135270 files and directories currently installed.)
2024-02-29 17:38:42,833: DEBUG - Preparing to unpack .../0-php8.1-fpm_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 17:38:42,846: DEBUG - Unpacking php8.1-fpm (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:43,070: DEBUG - Selecting previously unselected package php8.1.
2024-02-29 17:38:43,077: DEBUG - Preparing to unpack .../1-php8.1_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_all.deb ...
2024-02-29 17:38:43,079: DEBUG - Unpacking php8.1 (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:43,114: DEBUG - Selecting previously unselected package php8.1-curl.
2024-02-29 17:38:43,122: DEBUG - Preparing to unpack .../2-php8.1-curl_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 17:38:43,126: DEBUG - Unpacking php8.1-curl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:43,161: DEBUG - Selecting previously unselected package php8.1-gd.
2024-02-29 17:38:43,168: DEBUG - Preparing to unpack .../3-php8.1-gd_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 17:38:43,171: DEBUG - Unpacking php8.1-gd (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:43,212: DEBUG - Selecting previously unselected package php8.1-intl.
2024-02-29 17:38:43,224: DEBUG - Preparing to unpack .../4-php8.1-intl_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 17:38:43,228: DEBUG - Unpacking php8.1-intl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:43,272: DEBUG - Selecting previously unselected package php8.1-ldap.
2024-02-29 17:38:43,280: DEBUG - Preparing to unpack .../5-php8.1-ldap_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 17:38:43,284: DEBUG - Unpacking php8.1-ldap (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:43,319: DEBUG - Selecting previously unselected package php8.1-mysql.
2024-02-29 17:38:43,326: DEBUG - Preparing to unpack .../6-php8.1-mysql_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 17:38:43,330: DEBUG - Unpacking php8.1-mysql (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:43,381: DEBUG - Selecting previously unselected package php8.1-zip.
2024-02-29 17:38:43,388: DEBUG - Preparing to unpack .../7-php8.1-zip_8.1.27-1+0~20231221.58+debian11~1.gbp3895b2_amd64.deb ...
2024-02-29 17:38:43,392: DEBUG - Unpacking php8.1-zip (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:43,460: DEBUG - Setting up php8.1-gd (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:43,726: DEBUG - 
2024-02-29 17:38:43,727: DEBUG - Creating config file /etc/php/8.1/mods-available/gd.ini with new version
2024-02-29 17:38:43,928: DEBUG - Setting up php8.1-curl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:44,177: DEBUG - 
2024-02-29 17:38:44,177: DEBUG - Creating config file /etc/php/8.1/mods-available/curl.ini with new version
2024-02-29 17:38:44,348: DEBUG - Setting up php8.1-fpm (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:44,580: DEBUG - 
2024-02-29 17:38:44,580: DEBUG - Creating config file /etc/php/8.1/fpm/php.ini with new version
2024-02-29 17:38:45,224: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/php8.1-fpm.service -> /lib/systemd/system/php8.1-fpm.service.
2024-02-29 17:38:45,717: DEBUG - Setting up php8.1-mysql (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:45,882: DEBUG - 
2024-02-29 17:38:45,882: DEBUG - Creating config file /etc/php/8.1/mods-available/mysqlnd.ini with new version
2024-02-29 17:38:46,295: DEBUG - 
2024-02-29 17:38:46,296: DEBUG - Creating config file /etc/php/8.1/mods-available/mysqli.ini with new version
2024-02-29 17:38:46,573: DEBUG - 
2024-02-29 17:38:46,573: DEBUG - Creating config file /etc/php/8.1/mods-available/pdo_mysql.ini with new version
2024-02-29 17:38:46,684: DEBUG - Setting up php8.1-zip (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:46,843: DEBUG - 
2024-02-29 17:38:46,843: DEBUG - Creating config file /etc/php/8.1/mods-available/zip.ini with new version
2024-02-29 17:38:46,951: DEBUG - Setting up php8.1-intl (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:47,135: DEBUG - 
2024-02-29 17:38:47,136: DEBUG - Creating config file /etc/php/8.1/mods-available/intl.ini with new version
2024-02-29 17:38:47,263: DEBUG - Setting up php8.1-ldap (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:47,449: DEBUG - 
2024-02-29 17:38:47,449: DEBUG - Creating config file /etc/php/8.1/mods-available/ldap.ini with new version
2024-02-29 17:38:47,582: DEBUG - Setting up php8.1 (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:47,589: DEBUG - Processing triggers for man-db (2.9.4-2) ...
2024-02-29 17:38:48,134: DEBUG - Processing triggers for php8.1-cli (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:48,142: DEBUG - Processing triggers for php8.1-fpm (8.1.27-1+0~20231221.58+debian11~1.gbp3895b2) ...
2024-02-29 17:38:48,333: DEBUG - + [[ -n /tmp/tmp.CrjKtnuV9k ]]
2024-02-29 17:38:48,334: DEBUG - + rm --recursive --force /tmp/tmp.CrjKtnuV9k
2024-02-29 17:38:48,334: DEBUG - + ynh_package_is_installed roundcube-ynh-deps
2024-02-29 17:38:48,341: DEBUG - + ynh_wait_dpkg_free
2024-02-29 17:38:48,599: DEBUG - + return 0
2024-02-29 17:38:48,599: DEBUG - + dpkg-query --show '--showformat=${Status}' roundcube-ynh-deps
2024-02-29 17:38:48,600: DEBUG - + grep --count 'ok installed'
2024-02-29 17:38:48,632: DEBUG - + rm /tmp/roundcube-ynh-deps.control
2024-02-29 17:38:48,634: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-02-29 17:38:48,641: DEBUG - ++ ynh_wait_dpkg_free
2024-02-29 17:38:48,905: DEBUG - ++ return 0
2024-02-29 17:38:48,905: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-02-29 17:38:48,906: DEBUG - ++ grep --count 'ok installed'
2024-02-29 17:38:48,921: DEBUG - ++ echo yes
2024-02-29 17:38:48,921: DEBUG - + local psql_installed2=yes
2024-02-29 17:38:48,921: DEBUG - + [[ yes != \y\e\s ]]
2024-02-29 17:38:48,921: DEBUG - + ynh_exit_properly
2024-02-29 17:38:48,922: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2024-02-29 17:38:49,923: INFO - Provisioning database...
2024-02-29 17:38:50,016: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./upgrade"  7>&1']'
2024-02-29 17:38:50,020: DEBUG - + source _common.sh
2024-02-29 17:38:50,021: DEBUG - ++ YNH_COMPOSER_VERSION=2.5.5
2024-02-29 17:38:50,021: DEBUG - ++ contextmenu_version=3.3.1
2024-02-29 17:38:50,021: DEBUG - ++ automatic_addressbook_version=v0.4.3
2024-02-29 17:38:50,021: DEBUG - ++ carddav_version=5.0.1
2024-02-29 17:38:50,021: DEBUG - + source /usr/share/yunohost/helpers
2024-02-29 17:38:50,021: DEBUG - +++ set +o
2024-02-29 17:38:50,021: DEBUG - +++ grep xtrace
2024-02-29 17:38:50,023: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-02-29 17:38:50,023: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-02-29 17:38:50,037: DEBUG - ++ ynh_check_app_version_changed
2024-02-29 17:38:50,037: DEBUG - ++ local return_value=UPGRADE_APP
2024-02-29 17:38:50,037: DEBUG - ++ '[' UPGRADE_APP == UPGRADE_SAME ']'
2024-02-29 17:38:50,037: DEBUG - ++ '[' UPGRADE_APP == DOWNGRADE ']'
2024-02-29 17:38:50,037: DEBUG - ++ echo UPGRADE_APP
2024-02-29 17:38:50,037: DEBUG - + upgrade_type=UPGRADE_APP
2024-02-29 17:38:50,088: INFO - [....................] > Ensuring downward compatibility...
2024-02-29 17:38:50,088: DEBUG - + '[' -z 0 ']'
2024-02-29 17:38:50,088: DEBUG - + '[' -z en_GB ']'
2024-02-29 17:38:50,088: DEBUG - + '[' -z low ']'
2024-02-29 17:38:50,089: DEBUG - + '[' -z 0 ']'
2024-02-29 17:38:50,089: DEBUG - + '[' -z low ']'
2024-02-29 17:38:50,089: DEBUG - ++ cut '-d'\''' -f4
2024-02-29 17:38:50,089: DEBUG - ++ grep RCMAIL_VERSION /var/www/roundcube/program/include/iniset.php
2024-02-29 17:38:50,090: DEBUG - + oldversion=1.6.0
2024-02-29 17:38:50,090: DEBUG - + '[' UPGRADE_APP == UPGRADE_APP ']'
2024-02-29 17:38:50,125: INFO - [+...................] > Upgrading source files...
2024-02-29 17:38:50,125: DEBUG - + ynh_setup_source --dest_dir=/var/www/roundcube
2024-02-29 17:38:50,140: DEBUG - + keep=
2024-02-29 17:38:50,141: DEBUG - + full_replace=0
2024-02-29 17:38:50,141: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:50,141: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:50,141: DEBUG - + jq -e .resources.sources
2024-02-29 17:38:50,141: DEBUG - + toml_to_json
2024-02-29 17:38:50,141: DEBUG - + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 17:38:50,171: DEBUG - + source_id=main
2024-02-29 17:38:50,172: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:50,172: DEBUG - ++ toml_to_json
2024-02-29 17:38:50,172: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 17:38:50,172: DEBUG - ++ jq '.resources.sources["main"]'
2024-02-29 17:38:50,202: DEBUG - + local 'sources_json={
2024-02-29 17:38:50,203: DEBUG -   "url": "https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz",
2024-02-29 17:38:50,203: DEBUG -   "sha256": "40e4d7505b01f401e757f7439930ed96b1245ffc3863dd326fcf21e0e5847c74",
2024-02-29 17:38:50,203: DEBUG -   "autoupdate": {
2024-02-29 17:38:50,203: DEBUG -     "strategy": "latest_github_release"
2024-02-29 17:38:50,203: DEBUG -   }
2024-02-29 17:38:50,203: DEBUG - }'
2024-02-29 17:38:50,203: DEBUG - + jq -re .url
2024-02-29 17:38:50,227: DEBUG - https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz
2024-02-29 17:38:50,227: DEBUG - + local arch_prefix=
2024-02-29 17:38:50,227: DEBUG - ++ jq -r .url
2024-02-29 17:38:50,227: DEBUG - ++ sed 's/^null$//'
2024-02-29 17:38:50,254: DEBUG - + local src_url=https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz
2024-02-29 17:38:50,255: DEBUG - ++ jq -r .sha256
2024-02-29 17:38:50,255: DEBUG - ++ sed 's/^null$//'
2024-02-29 17:38:50,279: DEBUG - + local src_sum=40e4d7505b01f401e757f7439930ed96b1245ffc3863dd326fcf21e0e5847c74
2024-02-29 17:38:50,279: DEBUG - + local src_sumprg=sha256sum
2024-02-29 17:38:50,280: DEBUG - ++ jq -r .format
2024-02-29 17:38:50,280: DEBUG - ++ sed 's/^null$//'
2024-02-29 17:38:50,305: DEBUG - + local src_format=
2024-02-29 17:38:50,305: DEBUG - ++ jq -r .in_subdir
2024-02-29 17:38:50,305: DEBUG - ++ sed 's/^null$//'
2024-02-29 17:38:50,330: DEBUG - + local src_in_subdir=
2024-02-29 17:38:50,330: DEBUG - ++ jq -r .extract
2024-02-29 17:38:50,331: DEBUG - ++ sed 's/^null$//'
2024-02-29 17:38:50,357: DEBUG - + local src_extract=
2024-02-29 17:38:50,358: DEBUG - ++ jq -r .platform
2024-02-29 17:38:50,358: DEBUG - ++ sed 's/^null$//'
2024-02-29 17:38:50,382: DEBUG - + local src_platform=
2024-02-29 17:38:50,383: DEBUG - ++ jq -r .rename
2024-02-29 17:38:50,383: DEBUG - ++ sed 's/^null$//'
2024-02-29 17:38:50,407: DEBUG - + local src_rename=
2024-02-29 17:38:50,408: DEBUG - + [[ -n https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz ]]
2024-02-29 17:38:50,408: DEBUG - + [[ -n 40e4d7505b01f401e757f7439930ed96b1245ffc3863dd326fcf21e0e5847c74 ]]
2024-02-29 17:38:50,408: DEBUG - + [[ -z '' ]]
2024-02-29 17:38:50,408: DEBUG - + [[ https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz =~ ^.*\.zip$ ]]
2024-02-29 17:38:50,408: DEBUG - + [[ https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz =~ ^.*/zipball/.*$ ]]
2024-02-29 17:38:50,408: DEBUG - + [[ https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz =~ ^.*\.tar\.gz$ ]]
2024-02-29 17:38:50,409: DEBUG - + src_format=tar.gz
2024-02-29 17:38:50,409: DEBUG - + src_sumprg=sha256sum
2024-02-29 17:38:50,409: DEBUG - + src_in_subdir=true
2024-02-29 17:38:50,409: DEBUG - + src_format=tar.gz
2024-02-29 17:38:50,409: DEBUG - ++ echo tar.gz
2024-02-29 17:38:50,410: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2024-02-29 17:38:50,410: DEBUG - + src_format=tar.gz
2024-02-29 17:38:50,410: DEBUG - + src_extract=true
2024-02-29 17:38:50,410: DEBUG - + [[ true != \t\r\u\e ]]
2024-02-29 17:38:50,410: DEBUG - + local local_src=/opt/yunohost-apps-src/roundcube/main
2024-02-29 17:38:50,410: DEBUG - ++ dirname /var/cache/yunohost/download/roundcube/main
2024-02-29 17:38:50,410: DEBUG - + mkdir -p /var/cache/yunohost/download/roundcube
2024-02-29 17:38:50,411: DEBUG - + src_filename=/var/cache/yunohost/download/roundcube/main
2024-02-29 17:38:50,411: DEBUG - + '[' tar.gz = docker ']'
2024-02-29 17:38:50,411: DEBUG - + test -e /opt/yunohost-apps-src/roundcube/main
2024-02-29 17:38:50,411: DEBUG - + '[' -n https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz ']'
2024-02-29 17:38:50,411: DEBUG - + '[' -e /var/cache/yunohost/download/roundcube/main ']'
2024-02-29 17:38:50,411: DEBUG - + sha256sum --check --status
2024-02-29 17:38:50,428: DEBUG - + '[' '!' -e /var/cache/yunohost/download/roundcube/main ']'
2024-02-29 17:38:50,428: DEBUG - + sha256sum --check --status
2024-02-29 17:38:50,444: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-02-29 17:38:50,444: DEBUG - + '[' -n '' ']'
2024-02-29 17:38:50,445: DEBUG - + mkdir --parents /var/www/roundcube
2024-02-29 17:38:50,445: DEBUG - + '[' -n /var/www/roundcube ']'
2024-02-29 17:38:50,446: DEBUG - + '[' /var/www/roundcube == /var/www/roundcube ']'
2024-02-29 17:38:50,446: DEBUG - + _ynh_apply_default_permissions /var/www/roundcube
2024-02-29 17:38:50,446: DEBUG - + local target=/var/www/roundcube
2024-02-29 17:38:50,446: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-29 17:38:50,446: DEBUG - ++ tr -d '<>= '
2024-02-29 17:38:50,455: DEBUG - ++ '[' '!' -e '' ']'
2024-02-29 17:38:50,455: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.json ']'
2024-02-29 17:38:50,455: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml ']'
2024-02-29 17:38:50,455: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:50,455: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:50,455: DEBUG - ++ grep -q '\.json$'
2024-02-29 17:38:50,456: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:50,456: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 17:38:50,457: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-29 17:38:50,487: DEBUG - + local ynh_requirement=null
2024-02-29 17:38:50,487: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-29 17:38:50,488: DEBUG - + chmod o-rwx /var/www/roundcube
2024-02-29 17:38:50,489: DEBUG - + chmod g-w /var/www/roundcube
2024-02-29 17:38:50,489: DEBUG - + chown -R root:root /var/www/roundcube
2024-02-29 17:38:50,513: DEBUG - + ynh_system_user_exists roundcube
2024-02-29 17:38:50,518: DEBUG - + getent passwd roundcube
2024-02-29 17:38:50,520: DEBUG - + chown roundcube:roundcube /var/www/roundcube
2024-02-29 17:38:50,522: DEBUG - + echo /var/www/roundcube
2024-02-29 17:38:50,522: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-29 17:38:50,523: DEBUG - + '[' -n '' ']'
2024-02-29 17:38:50,523: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-02-29 17:38:50,523: DEBUG - + [[ tar.gz == \d\o\c\k\e\r ]]
2024-02-29 17:38:50,523: DEBUG - + [[ tar.gz == \z\i\p ]]
2024-02-29 17:38:50,523: DEBUG - + local strip=
2024-02-29 17:38:50,523: DEBUG - + '[' true '!=' false ']'
2024-02-29 17:38:50,524: DEBUG - + '[' true == true ']'
2024-02-29 17:38:50,524: DEBUG - + local sub_dirs=1
2024-02-29 17:38:50,524: DEBUG - + strip='--strip-components 1'
2024-02-29 17:38:50,524: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2024-02-29 17:38:50,524: DEBUG - + tar --extract --file=/var/cache/yunohost/download/roundcube/main --directory=/var/www/roundcube --strip-components 1
2024-02-29 17:38:50,662: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/roundcube/main
2024-02-29 17:38:50,680: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/sources/patches/ ']'
2024-02-29 17:38:50,681: DEBUG - ++ realpath /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/sources/patches/
2024-02-29 17:38:50,682: DEBUG - + local patches_folder=/var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/sources/patches
2024-02-29 17:38:50,682: DEBUG - ++ find /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/sources/patches -type f -name 'main-*.patch'
2024-02-29 17:38:50,683: DEBUG - ++ wc --lines
2024-02-29 17:38:50,685: DEBUG - + (( 0 > 0 ))
2024-02-29 17:38:50,685: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/sources/extra_files/main
2024-02-29 17:38:50,685: DEBUG - + '[' -n '' ']'
2024-02-29 17:38:50,685: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-02-29 17:38:50,686: DEBUG - + chmod -R o-rwx /var/www/roundcube
2024-02-29 17:38:50,716: DEBUG - + chown -R roundcube:www-data /var/www/roundcube
2024-02-29 17:38:50,807: INFO - [#+..................] > Upgrading PHP-FPM configuration...
2024-02-29 17:38:50,808: DEBUG - + ynh_add_fpm_config --usage=low --footprint=low
2024-02-29 17:38:50,808: DEBUG - + local _globalphpversion=8.1
2024-02-29 17:38:50,870: DEBUG - + package=
2024-02-29 17:38:50,870: DEBUG - + group=
2024-02-29 17:38:50,871: DEBUG - + local autogenconf=false
2024-02-29 17:38:50,871: DEBUG - + usage=low
2024-02-29 17:38:50,871: DEBUG - + footprint=low
2024-02-29 17:38:50,871: DEBUG - + '[' -n low ']'
2024-02-29 17:38:50,871: DEBUG - + autogenconf=true
2024-02-29 17:38:50,871: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_usage
2024-02-29 17:38:50,871: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:50,895: DEBUG - ++ app=roundcube
2024-02-29 17:38:50,896: DEBUG - ++ [[ fpm_usage =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:50,896: DEBUG - ++ ynh_app_setting get roundcube fpm_usage
2024-02-29 17:38:50,931: DEBUG - + local fpm_usage_in_setting=low
2024-02-29 17:38:50,931: DEBUG - + '[' -z low ']'
2024-02-29 17:38:50,931: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_footprint
2024-02-29 17:38:50,932: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:50,954: DEBUG - ++ app=roundcube
2024-02-29 17:38:50,954: DEBUG - ++ [[ fpm_footprint =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:50,954: DEBUG - ++ ynh_app_setting get roundcube fpm_footprint
2024-02-29 17:38:51,009: DEBUG - + local fpm_footprint_in_setting=low
2024-02-29 17:38:51,009: DEBUG - + '[' -z low ']'
2024-02-29 17:38:51,009: DEBUG - + dedicated_service=0
2024-02-29 17:38:51,009: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 17:38:51,010: DEBUG - + phpversion=8.1
2024-02-29 17:38:51,011: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-02-29 17:38:51,011: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:51,027: DEBUG - ++ app=roundcube
2024-02-29 17:38:51,027: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:51,027: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-02-29 17:38:51,062: DEBUG - + local old_phpversion=8.1
2024-02-29 17:38:51,062: DEBUG - + '[' -n 8.1 ']'
2024-02-29 17:38:51,062: DEBUG - + '[' 8.1 '!=' 8.1 ']'
2024-02-29 17:38:51,062: DEBUG - + '[' -n '' ']'
2024-02-29 17:38:51,062: DEBUG - + local fpm_service=php8.1-fpm
2024-02-29 17:38:51,062: DEBUG - + local fpm_config_dir=/etc/php/8.1/fpm
2024-02-29 17:38:51,063: DEBUG - + mkdir --parents /etc/php/8.1/fpm/pool.d
2024-02-29 17:38:51,063: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_config_dir --value=/etc/php/8.1/fpm
2024-02-29 17:38:51,063: DEBUG - + local _globalapp=roundcube
2024-02-29 17:38:51,094: DEBUG - + app=roundcube
2024-02-29 17:38:51,095: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:51,095: DEBUG - + ynh_app_setting set roundcube fpm_config_dir /etc/php/8.1/fpm
2024-02-29 17:38:51,130: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_service --value=php8.1-fpm
2024-02-29 17:38:51,131: DEBUG - + local _globalapp=roundcube
2024-02-29 17:38:51,163: DEBUG - + app=roundcube
2024-02-29 17:38:51,163: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:51,163: DEBUG - + ynh_app_setting set roundcube fpm_service php8.1-fpm
2024-02-29 17:38:51,199: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_dedicated_service --value=0
2024-02-29 17:38:51,199: DEBUG - + local _globalapp=roundcube
2024-02-29 17:38:51,231: DEBUG - + app=roundcube
2024-02-29 17:38:51,231: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:51,232: DEBUG - + ynh_app_setting set roundcube fpm_dedicated_service 0
2024-02-29 17:38:51,267: DEBUG - + ynh_app_setting_set --app=roundcube --key=phpversion --value=8.1
2024-02-29 17:38:51,267: DEBUG - + local _globalapp=roundcube
2024-02-29 17:38:51,299: DEBUG - + app=roundcube
2024-02-29 17:38:51,300: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:51,300: DEBUG - + ynh_app_setting set roundcube phpversion 8.1
2024-02-29 17:38:51,337: DEBUG - + '[' true == false ']'
2024-02-29 17:38:51,337: DEBUG - + ynh_get_scalable_phpfpm --usage=low --footprint=low
2024-02-29 17:38:51,360: DEBUG - + footprint=low
2024-02-29 17:38:51,360: DEBUG - + usage=low
2024-02-29 17:38:51,360: DEBUG - + print=0
2024-02-29 17:38:51,361: DEBUG - + '[' low = low ']'
2024-02-29 17:38:51,361: DEBUG - + footprint=20
2024-02-29 17:38:51,361: DEBUG - + '[' 20 -le 20 ']'
2024-02-29 17:38:51,361: DEBUG - + min_spare_servers_factor=8
2024-02-29 17:38:51,361: DEBUG - + '[' low = low ']'
2024-02-29 17:38:51,361: DEBUG - + php_pm=ondemand
2024-02-29 17:38:51,361: DEBUG - ++ ynh_get_ram --total --ignore_swap
2024-02-29 17:38:51,389: DEBUG - ++ ignore_swap=1
2024-02-29 17:38:51,389: DEBUG - ++ only_swap=0
2024-02-29 17:38:51,389: DEBUG - ++ free=0
2024-02-29 17:38:51,389: DEBUG - ++ total=1
2024-02-29 17:38:51,389: DEBUG - +++ LC_ALL=C
2024-02-29 17:38:51,389: DEBUG - +++ vmstat --stats --unit M
2024-02-29 17:38:51,389: DEBUG - +++ awk '{print $1}'
2024-02-29 17:38:51,391: DEBUG - +++ grep 'total memory'
2024-02-29 17:38:51,392: DEBUG - ++ local total_ram=30069
2024-02-29 17:38:51,392: DEBUG - +++ LC_ALL=C
2024-02-29 17:38:51,393: DEBUG - +++ grep 'total swap'
2024-02-29 17:38:51,393: DEBUG - +++ awk '{print $1}'
2024-02-29 17:38:51,393: DEBUG - +++ vmstat --stats --unit M
2024-02-29 17:38:51,395: DEBUG - ++ local total_swap=975
2024-02-29 17:38:51,395: DEBUG - ++ local total_ram_swap=31044
2024-02-29 17:38:51,395: DEBUG - ++ local ram=31044
2024-02-29 17:38:51,395: DEBUG - ++ ram=30069
2024-02-29 17:38:51,395: DEBUG - ++ echo 30069
2024-02-29 17:38:51,395: DEBUG - + local max_ram=30069
2024-02-29 17:38:51,395: DEBUG - + php_max_children=751
2024-02-29 17:38:51,395: DEBUG - + '[' ondemand = static ']'
2024-02-29 17:38:51,395: DEBUG - ++ at_least_one 751
2024-02-29 17:38:51,396: DEBUG - ++ '[' 751 -le 0 ']'
2024-02-29 17:38:51,396: DEBUG - ++ echo 751
2024-02-29 17:38:51,396: DEBUG - + php_max_children=751
2024-02-29 17:38:51,396: DEBUG - ++ nproc
2024-02-29 17:38:51,396: DEBUG - + local core_number=4
2024-02-29 17:38:51,396: DEBUG - + local max_proc=16
2024-02-29 17:38:51,396: DEBUG - + '[' 751 -gt 16 ']'
2024-02-29 17:38:51,397: DEBUG - + php_max_children=16
2024-02-29 17:38:51,397: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=php_forced_max_children
2024-02-29 17:38:51,397: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:51,412: DEBUG - ++ app=roundcube
2024-02-29 17:38:51,412: DEBUG - ++ [[ php_forced_max_children =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:51,412: DEBUG - ++ ynh_app_setting get roundcube php_forced_max_children
2024-02-29 17:38:51,447: DEBUG - + local php_forced_max_children=
2024-02-29 17:38:51,447: DEBUG - + '[' -n '' ']'
2024-02-29 17:38:51,447: DEBUG - + '[' ondemand = dynamic ']'
2024-02-29 17:38:51,447: DEBUG - + php_min_spare_servers=0
2024-02-29 17:38:51,447: DEBUG - + php_max_spare_servers=0
2024-02-29 17:38:51,447: DEBUG - + php_start_servers=0
2024-02-29 17:38:51,448: DEBUG - ++ echo roundcube
2024-02-29 17:38:51,448: DEBUG - + local phpfpm_group=roundcube
2024-02-29 17:38:51,448: DEBUG - + local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/php-fpm.conf
2024-02-29 17:38:51,448: DEBUG - [__APP__]
2024-02-29 17:38:51,448: DEBUG - 
2024-02-29 17:38:51,448: DEBUG - user = __APP__
2024-02-29 17:38:51,448: DEBUG - group = __PHPFPM_GROUP__
2024-02-29 17:38:51,448: DEBUG - 
2024-02-29 17:38:51,449: DEBUG - chdir = __INSTALL_DIR__
2024-02-29 17:38:51,449: DEBUG - 
2024-02-29 17:38:51,449: DEBUG - listen = /var/run/php/php__PHPVERSION__-fpm-__APP__.sock
2024-02-29 17:38:51,449: DEBUG - listen.owner = www-data
2024-02-29 17:38:51,449: DEBUG - listen.group = www-data
2024-02-29 17:38:51,449: DEBUG - 
2024-02-29 17:38:51,449: DEBUG - pm = __PHP_PM__
2024-02-29 17:38:51,449: DEBUG - pm.max_children = __PHP_MAX_CHILDREN__
2024-02-29 17:38:51,449: DEBUG - pm.max_requests = 500
2024-02-29 17:38:51,449: DEBUG - request_terminate_timeout = 1d
2024-02-29 17:38:51,449: DEBUG - '
2024-02-29 17:38:51,449: DEBUG - + '[' ondemand = dynamic ']'
2024-02-29 17:38:51,449: DEBUG - + '[' ondemand = ondemand ']'
2024-02-29 17:38:51,450: DEBUG - pm.process_idle_timeout = 10s
2024-02-29 17:38:51,450: DEBUG - '
2024-02-29 17:38:51,450: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/extra_php-fpm.conf ']'
2024-02-29 17:38:51,450: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/extra_php-fpm.conf
2024-02-29 17:38:51,450: DEBUG - + local finalphpconf=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,450: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/php-fpm.conf --destination=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,465: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf//var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/php-fpm.conf ']'
2024-02-29 17:38:51,465: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/php-fpm.conf ']'
2024-02-29 17:38:51,465: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/php-fpm.conf
2024-02-29 17:38:51,465: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,469: DEBUG - + local checksum_setting_name=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-29 17:38:51,470: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-29 17:38:51,470: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:51,485: DEBUG - ++ app=roundcube
2024-02-29 17:38:51,485: DEBUG - ++ [[ checksum__etc_php_8.1_fpm_pool.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:51,486: DEBUG - ++ ynh_app_setting get roundcube checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-29 17:38:51,521: DEBUG - + local checksum_value=
2024-02-29 17:38:51,521: DEBUG - + backup_file_checksum=
2024-02-29 17:38:51,521: DEBUG - + '[' -n '' ']'
2024-02-29 17:38:51,521: DEBUG - + touch /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,521: DEBUG - + chown root:root /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,522: DEBUG - + chmod 640 /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,523: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/php-fpm.conf /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,524: DEBUG - + _ynh_apply_default_permissions /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,524: DEBUG - + local target=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,525: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-29 17:38:51,525: DEBUG - ++ tr -d '<>= '
2024-02-29 17:38:51,535: DEBUG - ++ '[' '!' -e '' ']'
2024-02-29 17:38:51,535: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.json ']'
2024-02-29 17:38:51,535: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml ']'
2024-02-29 17:38:51,535: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:51,535: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:51,536: DEBUG - ++ grep -q '\.json$'
2024-02-29 17:38:51,537: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:51,537: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 17:38:51,537: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-29 17:38:51,566: DEBUG - + local ynh_requirement=null
2024-02-29 17:38:51,566: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-29 17:38:51,566: DEBUG - + chmod o-rwx /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,567: DEBUG - + chmod g-w /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,568: DEBUG - + chown -R root:root /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,568: DEBUG - + ynh_system_user_exists roundcube
2024-02-29 17:38:51,574: DEBUG - + getent passwd roundcube
2024-02-29 17:38:51,575: DEBUG - + chown roundcube:roundcube /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,576: DEBUG - + echo /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,576: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-29 17:38:51,577: DEBUG - + chmod 400 /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,578: DEBUG - + chown root:root /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,579: DEBUG - + ynh_replace_vars --file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,584: DEBUG - + test -n /webmail
2024-02-29 17:38:51,584: DEBUG - + local path_url_slash_less=/webmail
2024-02-29 17:38:51,585: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/webmail/ --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,618: DEBUG - + sed --in-place $'s\001__PATH__/\001/webmail/\001g' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,620: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/webmail --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,654: DEBUG - + sed --in-place $'s\001__PATH__\001/webmail\001g' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,655: DEBUG - + test -n roundcube
2024-02-29 17:38:51,655: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=roundcube --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,685: DEBUG - + sed --in-place $'s\001__NAME__\001roundcube\001g' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,686: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=roundcube --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,716: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001roundcube\001g' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,717: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=roundcube --target_file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,747: DEBUG - + sed --in-place $'s\001__USER__\001roundcube\001g' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,748: DEBUG - + test -n ''
2024-02-29 17:38:51,748: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 17:38:51,749: DEBUG - + test -n ''
2024-02-29 17:38:51,749: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,750: DEBUG - ++ sort --unique
2024-02-29 17:38:51,750: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-02-29 17:38:51,751: DEBUG - + uniques_vars=('app' 'install_dir' 'phpfpm_group' 'php_max_children' 'php_pm' 'phpversion')
2024-02-29 17:38:51,757: DEBUG - + ynh_store_file_checksum --file=/etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,758: DEBUG - + update_only=0
2024-02-29 17:38:51,766: DEBUG - + local checksum_setting_name=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf
2024-02-29 17:38:51,766: DEBUG - ++ md5sum /etc/php/8.1/fpm/pool.d/roundcube.conf
2024-02-29 17:38:51,766: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-29 17:38:51,767: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_php_8.1_fpm_pool.d_roundcube.conf --value=686c0695ebdef15496c767620b0acb90
2024-02-29 17:38:51,767: DEBUG - + local _globalapp=roundcube
2024-02-29 17:38:51,797: DEBUG - + app=roundcube
2024-02-29 17:38:51,797: DEBUG - + [[ checksum__etc_php_8.1_fpm_pool.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:51,797: DEBUG - + ynh_app_setting set roundcube checksum__etc_php_8.1_fpm_pool.d_roundcube.conf 686c0695ebdef15496c767620b0acb90
2024-02-29 17:38:51,833: DEBUG - + '[' -n '' ']'
2024-02-29 17:38:51,833: DEBUG - + unset backup_file_checksum
2024-02-29 17:38:51,833: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/php-fpm.ini ']'
2024-02-29 17:38:51,833: DEBUG - + php-fpm8.1 --test
2024-02-29 17:38:51,865: DEBUG - + ynh_systemd_action --service_name=php8.1-fpm --action=reload
2024-02-29 17:38:51,920: DEBUG - + service_name=php8.1-fpm
2024-02-29 17:38:51,920: DEBUG - + action=reload
2024-02-29 17:38:51,920: DEBUG - + line_match=
2024-02-29 17:38:51,920: DEBUG - + length=20
2024-02-29 17:38:51,921: DEBUG - + log_path=/var/log/php8.1-fpm/php8.1-fpm.log
2024-02-29 17:38:51,921: DEBUG - + timeout=300
2024-02-29 17:38:51,921: DEBUG - + '[' reload == stop ']'
2024-02-29 17:38:51,921: DEBUG - + '[' reload == reload ']'
2024-02-29 17:38:51,921: DEBUG - + action=reload-or-restart
2024-02-29 17:38:51,921: DEBUG - ++ cut -d+ -f1
2024-02-29 17:38:51,921: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-29 17:38:51,922: DEBUG - + local 'time_start=2024-02-29 16:38:51 UTC'
2024-02-29 17:38:51,923: DEBUG - + systemctl reload-or-restart php8.1-fpm
2024-02-29 17:38:51,930: DEBUG - + ynh_add_nginx_config
2024-02-29 17:38:51,930: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:51,930: DEBUG - + ynh_add_config --template=nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:51,956: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/nginx.conf ']'
2024-02-29 17:38:51,957: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/nginx.conf
2024-02-29 17:38:51,957: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:51,963: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-29 17:38:51,964: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-29 17:38:51,964: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:51,981: DEBUG - ++ app=roundcube
2024-02-29 17:38:51,982: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:51,982: DEBUG - ++ ynh_app_setting get roundcube checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-29 17:38:52,018: DEBUG - + local checksum_value=
2024-02-29 17:38:52,018: DEBUG - + backup_file_checksum=
2024-02-29 17:38:52,018: DEBUG - + '[' -n '' ']'
2024-02-29 17:38:52,018: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,019: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,020: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,020: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,022: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,022: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,022: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-29 17:38:52,023: DEBUG - ++ tr -d '<>= '
2024-02-29 17:38:52,033: DEBUG - ++ '[' '!' -e '' ']'
2024-02-29 17:38:52,033: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.json ']'
2024-02-29 17:38:52,033: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml ']'
2024-02-29 17:38:52,033: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:52,033: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:52,033: DEBUG - ++ grep -q '\.json$'
2024-02-29 17:38:52,035: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:52,035: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 17:38:52,035: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-29 17:38:52,065: DEBUG - + local ynh_requirement=null
2024-02-29 17:38:52,065: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-29 17:38:52,066: DEBUG - + chmod o-rwx /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,067: DEBUG - + chmod g-w /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,067: DEBUG - + chown -R root:root /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,068: DEBUG - + ynh_system_user_exists roundcube
2024-02-29 17:38:52,074: DEBUG - + getent passwd roundcube
2024-02-29 17:38:52,075: DEBUG - + chown roundcube:roundcube /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,076: DEBUG - + echo /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,076: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-29 17:38:52,077: DEBUG - + chmod 400 /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,077: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,078: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,084: DEBUG - + test -n /webmail
2024-02-29 17:38:52,084: DEBUG - + local path_url_slash_less=/webmail
2024-02-29 17:38:52,084: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/webmail/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,120: DEBUG - + sed --in-place $'s\001__PATH__/\001/webmail/\001g' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,121: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/webmail --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,155: DEBUG - + sed --in-place $'s\001__PATH__\001/webmail\001g' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,157: DEBUG - + test -n roundcube
2024-02-29 17:38:52,157: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=roundcube --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,191: DEBUG - + sed --in-place $'s\001__NAME__\001roundcube\001g' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,192: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=roundcube --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,230: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001roundcube\001g' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,231: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=roundcube --target_file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,271: DEBUG - + sed --in-place $'s\001__USER__\001roundcube\001g' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,272: DEBUG - + test -n ''
2024-02-29 17:38:52,272: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 17:38:52,273: DEBUG - + test -n ''
2024-02-29 17:38:52,274: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,274: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-02-29 17:38:52,275: DEBUG - ++ sort --unique
2024-02-29 17:38:52,276: DEBUG - + uniques_vars=('install_dir' 'phpversion')
2024-02-29 17:38:52,279: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,279: DEBUG - + update_only=0
2024-02-29 17:38:52,289: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-29 17:38:52,290: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,290: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-29 17:38:52,291: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf --value=ca5fd0e5d80881ad109569851b16852f
2024-02-29 17:38:52,291: DEBUG - + local _globalapp=roundcube
2024-02-29 17:38:52,331: DEBUG - + app=roundcube
2024-02-29 17:38:52,331: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:52,331: DEBUG - + ynh_app_setting set roundcube checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf ca5fd0e5d80881ad109569851b16852f
2024-02-29 17:38:52,370: DEBUG - + '[' -n '' ']'
2024-02-29 17:38:52,370: DEBUG - + unset backup_file_checksum
2024-02-29 17:38:52,370: DEBUG - + '[' /webmail '!=' / ']'
2024-02-29 17:38:52,370: 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 17:38:52,409: DEBUG - + sed --in-place 's^#sub_path_onlyg' /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,410: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,410: DEBUG - + update_only=0
2024-02-29 17:38:52,420: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf
2024-02-29 17:38:52,420: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2024-02-29 17:38:52,420: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-29 17:38:52,422: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf --value=4cc82fc6d08e9eca22357fc9971c7cd7
2024-02-29 17:38:52,422: DEBUG - + local _globalapp=roundcube
2024-02-29 17:38:52,459: DEBUG - + app=roundcube
2024-02-29 17:38:52,459: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:52,459: DEBUG - + ynh_app_setting set roundcube checksum__etc_nginx_conf.d_maindomain.tld.d_roundcube.conf 4cc82fc6d08e9eca22357fc9971c7cd7
2024-02-29 17:38:52,497: DEBUG - + '[' -n '' ']'
2024-02-29 17:38:52,498: DEBUG - + unset backup_file_checksum
2024-02-29 17:38:52,498: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2024-02-29 17:38:52,556: DEBUG - + service_name=nginx
2024-02-29 17:38:52,556: DEBUG - + action=reload
2024-02-29 17:38:52,556: DEBUG - + line_match=
2024-02-29 17:38:52,556: DEBUG - + length=20
2024-02-29 17:38:52,556: DEBUG - + log_path=/var/log/nginx/nginx.log
2024-02-29 17:38:52,556: DEBUG - + timeout=300
2024-02-29 17:38:52,556: DEBUG - + '[' reload == stop ']'
2024-02-29 17:38:52,556: DEBUG - + '[' reload == reload ']'
2024-02-29 17:38:52,557: DEBUG - + action=reload-or-restart
2024-02-29 17:38:52,557: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-29 17:38:52,557: DEBUG - ++ cut -d+ -f1
2024-02-29 17:38:52,558: DEBUG - + local 'time_start=2024-02-29 16:38:52 UTC'
2024-02-29 17:38:52,559: DEBUG - + systemctl reload-or-restart nginx
2024-02-29 17:38:52,699: DEBUG - + '[' UPGRADE_APP == UPGRADE_APP ']'
2024-02-29 17:38:52,787: INFO - [##..................] > Reconfiguring Roundcube...
2024-02-29 17:38:52,787: DEBUG - ++ ynh_string_random --length=24
2024-02-29 17:38:52,808: DEBUG - ++ length=24
2024-02-29 17:38:52,808: DEBUG - ++ filter=A-Za-z0-9
2024-02-29 17:38:52,808: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2024-02-29 17:38:52,810: DEBUG - ++ tr --complement --delete A-Za-z0-9
2024-02-29 17:38:52,810: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2024-02-29 17:38:52,816: DEBUG - + deskey=**********
2024-02-29 17:38:52,816: DEBUG - + ynh_add_config --template=../conf/config.inc.php --destination=/var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,844: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/../conf/config.inc.php ']'
2024-02-29 17:38:52,844: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/../conf/config.inc.php
2024-02-29 17:38:52,844: DEBUG - + ynh_backup_if_checksum_is_different --file=/var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,856: DEBUG - + local checksum_setting_name=checksum__var_www_roundcube_config_config.inc.php
2024-02-29 17:38:52,863: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__var_www_roundcube_config_config.inc.php
2024-02-29 17:38:52,864: DEBUG - ++ local _globalapp=roundcube
2024-02-29 17:38:52,885: DEBUG - ++ app=roundcube
2024-02-29 17:38:52,885: DEBUG - ++ [[ checksum__var_www_roundcube_config_config.inc.php =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:52,885: DEBUG - ++ ynh_app_setting get roundcube checksum__var_www_roundcube_config_config.inc.php
2024-02-29 17:38:52,924: DEBUG - + local checksum_value=ab3238972046b92a8007e6363cab88f6
2024-02-29 17:38:52,924: DEBUG - + backup_file_checksum=
2024-02-29 17:38:52,924: DEBUG - + '[' -n ab3238972046b92a8007e6363cab88f6 ']'
2024-02-29 17:38:52,924: DEBUG - + '[' -e /var/www/roundcube/config/config.inc.php ']'
2024-02-29 17:38:52,924: DEBUG - + md5sum --check --status
2024-02-29 17:38:52,925: DEBUG - + touch /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,926: DEBUG - + chown root:root /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,927: DEBUG - + chmod 640 /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,927: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/conf/../conf/config.inc.php /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,928: DEBUG - + _ynh_apply_default_permissions /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,929: DEBUG - + local target=/var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,929: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-29 17:38:52,930: DEBUG - ++ tr -d '<>= '
2024-02-29 17:38:52,940: DEBUG - ++ '[' '!' -e '' ']'
2024-02-29 17:38:52,940: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.json ']'
2024-02-29 17:38:52,940: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml ']'
2024-02-29 17:38:52,940: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:52,940: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:52,940: DEBUG - ++ grep -q '\.json$'
2024-02-29 17:38:52,941: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_bw0jvhdi/manifest.toml
2024-02-29 17:38:52,941: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-02-29 17:38:52,942: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-02-29 17:38:52,973: DEBUG - + local ynh_requirement=null
2024-02-29 17:38:52,973: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-02-29 17:38:52,974: DEBUG - + chmod o-rwx /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,974: DEBUG - + chmod g-w /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,975: DEBUG - + chown -R root:root /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,976: DEBUG - + ynh_system_user_exists roundcube
2024-02-29 17:38:52,981: DEBUG - + getent passwd roundcube
2024-02-29 17:38:52,982: DEBUG - + chown roundcube:roundcube /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,982: DEBUG - + echo /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,982: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-29 17:38:52,983: DEBUG - + ynh_replace_vars --file=/var/www/roundcube/config/config.inc.php
2024-02-29 17:38:52,989: DEBUG - + test -n /webmail
2024-02-29 17:38:52,989: DEBUG - + local path_url_slash_less=/webmail
2024-02-29 17:38:52,989: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/webmail/ --target_file=/var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,020: DEBUG - + sed --in-place $'s\001__PATH__/\001/webmail/\001g' /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,021: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/webmail --target_file=/var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,055: DEBUG - + sed --in-place $'s\001__PATH__\001/webmail\001g' /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,056: DEBUG - + test -n roundcube
2024-02-29 17:38:53,056: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,088: DEBUG - + sed --in-place $'s\001__NAME__\001roundcube\001g' /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,089: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,122: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001roundcube\001g' /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,123: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,154: DEBUG - + sed --in-place $'s\001__USER__\001roundcube\001g' /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,155: DEBUG - + test -n ''
2024-02-29 17:38:53,155: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 17:38:53,156: DEBUG - + test -n ''
2024-02-29 17:38:53,156: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,156: DEBUG - ++ sort --unique
2024-02-29 17:38:53,157: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-02-29 17:38:53,158: DEBUG - + uniques_vars=('db_name' 'db_pwd' 'deskey' 'language')
2024-02-29 17:38:53,162: DEBUG - + ynh_store_file_checksum --file=/var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,163: DEBUG - + update_only=0
2024-02-29 17:38:53,171: DEBUG - + local checksum_setting_name=checksum__var_www_roundcube_config_config.inc.php
2024-02-29 17:38:53,171: DEBUG - ++ md5sum /var/www/roundcube/config/config.inc.php
2024-02-29 17:38:53,171: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-29 17:38:53,172: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__var_www_roundcube_config_config.inc.php --value=26e652d5d4f2bb31c43530831e79854e
2024-02-29 17:38:53,172: DEBUG - + local _globalapp=roundcube
2024-02-29 17:38:53,204: DEBUG - + app=roundcube
2024-02-29 17:38:53,204: DEBUG - + [[ checksum__var_www_roundcube_config_config.inc.php =~ (unprotected|protected|skipped)_ ]]
2024-02-29 17:38:53,204: DEBUG - + ynh_app_setting set roundcube checksum__var_www_roundcube_config_config.inc.php 26e652d5d4f2bb31c43530831e79854e
2024-02-29 17:38:53,240: DEBUG - + '[' -n '' ']'
2024-02-29 17:38:53,240: DEBUG - + unset backup_file_checksum
2024-02-29 17:38:53,280: INFO - [##++++++++..........] > Updating dependencies with Composer...
2024-02-29 17:38:53,280: DEBUG - + ynh_install_composer
2024-02-29 17:38:53,280: DEBUG - + local _globalphpversion=8.1
2024-02-29 17:38:53,281: DEBUG - + declare -Ar args_array
2024-02-29 17:38:53,281: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 17:38:53,281: DEBUG - + workdir=/var/www/roundcube
2024-02-29 17:38:53,282: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 17:38:53,282: DEBUG - + phpversion=8.1
2024-02-29 17:38:53,282: DEBUG - + install_args=
2024-02-29 17:38:53,282: DEBUG - + composerversion=2.5.5
2024-02-29 17:38:53,283: DEBUG - + curl -sS https://getcomposer.org/installer
2024-02-29 17:38:53,283: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-02-29 17:38:53,283: DEBUG - + php8.1 -- --quiet --install-dir=/var/www/roundcube --version=2.5.5
2024-02-29 17:38:54,280: DEBUG - + ynh_composer_exec --phpversion=8.1 --workdir=/var/www/roundcube '--commands=install --no-dev '
2024-02-29 17:38:54,280: DEBUG - + local _globalphpversion=8.1
2024-02-29 17:38:54,281: DEBUG - + declare -Ar args_array
2024-02-29 17:38:54,321: DEBUG - + workdir=/var/www/roundcube
2024-02-29 17:38:54,321: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-02-29 17:38:54,322: DEBUG - + phpversion=8.1
2024-02-29 17:38:54,322: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-02-29 17:38:54,322: DEBUG - + COMPOSER_MEMORY_LIMIT=-1
2024-02-29 17:38:54,322: DEBUG - + php8.1 /var/www/roundcube/composer.phar install --no-dev -d /var/www/roundcube --no-interaction --no-ansi
2024-02-29 17:38:54,414: 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 17:38:54,414: DEBUG - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2024-02-29 17:38:54,416: DEBUG - Composer could not find a composer.json file in /var/www/roundcube
2024-02-29 17:38:54,417: DEBUG - To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage
2024-02-29 17:38:54,421: DEBUG - + ynh_die '--message=Unable to install core dependencies with Composer.'
2024-02-29 17:38:54,432: DEBUG - + ynh_exit_properly
2024-02-29 17:38:54,432: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2024-02-29 17:38:54,435: WARNING - Unable to install core dependencies with Composer.
2024-02-29 17:38:55,936: ERROR - Could not upgrade roundcube: An error occurred inside the app upgrade script

Oh wait, for some reason one of the scripts did not run properly now its fixed thanks

1 Like

Unfortunately the update broke something, I don’t know if I am right but could this issue relate to: Need Help: Authentication Failure when Sending Emails via Yunohost Mail Server?


I checked the logs but there is nothing to check everything seems to be fine (only the usual hacker attempts), same for diagnosis.

EDIT: FOR NOW I RESTORED THE PREVIOUS VERSION FROM MY BACKUP, THAT SEEMS TO WORK FINE.

EDIT II: Even after updating to the latest stable release 11.2.10.3, the update seems to fail. So, recovering from the backup (everything fine), I attempted to install the update again, but encountered the same error as above. Reverting back to the backup version (everything good), I tried the manual backup process again, only to find it broken once more.

Next, I attempted to resolve the issue by completely removing Roundcube and then trying a reinstallation. However, this resulted in a complete 5xx error for all of Roundcube. Frustrated, I reverted back to the backup again, and everything returned to normal.

It seems like I’m stuck in a loop of failed updates and broken installations. Any advice or suggestions on how to resolve this recurring issue would be greatly appreciated. Thanks!

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