Nextcloud upgrade from 28.0.6~ynh1 to 29.0.2~ynh1 fails

Hello Everyone. Can anybody help me with this problem? (french message follows)

My YunoHost server

Hardware: Raspberry Pi 4 at home
YunoHost version: 11.2.15
I have access to my server : Through SSH, through the webadmin and direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Upgrading Nextcloud from version 28.0.6~ynh1 to 29.0.2~ynh1 constantly fails. Yunohost and Nextcloud apps are up to date.

Here is the log:

ended_at: 2024-06-21 06:05:31.140706
env:
  YNH_APP_ACTION: upgrade
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app__aq0hgu4
  YNH_APP_CURRENT_VERSION: 28.0.6~ynh1
  YNH_APP_ID: nextcloud
  YNH_APP_INSTANCE_NAME: nextcloud
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 29.0.2~ynh1
  YNH_APP_PACKAGING_FORMAT: '2.0'
  YNH_APP_UPGRADE_TYPE: UPGRADE_APP
  YNH_ARCH: arm64
  YNH_DEBIAN_VERSION: bullseye
  YNH_HELPERS_VERSION: '2'
error: "Une erreur s'est produite durant l'ex\xE9cution du script de mise \xE0 niveau\
  \ de l'application"
interface: api
operation: app_upgrade
parent: null
related_to:
- - app
  - nextcloud
started_at: 2024-06-21 06:03:13.070918
success: false
yunohost_version: 11.2.15

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

2024-06-21 08:03:13,115: INFO - Updating sources...
2024-06-21 08:03:13,117: DEBUG - Prefetching asset main: https://download.nextcloud.com/server/releases/nextcloud-29.0.2.tar.bz2 ...
2024-06-21 08:04:02,628: DEBUG - Prefetching asset 28: https://download.nextcloud.com/server/releases/nextcloud-28.0.0.tar.bz2 ...
2024-06-21 08:04:35,654: INFO - Updating system_user...
2024-06-21 08:04:36,783: INFO - Updating install_dir...
2024-06-21 08:04:36,825: INFO - Updating data_dir...
2024-06-21 08:04:36,881: INFO - Updating permissions...
2024-06-21 08:04:37,418: DEBUG - Nothing to update in LDAP
2024-06-21 08:04:37,657: DEBUG - Permission 'nextcloud.main' mise à jour
2024-06-21 08:04:37,658: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20240621-060437-user_permission_update-nextcloud" style="text-decoration :underline"> Mise à jour des accès pour la permission 'nextcloud' </a>'
2024-06-21 08:04:38,231: DEBUG - Nothing to update in LDAP
2024-06-21 08:04:38,232: DEBUG - Permission 'nextcloud.main' mise à jour
2024-06-21 08:04:38,457: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20240621-060438-permission_url-nextcloud" style="text-decoration :underline"> Mise à jour de l'URL associée à l'autorisation 'nextcloud' </a>'
2024-06-21 08:04:38,944: DEBUG - Nothing to update in LDAP
2024-06-21 08:04:39,170: DEBUG - Permission 'nextcloud.api' mise à jour
2024-06-21 08:04:39,171: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20240621-060438-user_permission_update-nextcloud" style="text-decoration :underline"> Mise à jour des accès pour la permission 'nextcloud' </a>'
2024-06-21 08:04:39,456: DEBUG - Nothing to update in LDAP
2024-06-21 08:04:39,457: DEBUG - Permission 'nextcloud.api' mise à jour
2024-06-21 08:04:39,682: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20240621-060439-permission_url-nextcloud" style="text-decoration :underline"> Mise à jour de l'URL associée à l'autorisation 'nextcloud' </a>'
2024-06-21 08:04:39,925: DEBUG - The permission database has been resynchronized
2024-06-21 08:04:40,294: DEBUG - La configuration de SSOwat a été regénérée
2024-06-21 08:04:40,310: INFO - Updating apt...
2024-06-21 08:04:40,352: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt"  7>&1']'
2024-06-21 08:04:40,377: DEBUG - + source /usr/share/yunohost/helpers
2024-06-21 08:04:40,379: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-06-21 08:04:40,382: DEBUG - +++ cd -- /usr/share/yunohost
2024-06-21 08:04:40,383: DEBUG - +++ pwd
2024-06-21 08:04:40,383: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-06-21 08:04:40,384: DEBUG - ++ YNH_HELPERS_VERSION=2
2024-06-21 08:04:40,385: DEBUG - +++ set +o
2024-06-21 08:04:40,385: DEBUG - +++ grep xtrace
2024-06-21 08:04:40,389: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-06-21 08:04:40,390: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-06-21 08:04:40,450: DEBUG - + ynh_abort_if_errors
2024-06-21 08:04:40,451: DEBUG - + trap ynh_exit_properly EXIT
2024-06-21 08:04:40,452: DEBUG - + ynh_install_app_dependencies mariadb-server imagemagick libmagickcore-6.q16-6-extra acl tar smbclient at php8.3-fpm php8.3-bz2 php8.3-imap php8.3-gmp php8.3-gd php8.3-intl php8.3-curl php8.3-apcu php8.3-redis php8.3-ldap php8.3-imagick php8.3-zip php8.3-mbstring php8.3-xml php8.3-mysql php8.3-igbinary php8.3-bcmath
2024-06-21 08:04:40,453: DEBUG - + local 'dependencies=mariadb-server imagemagick libmagickcore-6.q16-6-extra acl tar smbclient at php8.3-fpm php8.3-bz2 php8.3-imap php8.3-gmp php8.3-gd php8.3-intl php8.3-curl php8.3-apcu php8.3-redis php8.3-ldap php8.3-imagick php8.3-zip php8.3-mbstring php8.3-xml php8.3-mysql php8.3-igbinary php8.3-bcmath'
2024-06-21 08:04:40,453: DEBUG - ++ echo 'mariadb-server imagemagick libmagickcore-6.q16-6-extra acl tar smbclient at php8.3-fpm php8.3-bz2 php8.3-imap php8.3-gmp php8.3-gd php8.3-intl php8.3-curl php8.3-apcu php8.3-redis php8.3-ldap php8.3-imagick php8.3-zip php8.3-mbstring php8.3-xml php8.3-mysql php8.3-igbinary php8.3-bcmath'
2024-06-21 08:04:40,454: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2024-06-21 08:04:40,459: DEBUG - + dependencies='mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.3-fpm, php8.3-bz2, php8.3-imap, php8.3-gmp, php8.3-gd, php8.3-intl, php8.3-curl, php8.3-apcu, php8.3-redis, php8.3-ldap, php8.3-imagick, php8.3-zip, php8.3-mbstring, php8.3-xml, php8.3-mysql, php8.3-igbinary, php8.3-bcmath'
2024-06-21 08:04:40,460: DEBUG - + local 'dependencies=mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.3-fpm, php8.3-bz2, php8.3-imap, php8.3-gmp, php8.3-gd, php8.3-intl, php8.3-curl, php8.3-apcu, php8.3-redis, php8.3-ldap, php8.3-imagick, php8.3-zip, php8.3-mbstring, php8.3-xml, php8.3-mysql, php8.3-igbinary, php8.3-bcmath'
2024-06-21 08:04:40,460: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-06-21 08:04:40,505: DEBUG - ++ '[' '!' -e '' ']'
2024-06-21 08:04:40,506: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_1sqhjhhz/manifest.json ']'
2024-06-21 08:04:40,506: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_1sqhjhhz/manifest.toml ']'
2024-06-21 08:04:40,507: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_1sqhjhhz/manifest.toml
2024-06-21 08:04:40,507: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_1sqhjhhz/manifest.toml
2024-06-21 08:04:40,507: DEBUG - ++ grep -q '\.json$'
2024-06-21 08:04:40,513: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_1sqhjhhz/manifest.toml
2024-06-21 08:04:40,514: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-06-21 08:04:40,514: DEBUG - ++ jq .version --raw-output
2024-06-21 08:04:40,684: DEBUG - + local version=28.0.6~ynh1
2024-06-21 08:04:40,684: DEBUG - + '[' -z 28.0.6~ynh1 ']'
2024-06-21 08:04:40,685: DEBUG - + '[' 28.0.6~ynh1 == null ']'
2024-06-21 08:04:40,685: DEBUG - + local dep_app=nextcloud
2024-06-21 08:04:40,686: DEBUG - + [[ mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.3-fpm, php8.3-bz2, php8.3-imap, php8.3-gmp, php8.3-gd, php8.3-intl, php8.3-curl, php8.3-apcu, php8.3-redis, php8.3-ldap, php8.3-imagick, php8.3-zip, php8.3-mbstring, php8.3-xml, php8.3-mysql, php8.3-igbinary, php8.3-bcmath =~ [<=>] ]]
2024-06-21 08:04:40,687: DEBUG - ++ echo mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.3-fpm, php8.3-bz2, php8.3-imap, php8.3-gmp, php8.3-gd, php8.3-intl, php8.3-curl, php8.3-apcu, php8.3-redis, php8.3-ldap, php8.3-imagick, php8.3-zip, php8.3-mbstring, php8.3-xml, php8.3-mysql, php8.3-igbinary, php8.3-bcmath
2024-06-21 08:04:40,688: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2024-06-21 08:04:40,689: DEBUG - ++ sort -u
2024-06-21 08:04:40,692: DEBUG - + local specific_php_version=8.3
2024-06-21 08:04:40,693: DEBUG - + [[ -n 8.3 ]]
2024-06-21 08:04:40,694: DEBUG - ++ echo 8.3
2024-06-21 08:04:40,695: DEBUG - ++ wc -l
2024-06-21 08:04:40,700: DEBUG - + [[ 1 -eq 1 ]]
2024-06-21 08:04:40,701: DEBUG - + dependencies+=', php8.3, php8.3-fpm, php8.3-common'
2024-06-21 08:04:40,701: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=phpversion
2024-06-21 08:04:40,702: DEBUG - ++ local _globalapp=nextcloud
2024-06-21 08:04:40,779: DEBUG - ++ app=nextcloud
2024-06-21 08:04:40,779: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:04:40,780: DEBUG - ++ ynh_app_setting get nextcloud phpversion
2024-06-21 08:04:40,925: DEBUG - + local old_phpversion=8.2
2024-06-21 08:04:40,925: DEBUG - + '[' -n 8.2 ']'
2024-06-21 08:04:40,926: DEBUG - + '[' 8.2 '!=' 8.3 ']'
2024-06-21 08:04:40,926: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=fpm_config_dir
2024-06-21 08:04:40,927: DEBUG - ++ local _globalapp=nextcloud
2024-06-21 08:04:41,002: DEBUG - ++ app=nextcloud
2024-06-21 08:04:41,003: DEBUG - ++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:04:41,003: DEBUG - ++ ynh_app_setting get nextcloud fpm_config_dir
2024-06-21 08:04:41,140: DEBUG - + local old_php_fpm_config_dir=/etc/php/8.2/fpm
2024-06-21 08:04:41,141: DEBUG - + local old_php_finalphpconf=/etc/php/8.2/fpm/pool.d/nextcloud.conf
2024-06-21 08:04:41,141: DEBUG - + [[ -f /etc/php/8.2/fpm/pool.d/nextcloud.conf ]]
2024-06-21 08:04:41,141: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/8.2/fpm/pool.d/nextcloud.conf
2024-06-21 08:04:41,165: DEBUG - + local checksum_setting_name=checksum__etc_php_8.2_fpm_pool.d_nextcloud.conf
2024-06-21 08:04:41,165: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=checksum__etc_php_8.2_fpm_pool.d_nextcloud.conf
2024-06-21 08:04:41,166: DEBUG - ++ local _globalapp=nextcloud
2024-06-21 08:04:41,243: DEBUG - ++ app=nextcloud
2024-06-21 08:04:41,244: DEBUG - ++ [[ checksum__etc_php_8.2_fpm_pool.d_nextcloud.conf =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:04:41,244: DEBUG - ++ ynh_app_setting get nextcloud checksum__etc_php_8.2_fpm_pool.d_nextcloud.conf
2024-06-21 08:04:41,381: DEBUG - + local checksum_value=4a1372aab3874b5e009a4f6bd533abf1
2024-06-21 08:04:41,382: DEBUG - + backup_file_checksum=
2024-06-21 08:04:41,382: DEBUG - + '[' -n 4a1372aab3874b5e009a4f6bd533abf1 ']'
2024-06-21 08:04:41,383: DEBUG - + '[' -e /etc/php/8.2/fpm/pool.d/nextcloud.conf ']'
2024-06-21 08:04:41,383: DEBUG - + md5sum --check --status
2024-06-21 08:04:41,388: DEBUG - + ynh_remove_fpm_config
2024-06-21 08:04:41,388: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=fpm_config_dir
2024-06-21 08:04:41,389: DEBUG - ++ local _globalapp=nextcloud
2024-06-21 08:04:41,465: DEBUG - ++ app=nextcloud
2024-06-21 08:04:41,466: DEBUG - ++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:04:41,467: DEBUG - ++ ynh_app_setting get nextcloud fpm_config_dir
2024-06-21 08:04:41,604: DEBUG - + local fpm_config_dir=/etc/php/8.2/fpm
2024-06-21 08:04:41,606: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=fpm_service
2024-06-21 08:04:41,606: DEBUG - ++ local _globalapp=nextcloud
2024-06-21 08:04:41,684: DEBUG - ++ app=nextcloud
2024-06-21 08:04:41,685: DEBUG - ++ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:04:41,685: DEBUG - ++ ynh_app_setting get nextcloud fpm_service
2024-06-21 08:04:41,827: DEBUG - + local fpm_service=php8.2-fpm
2024-06-21 08:04:41,831: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=fpm_dedicated_service
2024-06-21 08:04:41,832: DEBUG - ++ local _globalapp=nextcloud
2024-06-21 08:04:41,907: DEBUG - ++ app=nextcloud
2024-06-21 08:04:41,907: DEBUG - ++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:04:41,908: DEBUG - ++ ynh_app_setting get nextcloud fpm_dedicated_service
2024-06-21 08:04:42,044: DEBUG - + local dedicated_service=0
2024-06-21 08:04:42,045: DEBUG - + dedicated_service=0
2024-06-21 08:04:42,046: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=phpversion
2024-06-21 08:04:42,046: DEBUG - ++ local _globalapp=nextcloud
2024-06-21 08:04:42,127: DEBUG - ++ app=nextcloud
2024-06-21 08:04:42,128: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:04:42,129: DEBUG - ++ ynh_app_setting get nextcloud phpversion
2024-06-21 08:04:42,265: DEBUG - + local phpversion=8.2
2024-06-21 08:04:42,266: DEBUG - + phpversion=8.2
2024-06-21 08:04:42,266: DEBUG - + '[' -z /etc/php/8.2/fpm ']'
2024-06-21 08:04:42,267: DEBUG - + ynh_secure_remove --file=/etc/php/8.2/fpm/pool.d/nextcloud.conf
2024-06-21 08:04:42,331: DEBUG - + '[' -e /etc/php/8.2/fpm/conf.d/20-nextcloud.ini ']'
2024-06-21 08:04:42,332: DEBUG - + ynh_package_is_installed --package=php8.2-fpm
2024-06-21 08:04:42,357: DEBUG - + dpkg-query --show '--showformat=${Status}' php8.2-fpm
2024-06-21 08:04:42,358: DEBUG - + grep --count 'ok installed'
2024-06-21 08:04:42,393: DEBUG - + ynh_systemd_action --service_name=php8.2-fpm --action=reload
2024-06-21 08:04:42,604: DEBUG - + service_name=php8.2-fpm
2024-06-21 08:04:42,605: DEBUG - + action=reload
2024-06-21 08:04:42,605: DEBUG - + line_match=
2024-06-21 08:04:42,605: DEBUG - + length=20
2024-06-21 08:04:42,606: DEBUG - + log_path=/var/log/php8.2-fpm/php8.2-fpm.log
2024-06-21 08:04:42,606: DEBUG - + timeout=300
2024-06-21 08:04:42,606: DEBUG - + '[' reload == stop ']'
2024-06-21 08:04:42,607: DEBUG - + '[' reload == reload ']'
2024-06-21 08:04:42,608: DEBUG - + action=reload-or-restart
2024-06-21 08:04:42,609: DEBUG - ++ date --utc --rfc-3339=seconds
2024-06-21 08:04:42,610: DEBUG - ++ cut -d+ -f1
2024-06-21 08:04:42,614: DEBUG - + local 'time_start=2024-06-21 06:04:42 UTC'
2024-06-21 08:04:42,614: DEBUG - + systemctl reload-or-restart php8.2-fpm
2024-06-21 08:04:42,672: DEBUG - + '[' 8.2 '!=' 7.4 ']'
2024-06-21 08:04:42,674: DEBUG - + '[' -n '' ']'
2024-06-21 08:04:42,674: DEBUG - + ynh_app_setting_set --app=nextcloud --key=phpversion --value=8.3
2024-06-21 08:04:42,675: DEBUG - + local _globalapp=nextcloud
2024-06-21 08:04:42,894: DEBUG - + app=nextcloud
2024-06-21 08:04:42,895: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:04:42,895: DEBUG - + ynh_app_setting set nextcloud phpversion 8.3
2024-06-21 08:04:43,074: DEBUG - + test -e /usr/bin/php7.4
2024-06-21 08:04:43,075: DEBUG - + update-alternatives --set php /usr/bin/php7.4
2024-06-21 08:04:43,081: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-06-21 08:04:43,107: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-06-21 08:04:43,107: DEBUG - ++ grep --count 'ok installed'
2024-06-21 08:04:43,144: DEBUG - ++ echo no
2024-06-21 08:04:43,144: DEBUG - + local psql_installed=no
2024-06-21 08:04:43,145: DEBUG - + [[ true == \t\r\u\e ]]
2024-06-21 08:04:43,146: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2024-06-21 08:04:43,146: DEBUG - + cat
2024-06-21 08:04:43,149: DEBUG - + ynh_package_install_from_equivs /tmp/nextcloud-ynh-deps.control
2024-06-21 08:04:43,149: DEBUG - + local controlfile=/tmp/nextcloud-ynh-deps.control
2024-06-21 08:04:43,151: DEBUG - ++ grep '^Package: ' /tmp/nextcloud-ynh-deps.control
2024-06-21 08:04:43,152: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-06-21 08:04:43,156: DEBUG - + local pkgname=nextcloud-ynh-deps
2024-06-21 08:04:43,158: DEBUG - ++ grep '^Version: ' /tmp/nextcloud-ynh-deps.control
2024-06-21 08:04:43,159: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-06-21 08:04:43,163: DEBUG - + local pkgversion=28.0.6~ynh1
2024-06-21 08:04:43,163: DEBUG - + [[ -z nextcloud-ynh-deps ]]
2024-06-21 08:04:43,164: DEBUG - + [[ -z 28.0.6~ynh1 ]]
2024-06-21 08:04:43,164: DEBUG - + ynh_package_update
2024-06-21 08:04:43,164: DEBUG - + ynh_apt update
2024-06-21 08:04:43,165: DEBUG - + ynh_wait_dpkg_free
2024-06-21 08:04:43,517: DEBUG - + return 0
2024-06-21 08:04:43,518: DEBUG - + LC_ALL=C
2024-06-21 08:04:43,518: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-06-21 08:04:43,519: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-06-21 08:04:43,807: DEBUG - Hit:1 http://deb.debian.org/debian bullseye InRelease
2024-06-21 08:04:43,807: DEBUG - Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
2024-06-21 08:04:43,808: DEBUG - Hit:3 http://forge.yunohost.org/debian bullseye InRelease
2024-06-21 08:04:43,810: DEBUG - Get:4 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
2024-06-21 08:04:43,880: DEBUG - Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease
2024-06-21 08:04:43,924: DEBUG - Hit:6 https://packages.sury.org/php bullseye InRelease
2024-06-21 08:04:45,299: DEBUG - Fetched 44.1 kB in 2s (26.7 kB/s)
2024-06-21 08:04:48,340: DEBUG - Reading package lists...
2024-06-21 08:04:48,400: DEBUG - ++ mktemp --directory
2024-06-21 08:04:48,403: DEBUG - + local TMPDIR=/tmp/tmp.LUh5ZALYP2
2024-06-21 08:04:48,404: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2024-06-21 08:04:48,406: DEBUG - + ynh_wait_dpkg_free
2024-06-21 08:04:48,769: DEBUG - + return 0
2024-06-21 08:04:48,770: DEBUG - + cp /tmp/nextcloud-ynh-deps.control /tmp/tmp.LUh5ZALYP2/control
2024-06-21 08:04:48,775: DEBUG - + cd /tmp/tmp.LUh5ZALYP2
2024-06-21 08:04:48,776: DEBUG - + LC_ALL=C
2024-06-21 08:04:48,776: DEBUG - + equivs-build ./control
2024-06-21 08:04:49,245: DEBUG - dpkg-buildpackage: info: source package nextcloud-ynh-deps
2024-06-21 08:04:49,246: DEBUG - dpkg-buildpackage: info: source version 28.0.6~ynh1
2024-06-21 08:04:49,246: DEBUG - dpkg-buildpackage: info: source distribution unstable
2024-06-21 08:04:49,247: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@maindomain.tld>
2024-06-21 08:04:49,353: DEBUG -  dpkg-source --before-build .
2024-06-21 08:04:49,354: DEBUG - dpkg-buildpackage: info: host architecture arm64
2024-06-21 08:04:49,667: DEBUG -  debian/rules clean
2024-06-21 08:04:49,672: DEBUG - dh clean
2024-06-21 08:04:49,923: DEBUG -    dh_clean
2024-06-21 08:04:50,018: DEBUG -  debian/rules binary
2024-06-21 08:04:50,023: DEBUG - dh binary
2024-06-21 08:04:50,221: DEBUG -    dh_update_autotools_config
2024-06-21 08:04:50,304: DEBUG -    dh_autoreconf
2024-06-21 08:04:50,425: DEBUG -    create-stamp debian/debhelper-build-stamp
2024-06-21 08:04:50,425: DEBUG -    dh_prep
2024-06-21 08:04:50,509: DEBUG -    dh_install
2024-06-21 08:04:50,607: DEBUG -    dh_installdocs
2024-06-21 08:04:50,718: DEBUG -    dh_installchangelogs
2024-06-21 08:04:50,972: DEBUG -    dh_perl
2024-06-21 08:04:51,079: DEBUG -    dh_link
2024-06-21 08:04:51,179: DEBUG -    dh_strip_nondeterminism
2024-06-21 08:04:51,385: DEBUG -    dh_compress
2024-06-21 08:04:51,503: DEBUG -    dh_fixperms
2024-06-21 08:04:51,620: DEBUG -    dh_missing
2024-06-21 08:04:51,694: DEBUG -    dh_installdeb
2024-06-21 08:04:51,816: DEBUG -    dh_gencontrol
2024-06-21 08:04:52,197: DEBUG -    dh_md5sums
2024-06-21 08:04:52,298: DEBUG -    dh_builddeb
2024-06-21 08:04:52,375: DEBUG - dpkg-deb: building package 'nextcloud-ynh-deps' in '../nextcloud-ynh-deps_28.0.6~ynh1_all.deb'.
2024-06-21 08:04:52,429: DEBUG -  dpkg-genbuildinfo --build=binary
2024-06-21 08:04:54,033: DEBUG -  dpkg-genchanges --build=binary >../nextcloud-ynh-deps_28.0.6~ynh1_arm64.changes
2024-06-21 08:04:54,276: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2024-06-21 08:04:54,285: DEBUG -  dpkg-source --after-build .
2024-06-21 08:04:54,596: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2024-06-21 08:04:54,609: DEBUG - 
2024-06-21 08:04:54,610: DEBUG - The package has been created.
2024-06-21 08:04:54,610: DEBUG - Attention, the package has been created in the current directory,
2024-06-21 08:04:54,611: DEBUG - not in ".." as indicated by the message above!
2024-06-21 08:04:54,614: DEBUG - + LC_ALL=C
2024-06-21 08:04:54,614: DEBUG - + dpkg --force-depends --install ./nextcloud-ynh-deps_28.0.6~ynh1_all.deb
2024-06-21 08:04:54,615: DEBUG - + tee ./dpkg_log
2024-06-21 08:04:55,106: DEBUG - (Reading database ... 64330 files and directories currently installed.)
2024-06-21 08:04:55,113: DEBUG - Preparing to unpack .../nextcloud-ynh-deps_28.0.6~ynh1_all.deb ...
2024-06-21 08:04:55,120: DEBUG - Unpacking nextcloud-ynh-deps (28.0.6~ynh1) over (28.0.6~ynh1) ...
2024-06-21 08:04:55,235: DEBUG - dpkg: nextcloud-ynh-deps: dependency problems, but configuring anyway as you requested:
2024-06-21 08:04:55,235: DEBUG -  nextcloud-ynh-deps depends on php8.3-bz2; however:
2024-06-21 08:04:55,236: DEBUG -   Package php8.3-bz2 is not installed.
2024-06-21 08:04:55,237: DEBUG -  nextcloud-ynh-deps depends on php8.3-imap; however:
2024-06-21 08:04:55,237: DEBUG -   Package php8.3-imap is not installed.
2024-06-21 08:04:55,238: DEBUG -  nextcloud-ynh-deps depends on php8.3-gmp; however:
2024-06-21 08:04:55,238: DEBUG -   Package php8.3-gmp is not installed.
2024-06-21 08:04:55,238: DEBUG -  nextcloud-ynh-deps depends on php8.3-apcu; however:
2024-06-21 08:04:55,239: DEBUG -   Package php8.3-apcu is not installed.
2024-06-21 08:04:55,239: DEBUG -  nextcloud-ynh-deps depends on php8.3-redis; however:
2024-06-21 08:04:55,240: DEBUG -   Package php8.3-redis is not installed.
2024-06-21 08:04:55,240: DEBUG -  nextcloud-ynh-deps depends on php8.3-imagick; however:
2024-06-21 08:04:55,241: DEBUG -   Package php8.3-imagick is not installed.
2024-06-21 08:04:55,241: DEBUG -  nextcloud-ynh-deps depends on php8.3-zip; however:
2024-06-21 08:04:55,242: DEBUG -   Package php8.3-zip is not installed.
2024-06-21 08:04:55,242: DEBUG -  nextcloud-ynh-deps depends on php8.3-igbinary; however:
2024-06-21 08:04:55,243: DEBUG -   Package php8.3-igbinary is not installed.
2024-06-21 08:04:55,243: DEBUG -  nextcloud-ynh-deps depends on php8.3-bcmath; however:
2024-06-21 08:04:55,243: DEBUG -   Package php8.3-bcmath is not installed.
2024-06-21 08:04:55,244: DEBUG - 
2024-06-21 08:04:55,244: DEBUG - Setting up nextcloud-ynh-deps (28.0.6~ynh1) ...
2024-06-21 08:04:55,286: DEBUG - + ynh_package_install --fix-broken
2024-06-21 08:04:55,287: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-06-21 08:04:55,287: DEBUG - + ynh_wait_dpkg_free
2024-06-21 08:04:55,649: DEBUG - + return 0
2024-06-21 08:04:55,650: DEBUG - + LC_ALL=C
2024-06-21 08:04:55,650: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-06-21 08:04:55,651: 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-06-21 08:04:56,418: DEBUG - Reading package lists...
2024-06-21 08:04:57,206: DEBUG - Building dependency tree...
2024-06-21 08:04:57,210: DEBUG - Reading state information...
2024-06-21 08:04:57,955: DEBUG - Correcting dependencies... Done
2024-06-21 08:04:58,816: DEBUG - The following packages were automatically installed and are no longer required:
2024-06-21 08:04:58,817: DEBUG -   php8.2-apcu php8.2-bcmath php8.2-bz2 php8.2-curl php8.2-gmp php8.2-igbinary
2024-06-21 08:04:58,818: DEBUG -   php8.2-imagick php8.2-imap php8.2-intl php8.2-ldap php8.2-redis php8.2-zip
2024-06-21 08:04:58,820: DEBUG - Use 'apt autoremove' to remove them.
2024-06-21 08:04:58,826: DEBUG - The following additional packages will be installed:
2024-06-21 08:04:58,828: DEBUG -   php8.3-apcu php8.3-bcmath php8.3-bz2 php8.3-gmp php8.3-igbinary
2024-06-21 08:04:58,829: DEBUG -   php8.3-imagick php8.3-imap php8.3-redis php8.3-zip
2024-06-21 08:04:58,929: DEBUG - The following NEW packages will be installed:
2024-06-21 08:04:58,930: DEBUG -   php8.3-apcu php8.3-bcmath php8.3-bz2 php8.3-gmp php8.3-igbinary
2024-06-21 08:04:58,932: DEBUG -   php8.3-imagick php8.3-imap php8.3-redis php8.3-zip
2024-06-21 08:05:00,336: DEBUG - 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
2024-06-21 08:05:00,338: DEBUG - Need to get 0 B/448 kB of archives.
2024-06-21 08:05:00,339: DEBUG - After this operation, 2108 kB of additional disk space will be used.
2024-06-21 08:05:00,402: DEBUG - Selecting previously unselected package php8.3-apcu.
2024-06-21 08:05:00,498: DEBUG - (Reading database ... 64330 files and directories currently installed.)
2024-06-21 08:05:00,505: DEBUG - Preparing to unpack .../0-php8.3-apcu_5.1.23-1+0~20231125.39+debian11~1.gbp8bf49a_arm64.deb ...
2024-06-21 08:05:00,514: DEBUG - Unpacking php8.3-apcu (5.1.23-1+0~20231125.39+debian11~1.gbp8bf49a) ...
2024-06-21 08:05:00,593: DEBUG - Selecting previously unselected package php8.3-igbinary.
2024-06-21 08:05:00,607: DEBUG - Preparing to unpack .../1-php8.3-igbinary_3.2.15-1+0~20231202.49+debian11~1.gbpe9ffe8_arm64.deb ...
2024-06-21 08:05:00,614: DEBUG - Unpacking php8.3-igbinary (3.2.15-1+0~20231202.49+debian11~1.gbpe9ffe8) ...
2024-06-21 08:05:00,681: DEBUG - Selecting previously unselected package php8.3-imagick.
2024-06-21 08:05:00,693: DEBUG - Preparing to unpack .../2-php8.3-imagick_3.7.0-4+0~20231125.43+debian11~1.gbpbf7e27_arm64.deb ...
2024-06-21 08:05:00,700: DEBUG - Unpacking php8.3-imagick (3.7.0-4+0~20231125.43+debian11~1.gbpbf7e27) ...
2024-06-21 08:05:00,773: DEBUG - Selecting previously unselected package php8.3-redis.
2024-06-21 08:05:00,786: DEBUG - Preparing to unpack .../3-php8.3-redis_6.0.2-1+0~20231128.56+debian11~1.gbp9f3071_arm64.deb ...
2024-06-21 08:05:00,793: DEBUG - Unpacking php8.3-redis (6.0.2-1+0~20231128.56+debian11~1.gbp9f3071) ...
2024-06-21 08:05:00,881: DEBUG - Selecting previously unselected package php8.3-bcmath.
2024-06-21 08:05:00,893: DEBUG - Preparing to unpack .../4-php8.3-bcmath_8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc_arm64.deb ...
2024-06-21 08:05:00,903: DEBUG - Unpacking php8.3-bcmath (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:00,965: DEBUG - Selecting previously unselected package php8.3-bz2.
2024-06-21 08:05:00,977: DEBUG - Preparing to unpack .../5-php8.3-bz2_8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc_arm64.deb ...
2024-06-21 08:05:00,985: DEBUG - Unpacking php8.3-bz2 (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:01,045: DEBUG - Selecting previously unselected package php8.3-gmp.
2024-06-21 08:05:01,059: DEBUG - Preparing to unpack .../6-php8.3-gmp_8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc_arm64.deb ...
2024-06-21 08:05:01,068: DEBUG - Unpacking php8.3-gmp (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:01,133: DEBUG - Selecting previously unselected package php8.3-imap.
2024-06-21 08:05:01,144: DEBUG - Preparing to unpack .../7-php8.3-imap_8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc_arm64.deb ...
2024-06-21 08:05:01,151: DEBUG - Unpacking php8.3-imap (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:01,213: DEBUG - Selecting previously unselected package php8.3-zip.
2024-06-21 08:05:01,226: DEBUG - Preparing to unpack .../8-php8.3-zip_8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc_arm64.deb ...
2024-06-21 08:05:01,233: DEBUG - Unpacking php8.3-zip (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:01,363: DEBUG - Setting up php8.3-imap (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:01,866: DEBUG - 
2024-06-21 08:05:01,867: DEBUG - Creating config file /etc/php/8.3/mods-available/imap.ini with new version
2024-06-21 08:05:02,320: DEBUG - Setting up php8.3-igbinary (3.2.15-1+0~20231202.49+debian11~1.gbpe9ffe8) ...
2024-06-21 08:05:02,555: DEBUG - Setting up php8.3-zip (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:03,115: DEBUG - 
2024-06-21 08:05:03,115: DEBUG - Creating config file /etc/php/8.3/mods-available/zip.ini with new version
2024-06-21 08:05:03,588: DEBUG - Setting up php8.3-gmp (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:04,062: DEBUG - 
2024-06-21 08:05:04,063: DEBUG - Creating config file /etc/php/8.3/mods-available/gmp.ini with new version
2024-06-21 08:05:04,431: DEBUG - Setting up php8.3-bcmath (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:04,901: DEBUG - 
2024-06-21 08:05:04,902: DEBUG - Creating config file /etc/php/8.3/mods-available/bcmath.ini with new version
2024-06-21 08:05:05,309: DEBUG - Setting up php8.3-bz2 (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:05,780: DEBUG - 
2024-06-21 08:05:05,780: DEBUG - Creating config file /etc/php/8.3/mods-available/bz2.ini with new version
2024-06-21 08:05:06,153: DEBUG - Setting up php8.3-apcu (5.1.23-1+0~20231125.39+debian11~1.gbp8bf49a) ...
2024-06-21 08:05:06,341: DEBUG - Setting up php8.3-imagick (3.7.0-4+0~20231125.43+debian11~1.gbpbf7e27) ...
2024-06-21 08:05:06,528: DEBUG - Setting up php8.3-redis (6.0.2-1+0~20231128.56+debian11~1.gbp9f3071) ...
2024-06-21 08:05:06,723: DEBUG - Processing triggers for php8.3-fpm (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:07,115: DEBUG - Processing triggers for php8.3-cli (8.3.8-2+0~20240608.35+debian11~1.gbp4d7dbc) ...
2024-06-21 08:05:07,673: DEBUG - + [[ -n /tmp/tmp.LUh5ZALYP2 ]]
2024-06-21 08:05:07,674: DEBUG - + rm --recursive --force /tmp/tmp.LUh5ZALYP2
2024-06-21 08:05:07,677: DEBUG - + ynh_package_is_installed nextcloud-ynh-deps
2024-06-21 08:05:07,706: DEBUG - + dpkg-query --show '--showformat=${Status}' nextcloud-ynh-deps
2024-06-21 08:05:07,707: DEBUG - + grep --count 'ok installed'
2024-06-21 08:05:07,743: DEBUG - + rm /tmp/nextcloud-ynh-deps.control
2024-06-21 08:05:07,748: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-06-21 08:05:07,774: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-06-21 08:05:07,775: DEBUG - ++ grep --count 'ok installed'
2024-06-21 08:05:07,811: DEBUG - ++ echo no
2024-06-21 08:05:07,814: DEBUG - + local psql_installed2=no
2024-06-21 08:05:07,814: DEBUG - + [[ no != \n\o ]]
2024-06-21 08:05:07,814: DEBUG - + ynh_exit_properly
2024-06-21 08:05:07,815: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2024-06-21 08:05:08,817: INFO - Updating database...
2024-06-21 08:05:08,926: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./upgrade"  7>&1']'
2024-06-21 08:05:08,945: DEBUG - + source _common.sh
2024-06-21 08:05:08,946: DEBUG - + source /usr/share/yunohost/helpers
2024-06-21 08:05:08,946: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-06-21 08:05:08,949: DEBUG - +++ cd -- /usr/share/yunohost
2024-06-21 08:05:08,949: DEBUG - +++ pwd
2024-06-21 08:05:08,950: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-06-21 08:05:08,950: DEBUG - ++ YNH_HELPERS_VERSION=2
2024-06-21 08:05:08,951: DEBUG - +++ set +o
2024-06-21 08:05:08,952: DEBUG - +++ grep xtrace
2024-06-21 08:05:08,956: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-06-21 08:05:08,957: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-06-21 08:05:09,007: DEBUG - ++ ynh_check_app_version_changed
2024-06-21 08:05:09,008: DEBUG - ++ local return_value=UPGRADE_APP
2024-06-21 08:05:09,008: DEBUG - ++ '[' UPGRADE_APP == UPGRADE_SAME ']'
2024-06-21 08:05:09,009: DEBUG - ++ '[' UPGRADE_APP == DOWNGRADE ']'
2024-06-21 08:05:09,009: DEBUG - ++ echo UPGRADE_APP
2024-06-21 08:05:09,010: DEBUG - + upgrade_type=UPGRADE_APP
2024-06-21 08:05:09,155: INFO - [+...................] > Ensuring downward compatibility...
2024-06-21 08:05:09,157: DEBUG - + ynh_app_setting_delete --app=nextcloud --key=backup_core_only
2024-06-21 08:05:09,158: DEBUG - + local _globalapp=nextcloud
2024-06-21 08:05:09,232: DEBUG - + app=nextcloud
2024-06-21 08:05:09,233: DEBUG - + [[ backup_core_only =~ (unprotected|skipped|protected)_ ]]
2024-06-21 08:05:09,234: DEBUG - + ynh_app_setting delete nextcloud backup_core_only
2024-06-21 08:05:09,376: DEBUG - + phpflags='--define apc.enable_cli=1'
2024-06-21 08:05:09,377: DEBUG - + ynh_app_setting_set --app=nextcloud --key=phpflags '--value=--define apc.enable_cli=1'
2024-06-21 08:05:09,377: DEBUG - + local _globalapp=nextcloud
2024-06-21 08:05:09,537: DEBUG - + app=nextcloud
2024-06-21 08:05:09,538: DEBUG - + [[ phpflags =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:05:09,538: DEBUG - + ynh_app_setting set nextcloud phpflags '--define apc.enable_cli=1'
2024-06-21 08:05:09,681: DEBUG - + ynh_compare_current_package_version --comparison lt --version 22.2~ynh1
2024-06-21 08:05:09,682: DEBUG - + declare -Ar args_array
2024-06-21 08:05:09,820: DEBUG - + local current_version=28.0.6~ynh1
2024-06-21 08:05:09,821: DEBUG - + [[ ! 22.2~ynh1 =~ ~ynh ]]
2024-06-21 08:05:09,821: DEBUG - + [[ ! 28.0.6~ynh1 =~ ~ynh ]]
2024-06-21 08:05:09,822: DEBUG - + [[ ! lt =~ (lt|le|eq|ne|ge|gt) ]]
2024-06-21 08:05:09,822: DEBUG - + dpkg --compare-versions 28.0.6~ynh1 lt 22.2~ynh1
2024-06-21 08:05:09,828: DEBUG - ++ grep OC_VersionString /var/www/nextcloud/version.php
2024-06-21 08:05:09,828: DEBUG - ++ cut '-d'\''' -f2
2024-06-21 08:05:09,834: DEBUG - + current_version=28.0.6
2024-06-21 08:05:09,834: DEBUG - + current_major_version=28
2024-06-21 08:05:09,837: DEBUG - ++ ynh_read_manifest --manifest_key=resources.sources.main.url
2024-06-21 08:05:09,837: DEBUG - ++ grep -o '[0-9][0-9]\.[0-9]\.[0-9]'
2024-06-21 08:05:09,883: DEBUG - ++ '[' '!' -e '' ']'
2024-06-21 08:05:09,884: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app__aq0hgu4/manifest.json ']'
2024-06-21 08:05:09,884: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app__aq0hgu4/manifest.toml ']'
2024-06-21 08:05:09,885: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app__aq0hgu4/manifest.toml
2024-06-21 08:05:09,885: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app__aq0hgu4/manifest.toml
2024-06-21 08:05:09,886: DEBUG - ++ grep -q '\.json$'
2024-06-21 08:05:09,890: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app__aq0hgu4/manifest.toml
2024-06-21 08:05:09,891: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-06-21 08:05:09,891: DEBUG - ++ jq .resources.sources.main.url --raw-output
2024-06-21 08:05:10,047: DEBUG - + last_version=29.0.2
2024-06-21 08:05:10,048: DEBUG - + last_major_version=29
2024-06-21 08:05:10,048: DEBUG - + [[ 29 != \2\8 ]]
2024-06-21 08:05:10,049: DEBUG - ++ list_installed_apps_not_compatible_with_future_version 29
2024-06-21 08:05:10,049: DEBUG - ++ local nextcloud_destination_version=29
2024-06-21 08:05:10,051: DEBUG - +++ grep OC_VersionString /var/www/nextcloud/version.php
2024-06-21 08:05:10,053: DEBUG - +++ cut '-d'\''' -f2
2024-06-21 08:05:10,057: DEBUG - ++ local nextcloud_current_version=28.0.6
2024-06-21 08:05:10,058: DEBUG - +++ mktemp
2024-06-21 08:05:10,062: DEBUG - ++ local installed_apps=/tmp/tmp.cnaijxne4I
2024-06-21 08:05:10,063: DEBUG - +++ mktemp
2024-06-21 08:05:10,066: DEBUG - ++ local core_apps_in_current_version=/tmp/tmp.p0Xhe7Wb9V
2024-06-21 08:05:10,067: DEBUG - +++ mktemp
2024-06-21 08:05:10,071: DEBUG - ++ local nextcloud_destination_appcatalog=/tmp/tmp.6czO2raawt
2024-06-21 08:05:10,071: DEBUG - ++ exec_occ -V
2024-06-21 08:05:10,072: DEBUG - ++ '[' 28 = last ']'
2024-06-21 08:05:10,072: DEBUG - ++ '[' 28 -ge 26 ']'
2024-06-21 08:05:10,072: DEBUG - ++ NEXTCLOUD_PHP_VERSION=8.2
2024-06-21 08:05:10,073: DEBUG - +++ ynh_app_setting_get --app=nextcloud --key=phpversion
2024-06-21 08:05:10,074: DEBUG - +++ local _globalapp=nextcloud
2024-06-21 08:05:10,149: DEBUG - +++ app=nextcloud
2024-06-21 08:05:10,150: DEBUG - +++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:05:10,151: DEBUG - +++ ynh_app_setting get nextcloud phpversion
2024-06-21 08:05:10,288: DEBUG - ++ phpversion=8.3
2024-06-21 08:05:10,289: DEBUG - ++ [[ 8.2 != \8\.\3 ]]
2024-06-21 08:05:10,290: DEBUG - +++ dpkg-query --show '--showformat=${Depends}' nextcloud-ynh-deps
2024-06-21 08:05:10,327: DEBUG - ++ local 'pkg_dependencies=mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.3-fpm, php8.3-bz2, php8.3-imap, php8.3-gmp, php8.3-gd, php8.3-intl, php8.3-curl, php8.3-apcu, php8.3-redis, php8.3-ldap, php8.3-imagick, php8.3-zip, php8.3-mbstring, php8.3-xml, php8.3-mysql, php8.3-igbinary, php8.3-bcmath, php8.3, php8.3-common'
2024-06-21 08:05:10,328: DEBUG - ++ pkg_dependencies='mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.2-fpm, php8.2-bz2, php8.2-imap, php8.2-gmp, php8.2-gd, php8.2-intl, php8.2-curl, php8.2-apcu, php8.2-redis, php8.2-ldap, php8.2-imagick, php8.2-zip, php8.2-mbstring, php8.2-xml, php8.2-mysql, php8.2-igbinary, php8.2-bcmath, php8.2, php8.2-common'
2024-06-21 08:05:10,328: DEBUG - ++ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=true
2024-06-21 08:05:10,329: DEBUG - ++ ynh_install_app_dependencies 'mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.2-fpm, php8.2-bz2, php8.2-imap, php8.2-gmp, php8.2-gd, php8.2-intl, php8.2-curl, php8.2-apcu, php8.2-redis, php8.2-ldap, php8.2-imagick, php8.2-zip, php8.2-mbstring, php8.2-xml, php8.2-mysql, php8.2-igbinary, php8.2-bcmath, php8.2, php8.2-common'
2024-06-21 08:05:10,329: DEBUG - ++ local 'dependencies=mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.2-fpm, php8.2-bz2, php8.2-imap, php8.2-gmp, php8.2-gd, php8.2-intl, php8.2-curl, php8.2-apcu, php8.2-redis, php8.2-ldap, php8.2-imagick, php8.2-zip, php8.2-mbstring, php8.2-xml, php8.2-mysql, php8.2-igbinary, php8.2-bcmath, php8.2, php8.2-common'
2024-06-21 08:05:10,330: DEBUG - +++ echo 'mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.2-fpm, php8.2-bz2, php8.2-imap, php8.2-gmp, php8.2-gd, php8.2-intl, php8.2-curl, php8.2-apcu, php8.2-redis, php8.2-ldap, php8.2-imagick, php8.2-zip, php8.2-mbstring, php8.2-xml, php8.2-mysql, php8.2-igbinary, php8.2-bcmath, php8.2, php8.2-common'
2024-06-21 08:05:10,330: DEBUG - +++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2024-06-21 08:05:10,335: DEBUG - ++ dependencies='mariadb-server,, imagemagick,, libmagickcore-6.q16-6-extra,, acl,, tar,, smbclient,, at,, php8.2-fpm,, php8.2-bz2,, php8.2-imap,, php8.2-gmp,, php8.2-gd,, php8.2-intl,, php8.2-curl,, php8.2-apcu,, php8.2-redis,, php8.2-ldap,, php8.2-imagick,, php8.2-zip,, php8.2-mbstring,, php8.2-xml,, php8.2-mysql,, php8.2-igbinary,, php8.2-bcmath,, php8.2,, php8.2-common'
2024-06-21 08:05:10,336: DEBUG - ++ local 'dependencies=mariadb-server,, imagemagick,, libmagickcore-6.q16-6-extra,, acl,, tar,, smbclient,, at,, php8.2-fpm,, php8.2-bz2,, php8.2-imap,, php8.2-gmp,, php8.2-gd,, php8.2-intl,, php8.2-curl,, php8.2-apcu,, php8.2-redis,, php8.2-ldap,, php8.2-imagick,, php8.2-zip,, php8.2-mbstring,, php8.2-xml,, php8.2-mysql,, php8.2-igbinary,, php8.2-bcmath,, php8.2,, php8.2-common'
2024-06-21 08:05:10,337: DEBUG - +++ ynh_read_manifest --manifest_key=version
2024-06-21 08:05:10,383: DEBUG - +++ '[' '!' -e '' ']'
2024-06-21 08:05:10,384: DEBUG - +++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app__aq0hgu4/manifest.json ']'
2024-06-21 08:05:10,384: DEBUG - +++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app__aq0hgu4/manifest.toml ']'
2024-06-21 08:05:10,385: DEBUG - +++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app__aq0hgu4/manifest.toml
2024-06-21 08:05:10,386: DEBUG - +++ echo /var/cache/yunohost/app_tmp_work_dirs/app__aq0hgu4/manifest.toml
2024-06-21 08:05:10,386: DEBUG - +++ grep -q '\.json$'
2024-06-21 08:05:10,390: DEBUG - +++ cat /var/cache/yunohost/app_tmp_work_dirs/app__aq0hgu4/manifest.toml
2024-06-21 08:05:10,391: DEBUG - +++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-06-21 08:05:10,392: DEBUG - +++ jq .version --raw-output
2024-06-21 08:05:10,560: DEBUG - ++ local version=29.0.2~ynh1
2024-06-21 08:05:10,560: DEBUG - ++ '[' -z 29.0.2~ynh1 ']'
2024-06-21 08:05:10,561: DEBUG - ++ '[' 29.0.2~ynh1 == null ']'
2024-06-21 08:05:10,561: DEBUG - ++ local dep_app=nextcloud
2024-06-21 08:05:10,562: DEBUG - ++ [[ mariadb-server,, imagemagick,, libmagickcore-6.q16-6-extra,, acl,, tar,, smbclient,, at,, php8.2-fpm,, php8.2-bz2,, php8.2-imap,, php8.2-gmp,, php8.2-gd,, php8.2-intl,, php8.2-curl,, php8.2-apcu,, php8.2-redis,, php8.2-ldap,, php8.2-imagick,, php8.2-zip,, php8.2-mbstring,, php8.2-xml,, php8.2-mysql,, php8.2-igbinary,, php8.2-bcmath,, php8.2,, php8.2-common =~ [<=>] ]]
2024-06-21 08:05:10,563: DEBUG - +++ echo mariadb-server,, imagemagick,, libmagickcore-6.q16-6-extra,, acl,, tar,, smbclient,, at,, php8.2-fpm,, php8.2-bz2,, php8.2-imap,, php8.2-gmp,, php8.2-gd,, php8.2-intl,, php8.2-curl,, php8.2-apcu,, php8.2-redis,, php8.2-ldap,, php8.2-imagick,, php8.2-zip,, php8.2-mbstring,, php8.2-xml,, php8.2-mysql,, php8.2-igbinary,, php8.2-bcmath,, php8.2,, php8.2-common
2024-06-21 08:05:10,564: DEBUG - +++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2024-06-21 08:05:10,565: DEBUG - +++ sort -u
2024-06-21 08:05:10,569: DEBUG - ++ local specific_php_version=8.2
2024-06-21 08:05:10,570: DEBUG - ++ [[ -n 8.2 ]]
2024-06-21 08:05:10,571: DEBUG - +++ echo 8.2
2024-06-21 08:05:10,571: DEBUG - +++ wc -l
2024-06-21 08:05:10,576: DEBUG - ++ [[ 1 -eq 1 ]]
2024-06-21 08:05:10,577: DEBUG - ++ dependencies+=', php8.2, php8.2-fpm, php8.2-common'
2024-06-21 08:05:10,577: DEBUG - +++ ynh_app_setting_get --app=nextcloud --key=phpversion
2024-06-21 08:05:10,578: DEBUG - +++ local _globalapp=nextcloud
2024-06-21 08:05:10,655: DEBUG - +++ app=nextcloud
2024-06-21 08:05:10,655: DEBUG - +++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:05:10,656: DEBUG - +++ ynh_app_setting get nextcloud phpversion
2024-06-21 08:05:10,792: DEBUG - ++ local old_phpversion=8.3
2024-06-21 08:05:10,793: DEBUG - ++ '[' -n 8.3 ']'
2024-06-21 08:05:10,793: DEBUG - ++ '[' 8.3 '!=' 8.2 ']'
2024-06-21 08:05:10,794: DEBUG - +++ ynh_app_setting_get --app=nextcloud --key=fpm_config_dir
2024-06-21 08:05:10,794: DEBUG - +++ local _globalapp=nextcloud
2024-06-21 08:05:10,870: DEBUG - +++ app=nextcloud
2024-06-21 08:05:10,871: DEBUG - +++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:05:10,871: DEBUG - +++ ynh_app_setting get nextcloud fpm_config_dir
2024-06-21 08:05:11,009: DEBUG - ++ local old_php_fpm_config_dir=/etc/php/8.2/fpm
2024-06-21 08:05:11,010: DEBUG - ++ local old_php_finalphpconf=/etc/php/8.2/fpm/pool.d/nextcloud.conf
2024-06-21 08:05:11,010: DEBUG - ++ [[ -f /etc/php/8.2/fpm/pool.d/nextcloud.conf ]]
2024-06-21 08:05:11,011: DEBUG - ++ ynh_app_setting_set --app=nextcloud --key=phpversion --value=8.2
2024-06-21 08:05:11,011: DEBUG - ++ local _globalapp=nextcloud
2024-06-21 08:05:11,162: DEBUG - ++ app=nextcloud
2024-06-21 08:05:11,163: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:05:11,164: DEBUG - ++ ynh_app_setting set nextcloud phpversion 8.2
2024-06-21 08:05:11,316: DEBUG - ++ test -e /usr/bin/php7.4
2024-06-21 08:05:11,316: DEBUG - ++ update-alternatives --set php /usr/bin/php7.4
2024-06-21 08:05:11,321: DEBUG - +++ ynh_package_is_installed postgresql-13
2024-06-21 08:05:11,348: DEBUG - +++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-06-21 08:05:11,349: DEBUG - +++ grep --count 'ok installed'
2024-06-21 08:05:11,384: DEBUG - +++ echo no
2024-06-21 08:05:11,385: DEBUG - ++ local psql_installed=no
2024-06-21 08:05:11,386: DEBUG - ++ [[ true == \t\r\u\e ]]
2024-06-21 08:05:11,386: DEBUG - ++ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2024-06-21 08:05:11,387: DEBUG - ++ cat
2024-06-21 08:05:11,389: DEBUG - ++ ynh_package_install_from_equivs /tmp/nextcloud-ynh-deps.control
2024-06-21 08:05:11,390: DEBUG - ++ local controlfile=/tmp/nextcloud-ynh-deps.control
2024-06-21 08:05:11,391: DEBUG - +++ grep '^Package: ' /tmp/nextcloud-ynh-deps.control
2024-06-21 08:05:11,392: DEBUG - +++ cut '--delimiter= ' --fields=2
2024-06-21 08:05:11,396: DEBUG - ++ local pkgname=nextcloud-ynh-deps
2024-06-21 08:05:11,398: DEBUG - +++ grep '^Version: ' /tmp/nextcloud-ynh-deps.control
2024-06-21 08:05:11,399: DEBUG - +++ cut '--delimiter= ' --fields=2
2024-06-21 08:05:11,403: DEBUG - ++ local pkgversion=29.0.2~ynh1
2024-06-21 08:05:11,404: DEBUG - ++ [[ -z nextcloud-ynh-deps ]]
2024-06-21 08:05:11,404: DEBUG - ++ [[ -z 29.0.2~ynh1 ]]
2024-06-21 08:05:11,404: DEBUG - ++ ynh_package_update
2024-06-21 08:05:11,405: DEBUG - ++ ynh_apt update
2024-06-21 08:05:11,405: DEBUG - ++ ynh_wait_dpkg_free
2024-06-21 08:05:11,765: DEBUG - ++ return 0
2024-06-21 08:05:11,766: DEBUG - ++ LC_ALL=C
2024-06-21 08:05:11,766: DEBUG - ++ DEBIAN_FRONTEND=noninteractive
2024-06-21 08:05:11,767: DEBUG - ++ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-06-21 08:05:16,435: DEBUG - +++ mktemp --directory
2024-06-21 08:05:16,438: DEBUG - ++ local TMPDIR=/tmp/tmp.VDyuZK9fwQ
2024-06-21 08:05:16,439: DEBUG - ++ rm -f /usr/share/equivs/template/debian/compat
2024-06-21 08:05:16,441: DEBUG - ++ ynh_wait_dpkg_free
2024-06-21 08:05:16,806: DEBUG - ++ return 0
2024-06-21 08:05:16,806: DEBUG - ++ cp /tmp/nextcloud-ynh-deps.control /tmp/tmp.VDyuZK9fwQ/control
2024-06-21 08:05:16,811: DEBUG - ++ cd /tmp/tmp.VDyuZK9fwQ
2024-06-21 08:05:16,812: DEBUG - ++ LC_ALL=C
2024-06-21 08:05:16,813: DEBUG - ++ equivs-build ./control
2024-06-21 08:05:22,258: DEBUG - ++ LC_ALL=C
2024-06-21 08:05:22,259: DEBUG - ++ dpkg --force-depends --install ./nextcloud-ynh-deps_29.0.2~ynh1_all.deb
2024-06-21 08:05:22,259: DEBUG - ++ tee ./dpkg_log
2024-06-21 08:05:22,508: DEBUG - ++ ynh_package_install --fix-broken
2024-06-21 08:05:22,509: DEBUG - ++ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-06-21 08:05:22,509: DEBUG - ++ ynh_wait_dpkg_free
2024-06-21 08:05:22,837: DEBUG - ++ return 0
2024-06-21 08:05:22,838: DEBUG - ++ LC_ALL=C
2024-06-21 08:05:22,839: DEBUG - ++ DEBIAN_FRONTEND=noninteractive
2024-06-21 08:05:22,839: 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-06-21 08:05:25,474: DEBUG - ++ [[ -n /tmp/tmp.VDyuZK9fwQ ]]
2024-06-21 08:05:25,475: DEBUG - ++ rm --recursive --force /tmp/tmp.VDyuZK9fwQ
2024-06-21 08:05:25,477: DEBUG - ++ ynh_package_is_installed nextcloud-ynh-deps
2024-06-21 08:05:25,502: DEBUG - ++ dpkg-query --show '--showformat=${Status}' nextcloud-ynh-deps
2024-06-21 08:05:25,503: DEBUG - ++ grep --count 'ok installed'
2024-06-21 08:05:25,539: DEBUG - ++ rm /tmp/nextcloud-ynh-deps.control
2024-06-21 08:05:25,543: DEBUG - +++ ynh_package_is_installed postgresql-13
2024-06-21 08:05:25,569: DEBUG - +++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-06-21 08:05:25,570: DEBUG - +++ grep --count 'ok installed'
2024-06-21 08:05:25,608: DEBUG - +++ echo no
2024-06-21 08:05:25,609: DEBUG - ++ local psql_installed2=no
2024-06-21 08:05:25,610: DEBUG - ++ [[ no != \n\o ]]
2024-06-21 08:05:25,612: DEBUG - ++ cd /var/www/nextcloud
2024-06-21 08:05:25,613: DEBUG - +++ filter_boring_occ_warnings
2024-06-21 08:05:25,614: DEBUG - +++ sed -E 's@\s*([0-9]+\/[0-9]+\s+\[(-|>|=)+\]\s+[0-9]+%|\s*Starting ...|Nextcloud or one of the apps require upgrade - only a limited number of commands are available|You may use your browser or the occ upgrade command to do the upgrade)@@g'
2024-06-21 08:05:25,615: DEBUG - ++ ynh_exec_as nextcloud php8.2 --define apc.enable_cli=1 occ --no-interaction --no-ansi -V
2024-06-21 08:05:25,615: DEBUG - ++ local user=nextcloud
2024-06-21 08:05:25,616: DEBUG - ++ shift 1
2024-06-21 08:05:25,616: DEBUG - +++ whoami
2024-06-21 08:05:25,619: DEBUG - ++ [[ nextcloud = root ]]
2024-06-21 08:05:25,620: DEBUG - ++ sudo -u nextcloud php8.2 --define apc.enable_cli=1 occ --no-interaction --no-ansi -V
2024-06-21 08:05:26,973: DEBUG - ++ exec_occ app:list --output json
2024-06-21 08:05:26,974: DEBUG - ++ jq -r '.enabled | keys[]'
2024-06-21 08:05:26,975: DEBUG - ++ '[' 28 = last ']'
2024-06-21 08:05:26,976: DEBUG - ++ '[' 28 -ge 26 ']'
2024-06-21 08:05:26,977: DEBUG - ++ NEXTCLOUD_PHP_VERSION=8.2
2024-06-21 08:05:26,978: DEBUG - ++ sort
2024-06-21 08:05:26,979: DEBUG - +++ ynh_app_setting_get --app=nextcloud --key=phpversion
2024-06-21 08:05:26,980: DEBUG - +++ local _globalapp=nextcloud
2024-06-21 08:05:27,077: DEBUG - +++ app=nextcloud
2024-06-21 08:05:27,079: DEBUG - +++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-06-21 08:05:27,080: DEBUG - +++ ynh_app_setting get nextcloud phpversion
2024-06-21 08:05:27,223: DEBUG - ++ phpversion=8.2
2024-06-21 08:05:27,223: DEBUG - ++ [[ 8.2 != \8\.\2 ]]
2024-06-21 08:05:27,224: DEBUG - ++ cd /var/www/nextcloud
2024-06-21 08:05:27,225: DEBUG - +++ filter_boring_occ_warnings
2024-06-21 08:05:27,226: DEBUG - +++ sed -E 's@\s*([0-9]+\/[0-9]+\s+\[(-|>|=)+\]\s+[0-9]+%|\s*Starting ...|Nextcloud or one of the apps require upgrade - only a limited number of commands are available|You may use your browser or the occ upgrade command to do the upgrade)@@g'
2024-06-21 08:05:27,227: DEBUG - ++ ynh_exec_as nextcloud php8.2 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:list --output json
2024-06-21 08:05:27,227: DEBUG - ++ local user=nextcloud
2024-06-21 08:05:27,228: DEBUG - ++ shift 1
2024-06-21 08:05:27,228: DEBUG - +++ whoami
2024-06-21 08:05:27,232: DEBUG - ++ [[ nextcloud = root ]]
2024-06-21 08:05:27,232: DEBUG - ++ sudo -u nextcloud php8.2 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:list --output json
2024-06-21 08:05:28,457: DEBUG - ++ curl -s https://raw.githubusercontent.com/nextcloud/server/v28.0.6/core/shipped.json
2024-06-21 08:05:28,458: DEBUG - ++ jq -r '.shippedApps[]'
2024-06-21 08:05:28,459: DEBUG - ++ sort
2024-06-21 08:05:28,789: DEBUG - ++ curl -s https://apps.nextcloud.com/api/v1/platform/29.0.0/apps.json
2024-06-21 08:05:28,790: DEBUG - ++ jq -r '.[] | .id'
2024-06-21 08:05:28,790: DEBUG - ++ sort
2024-06-21 08:05:29,444: DEBUG - ++ comm -23 /dev/fd/63 /tmp/tmp.6czO2raawt
2024-06-21 08:05:29,445: DEBUG - +++ comm -23 /tmp/tmp.cnaijxne4I /tmp/tmp.p0Xhe7Wb9V
2024-06-21 08:05:29,449: DEBUG - + installed_apps_not_compatible_with_future_version='sensorlogger
2024-06-21 08:05:29,450: DEBUG - souvenirs'
2024-06-21 08:05:29,450: DEBUG - + [[ -n sensorlogger
2024-06-21 08:05:29,451: DEBUG - souvenirs ]]
2024-06-21 08:05:29,451: DEBUG - + ynh_die '--message=The following apps are not (yet?) compatible with Nextcloud 29. You should make sure to upgrade the app, or disable it, or wait for it to become compatible before running this upgrade : sensorlogger
2024-06-21 08:05:29,451: DEBUG - souvenirs'
2024-06-21 08:05:29,454: DEBUG - souvenirs'
2024-06-21 08:05:29,492: WARNING - The following apps are not (yet?) compatible with Nextcloud 29. You should make sure to upgrade the app, or disable it, or wait for it to become compatible before running this upgrade : sensorlogger
2024-06-21 08:05:29,494: WARNING - souvenirs
2024-06-21 08:05:29,497: DEBUG - souvenirs'
2024-06-21 08:05:29,497: DEBUG - + ynh_exit_properly
2024-06-21 08:05:29,498: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2024-06-21 08:05:31,139: ERROR - Impossible de mettre à jour nextcloud : Une erreur s'est produite durant l'exécution du script de mise à niveau de l'application

sensorlogger and souvenirs

1 Like

Thank you for your help. Deactivating these 2 apps (Souvenir and Sensorlogger) solved the issue.

Thanks, I had the same problem with two others apps.

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