I tried playing around with capifony today and after a few frustrating hours I still can't get it to work.
I am using method a) deployment -> scm -> production cap deploy:setup works but when running cap deploy for an empty Symfony2 project, I get the following errors. Thanks for any help! $ cap deploy * executing `deploy' * executing `deploy:update' ** transaction: start * executing `deploy:update_code' executing locally: "git ls-remote g...@github.com:jdewit/Symfony.git master" command finished in 2343ms executing locally: mkdir -p /var/www/Symfony/.rsync_cache && git clone -q g...@github.com:jdewit/Symfony.git /var/www/Symfony/.rsync_cache && cd /var/www/Symfony/.rsync_cache && git checkout -q -b deploy 9749335b81cbb0d50b69f3a2cf243ba3c0e2d63b && git submodule -q init && git submodule -q sync && git submodule -q update --init --recursive No submodule mapping found in .gitmodules for path 'vendor/assetic' command finished in 3175ms executing locally: rsync -az --delete --rsh='ssh -p 22123' /var/www/Symfony/.rsync_cache/ root@69.195.198.93:/var/www/astrocrm.com/shared/cached-copy/ root@69.195.198.93's password: command finished in 10929ms * executing "rsync -a --delete /var/www/astrocrm.com/shared/cached-copy/ /var/www/astrocrm.com/releases/20110512001733/" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 376ms * executing `deploy:finalize_update' * executing "chmod -R g+w /var/www/astrocrm.com/releases/20110512001733" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 249ms * executing "if [ -d /var/www/astrocrm.com/releases/20110512001733/app/cache ] ; then rm -rf /var/www/astrocrm.com/releases/20110512001733/app/cache; fi" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 256ms * executing "mkdir -p /var/www/astrocrm.com/releases/20110512001733/app/cache && chmod -R 0777 /var/www/astrocrm.com/releases/20110512001733/app/cache" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 259ms * executing "chmod -R g+w /var/www/astrocrm.com/releases/20110512001733/app/cache" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 244ms * executing `deploy:share_childs' * executing "mkdir -p /var/www/astrocrm.com/shared/app/logs" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 244ms * executing "if [ -d /var/www/astrocrm.com/releases/20110512001733/app/logs ] ; then rm -rf /var/www/astrocrm.com/releases/20110512001733/app/logs; fi" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 240ms * executing "ln -nfs /var/www/astrocrm.com/shared/app/logs /var/www/astrocrm.com/releases/20110512001733/app/logs" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 243ms * executing "mkdir -p /var/www/astrocrm.com/shared/web/uploads" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 242ms * executing "if [ -d /var/www/astrocrm.com/releases/20110512001733/web/uploads ] ; then rm -rf /var/www/astrocrm.com/releases/20110512001733/web/uploads; fi" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 244ms * executing "ln -nfs /var/www/astrocrm.com/shared/web/uploads /var/www/astrocrm.com/releases/20110512001733/web/uploads" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 244ms * executing "find /var/www/astrocrm.com/releases/20110512001733/web/css /var/www/astrocrm.com/releases/20110512001733/web/images /var/www/astrocrm.com/releases/20110512001733/web/js -exec touch -t 201105120017.39 {} ';'; true" servers: ["69.195.198.93"] [69.195.198.93] executing command *** [err :: 69.195.198.93] find: `/var/www/astrocrm.com/releases/20110512001733/web/css': No such file or directory *** [err :: 69.195.198.93] find: `/var/www/astrocrm.com/releases/20110512001733/web/images': No such file or directory *** [err :: 69.195.198.93] find: `/var/www/astrocrm.com/releases/20110512001733/web/js': No such file or directory command finished in 369ms triggering after callbacks for `deploy:finalize_update' * executing `symfony:cache:warmup' * executing "cd /var/www/astrocrm.com/releases/20110512001733 && php app/console cache:warmup --env=prod" servers: ["69.195.198.93"] [69.195.198.93] executing command *** [err :: 69.195.198.93] PHP Fatal error: Class 'Symfony\Component\Console\Input\ArgvInput' not found in /var/www/astrocrm.com/releases/20110512001733/app/console on line 10 command finished in 330ms *** [deploy:update_code] rolling back * executing "rm -rf /var/www/astrocrm.com/releases/20110512001733; true" servers: ["69.195.198.93"] [69.195.198.93] executing command command finished in 253ms failed: "sh -c 'cd /var/www/astrocrm.com/releases/20110512001733 && php app/console cache:warmup --env=prod'" on 69.195.198.93 Here is my deploy.rb file //deploy.rb set :application, "example.com" set :deploy_to, "/var/www/#{application}" set :domain, "xx.xxx.xxx.xx" ssh_options[:port] = 22123 set :scm, :git set :repository, "g...@github.com:xxxxxx/Symfony.git" set :deploy_via, :rsync_with_remote_cache set :user, "root" set :password, 'xxxxxxx' set :scm_passphrase, "xxxxxxx*" set :git_enable_submodules, 1 set :branch, "master" ssh_options[:forward_agent] = true role :web, domain role :app, domain role :db, domain, :primary => true set :use_sudo, false set :keep_releases, 3 -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en