scttnlsn / dandelion

Incremental Git repository deployment.
http://scttnlsn.github.io/dandelion
MIT License
738 stars 60 forks source link

Mac OSX Yosemite: Error on deploy and status (FTP) #127

Closed ferkosuska closed 9 years ago

ferkosuska commented 9 years ago

i have a problem with connection to ftp server, if there is a path specified in the config file

this is my configuration dandelion.yml: adapter: ftp host: p259158.mittwaldserver.info username: xxxxxx password: xxxxxx path: html/wordpress

dandelion status Connecting to ftp://p259158@p259158.mittwaldserver.info/html/wordpress /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/ftp.rb:324:in getresp': 425 Failed to establish connection. (Net::FTPTempError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/ftp.rb:351:inblock in sendcmd' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb:211:in mon_synchronize' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/ftp.rb:349:insendcmd' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/ftp.rb:428:in transfercmd' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/ftp.rb:487:inblock (2 levels) in retrbinary' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/ftp.rb:199:in with_binary' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/ftp.rb:485:inblock in retrbinary' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb:211:in mon_synchronize' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/ftp.rb:484:inretrbinary' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/ftp.rb:617:in getbinaryfile' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.4.10/lib/dandelion/adapter/ftp.rb:22:inread' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.4.10/lib/dandelion/workspace.rb:74:in remote_sha' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.4.10/lib/dandelion/workspace.rb:33:inremote_commit' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.4.10/lib/dandelion/command/status.rb:16:in execute!' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.4.10/lib/dandelion/cli.rb:73:inexecute!' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.4.10/bin/dandelion:8:in <top (required)>' from /usr/bin/dandelion:23:inload' from /usr/bin/dandelion:23:in `

'

if i remove the path everything works:

dandelion status Connecting to ftp://p259158@p259158.mittwaldserver.info/ Remote revision: --- Local HEAD revision: 8e3a15b9ad33de60be7fa485b91214cc750326f1

ferkosuska commented 9 years ago

i have added following line to dandelion.yml and my problem is solved: passive: true