Bonjour à tous
Grosse erreur lors de la mise a jour de nextcloud (master) ce soir … voici les infos :
Mon serveur YunoHost
Matériel: Raspberry Pi à la maison
Version de YunoHost: 4.1.4.4 (stable)
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 lancé ce soir la mise a jour de nextcloud depuis la 19.0.3 vers la 20.0.4
Malheureusement le processus ne s’est pas bien déroulé et maintenant nextcloud ne répond plus …
403 Forbidden
les logs complets sont ici : https://paste.yunohost.org/raw/toniqapice
ci dessous le log du terminal (ssh) lors de l’installation :
~ $ sudo yunohost tools upgrade --apps nextcloud
Info: Now upgrading nextcloud...
Info: [....................] > Loading installation settings...
Info: [+...................] > Ensuring downward compatibility...
Info: [#++++++++...........] > Backing up the app before upgrading (may take a while)...
Info: [#########++.........] > Upgrading dependencies...
Info: [###########+........] > Making sure dedicated system user exists...
Info: [############........] > Upgrading PHP-FPM configuration...
Info: [############+.......] > Upgrading NGINX web server configuration...
Info: The service nginx has correctly executed the action reload-or-restart.
Info: [#############+......] > Upgrading Nextcloud...
Info: Upgrade to nextcloud 20.0.0
Info: '/tmp/tmp.wbFcejvnGb' wasn't deleted because it doesn't exist.
Warning: Starting ...
Warning: 0/0 [>---------------------------] 0% Starting ...
Info: Upgrade to nextcloud 20.0.4
Info: '/tmp/tmp.RH7n5w2kbk' wasn't deleted because it doesn't exist.
Warning: 0/0 [->--------------------------] 0% Starting ...
Warning: 0/0 [>---------------------------] 0%Unable to upgrade Nextcloud
Warning: [Error] Upgrade failed.
Info: '/tmp/owncloud_post_migration.sh' wasn't deleted because it doesn't exist.
Warning: /usr/share/yunohost/helpers.d/backup: line 461: 27645 Killed exit "$ret_code"
Warning: 2906 The following apps can't be restored because they are already installed: nextcloud
Warning: The app was restored to the way it was before the failed upgrade.
Error: Could not upgrade nextcloud: An error occurred inside the app upgrade script
Info: The operation 'Upgrade the 'nextcloud' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20210111-201342-app_upgrade-nextcloud --share' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - 44761 + echo 'Backing up data directory...'
Info: DEBUG - 44762 + ynh_backup --src_path=/home/yunohost.app/nextcloud/data --is_big
Info: DEBUG - 44969 + dest_path=
Info: DEBUG - 44970 + is_big=1
Info: DEBUG - 44971 + not_mandatory=0
Info: DEBUG - 44971 + BACKUP_CORE_ONLY=1
Info: DEBUG - 44972 + test -n nextcloud
Info: DEBUG - 44972 ++ ynh_app_setting_get --app=nextcloud --key=do_not_backup_data
Info: DEBUG - 45077 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
Info: DEBUG - 45078 ++ ynh_app_setting get nextcloud do_not_backup_data
Info: DEBUG - 45480 + do_not_backup_data=
Info: DEBUG - 45481 + '[' 1 -eq 1 ']'
Info: DEBUG - 45482 + '[' 0 -eq 1 ']'
Info: DEBUG - 45482 + '[' 1 -eq 1 ']'
Info: DEBUG - 45483 + '[' 1 -eq 1 ']'
Info: DEBUG - 45483 + ynh_print_info '--message=/home/yunohost.app/nextcloud/data will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
Info: DEBUG - 45487 + echo '/home/yunohost.app/nextcloud/data will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
Info: DEBUG - 45488 + return 0
Info: DEBUG - 45489 + ynh_print_info '--message=Backup script completed for nextcloud. (YunoHost will then actually copy those files to the archive).'
Info: DEBUG - 45594 + echo 'Backup script completed for nextcloud. (YunoHost will then actually copy those files to the archive).'
Info: DEBUG - 45595 + ynh_exit_properly
Warning: unable to upgrade apps: The operation 'Upgrade the 'nextcloud' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20210111-201342-app_upgrade-nextcloud --share' to get help
Error: Some apps could not be upgraded
Un grand merci pour votre aide !