Skip to content

Getting Error at the gitlab backup

Hi,

I did run the below command it works and it says gitlab reconfigured!

sudo gitlab-ctl reconfigure

Summary

I'm facing error when I'm running the backup command.

Steps to reproduce

When you run the command: sudo gitlab-rake gitlab:backup:create STRATEGY=copy, you are able to reproduce the issue.

Relevant logs

I'm getting the below error in the middle of backing up:

time="2021-09-06T13:16:04Z" level=fatal msg="create: pipeline: 1 failures encountered"
rake aborted!
Backup::Error: gitaly-backup exit status 1
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/gitaly_backup.rb:44:in `wait'
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/repositories.rb:43:in `dump'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:114:in `block (4 levels) in <top (required)>'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:13:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Tasks: TOP => gitlab:backup:repo:create
(See full trace by running task with --trace)

Results of dpkg-query -l "gitlab-*"

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version               Architecture          Description
+++-=================================-=====================-=====================-=======================================================================
ii  gitlab-ce                         14.2.3-ce.0           amd64                 GitLab Community Edition (including NGINX, Postgres, Redis)
un  gitlab-ee                         <none>                <none>                (no description available)

Environment details

  • Operating System: Ubuntu 18.04.5 LTS
  • Installation Target:
    • VM: Digital Ocean
  • Installation Type:
    • Upgrade from version gitlab-ce (14.1.3-ce.0)
    • Upgrade to: gitlab-ce (14.2.3-ce.0)
  • Is there any other software running on the machine: No
  • Is this a single or multiple node installation?
    • single
  • Resources
    • CPU: Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz
    • Memory total: 4096 MB

Configuration details

letsencrypt['contact_emails'] = [ 'cmurugan@mcci.com' ]
gitlab_rails['smtp_enable_starttls_auto'] = false
gitlab_rails['smtp_tls'] = false
gitlab_rails['smtp_openssl_verify_mode'] = 'none'
Edited by Murugan Chandrasekar