ArgumentError: 3:invalid git directory: rpc error: code = NotFound desc = GetRepoPath: not a git repository '/va...

https://sentry.gitlab.net/gitlab/gitlabcom/issues/851495/

GRPC::InvalidArgument: 3:invalid git directory: rpc error: code = NotFound desc = GetRepoPath: not a git repository '/var/opt/gitlab/git-data/repositories/@hashed/4a/1d/4a1d881e179566fb46c33b49c5020ed84de3db303074251adc438caed4495413.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:298:in `each'
    response.flat_map do |message|
...
(145 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/4a/1d/4a1d881e179566fb46c33b49c5020ed84de3db303074251adc438caed4495413.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 }
...
(137 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/4a/1d/4a1d881e179566fb46c33b49c5020ed84de3db303074251adc438caed4495413.git'

Related Support Tickets (internal)

  • https://gitlab.zendesk.com/agent/tickets/127649
Edited Jul 29, 2019 by DeAndre Harris
Assignee Loading
Time tracking Loading