1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00

Fix restore

This commit is contained in:
Kayou 2019-08-27 00:10:39 +02:00 committed by GitHub
parent 4aebe8355f
commit a4af36c402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,7 +144,9 @@ gitlab-ctl stop sidekiq
ynh_exec_warn_less gitlab-backup restore force=yes BACKUP=$last_backup ynh_exec_warn_less gitlab-backup restore force=yes BACKUP=$last_backup
# https://docs.gitlab.com/ce/raketasks/backup_restore.html#container-registry-push-failures-after-restoring-from-a-backup # https://docs.gitlab.com/ce/raketasks/backup_restore.html#container-registry-push-failures-after-restoring-from-a-backup
chown -R registry:registry /var/opt/gitlab/gitlab-rails/shared/registry/docker if ynh_user_exists --username="registry" && [ -d "/var/opt/gitlab/gitlab-rails/shared/registry/docker" ]; then
chown -R registry:registry /var/opt/gitlab/gitlab-rails/shared/registry/docker
fi
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION