So I tried log show
without --share
, the yunopaste server isn’t responding right now, here is my log :
description: Upgrade the 'gitlab' app
log_path: /var/log/yunohost/categories/operation/20211004-122347-app_upgrade-gitlab.log
logs:
- 2021-10-04 14:42:15,802: DEBUG - 17154 + set +o xtrace
- 2021-10-04 14:42:15,813: DEBUG - 17165 + local 'forbidden_path= /var/www /home/yunohost.app'
- 2021-10-04 14:42:15,813: DEBUG - 17165 + '[' 1 -ge 2 ']'
- 2021-10-04 14:42:15,813: DEBUG - 17165 + [[ -z /var/log/gitlab ]]
- 2021-10-04 14:42:15,814: DEBUG - 17166 + [[ /var/www /home/yunohost.app =~ /var/log/gitlab ]]
- 2021-10-04 14:42:15,814: DEBUG - 17166 + [[ /var/log/gitlab =~ ^/[[:alnum:]]+$ ]]
- 2021-10-04 14:42:15,814: DEBUG - 17166 + [[ b = \/ ]]
- 2021-10-04 14:42:15,814: DEBUG - 17166 + '[' -e /var/log/gitlab ']'
- 2021-10-04 14:42:15,814: DEBUG - 17166 + ynh_print_info '--message='\''/var/log/gitlab'\'' wasn'\''t deleted because it doesn'\''t exist.'
- 2021-10-04 14:42:15,815: DEBUG - 17167 + local legacy_args=m
- 2021-10-04 14:42:15,815: DEBUG - 17167 + args_array=([m]=message=)
- 2021-10-04 14:42:15,815: DEBUG - 17169 + local -A args_array
- 2021-10-04 14:42:15,816: DEBUG - 17170 + local message
- 2021-10-04 14:42:15,817: DEBUG - 17170 + ynh_handle_getopts_args '--message='\''/var/log/gitlab'\'' wasn'\''t deleted because it doesn'\''t exist.'
- 2021-10-04 14:42:15,817: DEBUG - 17171 + set +o xtrace
- 2021-10-04 14:42:15,824: DEBUG - 17177 + echo ''\''/var/log/gitlab'\'' wasn'\''t deleted because it doesn'\''t exist.'
- 2021-10-04 14:42:15,824: DEBUG - 17178 + ynh_del_swap
- 2021-10-04 14:42:15,825: DEBUG - 17178 + '[' -e /swap_gitlab ']'
- 2021-10-04 14:42:15,825: DEBUG - 17179 '/var/log/gitlab' wasn't deleted because it doesn't exist.
- 2021-10-04 14:42:15,825: DEBUG - 17179 + ynh_script_progression '--message=Removal of gitlab completed' --last
- 2021-10-04 14:42:15,826: DEBUG - 17179 + set +o xtrace
- 2021-10-04 14:42:15,901: DEBUG - 17254 + set +o xtrace
- 2021-10-04 14:42:15,919: DEBUG - 17272 + echo '! Helper used in legacy mode !'
- 2021-10-04 14:42:15,920: DEBUG - 17273 + set +x
- 2021-10-04 14:42:15,921: DEBUG - 17275 + echo '[####################] > Removal of gitlab completed'
- 2021-10-04 14:42:15,921: DEBUG - 17275 [####################] > Removal of gitlab completed
- 2021-10-04 14:42:15,922: DEBUG - 17275 + set -o xtrace
- 2021-10-04 14:42:16,923: DEBUG - 18277 Pour voir le journal de cette opération 'Retirer 'gitlab' après un échec de restauration depuis une archive de sauvegarde', utilisez la commande 'yunohost log show 20211004-124211-remove_on_failed_restore-gitlab20211004-124211-remove_on_failed_restore-gitlab'
- 2021-10-04 14:42:17,666: DEBUG - 19020 The permission database has been resynchronized
- 2021-10-04 14:42:17,964: DEBUG - 19318 La configuration de SSOwat a été regénérée
- 2021-10-04 14:42:17,977: DEBUG - 19330 Permission 'gitlab.main' supprimée
- 2021-10-04 14:42:17,977: DEBUG - 19331 Pour voir le journal de cette opération 'Supprimer permission 'gitlab'', utilisez la commande 'yunohost log show 20211004-124217-permission_delete-gitlab20211004-124217-permission_delete-gitlab'
- 2021-10-04 14:42:17,984: WARNING - 19338 L’opération 'Restaurer 'gitlab' 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 20211004-124158-backup_restore_app-gitlab'
- 2021-10-04 14:42:18,223: DEBUG - 19577 The permission database has been resynchronized
- 2021-10-04 14:42:18,531: DEBUG - 19885 La configuration de SSOwat a été regénérée
- 2021-10-04 14:42:18,545: DEBUG - 19899 action [19755.1] executed in 19.713s
- 2021-10-04 14:42:18,546: WARNING - 19900 Rien n’a été restauré
- 2021-10-04 14:42:18,609: DEBUG - + ynh_die '--message=The app was restored to the way it was before the failed upgrade.'
- 2021-10-04 14:42:18,609: DEBUG - + local legacy_args=mc
- 2021-10-04 14:42:18,609: DEBUG - + args_array=([m]=message= [c]=ret_code=)
- 2021-10-04 14:42:18,609: DEBUG - + local -A args_array
- 2021-10-04 14:42:18,610: DEBUG - + local message
- 2021-10-04 14:42:18,610: DEBUG - + local ret_code
- 2021-10-04 14:42:18,610: DEBUG - + ynh_handle_getopts_args '--message=The app was restored to the way it was before the failed upgrade.'
- 2021-10-04 14:42:18,610: DEBUG - + set +o xtrace
- 2021-10-04 14:42:18,636: DEBUG - + ret_code=1
- 2021-10-04 14:42:18,636: DEBUG - + echo 'The app was restored to the way it was before the failed upgrade.'
- 2021-10-04 14:42:18,637: WARNING - The app was restored to the way it was before the failed upgrade.
- 2021-10-04 14:42:18,637: DEBUG - + exit 1
- 2021-10-04 14:42:19,639: ERROR - Impossible de mettre à jour gitlab : Une erreur s’est produite durant l’exécution du script de mise à niveau de l’application
metadata:
ended_at: 2021-10-04 14:42:19
env:
BASH_XTRACEFD: 7
NO_BACKUP_UPGRADE: 0
YNH_APP_CURRENT_VERSION: 13.2.3~ynh1
YNH_APP_ID: gitlab
YNH_APP_INSTANCE_NAME: gitlab
YNH_APP_INSTANCE_NUMBER: 1
YNH_APP_MANIFEST_VERSION: 14.3.0~ynh1
YNH_APP_UPGRADE_TYPE: UPGRADE_APP
YNH_CWD: /var/cache/yunohost/app_tmp_work_dirs/app_zdapglp8/scripts
YNH_INTERFACE: api
YNH_STDRETURN: /tmp/tmp4hzn2nt4/stdreturn
error: Une erreur s’est produite durant l’exécution du script de mise à niveau de l’application
interface: api
operation: app_upgrade
parent: None
related_to:
- app
- gitlab
started_at: 2021-10-04 14:23:47
success: False
yunohost_version: 4.2.8.3
metadata_path: /var/log/yunohost/categories/operation/20211004-122347-app_upgrade-gitlab.yml
name: 20211004-122347-app_upgrade-gitlab