diff --git a/scripts/restore b/scripts/restore index 5887b9e..4cf1faa 100644 --- a/scripts/restore +++ b/scripts/restore @@ -96,7 +96,7 @@ ynh_restore_file --origin_path="$config_path/gitlab-persistent.rb" #================================================= # RESTORE THE APP MAIN DIR #================================================= -ynh_script_progression --message="Reinstalling GitLab..." --weight=200 +ynh_script_progression --message="Reinstalling GitLab..." --weight=50 source ../settings/scripts/upgrade.d/upgrade.last.sh mkdir -p ../conf/ @@ -121,7 +121,7 @@ fi #================================================= # RESTORE GITLAB DATABASE #================================================= -ynh_script_progression --message="Restoring GitLab..." --weight=55 +ynh_script_progression --message="Restoring GitLab..." --weight=35 ynh_restore_file --origin_path="/var/opt/$app/backups/last_gitlab_backup.tar" diff --git a/scripts/upgrade b/scripts/upgrade index aa59d51..bec4251 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -209,7 +209,7 @@ ynh_add_swap --size=$swap_needed if [ "$upgrade_type" == "UPGRADE_APP" ] then - ynh_script_progression --message="Setting up source files..." --weight=200 + ynh_script_progression --message="Setting up source files..." --weight=50 # To avoid the automatic backup, already performed by YunoHost: https://docs.gitlab.com/omnibus/update/#updating-methods touch $config_path/skip-auto-backup