我对 gitlab 比较陌生。我使用gitlab-ce 12.8.1。在备份期间gitlab-backup create我收到以下信息:
user/some-repo ... [DONE]
user/other-repo ... [SKIPPED]
Run Code Online (Sandbox Code Playgroud)
有谁知道为什么有些回购被跳过?
gitlab-rake gitlab:git:fsck仅报告其中两个错误。
user/myrepo on default: 5:GetRepoPath: not a git repository '/var/git-data/repositories/user/myrepo.git'
Run Code Online (Sandbox Code Playgroud)
任何帮助将不胜感激。
编辑:
我切换到 gitlab-ce 12.7.6 并恢复了旧的备份。之后gitlab-rake gitlab:git:fsck报告一切正常。我认为在备份期间跳过了存储库,因为它们是空的。
但:
Web 前端显示跳过的存储库:
Storage: 104 MB (Repository: 104 MB / Wikis: 0 Bytes / Build Artifacts: 0 Bytes / LFS: 0 Bytes)
切换到存储库显示The repository for this project is empty.
查看文件系统,有一个 ../git-data/repositories/user/repo.git 目录,大小为 104 MB。
那么出了什么问题呢?