Mon serveur YunoHost
Matériel: VPS acheté en ligne
Version de YunoHost: 4.3.5 stable
J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran | …
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Description du problème
Bonjour,
La mise à jour de Nextcloud Mise à jour de 22.1.1~ynh1 à 22.2.3~ynh1 a échoué
Dans les logs j’ai le message d’erreur suivant :
2022-01-05 16:10:02,796: DEBUG - + current_major_version=22
2022-01-05 16:10:02,796: DEBUG - + exec_occ -V
2022-01-05 16:10:02,796: DEBUG - + '[' 22 = last ']'
2022-01-05 16:10:02,796: DEBUG - + '[' 22 -ge 15 ']'
2022-01-05 16:10:02,796: DEBUG - + NEXTCLOUD_PHP_VERSION=7.3
2022-01-05 16:10:02,797: DEBUG - + cd /var/www/nextcloud
2022-01-05 16:10:02,797: DEBUG - + ynh_exec_as nextcloud php7.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi -V
2022-01-05 16:10:02,797: DEBUG - + local user=nextcloud
2022-01-05 16:10:02,797: DEBUG - + shift 1
2022-01-05 16:10:02,798: DEBUG - ++ whoami
2022-01-05 16:10:02,801: DEBUG - + [[ nextcloud = root ]]
2022-01-05 16:10:02,801: DEBUG - + sudo -u nextcloud php7.3 --define apc.enable_cli=1 occ --no-interaction --no-ansi -V
2022-01-05 16:10:03,163: WARNING - 0/0 [->--------------------------] 0%PHP Fatal error: Cannot use OCP\Constants as Constants because the name is already in use in /var/www/nextcloud/apps/groupfolders/lib/Command/ACL.php on line 35
2022-01-05 16:10:03,184: DEBUG - + ynh_exit_properly
2022-01-05 16:10:03,184: DEBUG - + local exit_code=255
2022-01-05 16:10:03,185: DEBUG - + '[' 255 -eq 0 ']'
2022-01-05 16:10:03,688: DEBUG - + ynh_clean_setup
2022-01-05 16:10:03,688: DEBUG - + ynh_restore_upgradebackup
2022-01-05 16:10:03,688: DEBUG - + ynh_print_err '--message=Upgrade failed.'
2022-01-05 16:10:03,699: DEBUG - + ynh_print_log '[Error] Upgrade failed.'
2022-01-05 16:10:03,699: DEBUG - + echo -e '[Error] Upgrade failed.'
2022-01-05 16:10:03,699: DEBUG - + local app_bck=nextcloud
2022-01-05 16:10:03,700: DEBUG - + NO_BACKUP_UPGRADE=0
2022-01-05 16:10:03,700: DEBUG - + ynh_backup_archive_exists nextcloud-pre-upgrade2
2022-01-05 16:10:03,700: WARNING - [Error] Upgrade failed.
2022-01-05 16:10:03,701: DEBUG - + jq -e --arg archive nextcloud-pre-upgrade2 '.archives | index($archive)'
2022-01-05 16:10:03,703: DEBUG - + yunohost backup list --output-as json --quiet
2022-01-05 16:10:03,892: DEBUG - + yunohost app remove nextcloud
Nextcloud est bien revenu à son état initial et fonctionne normalement.
Pourriez-vous m’aider à résoudre ce problème ?
Merci d’avance.