Closed millman2394 closed 4 years ago
Okay so I found this closed github issue: https://github.com/mina-deploy/mina/issues/449
I found I simply needed to add set :execution_mode, :system
to my deploy file.
The answer on the github issue says it's on the FAQ, however, their wording is the following:
- Mina hangs after i type my password in
Mina assumes that you have set up the communication with your server through the public/private keys, not password. If you want to use the password you will have to change the execution mode:
I was never even prompted for a password, so I didn't know this applied to me. I also AM using ssh public/private keys (obviously) so the way they worded this is strange. maybe it's because I'm not too experienced with this.
Anyway, in case someone has the same issue - here's the answer.
Just in case someone else also googles the message and gets here: Check your git address If the repository is wrong (spelling, wrong server as for me) mina will hang with the fetching message. Embarrassing but true :-)
After running
mina deploy
I get the following:It stays here and nothing happens
Edit, when I press ctrl + c, it will say
In my
deploy.rb
file I haveset :term_mode, nil
There's no way to enter a password