storage_directory[/var/opt/gitlab/git-data/repositories] (gitlab::gitlab-rails line 57) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] (
https://new-sentry.gitlab.net/organizations/gitlab/issues/646428 GRPC::NotFound: 5:GetRepoPath: not a git repository: "/var/opt/gitlab/git-data/repositories/@hashed/d3/51/d3516674b5525ce5147b2a58dd54d6584d364d1903a15878a624c65007ff4f89.git".
修复步骤 查找网上资料找到gitlab下仓库的位置/var/opt/gitlab/git-data/repositories/, 我的对应仓库okos/package_repos.git 登陆gitlab服务器,使用git用户操作/var/opt/...Git Error ERROR:Repository not found. 解决办法: ...Git Error 1, Problem: $ git clone ssh://xxxx/yyy.git Cloning into '...
remote:may have crashedinthisrepository earlier:remote:removethe file manually tocontinue.Togitlab.com:tomfriwel/test.git![remote rejected]master->master(failed to updateref)error:failed to push some refs to'git@gitlab.com:tomfriwel/test.git'$ rm-f/var/opt/gitlab/git-data-file11/repositor...
Summary After a manual intervention in the server hosting local GitLab CE Docker installation, startup of GitLab fails due to:
GRPC::Unknown: 2:fatal: cannot lock ref 'refs/environments/production/deployments/[REDACTED]': Unable to create '/var/opt/gitlab/git-data/repositories/[REDACTED]/./refs/environments/production/deployments/[REDACTED].lock': File exists.Another git process seems to be running in this repository, ...
2.There was an error running gitlab-ctl reconfigure:execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8] (postgresql::enable line 54) had an error: Errno::EACCES: Permission denied - /opt/gitlab/embedded/bin/initdb ...
Should not be the same path, or a sub directory of any of thegit_data_dirs gitlab_rails['gitlab_repository_downloads_path'] = 'tmp/repositories' Gravatar Settings gitlab_rails['gravatar_plain_url'] = 'http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon' ...
I have a self-hosted gitlab (free plan) 15.0.5. According to gitlab documentation https://docs.gitlab.com/ee/raketasks/backup_restore.html#prevent-writes-and-copy-the-git-repository-data i stopped gitaly by docker exec -t...