Error 500 accessing repository settings when no repository is present
https://sentry.gitlab.net/gitlab/gitlabcom/issues/674248/
GRPC::InvalidArgument: 3:invalid git directory: rpc error: code = NotFound desc = GetRepoPath: not a git repository '/var/opt/gitlab/git-data/repositories/@hashed/d9/a3/d9a33dc05c9dc075f3f67d3d0afaba8e3e9cb190beccfb3cc523b06cdfbda5f8.git'
grpc/generic/active_call.rb:31:in `check_status'
fail GRPC::BadStatus.new_status_exception(
grpc/generic/active_call.rb:181:in `attach_status_results_and_complete_call'
recv_status_batch_result.check_status
grpc/generic/active_call.rb:170:in `receive_and_check_status'
attach_status_results_and_complete_call(batch_result)
grpc/generic/active_call.rb:338:in `each_remote_read_then_finish'
receive_and_check_status
gitlab/gitaly_client/ref_service.rb:292:in `each'
response.flat_map do |message|
...
(155 additional frame(s) were not displayed)
ArgumentError: 3:invalid git directory: rpc error: code = NotFound desc = GetRepoPath: not a git repository '/var/opt/gitlab/git-data/repositories/@hashed/d9/a3/d9a33dc05c9dc075f3f67d3d0afaba8e3e9cb190beccfb3cc523b06cdfbda5f8.git'
gitlab/git/wraps_gitaly_errors.rb:11:in `rescue in wrapped_gitaly_errors'
raise ArgumentError.new(e)
gitlab/git/wraps_gitaly_errors.rb:6:in `wrapped_gitaly_errors'
def wrapped_gitaly_errors(&block)
gitlab/metrics/instrumentation.rb:161:in `block in wrapped_gitaly_errors'
.measure { super }
gitlab/metrics/method_call.rb:36:in `measure'
retval = yield
gitlab/metrics/instrumentation.rb:161:in `wrapped_gitaly_errors'
.measure { super }
...
(147 additional frame(s) were not displayed)
ArgumentError: 3:invalid git directory: rpc error: code = NotFound desc = GetRepoPath: not a git repository '/var/opt/gitlab/git-data/repositories/@hashed/d9/a3/d9a33dc05c9dc075f3f67d3d0afaba8e3e9cb190beccfb3cc523b06cdfbda5f8.git'