The error occurs at random files with this stacktrace:
/usr/lib/ruby/1.9.1/net/ftp.rb:300:in getresp': 550-Can't create directory: File exists (Net::FTPPermError) 550 558 Kbytes used (0%) - authorized: 2048000 Kb from /usr/lib/ruby/1.9.1/net/ftp.rb:325:inblock in sendcmd'
from /usr/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' from /usr/lib/ruby/1.9.1/net/ftp.rb:323:insendcmd'
from /usr/lib/ruby/1.9.1/net/ftp.rb:803:in mkdir' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:81:inrescue in mkdir_p'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:77:in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:80:inrescue in mkdir_p'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:77:in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:80:inrescue in mkdir_p'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:77:in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:80:inrescue in mkdir_p'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:77:in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:80:inrescue in mkdir_p'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:77:in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:33:inrescue in block in write'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:30:in block in write' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/utils.rb:9:intemp'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:29:in write' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:42:indeploy_file!'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:33:in block (2 levels) in deploy_files!' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:32:ineach'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:32:in block in deploy_files!' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:19:ineach'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:19:in deploy_files!' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/command/deploy.rb:63:indeploy_additional_files!'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/command/deploy.rb:31:in execute!' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/cli.rb:69:inexecute!'
from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/bin/dandelion:8:in <top (required)>' from /usr/local/bin/dandelion:23:inload'
from /usr/local/bin/dandelion:23:in `'
Would be great if anyone can point out what I might me doing wrong!
I figured this out, if I use passive instead of active mode for FTP while deploying, this error does not occur. Not sure why though. I update the yaml to use passive mode and successfully deployed
I am facing the same issue as https://github.com/scttnlsn/dandelion/issues/73, while running deploy from dandelion . It was an awesome and so easy to setup tool until then.
The error occurs at random files with this stacktrace: /usr/lib/ruby/1.9.1/net/ftp.rb:300:in getresp': 550-Can't create directory: File exists (Net::FTPPermError) 550 558 Kbytes used (0%) - authorized: 2048000 Kb from /usr/lib/ruby/1.9.1/net/ftp.rb:325:inblock in sendcmd' from /usr/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' from /usr/lib/ruby/1.9.1/net/ftp.rb:323:insendcmd' from /usr/lib/ruby/1.9.1/net/ftp.rb:803:in mkdir' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:81:inrescue in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:77:in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:80:inrescue in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:77:in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:80:inrescue in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:77:in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:80:inrescue in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:77:in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:80:inrescue in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:77:in mkdir_p' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:33:inrescue in block in write' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:30:in block in write' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/utils.rb:9:intemp' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/adapter/ftp.rb:29:in write' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:42:indeploy_file!' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:33:in block (2 levels) in deploy_files!' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:32:ineach' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:32:in block in deploy_files!' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:19:ineach' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:19:in deploy_files!' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/command/deploy.rb:63:indeploy_additional_files!' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/command/deploy.rb:31:in execute!' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/cli.rb:69:inexecute!' from /var/lib/gems/1.9.1/gems/dandelion-0.4.6/bin/dandelion:8:in <top (required)>' from /usr/local/bin/dandelion:23:inload' from /usr/local/bin/dandelion:23:in `'
Would be great if anyone can point out what I might me doing wrong!