Ok, merci à vous.
J’ai pu désinstaller docker-ce via
apt-get remove --auto-remove docker-ce
J’ai pu lancer :
yunohost tools update
yunohost tools upgrade --system
Qui a fonctionné, cependant j’ai perdu mon nextcloud
Voici le log :
2019-11-28 18:23:30,874: DEBUG - 72914 + local username
2019-11-28 18:23:30,874: DEBUG - 72914 + ynh_handle_getopts_args --username=nextcloud
2019-11-28 18:23:30,874: DEBUG - 72914 + set +x
2019-11-28 18:23:30,876: DEBUG - 72914 + ynh_system_user_exists nextcloud
2019-11-28 18:23:30,876: DEBUG - 72914 + local legacy_args=u
2019-11-28 18:23:30,876: DEBUG - 72914 + args_array=([u]=username=)
2019-11-28 18:23:30,876: DEBUG - 72914 + declare -Ar args_array
2019-11-28 18:23:30,876: DEBUG - 72914 + local username
2019-11-28 18:23:30,877: DEBUG - 72914 + ynh_handle_getopts_args nextcloud
2019-11-28 18:23:30,877: DEBUG - 72915 + set +x
2019-11-28 18:23:30,877: DEBUG - 72915 + echo ‘! Helper used in legacy mode !’
2019-11-28 18:23:30,879: DEBUG - 72915 + set +x
2019-11-28 18:23:30,879: DEBUG - 72915 + getent passwd nextcloud
2019-11-28 18:23:30,879: DEBUG - 72915 + deluser nextcloud
2019-11-28 18:23:30,879: DEBUG - 73017 Removing user nextcloud' ... 2019-11-28 18:23:30,879: DEBUG - 73018 Warning: group
nextcloud’ has no more members.
2019-11-28 18:23:30,980: DEBUG - 73119 Done.
2019-11-28 18:23:30,981: DEBUG - 73120 + ynh_system_group_exists nextcloud
2019-11-28 18:23:30,981: DEBUG - 73120 + local legacy_args=g
2019-11-28 18:23:30,981: DEBUG - 73120 + args_array=([g]=group=)
2019-11-28 18:23:30,981: DEBUG - 73120 + declare -Ar args_array
2019-11-28 18:23:30,982: DEBUG - 73121 + local group
2019-11-28 18:23:30,982: DEBUG - 73121 + ynh_handle_getopts_args nextcloud
2019-11-28 18:23:30,982: DEBUG - 73121 + set +x
2019-11-28 18:23:30,982: DEBUG - 73121 + echo ‘! Helper used in legacy mode !’
2019-11-28 18:23:30,982: DEBUG - 73121 + set +x
2019-11-28 18:23:30,982: DEBUG - 73121 + getent group nextcloud
2019-11-28 18:23:30,983: DEBUG - 73121 + ynh_script_progression ‘–message=Removal of nextcloud completed’ --last
2019-11-28 18:23:30,983: DEBUG - 73122 + set +x
2019-11-28 18:23:30,983: DEBUG - 73122 + set +x
2019-11-28 18:23:30,983: DEBUG - 73122 + echo ‘! Helper used in legacy mode !’
2019-11-28 18:23:30,983: DEBUG - 73122 + set +x
2019-11-28 18:23:30,984: DEBUG - 73122 + echo ‘[####################] > Removal of nextcloud completed’
2019-11-28 18:23:30,984: DEBUG - 73122 + set -x
2019-11-28 18:23:31,085: DEBUG - 73229 [####################] > Removal of nextcloud completed
2019-11-28 18:23:31,186: DEBUG - 73264 To view the log of the operation ‘Remove ‘nextcloud’ after a failed restore from a backup archive’, use the command ‘yunohost log display 20191128-172307-remove_on_failed_restore-nextcloud’
2019-11-28 18:23:31,186: WARNING - 73274 Nothing has been restored
2019-11-28 18:23:31,187: DEBUG - 73273 action [10722.1] executed in 72.987s
2019-11-28 18:23:31,187: WARNING - The app was restored to the way it was before the failed upgrade.
2019-11-28 18:23:31,188: DEBUG - + ynh_die ‘–message=The app was restored to the way it was before the failed upgrade.’
2019-11-28 18:23:31,188: DEBUG - + local legacy_args=mc
2019-11-28 18:23:31,188: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-11-28 18:23:31,189: DEBUG - + declare -Ar args_array
2019-11-28 18:23:31,189: DEBUG - + local message
2019-11-28 18:23:31,189: DEBUG - + local ret_code
2019-11-28 18:23:31,189: DEBUG - + ynh_handle_getopts_args ‘–message=The app was restored to the way it was before the failed upgrade.’
2019-11-28 18:23:31,189: DEBUG - + set +x
2019-11-28 18:23:31,190: DEBUG - + echo ‘The app was restored to the way it was before the failed upgrade.’
2019-11-28 18:23:31,190: DEBUG - + exit 1
2019-11-28 18:23:31,320: ERROR - Impossible de mettre à jour nextcloud
Puis nextcloud a été retiré :
2019-11-28 18:22:16,848: DEBUG - + ynh_script_progression '--message=Removing the dedicated system user...'
2019-11-28 18:22:16,848: DEBUG - + set +x
2019-11-28 18:22:16,849: DEBUG - + set +x
2019-11-28 18:22:16,849: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-28 18:22:16,849: DEBUG - + set +x
2019-11-28 18:22:16,849: DEBUG - + echo ‘[###################.] > Removing the dedicated system user…’
2019-11-28 18:22:16,849: DEBUG - + set -x
2019-11-28 18:22:16,849: DEBUG - + ynh_system_user_delete --username=nextcloud
2019-11-28 18:22:16,849: DEBUG - + local legacy_args=u
2019-11-28 18:22:16,849: DEBUG - + args_array=([u]=username=)
2019-11-28 18:22:16,849: DEBUG - + declare -Ar args_array
2019-11-28 18:22:16,849: DEBUG - + local username
2019-11-28 18:22:16,849: DEBUG - + ynh_handle_getopts_args --username=nextcloud
2019-11-28 18:22:16,849: DEBUG - + set +x
2019-11-28 18:22:16,850: DEBUG - + ynh_system_user_exists nextcloud
2019-11-28 18:22:16,850: DEBUG - + local legacy_args=u
2019-11-28 18:22:16,850: DEBUG - + args_array=([u]=username=)
2019-11-28 18:22:16,850: DEBUG - + declare -Ar args_array
2019-11-28 18:22:16,850: DEBUG - + local username
2019-11-28 18:22:16,850: DEBUG - + ynh_handle_getopts_args nextcloud
2019-11-28 18:22:16,850: DEBUG - + set +x
2019-11-28 18:22:16,850: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-28 18:22:16,850: DEBUG - + set +x
2019-11-28 18:22:16,850: DEBUG - + getent passwd nextcloud
2019-11-28 18:22:16,850: DEBUG - + deluser nextcloud
2019-11-28 18:22:16,951: DEBUG - Removing user nextcloud' ... 2019-11-28 18:22:16,951: DEBUG - Warning: group
nextcloud’ has no more members.
2019-11-28 18:22:17,152: DEBUG - Done.
2019-11-28 18:22:17,254: DEBUG - + ynh_system_group_exists nextcloud
2019-11-28 18:22:17,254: DEBUG - + local legacy_args=g
2019-11-28 18:22:17,255: DEBUG - + args_array=([g]=group=)
2019-11-28 18:22:17,255: DEBUG - + declare -Ar args_array
2019-11-28 18:22:17,255: DEBUG - + local group
2019-11-28 18:22:17,255: DEBUG - + ynh_handle_getopts_args nextcloud
2019-11-28 18:22:17,255: DEBUG - + set +x
2019-11-28 18:22:17,255: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-28 18:22:17,255: DEBUG - + set +x
2019-11-28 18:22:17,256: DEBUG - + getent group nextcloud
2019-11-28 18:22:17,256: DEBUG - + ynh_script_progression ‘–message=Removal of nextcloud completed’ --last
2019-11-28 18:22:17,256: DEBUG - + set +x
2019-11-28 18:22:17,256: DEBUG - + set +x
2019-11-28 18:22:17,256: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-28 18:22:17,256: DEBUG - + set +x
2019-11-28 18:22:17,257: DEBUG - + echo ‘[####################] > Removal of nextcloud completed’
2019-11-28 18:22:17,257: DEBUG - + set -x
2019-11-28 18:22:17,257: INFO - [####################] > Removal of nextcloud completed
2019-11-28 18:22:17,309: SUCCESS - nextcloud has been removed
2019-11-28 18:22:17,309: DEBUG - system hook folder not found for action ‘post_app_remove’ in /usr/share/yunohost/hooks/
2019-11-28 18:22:17,310: DEBUG - custom hook folder not found for action ‘post_app_remove’ in /etc/yunohost/hooks.d/
2019-11-28 18:22:17,733: SUCCESS - The SSOwat configuration has been generated
Puis la restauration a échouée :
2019-11-28 18:23:07,126: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - Processing triggers for systemd (232-25+deb9u12) ...
2019-11-28 18:23:07,126: DEBUG - + ynh_handle_getopts_args ‘–message=!!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-11-28 18:23:07,126: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - Processing triggers for man-db (2.7.6.1-2) …
2019-11-28 18:23:07,127: DEBUG - + set +x
2019-11-28 18:23:07,127: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - Setting up libtalloc2:amd64 (2.1.8-1) …
2019-11-28 18:23:07,127: DEBUG - + ynh_print_log ‘\e[91m\e[1m[ERR]\e[0m !!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-11-28 18:23:07,128: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - Setting up python-talloc (2.1.8-1) …
2019-11-28 18:23:07,128: DEBUG - + echo -e ‘\e[91m\e[1m[ERR]\e[0m !!\n nextcloud’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-11-28 18:23:07,128: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - Setting up libtevent0:amd64 (0.9.31-1) …
2019-11-28 18:23:07,128: DEBUG - + ‘[’ cli == cli ‘]’
2019-11-28 18:23:07,129: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - Setting up libldb1:amd64 (2:1.1.27-1+deb9u1) …
2019-11-28 18:23:07,129: DEBUG - + set +x
2019-11-28 18:23:07,129: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - Setting up samba-libs:amd64 (2:4.5.16+dfsg-1+deb9u2) …
2019-11-28 18:23:07,130: DEBUG - + type -t ynh_clean_setup
2019-11-28 18:23:07,130: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - Setting up libsmbclient:amd64 (2:4.5.16+dfsg-1+deb9u2) …
2019-11-28 18:23:07,131: DEBUG - + ynh_die
2019-11-28 18:23:07,131: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - Setting up smbclient (2:4.5.16+dfsg-1+deb9u2) …
2019-11-28 18:23:07,131: DEBUG - + local legacy_args=mc
2019-11-28 18:23:07,132: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) …
2019-11-28 18:23:07,132: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-11-28 18:23:07,132: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - Errors were encountered while processing:
2019-11-28 18:23:07,132: DEBUG - + declare -Ar args_array
2019-11-28 18:23:07,133: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - docker-ce
2019-11-28 18:23:07,133: DEBUG - + local message
2019-11-28 18:23:07,133: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + ynh_die ‘–message=Unable to install dependencies’
2019-11-28 18:23:07,133: DEBUG - + local ret_code
2019-11-28 18:23:07,134: WARNING - e[34me[1m[DEBUG]e[0m: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2019-11-28 18:23:07,134: DEBUG - + ynh_handle_getopts_args
2019-11-28 18:23:07,134: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + local legacy_args=mc
2019-11-28 18:23:07,134: DEBUG - + set +x
2019-11-28 18:23:07,134: WARNING - e[34me[1m[DEBUG]e[0m: WARNING - Unable to install dependencies
2019-11-28 18:23:07,135: DEBUG - + echo ‘’
2019-11-28 18:23:07,135: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG -=ret_code=)
2019-11-28 18:23:07,135: DEBUG - + exit 1
2019-11-28 18:23:07,135: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + declare -Ar args_array
2019-11-28 18:23:07,135: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + local message
2019-11-28 18:23:07,135: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + local ret_code
2019-11-28 18:23:07,136: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + ynh_handle_getopts_args ‘–message=Unable to install dependencies’
2019-11-28 18:23:07,136: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + set +x
2019-11-28 18:23:07,136: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + echo ‘Unable to install dependencies’
2019-11-28 18:23:07,136: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + exit 1
2019-11-28 18:23:07,137: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + ynh_exit_properly
2019-11-28 18:23:07,137: WARNING -
2019-11-28 18:23:07,280: ERROR - Unable to restore the app ‘nextcloud’
Traceback (most recent call last):
File “/usr/lib/moulinette/yunohost/backup.py”, line 1325, in _restore_app
env=env_dict)[0]
File “/usr/lib/moulinette/yunohost/hook.py”, line 397, in hook_exec
raise YunohostError(‘hook_exec_failed’, =)
YunohostError: Script execution failed: /tmp/restore2BJMN6/restore
Nextcloud a donc été retiré :
2019-11-28 18:23:30,764: DEBUG - + for i in $(ls /home)
2019-11-28 18:23:30,764: DEBUG - + [[ ! yunohost.docker == yunohost.* ]]
2019-11-28 18:23:30,764: DEBUG - + for i in $(ls /home)
2019-11-28 18:23:30,764: DEBUG - + [[ ! yunohost.multimedia == yunohost.* ]]
2019-11-28 18:23:30,764: DEBUG - + ynh_script_progression ‘–message=Removing the dedicated system user…’
2019-11-28 18:23:30,765: DEBUG - + set +x
2019-11-28 18:23:30,765: DEBUG - + set +x
2019-11-28 18:23:30,765: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-28 18:23:30,765: DEBUG - + set +x
2019-11-28 18:23:30,765: DEBUG - + echo ‘[###################.] > Removing the dedicated system user…’
2019-11-28 18:23:30,765: DEBUG - + set -x
2019-11-28 18:23:30,765: DEBUG - + ynh_system_user_delete --username=nextcloud
2019-11-28 18:23:30,765: DEBUG - + local legacy_args=u
2019-11-28 18:23:30,766: DEBUG - + args_array=([u]=username=)
2019-11-28 18:23:30,766: DEBUG - + declare -Ar args_array
2019-11-28 18:23:30,766: DEBUG - + local username
2019-11-28 18:23:30,766: DEBUG - + ynh_handle_getopts_args --username=nextcloud
2019-11-28 18:23:30,766: DEBUG - + set +x
2019-11-28 18:23:30,766: DEBUG - + ynh_system_user_exists nextcloud
2019-11-28 18:23:30,766: DEBUG - + local legacy_args=u
2019-11-28 18:23:30,766: DEBUG - + args_array=([u]=username=)
2019-11-28 18:23:30,766: DEBUG - + declare -Ar args_array
2019-11-28 18:23:30,767: DEBUG - + local username
2019-11-28 18:23:30,767: DEBUG - + ynh_handle_getopts_args nextcloud
2019-11-28 18:23:30,767: DEBUG - + set +x
2019-11-28 18:23:30,767: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-28 18:23:30,767: DEBUG - + set +x
2019-11-28 18:23:30,767: DEBUG - + getent passwd nextcloud
2019-11-28 18:23:30,767: DEBUG - + deluser nextcloud
2019-11-28 18:23:30,870: DEBUG - Removing user nextcloud' ... 2019-11-28 18:23:30,870: DEBUG - Warning: group
nextcloud’ has no more members.
2019-11-28 18:23:30,971: DEBUG - Done.
2019-11-28 18:23:30,972: DEBUG - + ynh_system_group_exists nextcloud
2019-11-28 18:23:30,972: DEBUG - + local legacy_args=g
2019-11-28 18:23:30,972: DEBUG - + args_array=([g]=group=)
2019-11-28 18:23:30,973: DEBUG - + declare -Ar args_array
2019-11-28 18:23:30,973: DEBUG - + local group
2019-11-28 18:23:30,973: DEBUG - + ynh_handle_getopts_args nextcloud
2019-11-28 18:23:30,973: DEBUG - + set +x
2019-11-28 18:23:30,973: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-28 18:23:30,973: DEBUG - + set +x
2019-11-28 18:23:30,974: DEBUG - + getent group nextcloud
2019-11-28 18:23:30,974: DEBUG - + ynh_script_progression ‘–message=Removal of nextcloud completed’ --last
2019-11-28 18:23:30,974: DEBUG - + set +x
2019-11-28 18:23:30,974: DEBUG - + set +x
2019-11-28 18:23:30,974: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-28 18:23:30,974: DEBUG - + set +x
2019-11-28 18:23:30,974: DEBUG - + echo ‘[####################] > Removal of nextcloud completed’
2019-11-28 18:23:30,975: DEBUG - + set -x
2019-11-28 18:23:31,081: INFO - [####################] > Removal of nextcloud completed
Mes données ont-elles été perdues ? Comment ré-installer nextcloud sans tout perdre ?