Hi I have an issue migrating from one server to another. I think I did everything as described in the migration how to. After the restore I can actually see everything, but the restore fails. So I’m not sure if it fails on a clean up or if some data has not been restored. I get this error:
2024-01-19 11:36:16 UTC -- Deleting tar staging files ... done
2024-01-19 11:36:16 UTC -- Deleting backups/tmp ...
2024-01-19 11:36:16 UTC -- Deleting backups/tmp ... done
2024-01-19 11:36:16 UTC -- Deleting backup and restore PID file ... done
rake aborted!
Backup::Error: gitaly-backup exit status 1
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/gitaly_backup.rb:49:in `finish!'
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/repositories.rb:39:in `restore'
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/manager.rb:105:in `run_restore_task'
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/manager.rb:249:in `block in run_all_restore_tasks'
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/manager.rb:247:in `each_key'
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/manager.rb:247:in `run_all_restore_tasks'
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/manager.rb:80:in `restore'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:21:in `block in restore_backup'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:62:in `lock_backup'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:18:in `restore_backup'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:107:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:25:in `load'
/opt/gitlab/embedded/bin/bundle:25:in `<main>'
Tasks: TOP => gitlab:backup:restore
(See full trace by running task with --trace)
running sudo gitlab-rake gitlab:check SANITIZE=true
and sudo gitlab-rake gitlab:doctor:secrets
says everything is fine. I’m on 16.8
[UPDATE]
Those chacks failed:
sudo gitlab-rake gitlab:uploads:check
Checking integrity of Uploads
- 3..52: Failures: 47
Done!
sudo gitlab-rake gitlab:lfs:check
Checking integrity of LFS objects
- 1..1: Failures: 1
Done!