What app is this about, and its version: Roundcube (roundcube) de 1.6.12~ynh1 à 1.6.13~ynh1
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Virtual machine
Describe your issue
Bonjour, j’ai le message suivant, merci de m’aider !
YunoHost a rencontré une erreur interne
Vraiment désolé de cela.
Vous devez chercher de l’aide sur le forum ou le chat pour corriger la situation, ou signaler le bug sur le bugtracker.
Les informations suivantes peuvent être utiles à la personne qui vous aide :
Erreur: “500”
Action: “PUT” /yunohost/api/apps/roundcube/upgrade
Message d’erreur :
Aborting the upgrade, because a safety backup could not be created (Échec de la collecte des fichiers à sauvegarder)
Pendant le traitement de l’action, le serveur a dit :
Collecte des fichiers devant être sauvegardés pour roundcube…
Declaring files to be backed up…
/var/cache/yunohost/app_tmp_work_dirs/app_csq_jksn/scripts/backup: ligne 33: phpversion : variable sans liaison
Échec de la collecte des fichiers à sauvegarder pour roundcube.
### Share relevant logs or error messages
args:
apps:
- roundcube
name: roundcube-pre-upgrade1
system: null
ended_at: 2026-02-13 15:39:57.757287
error: "\xC9chec de la collecte des fichiers \xE0 sauvegarder"
interface: api
operation: backup_create
parent: null
related_to:
- - app
- roundcube
started_at: 2026-02-13 15:39:55.831525
started_by: ******
success: false
yunohost_version: 12.1.39
============
2026-02-13 16:39:56,869: INFO - Collecte des fichiers devant être sauvegardés pour roundcube…
2026-02-13 16:39:56,886: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_hb2qc8ev/scripts/backup" 7>&1']'
2026-02-13 16:39:56,894: DEBUG - + source ../settings/scripts/_common.sh
2026-02-13 16:39:56,895: DEBUG - ++ YNH_COMPOSER_VERSION=2.5.5
2026-02-13 16:39:56,895: DEBUG - ++ contextmenu_version=3.3.1
2026-02-13 16:39:56,895: DEBUG - ++ automatic_addressbook_version=v0.4.3
2026-02-13 16:39:56,896: DEBUG - ++ carddav_version=5.1.0
2026-02-13 16:39:56,896: DEBUG - + source /usr/share/yunohost/helpers
2026-02-13 16:39:56,897: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2026-02-13 16:39:56,897: DEBUG - +++ cd -- /usr/share/yunohost
2026-02-13 16:39:56,897: DEBUG - +++ pwd
2026-02-13 16:39:56,898: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2026-02-13 16:39:56,898: DEBUG - ++ YNH_HELPERS_VERSION=2
2026-02-13 16:39:56,899: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2026-02-13 16:39:56,899: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2026-02-13 16:39:56,925: DEBUG - + ynh_print_info '--message=Declaring files to be backed up...'
2026-02-13 16:39:56,936: INFO - Declaring files to be backed up...
2026-02-13 16:39:56,936: DEBUG - + ynh_backup --src_path=/var/www/roundcube
2026-02-13 16:39:56,962: DEBUG - + dest_path=
2026-02-13 16:39:56,962: DEBUG - + is_big=0
2026-02-13 16:39:56,963: DEBUG - + not_mandatory=0
2026-02-13 16:39:56,963: DEBUG - + BACKUP_CORE_ONLY=1
2026-02-13 16:39:56,963: DEBUG - + test -n roundcube
2026-02-13 16:39:56,963: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=do_not_backup_data
2026-02-13 16:39:57,030: DEBUG - + do_not_backup_data=
2026-02-13 16:39:57,031: DEBUG - + '[' '!' -e /var/www/roundcube ']'
2026-02-13 16:39:57,031: DEBUG - ++ realpath /var/www/roundcube
2026-02-13 16:39:57,033: DEBUG - + src_path=/var/www/roundcube
2026-02-13 16:39:57,033: DEBUG - + [[ -z '' ]]
2026-02-13 16:39:57,033: DEBUG - + dest_path=var/www/roundcube
2026-02-13 16:39:57,034: DEBUG - + [[ -e var/www/roundcube ]]
2026-02-13 16:39:57,034: DEBUG - + local rel_dir=/apps/roundcube/backup
2026-02-13 16:39:57,034: DEBUG - + rel_dir=/apps/roundcube/backup/
2026-02-13 16:39:57,034: DEBUG - + dest_path=/apps/roundcube/backup/var/www/roundcube
2026-02-13 16:39:57,035: DEBUG - + dest_path=apps/roundcube/backup/var/www/roundcube
2026-02-13 16:39:57,035: DEBUG - ++ echo /var/www/roundcube
2026-02-13 16:39:57,035: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2026-02-13 16:39:57,036: DEBUG - + local src=/var/www/roundcube
2026-02-13 16:39:57,036: DEBUG - ++ echo apps/roundcube/backup/var/www/roundcube
2026-02-13 16:39:57,036: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2026-02-13 16:39:57,038: DEBUG - + local dest=apps/roundcube/backup/var/www/roundcube
2026-02-13 16:39:57,038: DEBUG - ++ dirname /home/yunohost.backup/tmp/roundcube-pre-upgrade1/apps/roundcube/backup/var/www/roundcube
2026-02-13 16:39:57,039: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/roundcube-pre-upgrade1/apps/roundcube/backup/var/www
2026-02-13 16:39:57,041: DEBUG - + ynh_backup --src_path=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2026-02-13 16:39:57,068: DEBUG - + dest_path=
2026-02-13 16:39:57,068: DEBUG - + is_big=0
2026-02-13 16:39:57,069: DEBUG - + not_mandatory=0
2026-02-13 16:39:57,069: DEBUG - + BACKUP_CORE_ONLY=1
2026-02-13 16:39:57,069: DEBUG - + test -n roundcube
2026-02-13 16:39:57,070: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=do_not_backup_data
2026-02-13 16:39:57,139: DEBUG - + do_not_backup_data=
2026-02-13 16:39:57,140: DEBUG - + '[' '!' -e /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf ']'
2026-02-13 16:39:57,140: DEBUG - ++ realpath /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2026-02-13 16:39:57,140: DEBUG - + src_path=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2026-02-13 16:39:57,141: DEBUG - + [[ -z '' ]]
2026-02-13 16:39:57,141: DEBUG - + dest_path=etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2026-02-13 16:39:57,141: DEBUG - + [[ -e etc/nginx/conf.d/maindomain.tld.d/roundcube.conf ]]
2026-02-13 16:39:57,142: DEBUG - + local rel_dir=/apps/roundcube/backup
2026-02-13 16:39:57,142: DEBUG - + rel_dir=/apps/roundcube/backup/
2026-02-13 16:39:57,142: DEBUG - + dest_path=/apps/roundcube/backup/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2026-02-13 16:39:57,143: DEBUG - + dest_path=apps/roundcube/backup/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2026-02-13 16:39:57,143: DEBUG - ++ echo /etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2026-02-13 16:39:57,143: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2026-02-13 16:39:57,143: DEBUG - + local src=/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2026-02-13 16:39:57,144: DEBUG - ++ echo apps/roundcube/backup/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2026-02-13 16:39:57,144: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2026-02-13 16:39:57,146: DEBUG - + local dest=apps/roundcube/backup/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2026-02-13 16:39:57,146: DEBUG - ++ dirname /home/yunohost.backup/tmp/roundcube-pre-upgrade1/apps/roundcube/backup/etc/nginx/conf.d/maindomain.tld.d/roundcube.conf
2026-02-13 16:39:57,147: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/roundcube-pre-upgrade1/apps/roundcube/backup/etc/nginx/conf.d/maindomain.tld.d
2026-02-13 16:39:57,154: WARNING - /var/cache/yunohost/app_tmp_work_dirs/app_hb2qc8ev/scripts/backup: ligne 33: phpversion : variable sans liaison
2026-02-13 16:39:57,154: DEBUG - ++ ynh_exit_properly
2026-02-13 16:39:57,155: DEBUG - ++ [[ backup =~ ^install$|^upgrade$|^restore$ ]]
2026-02-13 16:39:57,653: DEBUG - ++ exit 1
2026-02-13 16:39:57,754: DEBUG - Échec de l'exécution du script : /var/cache/yunohost/app_tmp_work_dirs/app_hb2qc8ev/scripts/backup
2026-02-13 16:39:57,756: ERROR - Échec de la collecte des fichiers à sauvegarder pour roundcube.