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
10
votes
2 answers

Deploying via Capistrano through Jenkins - SSH authentication failed

I've got a Jenkins build that runs a Capistrano deploy as a post-build action. Running the Capistrano task as the Jenkins user from the console works absolutely fine and without a password prompt (I've previously set up SSH keys on both build and…
Burgi
  • 1,385
  • 9
  • 13
9
votes
3 answers

Is it possible to compile Symfony2 assetic:dump and deploy that rather than run it on the server?

I have a problem on my production server where assetic:dump is timing out on a Capifony deploy (but not always). Running assetic:dump locally is fine. Also deploying to a different staging (much less powerful) server is fine. To fix this (and speed…
ed209
  • 11,075
  • 19
  • 66
  • 82
8
votes
2 answers

Method Assetic\AssetWriter::getCombinations() does not exist exception on symfony2 deploy using capifony

My deployment fail when calling: cd /var/www/prod/releases/20130513164742 && php app/console assetic:dump --env=prod --no-debug My setup worked fine yestertay but today I can't deploy it using the cap deploy command I checked by cloning the repo in…
0x1gene
  • 3,349
  • 4
  • 29
  • 48
8
votes
3 answers

Symfony assetic:dump runtime exception

I'm stepping into deploying my Symfony app using Capifony. When Capifony executes assetic:dump I get a runtime Exception. [RuntimeException] Unable to write file {path}/releases/20130314071536/app/../web/js/. I tried executing the command…
Michi
  • 2,480
  • 3
  • 28
  • 38
6
votes
1 answer

Capistrano deploy how to use use_sudo and admin_runner

I'm trying to configure Capistrano so that it works for our server setup. We are deploying symfony projects so i'm also using capifony. I'm still experiencing some problems with permissions. On our server every project runs as a project user, so…
Daan Poron
  • 2,708
  • 5
  • 29
  • 33
5
votes
3 answers

Capifony fails warming the cache

Yesterday I made my 40th or 50th deployment of a Symfony2 system on a server. Everything fine so far. Today I get a nasty error. This is what happens: * executing `symfony:cache:warmup' * executing "cd /NFS2/oa_sf2/releases/20111214182506 && php…
jakuza
  • 51
  • 4
5
votes
3 answers

How do I ensure Cloudfront has the correct asset version when doing a rolling deployment?

We're currently using Capifony and the ec2-capify plugin to do rolling deployments of our code to a set of instances behind an ELB. We also use CloudFront to manage static assets, which we version with a query string (e.g. ?v1 or ?v2). We've…
edhgoose
  • 887
  • 8
  • 26
4
votes
1 answer

Capifony: update vendors and deps file

Is it possible to setup deployment script so that vendors would only update if deps file has changed since the last update?
Dziamid
  • 11,225
  • 12
  • 69
  • 104
4
votes
2 answers

Permission denied (publickey) on capifony deployment from windows with remote host gitlab

I am trying to setup a deployment from my local windows computer through gitlab to my server using capifony. Usually I would connect by ssh to my server and run the command from the server Now I want to do it from my local computer. I am already…
Sébastien
  • 5,263
  • 11
  • 55
  • 116
4
votes
1 answer

Assetic dump uses same tmp folder for different Symfony2 projects

I've the following environment: One Apache2 Webserver on an Ubuntu machine with three vhosts (one vhost per project). Those three project run all on Symfony2 (but differnt versions, from 2.2 to 2.4). Each of the projects (and its paths) have an own…
ramo
  • 353
  • 6
  • 22
4
votes
4 answers

cap deploy suddenly says Authentication Failed

I've been deploying my Symfony2 app trouble-free for weeks using Capifony. The other day I run cap deploy and nothing works. I didn't change any keys or, knowingly, change any other settings. I am deploying from my bitbucket repo. I've checked file…
hipnosis
  • 618
  • 1
  • 8
  • 13
4
votes
0 answers

Capifony - task "symfony:cache:warmup" fails in prod environment without error message

I use capifony with symfony 2. My deploy.rb set :application, "Name project" set :domain, "My Ip" set :deploy_to, "My folder" set :app_path, "app" set :repository, "git@bitbucket.org:dou/test.git" set :scm, :git # Or: `accurev`,…
denys281
  • 2,004
  • 2
  • 19
  • 38
4
votes
1 answer

Symfony2 Capifony app_dev.php not found

I've deployed my Symfony2 website to an external development server, however it hasn't pulled the app_dev.php file from my github repository. app.php has been pulled and I can access the site from there but if I go to /app_dev.php I get a 404 not…
user1961082
  • 1,015
  • 17
  • 41
4
votes
1 answer

Symfony2 app.php works but not app_dev.php

I've deployed my Symfony2 project to my development server and want to run the dev environment. Everything is running fine if I use /app.php but if I try app_dev.php I get a 404 error: The requested URL /app_dev.php was not found on this…
user1961082
  • 1,015
  • 17
  • 41
4
votes
0 answers

Capifony / Capistrano: Symlink Cannot Be Created

I'm deploying a Symfony 2 project, to Amazon EC2, using Capifony 2.2.7. The shared_children option in deploy.rb attempts to create symlinks for the logs, uploads and vendor directories, but hangs on the uploads directory (after successfully…
Matt C
  • 903
  • 1
  • 8
  • 15
1
2 3
10 11