Skip to content

GRPC::FailedPrecondition: 9:CreateRepositoryFromBundle: target directory is non-empty

https://sentry.gitlab.net/gitlab/gitlabcom/issues/1560601/?referrer=gitlab_plugin

GRPC::Core::CallError: call#run_batch failed somehow
  grpc/generic/active_call.rb:397:in `run_batch'
    requests.each { |r| @call.run_batch(SEND_MESSAGE => @marshal.call(r)) }
  grpc/generic/active_call.rb:397:in `block in client_streamer'
    requests.each { |r| @call.run_batch(SEND_MESSAGE => @marshal.call(r)) }
  gitlab/gitaly_client/repository_service.rb:430:in `yield'
    y.yield request
  gitlab/gitaly_client/repository_service.rb:430:in `block (2 levels) in gitaly_repo_stream_request'
    y.yield request
  gitlab/gitaly_client/repository_service.rb:426:in `open'
    File.open(file_path, 'rb') do |f|
...
(106 additional frame(s) were not displayed)

GRPC::FailedPrecondition: 9:CreateRepositoryFromBundle: target directory is non-empty
  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:399:in `rescue in client_streamer'
    receive_and_check_status # check for Cancelled
  grpc/generic/active_call.rb:398:in `client_streamer'
    rescue GRPC::Core::CallError => e
...
(102 additional frame(s) were not displayed)

GRPC::FailedPrecondition: 9:CreateRepositoryFromBundle: target directory is non-empty