mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.34k stars 491 forks source link

Stuck on Fetching new git commits #701

Closed totalylouco closed 2 years ago

totalylouco commented 2 years ago

I have mina 1.2.4, and I have my repository on github. I connect to GIT by SSH and if I go to my server and perform a clone it works without any password or prompt. When I execute mina deploy, I get stuck on the message

/data/inforviegas-bpi/tmp/build-16377203287225
-----> Fetching new git commits

If I delete the scm dir, creates a new one but doesnt retrieve any files, just creates the folders

Thanks for the help

d4be4st commented 2 years ago

can you run the command with -v ?

also if its no bother can you please paste your deploy.rb configuration here

totalylouco commented 2 years ago

Thanks for the reply. I left it running for a long time, and it turns outs it asked me for a passord for the key. The thing was that it was working with a id_rsa key instead of the gitub id_ed25519, and the rsa had a password. I generated another rsa without password and it solved it.

Now its just taking forever with Fetching source index from http://rubygems.org/