Problème Nextcloud après migration V11

Mon serveur YunoHost

Matériel: VM sur serveur dédier
Version de YunoHost: 11.0.10.2
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

J’ai lancer la migration de mon serveur de V4 à V11 et a la fin de la migration j’ai des erreurs sur le service nextcloud.
Pouvez-vous m’aide s’il vous plait ^^

Voici des messages d’erreurs:
2022-12-11 21:57:59,205: DEBUG - 87383 + ynh_secure_remove --file=/var/www/nextcloud
2022-12-11 21:57:59,774: DEBUG - 87953 [#############+…] > Removing NGINX web server configuration…
2022-12-11 21:57:59,775: DEBUG - 87953 + echo ‘[#############+…] > Removing NGINX web server configuration…’
2022-12-11 21:57:59,775: DEBUG - 87953 + ynh_remove_nginx_config
2022-12-11 21:57:59,775: DEBUG - 87954 + ynh_secure_remove --file=/etc/nginx/conf.d/maindomain.tld.d/nextcloud.conf
2022-12-11 21:57:59,797: DEBUG - 87975 + ynh_systemd_action --service_name=nginx --action=reload
2022-12-11 21:57:59,886: DEBUG - 88065 + service_name=nginx
2022-12-11 21:57:59,886: DEBUG - 88065 + action=reload
2022-12-11 21:57:59,886: DEBUG - 88065 + line_match=
2022-12-11 21:57:59,887: DEBUG - 88065 + length=20
2022-12-11 21:57:59,887: DEBUG - 88065 + log_path=/var/log/nginx/nginx.log
2022-12-11 21:57:59,887: DEBUG - 88065 + timeout=300
2022-12-11 21:57:59,887: DEBUG - 88065 + ‘[’ reload == stop ‘]’
2022-12-11 21:57:59,887: DEBUG - 88066 + ‘[’ reload == reload ‘]’
2022-12-11 21:57:59,887: DEBUG - 88066 + action=reload-or-restart
2022-12-11 21:57:59,887: DEBUG - 88066 + systemctl reload-or-restart nginx
2022-12-11 21:58:00,342: DEBUG - 88522 + echo ‘[##############+…] > Removing PHP-FPM configuration…’
2022-12-11 21:58:00,343: DEBUG - 88522 + ynh_remove_fpm_config
2022-12-11 21:58:00,343: DEBUG - 88522 [##############+…] > Removing PHP-FPM configuration…
2022-12-11 21:58:00,343: DEBUG - 88523 ++ ynh_app_setting_get --app=nextcloud --key=fpm_config_dir
2022-12-11 21:58:00,344: DEBUG - 88524 ++ local globalapp=nextcloud
2022-12-11 21:58:00,395: DEBUG - 88574 ++ app=nextcloud
2022-12-11 21:58:00,395: DEBUG - 88574 ++ [[ fpm_config_dir =~ (unprotected|protected|skipped)
]]
2022-12-11 21:58:00,395: DEBUG - 88574 ++ ynh_app_setting get nextcloud fpm_config_dir
2022-12-11 21:58:00,447: DEBUG - 88627 + local fpm_config_dir=/etc/php/7.4/fpm
2022-12-11 21:58:00,448: DEBUG - 88628 ++ ynh_app_setting_get --app=nextcloud --key=fpm_service
2022-12-11 21:58:00,449: DEBUG - 88628 ++ local globalapp=nextcloud
2022-12-11 21:58:00,483: DEBUG - 88662 ++ app=nextcloud
2022-12-11 21:58:00,483: DEBUG - 88662 ++ [[ fpm_service =~ (unprotected|protected|skipped)
]]
2022-12-11 21:58:00,483: DEBUG - 88662 ++ ynh_app_setting get nextcloud fpm_service
2022-12-11 21:58:00,535: DEBUG - 88714 + local fpm_service=php7.4-fpm
2022-12-11 21:58:00,536: DEBUG - 88715 ++ ynh_app_setting_get --app=nextcloud --key=fpm_dedicated_service
2022-12-11 21:58:00,536: DEBUG - 88716 ++ local globalapp=nextcloud
2022-12-11 21:58:00,573: DEBUG - 88752 ++ app=nextcloud
2022-12-11 21:58:00,573: DEBUG - 88752 ++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)
]]
2022-12-11 21:58:00,573: DEBUG - 88752 ++ ynh_app_setting get nextcloud fpm_dedicated_service
2022-12-11 21:58:00,626: DEBUG - 88805 + local dedicated_service=0
2022-12-11 21:58:00,626: DEBUG - 88806 + dedicated_service=0
2022-12-11 21:58:00,627: DEBUG - 88806 ++ ynh_app_setting_get --app=nextcloud --key=phpversion
2022-12-11 21:58:00,627: DEBUG - 88806 ++ local globalapp=nextcloud
2022-12-11 21:58:00,664: DEBUG - 88843 ++ app=nextcloud
2022-12-11 21:58:00,664: DEBUG - 88843 ++ [[ phpversion =~ (unprotected|protected|skipped)
]]
2022-12-11 21:58:00,664: DEBUG - 88843 ++ ynh_app_setting get nextcloud phpversion
2022-12-11 21:58:00,719: DEBUG - 88898 + local phpversion=7.4
2022-12-11 21:58:00,720: DEBUG - 88898 + phpversion=7.4
2022-12-11 21:58:00,720: DEBUG - 88898 + ‘[’ -z /etc/php/7.4/fpm ‘]’
2022-12-11 21:58:00,720: DEBUG - 88898 + ynh_secure_remove --file=/etc/php/7.4/fpm/pool.d/nextcloud.conf
2022-12-11 21:58:00,741: DEBUG - 88920 + ‘[’ -e /etc/php/7.4/fpm/conf.d/20-nextcloud.ini ‘]’
2022-12-11 21:58:00,741: DEBUG - 88920 + ynh_package_is_installed --package=php7.4-fpm
2022-12-11 21:58:00,758: DEBUG - 88938 + ynh_wait_dpkg_free
2022-12-11 21:58:01,030: DEBUG - 89209 + return 0
2022-12-11 21:58:01,031: DEBUG - 89210 + grep --count ‘ok installed’
2022-12-11 21:58:01,033: DEBUG - 89212 + dpkg-query --show ‘–showformat=${Status}’ php7.4-fpm
2022-12-11 21:58:01,051: DEBUG - 89230 + ynh_systemd_action --service_name=php7.4-fpm --action=reload
2022-12-11 21:58:01,139: DEBUG - 89317 + service_name=php7.4-fpm
2022-12-11 21:58:01,139: DEBUG - 89317 + action=reload
2022-12-11 21:58:01,139: DEBUG - 89317 + line_match=
2022-12-11 21:58:01,139: DEBUG - 89317 + length=20
2022-12-11 21:58:01,139: DEBUG - 89318 + log_path=/var/log/php7.4-fpm/php7.4-fpm.log
2022-12-11 21:58:01,139: DEBUG - 89318 + timeout=300
2022-12-11 21:58:01,139: DEBUG - 89318 + ‘[’ reload == stop ‘]’
2022-12-11 21:58:01,139: DEBUG - 89318 + ‘[’ reload == reload ‘]’
2022-12-11 21:58:01,139: DEBUG - 89318 + action=reload-or-restart
2022-12-11 21:58:01,140: DEBUG - 89318 + systemctl reload-or-restart php7.4-fpm
2022-12-11 21:58:01,182: DEBUG - 89361 + ‘[’ 7.4 ‘!=’ 7.4 ‘]’
2022-12-11 21:58:01,417: DEBUG - 89596 + echo ‘[###############…] > Removing logrotate configuration…’
2022-12-11 21:58:01,417: DEBUG - 89596 + ynh_remove_logrotate
2022-12-11 21:58:01,417: DEBUG - 89596 + ‘[’ -e /etc/logrotate.d/nextcloud ‘]’
2022-12-11 21:58:01,417: DEBUG - 89596 + rm /etc/logrotate.d/nextcloud
2022-12-11 21:58:01,417: DEBUG - 89596 [###############…] > Removing logrotate configuration…
2022-12-11 21:58:01,618: DEBUG - 89797 + echo ‘[###############++++.] > Removing Fail2Ban configuration…’
2022-12-11 21:58:01,619: DEBUG - 89797 + ynh_remove_fail2ban_config
2022-12-11 21:58:01,619: DEBUG - 89797 + ynh_secure_remove --file=/etc/fail2ban/jail.d/nextcloud.conf
2022-12-11 21:58:01,619: DEBUG - 89798 [###############++++.] > Removing Fail2Ban configuration…
2022-12-11 21:58:01,642: DEBUG - 89821 + echo ‘’'‘/etc/fail2ban/jail.d/nextcloud.conf’'’ wasn’'‘t deleted because it doesn’'‘t exist.’
2022-12-11 21:58:01,643: DEBUG - 89821 + ynh_secure_remove --file=/etc/fail2ban/filter.d/nextcloud.conf
2022-12-11 21:58:01,643: DEBUG - 89822 ‘/etc/fail2ban/jail.d/nextcloud.conf’ wasn’t deleted because it doesn’t exist.
2022-12-11 21:58:01,664: DEBUG - 89842 + echo ‘’'‘/etc/fail2ban/filter.d/nextcloud.conf’'’ wasn’'‘t deleted because it doesn’'‘t exist.’
2022-12-11 21:58:01,664: DEBUG - 89843 + ynh_systemd_action --service_name=fail2ban --action=reload
2022-12-11 21:58:01,665: DEBUG - 89844 ‘/etc/fail2ban/filter.d/nextcloud.conf’ wasn’t deleted because it doesn’t exist.
2022-12-11 21:58:01,762: DEBUG - 89940 + service_name=fail2ban
2022-12-11 21:58:01,762: DEBUG - 89941 + action=reload
2022-12-11 21:58:01,762: DEBUG - 89941 + line_match=
2022-12-11 21:58:01,762: DEBUG - 89941 + length=20
2022-12-11 21:58:01,762: DEBUG - 89941 + log_path=/var/log/fail2ban/fail2ban.log
2022-12-11 21:58:01,762: DEBUG - 89941 + timeout=300
2022-12-11 21:58:01,762: DEBUG - 89941 + ‘[’ reload == stop ‘]’
2022-12-11 21:58:01,763: DEBUG - 89941 + ‘[’ reload == reload ‘]’
2022-12-11 21:58:01,763: DEBUG - 89941 + action=reload-or-restart
2022-12-11 21:58:01,763: DEBUG - 89941 + systemctl reload-or-restart fail2ban
2022-12-11 21:58:02,124: DEBUG - 90303 + ynh_secure_remove --file=/etc/cron.d/nextcloud
2022-12-11 21:58:02,155: DEBUG - 90335 ++ ls /home
2022-12-11 21:58:02,157: DEBUG - 90336 + for i in $(ls /home)
2022-12-11 21:58:02,157: DEBUG - 90336 + [[ ! admin == yunohost.* ]]
2022-12-11 21:58:02,157: DEBUG - 90337 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,158: DEBUG - 90338 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,159: DEBUG - 90338 + for i in $(ls /home)
2022-12-11 21:58:02,159: DEBUG - 90338 + [[ ! adminberge == yunohost.* ]]
2022-12-11 21:58:02,159: DEBUG - 90338 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,159: DEBUG - 90339 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,160: DEBUG - 90339 + for i in $(ls /home)
2022-12-11 21:58:02,160: DEBUG - 90339 + [[ ! adminberge2 == yunohost.* ]]
2022-12-11 21:58:02,160: DEBUG - 90339 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,160: DEBUG - 90340 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,161: DEBUG - 90340 + for i in $(ls /home)
2022-12-11 21:58:02,161: DEBUG - 90340 + [[ ! afconcept == yunohost.* ]]
2022-12-11 21:58:02,161: DEBUG - 90341 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,162: DEBUG - 90341 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,162: DEBUG - 90342 + for i in $(ls /home)
2022-12-11 21:58:02,162: DEBUG - 90342 + [[ ! brunopartouche == yunohost.* ]]
2022-12-11 21:58:02,162: DEBUG - 90342 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,163: DEBUG - 90342 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,163: DEBUG - 90343 + for i in $(ls /home)
2022-12-11 21:58:02,163: DEBUG - 90343 + [[ ! contact == yunohost.* ]]
2022-12-11 21:58:02,163: DEBUG - 90343 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,164: DEBUG - 90344 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,164: DEBUG - 90344 + for i in $(ls /home)
2022-12-11 21:58:02,165: DEBUG - 90344 + [[ ! corinne == yunohost.* ]]
2022-12-11 21:58:02,165: DEBUG - 90345 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,165: DEBUG - 90345 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,165: DEBUG - 90345 + for i in $(ls /home)
2022-12-11 21:58:02,166: DEBUG - 90345 + [[ ! francine == yunohost.* ]]
2022-12-11 21:58:02,166: DEBUG - 90346 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,166: DEBUG - 90346 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,167: DEBUG - 90346 + for i in $(ls /home)
2022-12-11 21:58:02,167: DEBUG - 90347 + [[ ! info == yunohost.* ]]
2022-12-11 21:58:02,167: DEBUG - 90347 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,168: DEBUG - 90347 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,168: DEBUG - 90348 + for i in $(ls /home)
2022-12-11 21:58:02,168: DEBUG - 90348 + [[ ! nextcloud == yunohost.* ]]
2022-12-11 21:58:02,168: DEBUG - 90348 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,169: DEBUG - 90348 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,169: DEBUG - 90349 + for i in $(ls /home)
2022-12-11 21:58:02,169: DEBUG - 90349 + [[ ! synapse == yunohost.* ]]
2022-12-11 21:58:02,170: DEBUG - 90349 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,170: DEBUG - 90350 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,170: DEBUG - 90350 + for i in $(ls /home)
2022-12-11 21:58:02,171: DEBUG - 90350 + [[ ! timeo == yunohost.* ]]
2022-12-11 21:58:02,171: DEBUG - 90351 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,171: DEBUG - 90351 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,171: DEBUG - 90351 + for i in $(ls /home)
2022-12-11 21:58:02,172: DEBUG - 90351 + [[ ! ttdossenheim == yunohost.* ]]
2022-12-11 21:58:02,172: DEBUG - 90352 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,172: DEBUG - 90352 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,173: DEBUG - 90352 + for i in $(ls /home)
2022-12-11 21:58:02,173: DEBUG - 90353 + [[ ! tyczy == yunohost.* ]]
2022-12-11 21:58:02,173: DEBUG - 90353 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,174: DEBUG - 90353 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,174: DEBUG - 90354 + for i in $(ls /home)
2022-12-11 21:58:02,175: DEBUG - 90354 + [[ ! yck == yunohost.* ]]
2022-12-11 21:58:02,180: DEBUG - 90359 + setfacl --remove g:nextcloud:rwx
2022-12-11 21:58:02,180: DEBUG - 90360 setfacl : Option -x : Argument invalide près du caractère 13
2022-12-11 21:58:02,180: DEBUG - 90360 + for i in $(ls /home)
2022-12-11 21:58:02,180: DEBUG - 90360 + [[ ! yunohost.app == yunohost.* ]]
2022-12-11 21:58:02,181: DEBUG - 90360 + for i in $(ls /home)
2022-12-11 21:58:02,181: DEBUG - 90360 + [[ ! yunohost.backup == yunohost.* ]]
2022-12-11 21:58:02,181: DEBUG - 90360 + for i in $(ls /home)
2022-12-11 21:58:02,181: DEBUG - 90361 + [[ ! yunohost.multimedia == yunohost.* ]]
2022-12-11 21:58:02,224: DEBUG - 90402 [###################.] > Removing the dedicated system user…
2022-12-11 21:58:02,224: DEBUG - 90402 + echo ‘[###################.] > Removing the dedicated system user…’
2022-12-11 21:58:02,224: DEBUG - 90403 + ynh_system_user_delete --username=nextcloud
2022-12-11 21:58:02,234: DEBUG - 90413 + ynh_system_user_exists nextcloud
2022-12-11 21:58:02,244: DEBUG - 90424 + getent passwd nextcloud
2022-12-11 21:58:02,246: DEBUG - 90425 + deluser nextcloud
2022-12-11 21:58:02,319: DEBUG - 90499 Suppression de l’utilisateur « nextcloud »…
2022-12-11 21:58:02,320: DEBUG - 90499 Attention ! Le groupe « nextcloud » ne contient plus aucun membre.
2022-12-11 21:58:02,472: DEBUG - 90652 Fait.
2022-12-11 21:58:02,473: DEBUG - 90652 + ynh_system_group_exists nextcloud
2022-12-11 21:58:02,486: DEBUG - 90666 + getent group nextcloud
2022-12-11 21:58:02,565: DEBUG - 90744 + echo ‘[####################] > Removal of nextcloud completed’
2022-12-11 21:58:02,565: DEBUG - 90745 [####################] > Removal of nextcloud completed
2022-12-11 21:58:03,569: DEBUG - 91746 Pour voir le journal de cette opération ‘Retirer ‘nextcloud’ après un échec de restauration depuis une archive de sauvegarde’, utilisez la commande ‘yunohost log show 20221211-205744-remove_on_failed_restore-nextcloud’
2022-12-11 21:58:04,153: DEBUG - 92333 The permission database has been resynchronized
2022-12-11 21:58:04,389: DEBUG - 92568 La configuration de SSOwat a été regénérée
2022-12-11 21:58:04,395: DEBUG - 92574 Permission ‘nextcloud.api’ supprimée
2022-12-11 21:58:04,396: DEBUG - 92574 Pour voir le journal de cette opération ‘Supprimer permission ‘nextcloud’’, utilisez la commande ‘yunohost log show 20221211-205803-permission_delete-nextcloud’
2022-12-11 21:58:04,795: DEBUG - 92975 The permission database has been resynchronized
2022-12-11 21:58:05,050: DEBUG - 93229 La configuration de SSOwat a été regénérée
2022-12-11 21:58:05,057: DEBUG - 93235 Permission ‘nextcloud.main’ supprimée
2022-12-11 21:58:05,057: DEBUG - 93235 Pour voir le journal de cette opération ‘Supprimer permission ‘nextcloud’’, utilisez la commande ‘yunohost log show 20221211-205804-permission_delete-nextcloud’
2022-12-11 21:58:05,065: WARNING - 93245 L’opération ‘Restaurer ‘nextcloud’ depuis une sauvegarde’ a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en utilisant la commande ‘yunohost log share 20221211-205639-backup_restore_app-nextcloud’
2022-12-11 21:58:05,239: DEBUG - 93419 The permission database has been resynchronized
2022-12-11 21:58:05,474: DEBUG - 93653 La configuration de SSOwat a été regénérée
2022-12-11 21:58:05,488: DEBUG - 93667 action [10026.1] executed in 93.528s
2022-12-11 21:58:05,488: WARNING - 93668 Rien n’a été restauré
2022-12-11 21:58:05,531: DEBUG - + [[ -d /etc/yunohost/apps/nextcloud ]]
2022-12-11 21:58:05,531: DEBUG - + ynh_die ‘–message=Uhoh … Yunohost failed to restore the app to the way it was before the failed upgrade :|’
2022-12-11 21:58:05,552: WARNING - Uhoh … Yunohost failed to restore the app to the way it was before the failed upgrade :expressionless:
2022-12-11 21:58:06,554: ERROR - Impossible de mettre à jour nextcloud : Une erreur s’est produite durant l’exécution du script de mise à niveau de l’application

Petite précision, depuis la migration en yunohost 11 je n’arrive pas non plus à refaire une nouvelle installation de nextcloud

voici les log : https://paste.yunohost.org/raw/uguzetawoh

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