Nextcloud (nextcloud) from 31.0.6~ynh2 to 31.0.7~ynh1

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.17
What app is this about: Nextcloud

Describe your issue

Hello all,
I’ve engaged the following update: Nextcloud (nextcloud) from 31.0.6~ynh2 to 31.0.7~ynh1

It didn’t work and get this the following message:
“ERROR - Could not upgrade nextcloud: An error occurred inside the app upgrade script”
See logs below.

And now, Nextcloud doesn’t work, with the following message in the browser:
“Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.”

From the mobile app, I can access the files, but the collectives and desk apps disapeared from the menu…

Any idea?
Can I fix it or is there a way to revert this?

Many thanks for your kind help :slight_smile:

Share relevant logs or error messages

ended_at: 2025-07-16 09:23:57.754680
env:
  YNH_APP_ACTION: upgrade
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_supffptl
  YNH_APP_CURRENT_VERSION: 31.0.6~ynh2
  YNH_APP_ID: nextcloud
  YNH_APP_INSTANCE_NAME: nextcloud
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 31.0.7~ynh1
  YNH_APP_PACKAGING_FORMAT: '2.0'
  YNH_APP_UPGRADE_TYPE: UPGRADE_APP
  YNH_ARCH: amd64
  YNH_DEBIAN_VERSION: bookworm
  YNH_DEFAULT_PHP_VERSION: '8.2'
  YNH_HELPERS_VERSION: '2.1'
error: An error occurred inside the app upgrade script
interface: api
operation: app_upgrade
parent: null
related_to:
- - app
  - nextcloud
started_at: 2025-07-16 09:22:36.439304
success: false
yunohost_version: 12.0.17

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

2025-07-16 11:22:36,457: INFO - Updating sources...
2025-07-16 11:22:36,459: DEBUG - Prefetching asset main: https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2 ...
2025-07-16 11:22:43,782: INFO - Updating system_user...
2025-07-16 11:22:46,074: INFO - Updating install_dir...
2025-07-16 11:22:46,087: INFO - Updating data_dir...
2025-07-16 11:22:46,096: INFO - Updating permissions...
2025-07-16 11:22:46,107: DEBUG - Nothing to update in LDAP
2025-07-16 11:22:46,108: DEBUG - Permission 'nextcloud.main' updated
2025-07-16 11:22:46,108: DEBUG - Full log of this operation: '<a href="#/tools/logs/20250716-092246-user_permission_update-nextcloud" style="text-decoration:underline">Update accesses for permission 'nextcloud'</a>'
2025-07-16 11:22:46,118: DEBUG - Nothing to update in LDAP
2025-07-16 11:22:46,118: DEBUG - Permission 'nextcloud.main' updated
2025-07-16 11:22:46,119: DEBUG - Full log of this operation: '<a href="#/tools/logs/20250716-092246-permission_url-nextcloud" style="text-decoration:underline">Update URL related to permission 'nextcloud'</a>'
2025-07-16 11:22:46,129: DEBUG - Nothing to update in LDAP
2025-07-16 11:22:46,130: DEBUG - Permission 'nextcloud.api' updated
2025-07-16 11:22:46,130: DEBUG - Full log of this operation: '<a href="#/tools/logs/20250716-092246-user_permission_update-nextcloud" style="text-decoration:underline">Update accesses for permission 'nextcloud'</a>'
2025-07-16 11:22:46,139: DEBUG - Nothing to update in LDAP
2025-07-16 11:22:46,139: DEBUG - Permission 'nextcloud.api' updated
2025-07-16 11:22:46,140: DEBUG - Full log of this operation: '<a href="#/tools/logs/20250716-092246-permission_url-nextcloud" style="text-decoration:underline">Update URL related to permission 'nextcloud'</a>'
2025-07-16 11:22:46,145: DEBUG - The permission database has been resynchronized
2025-07-16 11:22:46,174: DEBUG - SSO and portal configurations regenerated
2025-07-16 11:22:46,180: INFO - Updating apt...
2025-07-16 11:22:46,185: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt"  7>&1']'
2025-07-16 11:22:46,190: DEBUG - + source /usr/share/yunohost/helpers
2025-07-16 11:22:46,191: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-07-16 11:22:46,192: DEBUG - +++ cd -- /usr/share/yunohost
2025-07-16 11:22:46,192: DEBUG - +++ pwd
2025-07-16 11:22:46,192: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-07-16 11:22:46,192: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-07-16 11:22:46,194: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-07-16 11:22:46,194: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-07-16 11:22:46,206: DEBUG - + ynh_abort_if_errors
2025-07-16 11:22:46,206: DEBUG - + trap ynh_exit_properly EXIT
2025-07-16 11:22:46,206: DEBUG - + ynh_apt_install_dependencies imagemagick acl tar smbclient at mariadb-server redis-server php8.3-apcu php8.3-bcmath php8.3-bz2 php8.3-curl php8.3-fpm php8.3-gd php8.3-gmp php8.3-igbinary php8.3-imagick php8.3-imap php8.3-intl php8.3-ldap php8.3-mbstring php8.3-mysql php8.3-redis php8.3-sqlite3 php8.3-xml php8.3-zip libmagickcore-6.q16-6-extra
2025-07-16 11:22:46,206: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2025-07-16 11:22:46,206: DEBUG - ++ sed 's/|/ | /'
2025-07-16 11:22:46,208: DEBUG - + local 'dependencies=imagemagick, acl, tar, smbclient, at, mariadb-server, redis-server, php8.3-apcu, php8.3-bcmath, php8.3-bz2, php8.3-curl, php8.3-fpm, php8.3-gd, php8.3-gmp, php8.3-igbinary, php8.3-imagick, php8.3-imap, php8.3-intl, php8.3-ldap, php8.3-mbstring, php8.3-mysql, php8.3-redis, php8.3-sqlite3, php8.3-xml, php8.3-zip, libmagickcore-6.q16-6-extra'
2025-07-16 11:22:46,209: DEBUG - ++ ynh_read_manifest version
2025-07-16 11:22:46,209: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_supffptl/manifest.toml
2025-07-16 11:22:46,209: DEBUG - ++ toml_to_json
2025-07-16 11:22:46,210: DEBUG - ++ jq .version --raw-output
2025-07-16 11:22:46,210: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2025-07-16 11:22:46,249: DEBUG - + local version=31.0.7~ynh1
2025-07-16 11:22:46,249: DEBUG - + local app_ynh_deps=nextcloud-ynh-deps
2025-07-16 11:22:46,249: DEBUG - + grep '[<=>]'
2025-07-16 11:22:46,251: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2025-07-16 11:22:46,251: DEBUG - ++ sort -u
2025-07-16 11:22:46,253: DEBUG - + local specific_php_version=8.3
2025-07-16 11:22:46,253: DEBUG - + [[ -n 8.3 ]]
2025-07-16 11:22:46,254: DEBUG - ++ echo 8.3
2025-07-16 11:22:46,254: DEBUG - ++ wc -l
2025-07-16 11:22:46,256: DEBUG - + [[ 1 -eq 1 ]]
2025-07-16 11:22:46,256: DEBUG - + dependencies+=', php8.3, php8.3-fpm, php8.3-common'
2025-07-16 11:22:46,256: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:22:46,315: DEBUG - + local old_php_version=8.3
2025-07-16 11:22:46,315: DEBUG - + '[' -n 8.3 ']'
2025-07-16 11:22:46,315: DEBUG - + '[' 8.3 '!=' 8.3 ']'
2025-07-16 11:22:46,316: DEBUG - + ynh_app_setting_set --key=php_version --value=8.3
2025-07-16 11:22:46,397: DEBUG - + test -e /usr/bin/php7.4
2025-07-16 11:22:46,397: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2025-07-16 11:22:46,397: DEBUG - ++ local package=postgresql-15
2025-07-16 11:22:46,398: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2025-07-16 11:22:46,398: DEBUG - ++ grep --quiet '^installed$'
2025-07-16 11:22:46,410: DEBUG - ++ echo yes
2025-07-16 11:22:46,410: DEBUG - + local psql_installed=yes
2025-07-16 11:22:46,410: DEBUG - + [[ true == \t\r\u\e ]]
2025-07-16 11:22:46,410: DEBUG - + YNH_APT_INSTALL_DEPENDENCIES_REPLACE=false
2025-07-16 11:22:46,411: DEBUG - ++ mktemp --directory
2025-07-16 11:22:46,412: DEBUG - + local TMPDIR=/tmp/tmp.wHd80ENOkt
2025-07-16 11:22:46,412: DEBUG - + mkdir -p /tmp/tmp.wHd80ENOkt/nextcloud-ynh-deps/DEBIAN
2025-07-16 11:22:46,413: DEBUG - + chmod -R 755 /tmp/tmp.wHd80ENOkt/nextcloud-ynh-deps
2025-07-16 11:22:46,414: DEBUG - + cat
2025-07-16 11:22:46,415: DEBUG - + _ynh_apt update
2025-07-16 11:22:46,416: DEBUG - + _ynh_wait_dpkg_free
2025-07-16 11:22:46,535: DEBUG - + return 0
2025-07-16 11:22:46,535: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2025-07-16 11:22:46,664: DEBUG - Hit:2 http://ftp.debian.org/debian bookworm InRelease
2025-07-16 11:22:46,665: DEBUG - Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
2025-07-16 11:22:46,683: DEBUG - Hit:4 http://ftp.debian.org/debian bookworm-updates InRelease
2025-07-16 11:22:46,721: DEBUG - Hit:5 https://packages.sury.org/php bookworm InRelease
2025-07-16 11:22:46,732: DEBUG - Hit:6 https://dl.yarnpkg.com/debian stable InRelease
2025-07-16 11:22:46,770: DEBUG - Hit:1 https://forge.yunohost.org/debian bookworm InRelease
2025-07-16 11:22:47,784: DEBUG - Reading package lists...
2025-07-16 11:22:47,794: DEBUG - + _ynh_wait_dpkg_free
2025-07-16 11:22:47,908: DEBUG - + return 0
2025-07-16 11:22:47,908: DEBUG - + dpkg-deb --build /tmp/tmp.wHd80ENOkt/nextcloud-ynh-deps /tmp/tmp.wHd80ENOkt/nextcloud-ynh-deps.deb
2025-07-16 11:22:47,928: DEBUG - + dpkg --force-depends --install /tmp/tmp.wHd80ENOkt/nextcloud-ynh-deps.deb
2025-07-16 11:22:47,928: DEBUG - + tee /tmp/tmp.wHd80ENOkt/dpkg_log
2025-07-16 11:22:48,115: DEBUG - (Reading database ... 106041 files and directories currently installed.)
2025-07-16 11:22:48,117: DEBUG - Preparing to unpack .../nextcloud-ynh-deps.deb ...
2025-07-16 11:22:48,136: DEBUG - Unpacking nextcloud-ynh-deps (31.0.7~ynh1) over (31.0.6~ynh2) ...
2025-07-16 11:22:48,186: DEBUG - Setting up nextcloud-ynh-deps (31.0.7~ynh1) ...
2025-07-16 11:22:48,237: DEBUG - + _ynh_apt_install --fix-broken
2025-07-16 11:22:48,238: DEBUG - + _ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2025-07-16 11:22:48,238: DEBUG - + _ynh_wait_dpkg_free
2025-07-16 11:22:48,365: DEBUG - + return 0
2025-07-16 11:22:48,365: 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
2025-07-16 11:22:48,473: DEBUG - Reading package lists...
2025-07-16 11:22:48,640: DEBUG - Building dependency tree...
2025-07-16 11:22:48,641: DEBUG - Reading state information...
2025-07-16 11:22:48,896: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2025-07-16 11:22:48,897: DEBUG - + rm --recursive --force /tmp/tmp.wHd80ENOkt
2025-07-16 11:22:48,899: DEBUG - + _ynh_apt_package_is_installed nextcloud-ynh-deps
2025-07-16 11:22:48,899: DEBUG - + local package=nextcloud-ynh-deps
2025-07-16 11:22:48,899: DEBUG - + dpkg-query --show '--showformat=${db:Status-Status}' nextcloud-ynh-deps
2025-07-16 11:22:48,899: DEBUG - + grep --quiet '^installed$'
2025-07-16 11:22:48,915: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2025-07-16 11:22:48,915: DEBUG - ++ local package=postgresql-15
2025-07-16 11:22:48,915: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2025-07-16 11:22:48,916: DEBUG - ++ grep --quiet '^installed$'
2025-07-16 11:22:48,928: DEBUG - ++ echo yes
2025-07-16 11:22:48,928: DEBUG - + local psql_installed2=yes
2025-07-16 11:22:48,928: DEBUG - + [[ yes != \y\e\s ]]
2025-07-16 11:22:48,929: DEBUG - + ynh_exit_properly
2025-07-16 11:22:48,929: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2025-07-16 11:22:49,030: INFO - Updating database...
2025-07-16 11:22:49,089: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./upgrade"  7>&1']'
2025-07-16 11:22:49,092: DEBUG - + source _common.sh
2025-07-16 11:22:49,092: DEBUG - + source /usr/share/yunohost/helpers
2025-07-16 11:22:49,093: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-07-16 11:22:49,094: DEBUG - +++ cd -- /usr/share/yunohost
2025-07-16 11:22:49,094: DEBUG - +++ pwd
2025-07-16 11:22:49,094: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-07-16 11:22:49,094: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-07-16 11:22:49,096: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-07-16 11:22:49,096: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-07-16 11:22:49,111: INFO - [+++.................] > Ensuring downward compatibility...
2025-07-16 11:22:49,114: DEBUG - + ynh_app_setting_set_default --key=php_upload_max_filesize --value=10G
2025-07-16 11:22:49,149: DEBUG - + '[' -z 10G ']'
2025-07-16 11:22:49,149: DEBUG - + ynh_app_setting_set_default --key=php_memory_limit --value=512M
2025-07-16 11:22:49,186: DEBUG - + '[' -z 512M ']'
2025-07-16 11:22:49,187: DEBUG - + '[' -z 0 ']'
2025-07-16 11:22:49,187: DEBUG - + '[' 0 = yes ']'
2025-07-16 11:22:49,187: DEBUG - + '[' 0 = no ']'
2025-07-16 11:22:49,187: DEBUG - + '[' -z 0 ']'
2025-07-16 11:22:49,187: DEBUG - + ynh_app_setting_delete --key=backup_core_only
2025-07-16 11:22:49,249: DEBUG - + phpflags='--define apc.enable_cli=1'
2025-07-16 11:22:49,250: DEBUG - + ynh_app_setting_set --key=phpflags '--value=--define apc.enable_cli=1'
2025-07-16 11:22:49,333: DEBUG - + ynh_app_upgrading_from_version_before 22.2~ynh1
2025-07-16 11:22:49,333: DEBUG - + local version=22.2~ynh1
2025-07-16 11:22:49,333: DEBUG - + [[ 22.2~ynh1 =~ ~ynh ]]
2025-07-16 11:22:49,333: DEBUG - + dpkg --compare-versions 31.0.6~ynh2 lt 22.2~ynh1
2025-07-16 11:22:49,335: DEBUG - ++ grep OC_VersionString /var/www/nextcloud/version.php
2025-07-16 11:22:49,336: DEBUG - ++ cut '-d'\''' -f2
2025-07-16 11:22:49,337: DEBUG - + current_version=31.0.6
2025-07-16 11:22:49,337: DEBUG - + current_major_version=31
2025-07-16 11:22:49,338: DEBUG - ++ ynh_read_manifest resources.sources.main.url
2025-07-16 11:22:49,338: DEBUG - ++ grep -Eo '[0-9]+\.[0-9]+\.[0-9]+'
2025-07-16 11:22:49,338: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_supffptl/manifest.toml
2025-07-16 11:22:49,339: DEBUG - ++ toml_to_json
2025-07-16 11:22:49,339: DEBUG - ++ jq .resources.sources.main.url --raw-output
2025-07-16 11:22:49,339: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2025-07-16 11:22:49,378: DEBUG - + last_version=31.0.7
2025-07-16 11:22:49,378: DEBUG - + last_major_version=31
2025-07-16 11:22:49,378: DEBUG - + [[ 31 != \3\1 ]]
2025-07-16 11:22:49,380: INFO - [###+++..............] > Upgrading nextcloud...
2025-07-16 11:22:49,381: DEBUG - + chown -R nextcloud:www-data /var/www/nextcloud
2025-07-16 11:22:49,590: DEBUG - + exec_occ -V
2025-07-16 11:22:49,590: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:22:49,590: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:22:49,590: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:22:49,651: DEBUG - + php_version=8.3
2025-07-16 11:22:49,651: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:22:49,652: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:22:49,652: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:22:49,652: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi -V
2025-07-16 11:22:49,652: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi -V
2025-07-16 11:22:49,652: 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'
2025-07-16 11:22:50,149: DEBUG - Nextcloud 31.0.6
2025-07-16 11:22:50,159: DEBUG - ++ exec_occ config:system:get mysql.utf8mb4
2025-07-16 11:22:50,159: DEBUG - ++ '[' 31 -ge 30 ']'
2025-07-16 11:22:50,159: DEBUG - ++ NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:22:50,160: DEBUG - +++ ynh_app_setting_get --key=php_version
2025-07-16 11:22:50,176: DEBUG - +++ app=nextcloud
2025-07-16 11:22:50,220: DEBUG - ++ php_version=8.3
2025-07-16 11:22:50,220: DEBUG - ++ [[ 8.3 != \8\.\3 ]]
2025-07-16 11:22:50,221: DEBUG - ++ cd /var/www/nextcloud
2025-07-16 11:22:50,221: DEBUG - +++ filter_boring_occ_warnings
2025-07-16 11:22:50,221: DEBUG - ++ ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi config:system:get mysql.utf8mb4
2025-07-16 11:22:50,221: 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'
2025-07-16 11:22:50,221: DEBUG - ++ sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi config:system:get mysql.utf8mb4
2025-07-16 11:22:50,686: DEBUG - + '[' true '!=' true ']'
2025-07-16 11:22:50,686: DEBUG - + mail_app_must_be_reactived=0
2025-07-16 11:22:50,686: DEBUG - + exec_occ app:list
2025-07-16 11:22:50,687: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:22:50,687: DEBUG - + awk '/Enabled/{f=1;next} /Disabled/{f=0} f'
2025-07-16 11:22:50,687: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:22:50,687: DEBUG - + grep -q -w mail
2025-07-16 11:22:50,687: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:22:50,747: DEBUG - + php_version=8.3
2025-07-16 11:22:50,747: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:22:50,747: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:22:50,748: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:22:50,748: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:list
2025-07-16 11:22:50,748: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:list
2025-07-16 11:22:50,748: 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'
2025-07-16 11:22:51,216: DEBUG - + exec_occ app:disable mail
2025-07-16 11:22:51,216: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:22:51,216: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:22:51,216: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:22:51,277: DEBUG - + php_version=8.3
2025-07-16 11:22:51,277: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:22:51,278: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:22:51,278: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:22:51,278: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:disable mail
2025-07-16 11:22:51,278: 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'
2025-07-16 11:22:51,278: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:disable mail
2025-07-16 11:22:51,739: DEBUG - mail 5.1.7 disabled
2025-07-16 11:22:51,748: DEBUG - + mail_app_must_be_reactived=1
2025-07-16 11:22:51,748: DEBUG - + [[ 31 -le 31 ]]
2025-07-16 11:22:51,748: DEBUG - + '[' 31.0.7 '!=' 31.0.6 ']'
2025-07-16 11:22:51,748: DEBUG - + next_major_version=32
2025-07-16 11:22:51,748: DEBUG - + source_id=32
2025-07-16 11:22:51,748: INFO - Upgrading to Nextcloud 31.0.7
2025-07-16 11:22:51,750: DEBUG - + [[ 32 -ge 31 ]]
2025-07-16 11:22:51,750: DEBUG - + ynh_print_info 'Upgrading to Nextcloud 31.0.7'
2025-07-16 11:22:51,750: DEBUG - + source_id=main
2025-07-16 11:22:51,751: DEBUG - + tmpdir=/var/www/nextcloud__tmp_upgrade
2025-07-16 11:22:51,751: DEBUG - + ynh_setup_source --dest_dir=/var/www/nextcloud__tmp_upgrade --source_id=main
2025-07-16 11:22:51,795: DEBUG - + keep=
2025-07-16 11:22:51,795: DEBUG - + full_replace=0
2025-07-16 11:22:51,795: DEBUG - + source_id=main
2025-07-16 11:22:51,795: DEBUG - ++ ynh_read_manifest 'resources.sources["main"]'
2025-07-16 11:22:51,795: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_supffptl/manifest.toml
2025-07-16 11:22:51,796: DEBUG - ++ toml_to_json
2025-07-16 11:22:51,796: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2025-07-16 11:22:51,796: DEBUG - ++ jq '.resources.sources["main"]' --raw-output
2025-07-16 11:22:51,834: DEBUG - + local 'sources_json={
2025-07-16 11:22:51,835: DEBUG -   "url": "https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2",
2025-07-16 11:22:51,835: DEBUG -   "sha256": "002a5d03ae05a7f0c3056947d6da0b79a44d3d720f5728fe5155a0c5a3b4ec69"
2025-07-16 11:22:51,835: DEBUG - }'
2025-07-16 11:22:51,835: DEBUG - + jq -re .url
2025-07-16 11:22:51,869: DEBUG - https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2
2025-07-16 11:22:51,870: DEBUG - + local arch_prefix=
2025-07-16 11:22:51,905: DEBUG - + local src_url=https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2
2025-07-16 11:22:51,941: DEBUG - + local src_sum=002a5d03ae05a7f0c3056947d6da0b79a44d3d720f5728fe5155a0c5a3b4ec69
2025-07-16 11:22:51,976: DEBUG - + local src_format=
2025-07-16 11:22:52,012: DEBUG - + local src_in_subdir=
2025-07-16 11:22:52,012: DEBUG - + src_in_subdir=true
2025-07-16 11:22:52,048: DEBUG - + local src_extract=
2025-07-16 11:22:52,084: DEBUG - + local src_platform=
2025-07-16 11:22:52,119: DEBUG - + local src_rename=
2025-07-16 11:22:52,119: DEBUG - + [[ -n https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2 ]]
2025-07-16 11:22:52,120: DEBUG - + [[ -n 002a5d03ae05a7f0c3056947d6da0b79a44d3d720f5728fe5155a0c5a3b4ec69 ]]
2025-07-16 11:22:52,120: DEBUG - + [[ -z '' ]]
2025-07-16 11:22:52,120: DEBUG - + [[ https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2 =~ ^.*\.zip$ ]]
2025-07-16 11:22:52,120: DEBUG - + [[ https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2 =~ ^.*/zipball/.*$ ]]
2025-07-16 11:22:52,120: DEBUG - + [[ https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2 =~ ^.*\.tar\.gz$ ]]
2025-07-16 11:22:52,120: DEBUG - + [[ https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2 =~ ^.*\.tgz$ ]]
2025-07-16 11:22:52,120: DEBUG - + [[ https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2 =~ ^.*/tar\.gz/.*$ ]]
2025-07-16 11:22:52,120: DEBUG - + [[ https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2 =~ ^.*/tarball/.*$ ]]
2025-07-16 11:22:52,120: DEBUG - + [[ https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2 =~ ^.*\.tar\.xz$ ]]
2025-07-16 11:22:52,121: DEBUG - + [[ https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2 =~ ^.*\.tar\.bz2$ ]]
2025-07-16 11:22:52,121: DEBUG - + src_format=tar.bz2
2025-07-16 11:22:52,121: DEBUG - + src_format=tar.bz2
2025-07-16 11:22:52,121: DEBUG - ++ echo tar.bz2
2025-07-16 11:22:52,121: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2025-07-16 11:22:52,122: DEBUG - + src_format=tar.bz2
2025-07-16 11:22:52,122: DEBUG - + src_extract=true
2025-07-16 11:22:52,122: DEBUG - + [[ true != \t\r\u\e ]]
2025-07-16 11:22:52,122: DEBUG - ++ dirname /var/cache/yunohost/download/nextcloud/main
2025-07-16 11:22:52,123: DEBUG - + mkdir -p /var/cache/yunohost/download/nextcloud
2025-07-16 11:22:52,124: DEBUG - + src_filename=/var/cache/yunohost/download/nextcloud/main
2025-07-16 11:22:52,125: DEBUG - + '[' tar.bz2 = docker ']'
2025-07-16 11:22:52,125: DEBUG - + '[' -n https://download.nextcloud.com/server/releases/nextcloud-31.0.7.tar.bz2 ']'
2025-07-16 11:22:52,125: DEBUG - + '[' -e /var/cache/yunohost/download/nextcloud/main ']'
2025-07-16 11:22:52,125: DEBUG - + sha256sum --check --status
2025-07-16 11:22:53,407: DEBUG - + '[' '!' -e /var/cache/yunohost/download/nextcloud/main ']'
2025-07-16 11:22:53,408: DEBUG - + sha256sum --check --status
2025-07-16 11:22:54,680: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2025-07-16 11:22:54,681: DEBUG - + '[' -n '' ']'
2025-07-16 11:22:54,682: DEBUG - + mkdir --parents /var/www/nextcloud__tmp_upgrade
2025-07-16 11:22:54,683: DEBUG - + [[ true == \f\a\l\s\e ]]
2025-07-16 11:22:54,683: DEBUG - + [[ tar.bz2 == \d\o\c\k\e\r ]]
2025-07-16 11:22:54,683: DEBUG - + [[ tar.bz2 == \z\i\p ]]
2025-07-16 11:22:54,683: DEBUG - + local strip=
2025-07-16 11:22:54,683: DEBUG - + '[' true '!=' false ']'
2025-07-16 11:22:54,683: DEBUG - + '[' true == true ']'
2025-07-16 11:22:54,683: DEBUG - + local sub_dirs=1
2025-07-16 11:22:54,683: DEBUG - + strip='--strip-components 1'
2025-07-16 11:22:54,683: DEBUG - + [[ tar.bz2 =~ ^tar.gz|tar.bz2|tar.xz|tar$ ]]
2025-07-16 11:22:54,683: DEBUG - + tar --extract --file=/var/cache/yunohost/download/nextcloud/main --directory=/var/www/nextcloud__tmp_upgrade --strip-components 1
2025-07-16 11:23:27,310: DEBUG - + ynh_safe_rm /var/cache/yunohost/download/nextcloud/main
2025-07-16 11:23:27,311: DEBUG - + local target=/var/cache/yunohost/download/nextcloud/main
2025-07-16 11:23:27,352: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_supffptl/patches/main ']'
2025-07-16 11:23:27,353: DEBUG - ++ realpath /var/cache/yunohost/app_tmp_work_dirs/app_supffptl/patches/main
2025-07-16 11:23:27,354: DEBUG - + local patches_folder=/var/cache/yunohost/app_tmp_work_dirs/app_supffptl/patches/main
2025-07-16 11:23:27,354: DEBUG - + pushd /var/www/nextcloud__tmp_upgrade
2025-07-16 11:23:27,354: DEBUG - /var/www/nextcloud__tmp_upgrade /var/cache/yunohost/app_tmp_work_dirs/app_supffptl/scripts
2025-07-16 11:23:27,354: DEBUG - + for patchfile in "$patches_folder/"*.patch
2025-07-16 11:23:27,355: DEBUG - Applying /var/cache/yunohost/app_tmp_work_dirs/app_supffptl/patches/main/00-add-logout_url-conf.patch
2025-07-16 11:23:27,355: DEBUG - + patch --strip=1
2025-07-16 11:23:27,356: DEBUG - patching file core/Controller/LoginController.php
2025-07-16 11:23:27,356: DEBUG - Hunk #1 succeeded at 77 (offset 2 lines).
2025-07-16 11:23:27,356: DEBUG - + popd
2025-07-16 11:23:27,356: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_supffptl/scripts
2025-07-16 11:23:27,356: DEBUG - + '[' -n '' ']'
2025-07-16 11:23:27,357: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2025-07-16 11:23:27,357: DEBUG - + '[' -n /var/www/nextcloud ']'
2025-07-16 11:23:27,357: DEBUG - + '[' /var/www/nextcloud__tmp_upgrade == /var/www/nextcloud ']'
2025-07-16 11:23:27,358: DEBUG - + cp -a /var/www/nextcloud/config/config.php /var/www/nextcloud__tmp_upgrade/config/config.php
2025-07-16 11:23:27,359: DEBUG - + exec_occ maintenance:mode --on
2025-07-16 11:23:27,359: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:27,359: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:27,359: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:27,420: DEBUG - + php_version=8.3
2025-07-16 11:23:27,420: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:27,420: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:27,420: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:27,421: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:mode --on
2025-07-16 11:23:27,421: 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'
2025-07-16 11:23:27,421: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:mode --on
2025-07-16 11:23:27,880: DEBUG - Maintenance mode enabled
2025-07-16 11:23:27,890: DEBUG - + cd /var/www/nextcloud/apps
2025-07-16 11:23:27,890: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:27,891: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/activity/ ']'
2025-07-16 11:23:27,891: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:27,891: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/admin_audit/ ']'
2025-07-16 11:23:27,891: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:27,891: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/app_api/ ']'
2025-07-16 11:23:27,891: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:27,891: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/appointments/ ']'
2025-07-16 11:23:27,891: DEBUG - + cp -a appointments/ /var/www/nextcloud__tmp_upgrade/apps/appointments/
2025-07-16 11:23:27,909: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:27,909: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/assistant/ ']'
2025-07-16 11:23:27,909: DEBUG - + cp -a assistant/ /var/www/nextcloud__tmp_upgrade/apps/assistant/
2025-07-16 11:23:27,962: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:27,962: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/bruteforcesettings/ ']'
2025-07-16 11:23:27,962: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:27,962: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/calendar/ ']'
2025-07-16 11:23:27,963: DEBUG - + cp -a calendar/ /var/www/nextcloud__tmp_upgrade/apps/calendar/
2025-07-16 11:23:28,036: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,036: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/circles/ ']'
2025-07-16 11:23:28,036: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,036: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/cloud_federation_api/ ']'
2025-07-16 11:23:28,036: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,036: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/collectives/ ']'
2025-07-16 11:23:28,036: DEBUG - + cp -a collectives/ /var/www/nextcloud__tmp_upgrade/apps/collectives/
2025-07-16 11:23:28,120: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,120: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/comments/ ']'
2025-07-16 11:23:28,120: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,120: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/contacts/ ']'
2025-07-16 11:23:28,120: DEBUG - + cp -a contacts/ /var/www/nextcloud__tmp_upgrade/apps/contacts/
2025-07-16 11:23:28,147: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,147: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/contactsinteraction/ ']'
2025-07-16 11:23:28,147: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,147: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/dashboard/ ']'
2025-07-16 11:23:28,148: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,148: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/dav/ ']'
2025-07-16 11:23:28,148: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,148: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/deck/ ']'
2025-07-16 11:23:28,148: DEBUG - + cp -a deck/ /var/www/nextcloud__tmp_upgrade/apps/deck/
2025-07-16 11:23:28,213: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,213: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/encryption/ ']'
2025-07-16 11:23:28,213: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,213: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/external/ ']'
2025-07-16 11:23:28,213: DEBUG - + cp -a external/ /var/www/nextcloud__tmp_upgrade/apps/external/
2025-07-16 11:23:28,226: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,226: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/externalportal/ ']'
2025-07-16 11:23:28,226: DEBUG - + cp -a externalportal/ /var/www/nextcloud__tmp_upgrade/apps/externalportal/
2025-07-16 11:23:28,239: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,239: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/federatedfilesharing/ ']'
2025-07-16 11:23:28,239: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,240: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/federation/ ']'
2025-07-16 11:23:28,240: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,240: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/files/ ']'
2025-07-16 11:23:28,240: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,240: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/files_downloadlimit/ ']'
2025-07-16 11:23:28,240: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,240: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/files_external/ ']'
2025-07-16 11:23:28,240: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,240: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/files_pdfviewer/ ']'
2025-07-16 11:23:28,240: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,240: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/files_reminders/ ']'
2025-07-16 11:23:28,240: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,240: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/files_sharing/ ']'
2025-07-16 11:23:28,240: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,240: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/files_trashbin/ ']'
2025-07-16 11:23:28,240: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,240: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/files_versions/ ']'
2025-07-16 11:23:28,241: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,241: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/firstrunwizard/ ']'
2025-07-16 11:23:28,241: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,241: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/forms/ ']'
2025-07-16 11:23:28,241: DEBUG - + cp -a forms/ /var/www/nextcloud__tmp_upgrade/apps/forms/
2025-07-16 11:23:28,308: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,308: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/ldap_contacts_backend/ ']'
2025-07-16 11:23:28,308: DEBUG - + cp -a ldap_contacts_backend/ /var/www/nextcloud__tmp_upgrade/apps/ldap_contacts_backend/
2025-07-16 11:23:28,316: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,316: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/logreader/ ']'
2025-07-16 11:23:28,316: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,316: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/lookup_server_connector/ ']'
2025-07-16 11:23:28,316: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,316: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/mail/ ']'
2025-07-16 11:23:28,316: DEBUG - + cp -a mail/ /var/www/nextcloud__tmp_upgrade/apps/mail/
2025-07-16 11:23:28,559: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,559: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/nextcloud_announcements/ ']'
2025-07-16 11:23:28,559: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,559: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/notes/ ']'
2025-07-16 11:23:28,559: DEBUG - + cp -a notes/ /var/www/nextcloud__tmp_upgrade/apps/notes/
2025-07-16 11:23:28,591: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,592: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/notifications/ ']'
2025-07-16 11:23:28,592: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,592: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/oauth2/ ']'
2025-07-16 11:23:28,592: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,592: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/onlyoffice/ ']'
2025-07-16 11:23:28,592: DEBUG - + cp -a onlyoffice/ /var/www/nextcloud__tmp_upgrade/apps/onlyoffice/
2025-07-16 11:23:28,611: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,612: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/password_policy/ ']'
2025-07-16 11:23:28,612: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,612: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/phonetrack/ ']'
2025-07-16 11:23:28,612: DEBUG - + cp -a phonetrack/ /var/www/nextcloud__tmp_upgrade/apps/phonetrack/
2025-07-16 11:23:28,637: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,637: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/photos/ ']'
2025-07-16 11:23:28,637: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,637: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/polls/ ']'
2025-07-16 11:23:28,638: DEBUG - + cp -a polls/ /var/www/nextcloud__tmp_upgrade/apps/polls/
2025-07-16 11:23:28,692: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,692: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/privacy/ ']'
2025-07-16 11:23:28,692: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,692: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/profile/ ']'
2025-07-16 11:23:28,692: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,692: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/provisioning_api/ ']'
2025-07-16 11:23:28,692: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,692: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/recommendations/ ']'
2025-07-16 11:23:28,693: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,693: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/related_resources/ ']'
2025-07-16 11:23:28,693: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,693: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/serverinfo/ ']'
2025-07-16 11:23:28,693: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,693: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/settings/ ']'
2025-07-16 11:23:28,693: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,693: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/sharebymail/ ']'
2025-07-16 11:23:28,693: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,693: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/side_menu/ ']'
2025-07-16 11:23:28,693: DEBUG - + cp -a side_menu/ /var/www/nextcloud__tmp_upgrade/apps/side_menu/
2025-07-16 11:23:28,707: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,707: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/spreed/ ']'
2025-07-16 11:23:28,708: DEBUG - + cp -a spreed/ /var/www/nextcloud__tmp_upgrade/apps/spreed/
2025-07-16 11:23:28,907: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,908: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/support/ ']'
2025-07-16 11:23:28,908: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,908: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/survey_client/ ']'
2025-07-16 11:23:28,908: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,908: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/suspicious_login/ ']'
2025-07-16 11:23:28,908: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,908: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/systemtags/ ']'
2025-07-16 11:23:28,908: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:28,908: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/tables/ ']'
2025-07-16 11:23:28,908: DEBUG - + cp -a tables/ /var/www/nextcloud__tmp_upgrade/apps/tables/
2025-07-16 11:23:29,023: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,024: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/tasks/ ']'
2025-07-16 11:23:29,024: DEBUG - + cp -a tasks/ /var/www/nextcloud__tmp_upgrade/apps/tasks/
2025-07-16 11:23:29,043: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,043: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/text/ ']'
2025-07-16 11:23:29,043: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,043: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/theming/ ']'
2025-07-16 11:23:29,043: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,044: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/timemanager/ ']'
2025-07-16 11:23:29,044: DEBUG - + cp -a timemanager/ /var/www/nextcloud__tmp_upgrade/apps/timemanager/
2025-07-16 11:23:29,054: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,054: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/timetracker/ ']'
2025-07-16 11:23:29,054: DEBUG - + cp -a timetracker/ /var/www/nextcloud__tmp_upgrade/apps/timetracker/
2025-07-16 11:23:29,069: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,069: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/twofactor_backupcodes/ ']'
2025-07-16 11:23:29,070: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,070: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/twofactor_nextcloud_notification/ ']'
2025-07-16 11:23:29,070: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,070: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/twofactor_totp/ ']'
2025-07-16 11:23:29,070: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,070: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/unroundedcorners/ ']'
2025-07-16 11:23:29,070: DEBUG - + cp -a unroundedcorners/ /var/www/nextcloud__tmp_upgrade/apps/unroundedcorners/
2025-07-16 11:23:29,072: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,072: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/updatenotification/ ']'
2025-07-16 11:23:29,072: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,072: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/user_ldap/ ']'
2025-07-16 11:23:29,072: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,072: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/user_status/ ']'
2025-07-16 11:23:29,072: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,072: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/viewer/ ']'
2025-07-16 11:23:29,072: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,072: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/weather_status/ ']'
2025-07-16 11:23:29,072: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,072: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/webhook_listeners/ ']'
2025-07-16 11:23:29,073: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,073: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/welcome/ ']'
2025-07-16 11:23:29,073: DEBUG - + cp -a welcome/ /var/www/nextcloud__tmp_upgrade/apps/welcome/
2025-07-16 11:23:29,101: DEBUG - + for nc_app_dir in */
2025-07-16 11:23:29,101: DEBUG - + '[' '!' -d /var/www/nextcloud__tmp_upgrade/apps/workflowengine/ ']'
2025-07-16 11:23:29,101: DEBUG - + ynh_safe_rm /var/www/nextcloud
2025-07-16 11:23:29,102: DEBUG - + local target=/var/www/nextcloud
2025-07-16 11:23:30,078: DEBUG - + mv /var/www/nextcloud__tmp_upgrade /var/www/nextcloud
2025-07-16 11:23:30,080: DEBUG - ++ grep OC_VersionString /var/www/nextcloud/version.php
2025-07-16 11:23:30,080: DEBUG - ++ cut '-d'\''' -f2
2025-07-16 11:23:30,082: DEBUG - + current_version=31.0.7
2025-07-16 11:23:30,082: DEBUG - + current_major_version=31
2025-07-16 11:23:30,082: DEBUG - + chown -R nextcloud:www-data /var/www/nextcloud
2025-07-16 11:23:30,308: DEBUG - + exec_occ maintenance:mode --off
2025-07-16 11:23:30,309: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:30,309: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:30,309: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:30,370: DEBUG - + php_version=8.3
2025-07-16 11:23:30,370: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:30,371: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:30,371: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:30,371: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:mode --off
2025-07-16 11:23:30,371: 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'
2025-07-16 11:23:30,371: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:mode --off
2025-07-16 11:23:30,591: DEBUG - Maintenance mode already disabled
2025-07-16 11:23:30,599: DEBUG - 
2025-07-16 11:23:30,599: DEBUG - 
2025-07-16 11:23:30,599: DEBUG - + exec_occ upgrade
2025-07-16 11:23:30,599: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:30,599: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:30,600: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:30,660: DEBUG - + php_version=8.3
2025-07-16 11:23:30,660: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:30,661: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:30,661: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:30,661: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi upgrade
2025-07-16 11:23:30,661: 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'
2025-07-16 11:23:30,661: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi upgrade
2025-07-16 11:23:30,878: DEBUG - Setting log level to debug
2025-07-16 11:23:30,879: DEBUG - Turned on maintenance mode
2025-07-16 11:23:31,350: DEBUG - Updating database schema
2025-07-16 11:23:31,367: DEBUG - Updated database
2025-07-16 11:23:31,381: DEBUG - Updating <photos> ...
2025-07-16 11:23:31,395: DEBUG - Updated <photos> to 4.0.0
2025-07-16 11:23:31,842: DEBUG - Update app calendar from App Store
2025-07-16 11:23:34,326: DEBUG - Update app contacts from App Store
2025-07-16 11:23:34,996: DEBUG - Update app polls from App Store
2025-07-16 11:23:41,410: DEBUG - Update successful
2025-07-16 11:23:41,410: DEBUG - Turned off maintenance mode
2025-07-16 11:23:41,410: DEBUG - Resetting log level
2025-07-16 11:23:41,434: DEBUG - 
2025-07-16 11:23:41,435: DEBUG - 
2025-07-16 11:23:41,435: DEBUG - + exec_occ -V
2025-07-16 11:23:41,435: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:41,435: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:41,435: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:41,496: DEBUG - + php_version=8.3
2025-07-16 11:23:41,496: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:41,496: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:41,497: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:41,497: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi -V
2025-07-16 11:23:41,497: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi -V
2025-07-16 11:23:41,497: 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'
2025-07-16 11:23:41,921: DEBUG - Nextcloud 31.0.7
2025-07-16 11:23:41,930: DEBUG - + '[' 31.0.7 '!=' 31.0.7 ']'
2025-07-16 11:23:41,930: DEBUG - + exec_occ db:add-missing-indices -n
2025-07-16 11:23:41,930: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:41,930: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:41,931: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:41,992: DEBUG - + php_version=8.3
2025-07-16 11:23:41,993: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:41,993: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:41,993: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:41,993: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi db:add-missing-indices -n
2025-07-16 11:23:41,993: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi db:add-missing-indices -n
2025-07-16 11:23:41,994: 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'
2025-07-16 11:23:42,883: DEBUG - + exec_occ db:add-missing-columns -n
2025-07-16 11:23:42,883: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:42,883: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:42,883: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:42,944: DEBUG - + php_version=8.3
2025-07-16 11:23:42,944: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:42,945: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:42,945: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:42,945: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi db:add-missing-columns -n
2025-07-16 11:23:42,945: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi db:add-missing-columns -n
2025-07-16 11:23:42,945: 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'
2025-07-16 11:23:43,363: DEBUG - Done.
2025-07-16 11:23:43,372: DEBUG - + exec_occ db:add-missing-primary-keys -n
2025-07-16 11:23:43,372: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:43,372: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:43,373: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:43,434: DEBUG - + php_version=8.3
2025-07-16 11:23:43,434: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:43,435: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:43,435: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:43,435: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi db:add-missing-primary-keys -n
2025-07-16 11:23:43,435: 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'
2025-07-16 11:23:43,435: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi db:add-missing-primary-keys -n
2025-07-16 11:23:44,313: DEBUG - Done.
2025-07-16 11:23:44,324: DEBUG - + exec_occ db:convert-filecache-bigint -n
2025-07-16 11:23:44,324: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:44,324: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:44,324: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:44,385: DEBUG - + php_version=8.3
2025-07-16 11:23:44,386: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:44,386: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:44,386: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:44,386: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi db:convert-filecache-bigint -n
2025-07-16 11:23:44,387: 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'
2025-07-16 11:23:44,387: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi db:convert-filecache-bigint -n
2025-07-16 11:23:45,263: DEBUG - All tables already up to date!
2025-07-16 11:23:45,274: INFO - [######++++..........] > Reconfiguring nextcloud...
2025-07-16 11:23:45,277: DEBUG - + ynh_backup_if_checksum_is_different /var/www/nextcloud/config/config.php
2025-07-16 11:23:45,352: WARNING - File /var/www/nextcloud/config/config.php has been manually modified since the installation or last upgrade. So it has been duplicated in /var/cache/yunohost/appconfbackup//var/www/nextcloud/config/config.php.backup.20250716.112345
2025-07-16 11:23:45,354: DEBUG - /var/cache/yunohost/appconfbackup//var/www/nextcloud/config/config.php.backup.20250716.112345
2025-07-16 11:23:45,354: DEBUG - + nc_conf=/var/www/nextcloud/config.json
2025-07-16 11:23:45,355: DEBUG - + ynh_config_add --template=config.json --destination=/var/www/nextcloud/config.json
2025-07-16 11:23:45,388: DEBUG - + jinja=0
2025-07-16 11:23:45,388: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_supffptl/conf/config.json ']'
2025-07-16 11:23:45,388: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_supffptl/conf/config.json
2025-07-16 11:23:45,388: DEBUG - + ynh_backup_if_checksum_is_different /var/www/nextcloud/config.json
2025-07-16 11:23:45,449: DEBUG - + touch /var/www/nextcloud/config.json
2025-07-16 11:23:45,450: DEBUG - + chmod 640 /var/www/nextcloud/config.json
2025-07-16 11:23:45,451: DEBUG - + _ynh_apply_default_permissions /var/www/nextcloud/config.json
2025-07-16 11:23:45,451: DEBUG - + local target=/var/www/nextcloud/config.json
2025-07-16 11:23:45,451: DEBUG - + ynh_system_user_exists --username=nextcloud
2025-07-16 11:23:45,461: DEBUG - + getent passwd nextcloud
2025-07-16 11:23:45,463: DEBUG - + '[' -f /var/www/nextcloud/config.json ']'
2025-07-16 11:23:45,463: DEBUG - + is_in_dir /var/www/nextcloud/config.json /var/www/nextcloud
2025-07-16 11:23:45,464: DEBUG - + '[' -n /var/www/nextcloud ']'
2025-07-16 11:23:45,464: DEBUG - ++ realpath /var/www/nextcloud/config.json
2025-07-16 11:23:45,466: DEBUG - + local child=/var/www/nextcloud/config.json
2025-07-16 11:23:45,466: DEBUG - ++ realpath /var/www/nextcloud
2025-07-16 11:23:45,467: DEBUG - + local parent=/var/www/nextcloud
2025-07-16 11:23:45,468: DEBUG - + [[ /var/www/nextcloud/config.json =~ ^/var/www/nextcloud ]]
2025-07-16 11:23:45,468: DEBUG - + chmod 600 /var/www/nextcloud/config.json
2025-07-16 11:23:45,469: DEBUG - + chown nextcloud:nextcloud /var/www/nextcloud/config.json
2025-07-16 11:23:45,473: DEBUG - + return
2025-07-16 11:23:45,473: DEBUG - + [[ 0 == 1 ]]
2025-07-16 11:23:45,473: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_supffptl/conf/config.json /var/www/nextcloud/config.json
2025-07-16 11:23:45,474: DEBUG - + _ynh_replace_vars /var/www/nextcloud/config.json
2025-07-16 11:23:45,474: DEBUG - + local file=/var/www/nextcloud/config.json
2025-07-16 11:23:45,475: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/nextcloud/config.json
2025-07-16 11:23:45,475: DEBUG - ++ sort --unique
2025-07-16 11:23:45,475: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2025-07-16 11:23:45,477: DEBUG - + uniques_vars=('app' 'domain' 'mail_pwd')
2025-07-16 11:23:45,483: DEBUG - + ynh_store_file_checksum /var/www/nextcloud/config.json
2025-07-16 11:23:45,570: DEBUG - + exec_occ app:enable mail
2025-07-16 11:23:45,571: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:45,571: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:45,571: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:45,633: DEBUG - + php_version=8.3
2025-07-16 11:23:45,633: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:45,634: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:45,634: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:45,634: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:enable mail
2025-07-16 11:23:45,634: 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'
2025-07-16 11:23:45,634: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:enable mail
2025-07-16 11:23:46,159: DEBUG - mail 5.1.7 enabled
2025-07-16 11:23:46,181: DEBUG - + exec_occ app:disable updatenotification
2025-07-16 11:23:46,181: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:46,182: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:46,182: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:46,252: DEBUG - + php_version=8.3
2025-07-16 11:23:46,252: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:46,253: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:46,253: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:46,253: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:disable updatenotification
2025-07-16 11:23:46,253: 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'
2025-07-16 11:23:46,254: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:disable updatenotification
2025-07-16 11:23:46,713: DEBUG - No such app enabled: updatenotification
2025-07-16 11:23:46,722: DEBUG - + exec_occ app:enable user_ldap
2025-07-16 11:23:46,722: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:46,722: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:46,723: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:46,783: DEBUG - + php_version=8.3
2025-07-16 11:23:46,783: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:46,784: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:46,784: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:46,784: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:enable user_ldap
2025-07-16 11:23:46,784: 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'
2025-07-16 11:23:46,784: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:enable user_ldap
2025-07-16 11:23:47,239: DEBUG - user_ldap already enabled
2025-07-16 11:23:47,248: DEBUG - + exec_occ app:update --all
2025-07-16 11:23:47,248: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:47,249: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:47,249: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:47,311: DEBUG - + php_version=8.3
2025-07-16 11:23:47,311: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:47,311: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:47,312: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:47,312: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:update --all
2025-07-16 11:23:47,312: 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'
2025-07-16 11:23:47,312: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:update --all
2025-07-16 11:23:47,804: DEBUG - mail new version available: 5.1.8
2025-07-16 11:23:50,457: DEBUG - mail updated
2025-07-16 11:23:50,480: DEBUG - + '[' -f /home/yunohost.app/nextcloud/data/nextcloud.log ']'
2025-07-16 11:23:50,480: DEBUG - + exec_occ config:import /var/www/nextcloud/config.json
2025-07-16 11:23:50,480: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:50,480: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:50,480: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:50,541: DEBUG - + php_version=8.3
2025-07-16 11:23:50,542: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:50,542: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:50,542: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:50,542: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi config:import /var/www/nextcloud/config.json
2025-07-16 11:23:50,542: 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'
2025-07-16 11:23:50,543: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi config:import /var/www/nextcloud/config.json
2025-07-16 11:23:50,999: DEBUG - Config successfully imported from: /var/www/nextcloud/config.json
2025-07-16 11:23:51,009: DEBUG - + ynh_safe_rm /var/www/nextcloud/config.json
2025-07-16 11:23:51,009: DEBUG - + local target=/var/www/nextcloud/config.json
2025-07-16 11:23:51,018: DEBUG - + exec_occ maintenance:repair --include-expensive
2025-07-16 11:23:51,018: DEBUG - + '[' 31 -ge 30 ']'
2025-07-16 11:23:51,018: DEBUG - + NEXTCLOUD_PHP_VERSION=8.3
2025-07-16 11:23:51,018: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-07-16 11:23:51,079: DEBUG - + php_version=8.3
2025-07-16 11:23:51,079: DEBUG - + [[ 8.3 != \8\.\3 ]]
2025-07-16 11:23:51,080: DEBUG - + cd /var/www/nextcloud
2025-07-16 11:23:51,080: DEBUG - ++ filter_boring_occ_warnings
2025-07-16 11:23:51,080: DEBUG - + ynh_exec_as_app php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:repair --include-expensive
2025-07-16 11:23:51,080: 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'
2025-07-16 11:23:51,080: DEBUG - + sudo -u nextcloud env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 php8.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:repair --include-expensive
2025-07-16 11:23:51,556: DEBUG -  - Repair MySQL collation
2025-07-16 11:23:51,563: DEBUG -      - All tables already have the correct collation -> nothing to do
2025-07-16 11:23:51,563: DEBUG -  - Clean tags and favorites
2025-07-16 11:23:51,580: DEBUG -      - 0 tags of deleted users have been removed.
2025-07-16 11:23:51,581: DEBUG -      - 0 tags for delete files have been removed.
2025-07-16 11:23:51,581: DEBUG -      - 0 tag entries for deleted tags have been removed.
2025-07-16 11:23:51,582: DEBUG -      - 0 tags with no entries have been removed.
2025-07-16 11:23:51,582: DEBUG -  - Repair invalid shares
2025-07-16 11:23:51,582: DEBUG -  - Move .step file of updater to backup location
2025-07-16 11:23:51,583: DEBUG -  - Add move avatar background job
2025-07-16 11:23:51,583: DEBUG -      - Repair step already executed
2025-07-16 11:23:51,583: DEBUG -  - Add preview cleanup background jobs
2025-07-16 11:23:51,583: DEBUG -  - Migrate oauth2_clients table to nextcloud schema
2025-07-16 11:23:52,045: DEBUG -      - Update the oauth2_access_tokens table schema.
2025-07-16 11:23:52,046: DEBUG -      - Update the oauth2_clients table schema.
2025-07-16 11:23:52,998: DEBUG -      - Delete clients (and their related access tokens) with the redirect_uri starting with oc:// or ending with *
2025-07-16 11:23:53,000: DEBUG -  - Repair language codes
2025-07-16 11:23:53,000: DEBUG -  - Add log rotate job
2025-07-16 11:23:53,008: DEBUG -  - Clear frontend caches
2025-07-16 11:23:53,008: DEBUG -      - Image cache cleared
2025-07-16 11:23:53,023: DEBUG -      - JS cache cleared
2025-07-16 11:23:53,023: DEBUG -  - Clear every generated avatar
2025-07-16 11:23:53,023: DEBUG -  - Add preview background cleanup job
2025-07-16 11:23:53,025: DEBUG -  - Queue a one-time job to cleanup old backups of the updater
2025-07-16 11:23:53,027: DEBUG -  - Cleanup invalid photocache files for carddav
2025-07-16 11:23:53,027: DEBUG -  - Add background job to cleanup login flow v2 tokens
2025-07-16 11:23:53,028: DEBUG -  - Remove potentially over exposing share links
2025-07-16 11:23:53,029: DEBUG -      - No need to remove link shares.
2025-07-16 11:23:53,029: DEBUG -  - Clear access cache of projects
2025-07-16 11:23:53,029: DEBUG -  - Reset generated avatar flag
2025-07-16 11:23:53,029: DEBUG -  - Keep legacy encryption enabled
2025-07-16 11:23:53,029: DEBUG -  - Check encryption key format
2025-07-16 11:23:53,029: DEBUG -  - Remove old dashboard app config data
2025-07-16 11:23:53,029: DEBUG -  - Add job to cleanup the bruteforce entries
2025-07-16 11:23:53,031: DEBUG -  - Queue a one-time job to check for user uploaded certificates
2025-07-16 11:23:53,031: DEBUG -  - Repair DAV shares
2025-07-16 11:23:53,031: DEBUG -  - Add background job to set the lookup server share state for users
2025-07-16 11:23:53,032: DEBUG -  - Add token cleanup job
2025-07-16 11:23:53,034: DEBUG -  - Clean up abandoned apps
2025-07-16 11:23:53,035: DEBUG -  - Add possibly missing system config
2025-07-16 11:23:53,035: DEBUG -  - Add AI tasks cleanup jobs
2025-07-16 11:23:53,040: DEBUG -  - Queue a job to generate metadata
2025-07-16 11:23:53,042: DEBUG -  - migrate lazy config values
2025-07-16 11:23:53,047: DEBUG -  - Cache logo dimension to fix size in emails on Outlook
2025-07-16 11:23:53,047: DEBUG -      - Logo dimensions are already known
2025-07-16 11:23:53,048: DEBUG -  - Remove legacy ".ocdata" file
2025-07-16 11:23:53,048: DEBUG -  - Add cleanup-deleted-users background job
2025-07-16 11:23:53,051: DEBUG -  - Validate account properties and store phone numbers in a known format for search
2025-07-16 11:23:53,054: DEBUG -      - Queued background to validate account properties.
2025-07-16 11:23:53,054: DEBUG -  - Remove shares of old group memberships
2025-07-16 11:23:53,055: DEBUG -  - Remove broken DAV object properties
2025-07-16 11:23:53,056: DEBUG -      - 0 broken object properties removed
2025-07-16 11:23:53,057: DEBUG -  - Repair mime types
2025-07-16 11:23:53,058: DEBUG -  - Handle outdated scheduling events
2025-07-16 11:23:53,059: DEBUG -      - Cleaning up old scheduling events
2025-07-16 11:23:53,061: DEBUG -  - AppAPI Daemons configuration GPU params update
2025-07-16 11:23:53,061: DEBUG -      - Daemons configuration GPU params updated: 0
2025-07-16 11:23:53,062: DEBUG -  - Upgrading Circles App
2025-07-16 11:23:53,075: DEBUG -  - Generate slugs for collectives and pages
2025-07-16 11:23:53,076: DEBUG -      - Generating slugs for collectives ...
2025-07-16 11:23:53,141: DEBUG - 
2025-07-16 11:23:53,141: DEBUG -      - done
2025-07-16 11:23:53,141: DEBUG -      - Generating slugs for pages ...
2025-07-16 11:23:53,143: DEBUG -      - ERROR: An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'slug' in 'WHERE'
2025-07-16 11:23:53,143: DEBUG -  - Migrate templates to new implementation logic
2025-07-16 11:23:53,143: DEBUG -  - Fix component of birthday calendars
2025-07-16 11:23:53,143: DEBUG -      - 0 birthday calendars updated.
2025-07-16 11:23:53,143: DEBUG -  - Regenerating birthday calendars to use new icons and fix old birthday events without year
2025-07-16 11:23:53,143: DEBUG -      - Repair step already executed
2025-07-16 11:23:53,144: DEBUG -  - Fix broken values of calendar objects
2025-07-16 11:23:53,148: DEBUG - 
2025-07-16 11:23:53,148: DEBUG -  - Registering building of calendar search index as background job
2025-07-16 11:23:53,148: DEBUG -      - Repair step already executed
2025-07-16 11:23:53,149: DEBUG -  - Register building of social profile search index as background job
2025-07-16 11:23:53,149: DEBUG -      - Repair step already executed
2025-07-16 11:23:53,149: DEBUG -  - Registering background jobs to update cache for webcal calendars
2025-07-16 11:23:53,149: DEBUG -      - Added 0 background jobs to update webcal calendars
2025-07-16 11:23:53,149: DEBUG -  - Registering building of calendar reminder index as background job
2025-07-16 11:23:53,150: DEBUG -      - Repair step already executed
2025-07-16 11:23:53,150: DEBUG -  - Register a background job to update rooms and resources
2025-07-16 11:23:53,151: DEBUG -  - Queue jobs to clean up orphan event and contact data
2025-07-16 11:23:53,173: DEBUG -  - Remove activity entries of private events
2025-07-16 11:23:53,182: DEBUG -      - Removed 0 activity entries
2025-07-16 11:23:53,183: DEBUG -  - Clean up old calendar subscriptions from deleted users that were not cleaned-up
2025-07-16 11:23:53,184: DEBUG - 
2025-07-16 11:23:53,185: DEBUG -      - 0 calendar subscriptions without an user have been cleaned up
2025-07-16 11:23:53,185: DEBUG -  - Remove invalid object properties
2025-07-16 11:23:53,185: DEBUG -      - 0 invalid object properties removed.
2025-07-16 11:23:53,185: DEBUG -  - Copy default images to the app data directory
2025-07-16 11:23:53,191: DEBUG -      - Icon external.svg already exists
2025-07-16 11:23:53,194: DEBUG -      - Icon external-dark.svg already exists
2025-07-16 11:23:53,196: DEBUG -      - Icon settings.svg already exists
2025-07-16 11:23:53,198: DEBUG -      - Icon settings-dark.svg already exists
2025-07-16 11:23:53,199: DEBUG -  - Mark JWT token private key as sensitive
2025-07-16 11:23:53,207: DEBUG -  - Fix the share type of guest shares when migrating from ownCloud
2025-07-16 11:23:53,207: DEBUG -  - Copy the share password into the dedicated column
2025-07-16 11:23:53,207: DEBUG -  - Set existing shares as accepted
2025-07-16 11:23:53,207: DEBUG -  - Restore default tags that are missing
2025-07-16 11:23:53,207: DEBUG -      - Looking up default tags
2025-07-16 11:23:53,208: DEBUG -      - 2 accounts to check found
2025-07-16 11:23:53,210: DEBUG - 
2025-07-16 11:23:53,210: DEBUG -  - Add a generated message-id to all Mail messages that have none
2025-07-16 11:23:53,210: DEBUG -      - Looking up messages without a message-id
2025-07-16 11:23:53,213: DEBUG -  - Purify and migrate collected mail addresses
2025-07-16 11:23:53,214: DEBUG - 
2025-07-16 11:23:53,215: DEBUG -  - Insert background jobs for all accounts
2025-07-16 11:23:53,230: DEBUG - 
2025-07-16 11:23:53,230: DEBUG -  - Make Mail itinerary extractor executable
2025-07-16 11:23:53,230: DEBUG -  - Create or update provisioned Mail accounts
2025-07-16 11:23:53,230: DEBUG -      - 0 accounts provisioned
2025-07-16 11:23:53,231: DEBUG -  - Repair Broken Threads for all mail accounts
2025-07-16 11:23:53,233: DEBUG -      - Repaired threads, 0 messages updated
2025-07-16 11:23:53,233: DEBUG -  - Queue a job to delete duplicated cached messages
2025-07-16 11:23:53,235: DEBUG -  - Clean up meta table
2025-07-16 11:23:53,235: DEBUG -  - Show a hint about the new editor to existing users
2025-07-16 11:23:53,235: DEBUG -  - Update OAuth token expiration times
2025-07-16 11:23:53,235: DEBUG -  - init metadata
2025-07-16 11:23:53,236: DEBUG -  - Polls - Drop orphaned tables
2025-07-16 11:23:54,193: DEBUG -      - No orphaned tables found
2025-07-16 11:23:54,193: DEBUG -  - Polls - Drop orphaned columns
2025-07-16 11:23:55,148: DEBUG -      - No orphaned columns found
2025-07-16 11:23:55,148: DEBUG -  - Polls - Delete duplicates and orphaned records
2025-07-16 11:23:56,118: DEBUG -  - Polls - Create hashes for votes and options
2025-07-16 11:23:56,150: DEBUG -      - Updated 6 option hashes
2025-07-16 11:23:56,150: DEBUG -      - Updated 32 vote hashes
2025-07-16 11:23:56,151: DEBUG -  - Polls - Create indices and foreign key constraints
2025-07-16 11:23:57,118: DEBUG -      - Added oc_polls_polls[poll_id] <- oc_polls_comments[id]
2025-07-16 11:23:57,118: DEBUG -      - Added oc_polls_polls[poll_id] <- oc_polls_log[id]
2025-07-16 11:23:57,119: DEBUG -      - Added oc_polls_polls[poll_id] <- oc_polls_notif[id]
2025-07-16 11:23:57,119: DEBUG -      - Added oc_polls_polls[poll_id] <- oc_polls_options[id]
2025-07-16 11:23:57,119: DEBUG -      - Added oc_polls_polls[poll_id] <- oc_polls_votes[id]
2025-07-16 11:23:57,119: DEBUG -      - Added oc_polls_polls[poll_id] <- oc_polls_watch[id]
2025-07-16 11:23:57,119: DEBUG -      - Added oc_polls_polls[poll_id] <- oc_polls_groups_polls[id]
2025-07-16 11:23:57,119: DEBUG -      - Added oc_polls_groups[group_id] <- oc_polls_groups_polls[id]
2025-07-16 11:23:57,119: DEBUG -      - Index UNIQ_options already exists in oc_polls_options
2025-07-16 11:23:57,119: DEBUG -      - Index UNIQ_unprocessed already exists in oc_polls_log
2025-07-16 11:23:57,119: DEBUG -      - Index UNIQ_subscription already exists in oc_polls_notif
2025-07-16 11:23:57,119: DEBUG -      - Index UNIQ_shares already exists in oc_polls_share
2025-07-16 11:23:57,120: DEBUG -      - Index UNIQ_votes already exists in oc_polls_votes
2025-07-16 11:23:57,120: DEBUG -      - Index UNIQ_preferences already exists in oc_polls_preferences
2025-07-16 11:23:57,120: DEBUG -      - Index UNIQ_watch already exists in oc_polls_watch
2025-07-16 11:23:57,120: DEBUG -      - Index UNIQ_poll_group_relation already exists in oc_polls_groups_polls
2025-07-16 11:23:57,120: DEBUG -      - Index polls_polls_owners_non_deleted already exists in oc_polls_polls
2025-07-16 11:23:57,120: DEBUG -      - Polls - Foreign key contraints created.
2025-07-16 11:23:57,120: DEBUG -      - Polls - Indices created.
2025-07-16 11:23:57,120: DEBUG -  - Invalidate access cache for projects conversation provider
2025-07-16 11:23:57,120: DEBUG -      - Invalidation not required
2025-07-16 11:23:57,120: DEBUG -  - Cache the user display names
2025-07-16 11:23:57,120: DEBUG -  - Fix the namespace in database tables
2025-07-16 11:23:57,120: DEBUG -  - Switches from default updater server to the customer one if a valid subscription is available
2025-07-16 11:23:57,121: DEBUG -      - Repair step already executed
2025-07-16 11:23:57,121: DEBUG -  - Migrate some config values to lazy loading
2025-07-16 11:23:57,121: DEBUG -  - Send an admin notification if monthly report is disabled
2025-07-16 11:23:57,127: DEBUG -  - Copy the data into the new db structure
2025-07-16 11:23:57,128: DEBUG -  - Fixing the sequence of the row-sleeves table
2025-07-16 11:23:57,128: DEBUG -  - Force-reset all Text document sessions
2025-07-16 11:23:57,128: DEBUG -  - Initialize migration of background images from dashboard to theming app
2025-07-16 11:23:57,130: DEBUG -  - Add background job to check for backup codes
2025-07-16 11:23:57,132: DEBUG -  - Insert UUIDFix background job for user and group in batches
2025-07-16 11:23:57,132: DEBUG -  - Remove deprecated refresh time markers for LDAP user records
2025-07-16 11:23:57,132: DEBUG -  - Populating added database structures for workflows
2025-07-16 11:23:57,143: WARNING -     0 [>---------------------------]
2025-07-16 11:23:57,145: WARNING -     5 [->--------------------------]    0 [--->------------------------]    0 [----->----------------------]
2025-07-16 11:23:57,147: DEBUG - 
2025-07-16 11:23:57,147: DEBUG - 
2025-07-16 11:23:57,147: DEBUG - 
2025-07-16 11:23:57,147: DEBUG - + ynh_exit_properly
2025-07-16 11:23:57,147: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2025-07-16 11:23:57,748: ERROR - Could not upgrade nextcloud: An error occurred inside the app upgrade script

Let me add something: the Netxcloud apps were up-to-date yesterday.
Thanks again :slight_smile:

Apparemment, c’est une table de l’app Teams/Circles qui pose problème. As-tu essayé -depuis /var/www/nextcloud-

sudo -u nextcloud php occ db:add-missing-indices
sudo -u nextcloud php occ db:add-missing-columns
sudo -u nextcloud php occ maintenance:repair

super, merci.
Je vais essayer ça et tiens au courant :+1:

Pardon pour mon incompétence, mais je sais me log in en SSH en tant qu’admin, mais je ne sais pas comment faire pour suivre ta recommandation depuis /var/www/nextcloud. Je ne parviens pas à accèder à cet espace, je n’ai pas les droits.
Merci d’avance de ton éclairage, et pour contribuer à mon éducation :slight_smile:

Pour être root user

sudo -i

Tu rentres ton mot de passe et Entrée

Magnifique !!
Tout refonctionne parfaitement :slight_smile:
Merci beaucoup pour ta précieuse aide et information !!!