welaika / wordmove

Multi-stage command line deploy/mirroring and task runner for Wordpress
https://wptools.it/wordmove
MIT License
1.87k stars 167 forks source link

Could not parse PKey: no start line (ArgumentError) #240

Closed neocamel closed 6 years ago

neocamel commented 9 years ago

I'm trying to get wordmove working in Windows 7, using Git Bash for my command line tool. When I run 'wordmove push -e staging -d' I get the following output (database password OMITTED):

C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/key_factory.rb:77:in read': Could not parse PKey: no start line (ArgumentError) from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/key_factory.rb:77:inload_data_private_key' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/key_factory.rb:42:in load_private_key' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/authentication/key_manager.rb:142:insign' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/authentication/methods/publickey.rb:62:in authenticate_with' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/authentication/methods/publickey.rb:20:inblock in authenticate' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/authentication/key_manager.rb:122:in block in each_identity' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/authentication/key_manager.rb:119:ineach' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/authentication/key_manager.rb:119:in each_identity' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/authentication/methods/publickey.rb:19:inauthenticate' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/authentication/session.rb:79:in block in authenticate' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/authentication/session.rb:66:ineach' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh/authentication/session.rb:66:in authenticate' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.3.beta1/lib/net/ssh.rb:211:instart' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/photocopier-1.0.0/lib/photocopier/ssh.rb:70:in session' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/photocopier-1.0.0/lib/photocopier/ssh.rb:43:inexec!' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/wordmove-1.3.1/lib/wordmove/deployer/ssh.rb:50:in remote_run' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/wordmove-1.3.1/lib/wordmove/deployer/ssh.rb:58:indownload_remote_db' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/wordmove-1.3.1/lib/wordmove/deployer/ssh.rb:15:in push_db' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/wordmove-1.3.1/lib/wordmove/cli.rb:60:inblock in push' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/wordmove-1.3.1/lib/wordmove/cli.rb:36:in block in handle_options' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/wordmove-1.3.1/lib/wordmove/cli.rb:34:ineach' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/wordmove-1.3.1/lib/wordmove/cli.rb:34:in handle_options' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/wordmove-1.3.1/lib/wordmove/cli.rb:59:inpush' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:ininvoke_command' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:instart' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/wordmove-1.3.1/exe/wordmove:6:in <top (required)>' from C:/Ruby22-x64/bin/wordmove:23:inload' from C:/Ruby22-x64/bin/wordmove:23:in `

'

▬▬ ✓ Using Movefile: ./Movefile ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

▬▬ ✓ Pushing Database ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ mysqldump --host=localhost --user=neocamel_skeleto --password=OMITTED neocamel_skeleto --result-file=/home/neocamel/public_html/skeleton/wp-content/dump.sql remote | mysqldump --host=localhost --user=neocamel_skeleto --password=OMITTED neocamel_skeleto --result-file=/home/neocamel/public_html/skeleton/wp-content/dump.sql

Any ideas?

mukkoo commented 8 years ago

We have just published a disclaimer about Windows Support https://github.com/welaika/wordmove/wiki/Windows-(un)support-disclaimer GLHF