Questions tagged [capifony]

Capifony is a deployment recipes collection that works with both symfony1 and Symfony2 applications. Capifony is based on Capistrano (open source tool for running scripts on multiple servers). It’s primary use is for easily deploying applications.

Capifony is a deployment recipes collection that works with both symfony1 and Symfony2 applications. Capifony is based on Capistrano (open source tool for running scripts on multiple servers). It’s primary use is for easily deploying applications.

Homepage: capifony.org

163 questions
2
votes
0 answers

Symfony2 deployment by Capifony crash on symfony:assets:install (vendor/autoload.php)

Deploy crash on symfony:assets:install task set :application, "example" set :domain, "#{application}.com" set :deploy_to, "/fake/path" set :app_path, "app" set :user, "opr" set :use_composer, true set :composer_options, "--no-dev…
Quantizer
  • 113
  • 1
  • 1
  • 7
2
votes
1 answer

Symfony2 cache warm up issue

I have an issue when I execute capifony command: cap deploy. When the error happens I get this output: * 2013-10-03 18:32:39 executing `symfony:cache:warmup' --> Warming up cache * executing "sudo -p 'sudo password: ' sh -c 'cd myapp && php…
Lt.
  • 1,268
  • 1
  • 13
  • 28
2
votes
1 answer

cap deploy:cleanup fails with use_sudo=true

My capifony deployment works great, however the capifony cleanup command fails. I'm using private keys over ssh, with sudo to gain write permissions on the deployment directories. With extended logging the result of cap deploy:cleanup is this: $…
james_t
  • 2,723
  • 1
  • 15
  • 20
2
votes
0 answers

Capifony setfacl log file permissions

I'm running ubuntu with user ubuntu with apache 2 server. I'm trying to run a symfony 2 application through capifony (capistrano) for symfony. All runs very well except when a log file exist: setfacl: /srv/mydomain.com/shared/app/logs/prod.log:…
Tiago Brito
  • 111
  • 1
  • 6
2
votes
2 answers

Get latest git tag in Ruby for use with Capifony

I've followed this for several of our projects. It works wonderfully, except grabbing the latest git tag. For example, if I have tags 1,2,3,4,5,6,7,8,9,10, Capifony will try to deploy tag 9 because it sees that as the latest tag using the code…
nwalke
  • 3,170
  • 6
  • 35
  • 60
2
votes
1 answer

Capifony deploy to server X, clear APC cache on server X and Y

I have a webserver cluster with two nodes. They use the same file server to host files from. Since the files are shared, I only need to get to one of the servers to do my deploy, but I would like to clear APC cache on both of them. Is there a way…
nwalke
  • 3,170
  • 6
  • 35
  • 60
2
votes
1 answer

Symfony2 Capistrano deploying to CDN

I've got a Symfony2 application which I am deploying to development, staging and production servers using Capistrano. However, I'm looking to also setup a CDN to serve static content such as images, css, js files etc. The URL for the CDN for example…
user1961082
  • 1,015
  • 17
  • 41
2
votes
2 answers

Symfony2 + Capifony

I'm trying to configure Capifony to deploy to my remote servers. What I would like to know is if my uploads directory should be within .gitignore? When running cap development depoy I'm getting a symlink error: executing "ln -nfs…
user1961082
  • 1,015
  • 17
  • 41
2
votes
1 answer

Doctrine migrations with capifony on Jenkins box

I'm trying to deploy an Symfony2 application from a Jenkins box. I'm using capifony multistage deploy system for 2 differents environments: dev and uat. When I put before "symfony:cache:warmup", "symfony:doctrine:migrations:migrate" on my dev.rb…
Mauro
  • 1,447
  • 1
  • 26
  • 46
2
votes
1 answer

change config/newrelic.yml path

I'm using the new relic ruby agent with symfony 2.1 and capifony. I'd like to be able to tell the new relic agent that the config file lives under app/config/newrelic.yml instead of config/newrelic.yml Is this possible?
Leon Radley
  • 7,596
  • 5
  • 35
  • 54
2
votes
1 answer

Cap deploy error find_file_in_path: no such file foud

I'm using capyfony + symfony2. cap deploy /var/lib/gems/1.9.1/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:183:in `find_file_in_load_path': no such file to load -- (LoadError) from…
etebar
  • 29
  • 1
  • 2
2
votes
0 answers

Deploying Symfony2 app with capifony fails at cache warmup

I have been battling with this for hours now, but now I am stuck with this and I can't move on. When Capifony gets to the cache warmup stage, it fails when trying to load a vendor class, but it appears that the path to the vendor dir is wrong; **…
Christian
  • 3,917
  • 2
  • 23
  • 40
2
votes
1 answer

How can I debug a failing Capifony deploy due to assetic:dump process time time out?

$ cap deploy is failing and here is the snippet from the failed output * executing "cd /var/www/site/prod/releases/20120831164520 && php app/console assetic:dump web --env=prod --no-debug" servers: ["site.me"] [site.me] executing command **…
ed209
  • 11,075
  • 19
  • 66
  • 82
2
votes
2 answers

Capifony error during deployment (OpenSSL::PKey::PKeyError: not a public key "/var/www/.ssh/id_rsa.pub")

I keep getting this error (OpenSSL::PKey::PKeyError: not a public key "/var/www/.ssh/id_rsa.pub") Thanks in advance. My deploy.rb looks like this: set :application, "goom" set :domain, "goom@bloom.com" set :deploy_to, …
mystic cola
  • 1,465
  • 1
  • 21
  • 39
1
vote
1 answer

Configure Capifony

I'm trying to configure Capifony on my server to deploy a symfony2 project but when i launch cap deploy i get this error: failed: "sh -c 'cd /var/www/vhosts/nov-ita/releases/20120320110954 && php app/console assets:install web --env=prod'" on…
jury89
  • 302
  • 3
  • 16