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
1
vote
2 answers

Use capifony to deploy to multiple production servers

I have managed to successfully deploy my Symfony2 application to a production web server, but cannot find any documentation on how to deploy to multiple servers with one deploy command. In fact, at this stage it seems that my only option is to have…
frak
  • 858
  • 1
  • 10
  • 30
1
vote
1 answer

Git asking for password on Gitosis from capifony

I setup a server with gitosis (yum install gitosis (CentOS 6.2)) and configure my deploy.rb as follow: set :application, "uda" set :domain, "10.0.0.59" set :deploy_to, "/var/www/html/" set :app_path, "app" set :user, "root" set…
ikerib
  • 781
  • 3
  • 11
  • 28
1
vote
0 answers

Capifony php error

I in the past weeks I have a problem with capifony... So I have made the deploy.rb and it was not a problem: set :application, "Infinity" set :domain, "xxx" set :deploy_to, "/var/www/inf.sitetester.biz" set :app_path, "app" set…
1
vote
1 answer

Capifony ssh via different port

Is there any way to configure the SSH port in capifony deploy.rb file? By default the port is set to 22, but my server runs SSH on different one. How to change it? The error I'm getting is connection failed for: [IP](Errno::ECONNREFUSED: Connection…
Mikołaj Król
  • 65
  • 1
  • 2
  • 7
1
vote
1 answer

How to deploy a symfony 3 app with Capifony?

My problem is that I can't use capifony correctly with my project on the Symfony 3. After installing composer dependencies I get an error with running app/console commands and rollback of deploy. I know that in symfony 3 app/console moved to…
Alexey Budaev
  • 133
  • 1
  • 6
1
vote
1 answer

Symfony create new folder permissions

I have deployed a project using Capifony and getting an error upon a folder creation. The following code is inside a service. Could be inside a controller, too, doesn't matter. $dir = $kernelDir . '/../web/newfolder/';// kerneldir is…
George Irimiciuc
  • 4,573
  • 8
  • 44
  • 88
1
vote
1 answer

Is that possible to place all deploy related files outside of the project base directory

My directory structure is as looks like the following : +deploy | | Capfile +- config/ | +- deploy/ | | production.rb ... .... deploy.rb +frontend-app | +- My app structure. I want to make this…
FZE
  • 1,587
  • 12
  • 35
1
vote
1 answer

Capifony forward_agent not working. Asks for GitHub password and fails

I am using capifony to deploy a symfony2 web app onto Ubuntu. I have the following in my deploy.rb: set :repository, "git@github.com:Username/Repo.git" set :branch, "develop" set :scm_verbose, true set :deploy_via, …
Patrick
  • 358
  • 6
  • 20
1
vote
1 answer

capifony fail on assetic:install --env=prod

executing "sh -c 'cd /var/www/html/xxx/staging/releases/xxxxx && php app/console assets:install web --env=prod'" servers: ["xxx.xxx.xxx.xxx"] [xxx.xxx.xxx.xxx] executing command command finished in 124ms *** [deploy:update_code]…
sedigo
  • 125
  • 2
  • 11
1
vote
0 answers

Appending a parameter's value in parameters.yml when deploying symfony application

First of all I've never used ruby and capifony so this question might be very easy for some of you but not for me. I tried to find examples related to my question but couldn't find any or I'm too new to ruby to miss! When deploying my Symfony app,…
BentCoder
  • 12,257
  • 22
  • 93
  • 165
1
vote
0 answers

dump dev and prod assets with symfony2+capifony

When I run my cap development deployment, only prod assets are dumped, not dev assets (i.e., when I use the app_dev.php controller, css and js) - they are empty unless I manually dump assets. Is there a way to make capifony dump both production and…
Sébastien
  • 5,263
  • 11
  • 55
  • 116
1
vote
3 answers

Cache permissions error when deploying with Capifony

When I deploy with Capifony a Symfony2 project I get this error message in apache log when accessing a webpage: PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to write cache file …
rfc1484
  • 9,441
  • 16
  • 72
  • 123
1
vote
0 answers

symfony2 capifony deploy in dev environment

Despite all my attemps, I am unable to deploy my symfony2 application with capifony in dev environment. I have tried the following in my .rb file: set :clear_controllers, false This allows me to not delete the app_dev.php and yes, that way I can…
Sébastien
  • 5,263
  • 11
  • 55
  • 116
1
vote
0 answers

deploy symfony project with capifony after successfull jenkins build

I am working on a symfony2 project, and I am running jenkins on my production server, so every time i push to bitbucket it triggers a jenkins job and do the build in /var/lib/jenkins/jobs/job_name/workspaceand it build successfully. Now i would like…
1
vote
1 answer

Symfony2 + Capifony - assetic dump on local pc

I have a problem with assetic:dump. I use combination css/less files and js/coffeescript files. I need run assetic:dump than before cap deploy is performed, because a target server has not installed node js and coffeescript. If I use set…
positive
  • 151
  • 2
  • 12