Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRPC::Unavailable: 14:Connect Failed #1744

Open
nanquanyuhao opened this issue Oct 19, 2018 · 7 comments
Open

GRPC::Unavailable: 14:Connect Failed #1744

nanquanyuhao opened this issue Oct 19, 2018 · 7 comments
Labels

Comments

@nanquanyuhao
Copy link

There is a bug when you backup/restore with command like this...

# backup
docker-compose run --rm gitlab app:rake gitlab:backup:create
# restore
docker-compose run --rm gitlab app:rake gitlab:backup:restore BACKUP=***

the info like this...

...
Dumping repositories ...
 * liyeheng/gs-spring-boot-docker ... [WARNING] Executing 14:Connect Failed
Ignoring error on liyeheng/gs-spring-boot-docker - Failed to backup repo
[DONE]
rake aborted!
GRPC::Unavailable: 14:Connect Failed
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/grpc-1.11.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:31:in `check_status'
...

To see #1655 , @serenader2014 supply a way to handle issue but can't reslove it.

My Gitlab version is 10.6.2, and I use the version 11.3.5, it still has the problem...
Can you fix it ? Thanks...

@zer01ike
Copy link

same as your question
I use dcoker-compose to backup the gitlab
and then get a Failed to backup repo Error!

@nanquanyuhao
Copy link
Author

same as your question
I use dcoker-compose to backup the gitlab
and then get a Failed to backup repo Error!

You can do like this...


    Starting the gitlab container
    Enter the gitlab's bash shell
    Execute /sbin/entrypoint.sh app:rake gitlab:backup:restore to restore a backup
    When restore finish, just restart gitlab container, and all is done.

@zer01ike
Copy link

Thanks !

but when i try to backup using the app:rake
i enter the gitlab container I get a error

Could not locate Gemfile or .bundle/directory

@nanquanyuhao
Copy link
Author

Thanks !

but when i try to backup using the app:rake
i enter the gitlab container I get a error

Could not locate Gemfile or .bundle/directory

You can try the auto backup, I use it long time ...


    - GITLAB_BACKUP_SCHEDULE=daily
    - GITLAB_BACKUP_TIME=04:00

@zer01ike
Copy link

ok, I will try it !

@QuickJack
Copy link

I have tested the workaround proposed by @nanquanyuhao with 11.1.4 and can confirm that it works. Many thanks.

@stale
Copy link

stale bot commented May 7, 2020

This issue has been automatically marked as stale because it has not had any activity for the last 60 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions.

@stale stale bot added the wontfix label May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants