I update the version of gitlab every month, but this error happen days after of good backups and i don’t know why this error is for.
Info of my System and Gitlab
System information
System: Debian 10
Current User: git
Using RVM: no
Ruby Version: 2.7.4p191
Gem Version: 3.1.4
Bundler Version:2.1.4
Rake Version: 13.0.6
Redis Version: 6.0.14
Git Version: 2.33.0.
Sidekiq Version:5.2.9
Go Version: unknown
GitLab information
Version: 14.3.3
Revision: 2bbed5eb0d5
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 12.7
URL: https://XX.com
HTTP Clone URL: https://XXX.git
SSH Clone URL: git@XXX.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers:
GitLab Shell
Version: 13.21.1
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Git: /opt/gitlab/embedded/bin/git
there is the error output of backup, i tried too the commands “gitlab-backup create” and “gitlab:backup:create STRATEGY=copy” with the same error.
gitlab-backup create STRATEGY=copy2021-10-20 04:01:07 +0200 -- Dumping database ...
Dumping PostgreSQL database gitlabhq_production ... [DONE]
2021-10-20 04:01:38 +0200 -- done
2021-10-20 04:01:38 +0200 -- Dumping repositories ...
time="2021-10-20T04:01:38+02:00" level=info msg="started create" command=create gl_project_path=SapentaTeam/sapenta relative_path=@hashed/4e/07/4e07408562bedb8b60ce05c1decfe3ad16b72230967de01f640b7e4729b49fce.git storage_name=default
time="2021-10-20T04:01:38+02:00" level=info msg="started create" command=create gl_project_path=SapentaTeam/sapenta.wiki relative_path=@hashed/4e/07/4e07408562bedb8b60ce05c1decfe3ad16b72230967de01f640b7e4729b49fce.wiki.git storage_name=default
time="2021-10-20T04:01:39+02:00" level=info msg="completed create" command=create gl_project_path=SapentaTeam/sapenta.wiki relative_path=@hashed/4e/07/4e07408562bedb8b60ce05c1decfe3ad16b72230967de01f640b7e4729b49fce.wiki.git storage_name=default
time="2021-10-20T04:01:39+02:00" level=info msg="started create" command=create gl_project_path=SapentaTeam/sapenta relative_path=@hashed/4e/07/4e07408562bedb8b60ce05c1decfe3ad16b72230967de01f640b7e4729b49fce.design.git storage_name=default
time="2021-10-20T04:01:39+02:00" level=warning msg="skipped create" command=create error="manager: repository empty: repository skipped" gl_project_path=SapentaTeam/sapenta relative_path=@hashed/4e/07/4e07408562bedb8b60ce05c1decfe3ad16b72230967de01f640b7e4729b49fce.design.git storage_name=default
time="2021-10-20T04:01:39+02:00" level=info msg="started create" command=create gl_project_path=SapentaTeam/frontend-desktop relative_path=@hashed/4b/22/4b227777d4dd1fc61c6f884f48641d02b4d121d3fd328cb08b5531fcacdabf8a.git storage_name=default
.
.
time="2021-10-20T04:02:43+02:00" level=error msg="create failed" command=create error="manager: write bundle: *backup.FilesystemSink write: write file \"/var/opt/gitlab/backups/repositories/@hashed/9f/14/9f14025af0065b30e47e23ebb3b491d39ae8ed17d33739e5ff3827ffb3634953.bundle\": rpc error: code = Internal desc = cmd wait failed: exit status 1, stderr: \"error: unknown object type 5 at offset 369080380 in /var/opt/gitlab/git-data/repositories/@hashed/9f/14/9f14025af0065b30e47e23ebb3b491d39ae8ed17d33739e5ff3827ffb3634953.git/objects/pack/pack-cbb250c429c5b9e3fc4feab940f3e21e318252ca.pack\\nerror: bad offset for revindex\\nfatal: packed object af2fb3369c1920681dfa8fe79f0d265c6c2bd629 (stored in /var/opt/gitlab/git-data/repositories/@hashed/9f/14/9f14025af0065b30e47e23ebb3b491d39ae8ed17d33739e5ff3827ffb3634953.git/objects/pack/pack-cbb250c429c5b9e3fc4feab940f3e21e318252ca.pack) is corrupt\\nerror: pack-objects died\\n\"" gl_project_path=smartsystems/mytoolbox relative_path=@hashed/9f/14/9f14025af0065b30e47e23ebb3b491d39ae8ed17d33739e5ff3827ffb3634953.git storage_name=default
.
.
time="2021-10-20T04:03:44+02:00" level=error msg="create failed" command=create error="manager: write bundle: *backup.FilesystemSink write: write file \"/var/opt/gitlab/backups/repositories/@hashed/da/4e/da4ea2a5506f2693eae190d9360a1f31793c98a1adade51d93533a6f520ace1c.bundle\": rpc error: code = Internal desc = cmd wait failed: exit status 128, stderr: \"error: file /var/opt/gitlab/git-data/repositories/@hashed/da/4e/da4ea2a5506f2693eae190d9360a1f31793c98a1adade51d93533a6f520ace1c.git/objects/pack/pack-d47990b125bea0e126e79c88b75f2585e49d8aba.pack is not a GIT packfile\\nerror: file /var/opt/gitlab/git-data/repositories/@hashed/da/4e/da4ea2a5506f2693eae190d9360a1f31793c98a1adade51d93533a6f520ace1c.git/objects/pack/pack-d47990b125bea0e126e79c88b75f2585e49d8aba.pack is not a GIT packfile\\nerror: file /var/opt/gitlab/git-data/repositories/@hashed/da/4e/da4ea2a5506f2693eae190d9360a1f31793c98a1adade51d93533a6f520ace1c.git/objects/pack/pack-d47990b125bea0e126e79c88b75f2585e49d8aba.pack is not a GIT packfile\\nerror: file /var/opt/gitlab/git-data/repositories/@hashed/da/4e/da4ea2a5506f2693eae190d9360a1f31793c98a1adade51d93533a6f520ace1c.git/objects/pack/pack-d47990b125bea0e126e79c88b75f2585e49d8aba.pack is not a GIT packfile\\nfatal: bad object refs/heads/HowToInstall\\n\"" gl_project_path=PublicProjects/Agrocycle-Omitsis relative_path=@hashed/da/4e/da4ea2a5506f2693eae190d9360a1f31793c98a1adade51d93533a6f520ace1c.git storage_name=default
.
.
time="2021-10-20T04:08:33+02:00" level=fatal msg="create: pipeline: 2 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)