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

symfony2 application and capifony error

I have been trying to deploy a symfony2 app via capifony but I keep getting an error at assets:install step. Here is the output when I run cap deploy: --> Updating code base with checkout strategy --> Creating cache…
user1681901
1
vote
2 answers

Symfony2 Capifony deployment - Conflicts on a same server

I want to deploy different branchs of a Git repository on a same server. I've updated app/config/deploy.rb set :stage_dir, "app/config/deploy" require "capistrano/ext/multistage" set :stages, %w(prod stag stag2 stag3) set :application,…
Jerem
  • 460
  • 5
  • 13
1
vote
1 answer

Symfony2 Constraint Class not found

Everything is ok in my dev environment on my local machine. However, on my new staging server, I get an error on my registration page only (as far as I can see): PHP Fatal error: Class 'Symfony\Component\Validator\Constraints\notNull' not found in…
Thomas K
  • 6,076
  • 5
  • 39
  • 56
1
vote
0 answers

Capifony deploy with symfony2 not including my Bundles

I'm trying to deploy my symfony2 project to amazon ec2 but seems like it's not deploying my custom bundles. I get this error: PHP Fatal error: Class 'MyCompany\MainBundle\MainBundle' not found in…
David Collado
  • 358
  • 3
  • 10
1
vote
2 answers

CAPIFONY and SYMFONY. deploy doesn't create the files

I have been struggling with that for a while. Under capifony I run $ cap deploy:setup and it creates two files on my remote host: 1/ releases 2/ shared. I think this shows that until now everything works pefect. But when I start to deploy, I got the…
123pierre
  • 305
  • 1
  • 4
  • 18
1
vote
1 answer

Is there any way to overwrite the cap deploy:setup task?

Where can I find the capifony/capistrano tasks in order to overwrite them. I want when I run cap deploy:setup to modify it to add an extra symlink to accomodate my server structure. Is that possible? Or at least to write a new task to do this.
user1236048
  • 5,542
  • 7
  • 50
  • 87
1
vote
2 answers

Why capifony creates both folder /shared/app/logs and /shared/logs (symfony2)

I use Capifony to deploy my Symfony2 project to the production server. As a result of the deploy:setup task, folder called /shared/logs were created. However the symfony2 actually refers to /shared/app/logs to store the log files while the…
Phradion
  • 431
  • 2
  • 9
0
votes
1 answer

Error while deploying Symfony2 project with capifony

I want to deploy my newly build Symfony2 project using capifony. After the initial setup with cap deploy:setup, which worked just fine, all the needed files/folders were created. But now when I want to cap deploy the subdirectories aren't created.
redshark1802
  • 894
  • 2
  • 12
  • 22
0
votes
1 answer

Capifony & Symfony 2 error: php bin/vendors install --reinstall

I have a big problem. I had a configuration which worked properly till today. I don't know why I have now this error *** [err :: server.com] Could not open input file: bin/vendors command finished in 312ms *** [deploy:update_code] rolling back …
Sam
  • 779
  • 3
  • 18
  • 39
0
votes
1 answer

Deploy symfony project: Failed connect to github.com:80; Operation now in progress while accessing http://github.com/symfony/symfony.git/info/refs

I use capifony, and I deploy my symfony project into my server. I have seen that I have a problem: *** [err :: server.com] error: Failed connect to github.com:80; Operation now in progress while accessing…
Sam
  • 779
  • 3
  • 18
  • 39
0
votes
3 answers

Capifony + Symfony2: Error using cap deploy to my server

I want to deploy my Symfony2 project into my server and capifony but I have a problem: [server.com] executing command *** [err :: server.com] find: /home/app/src/releases/20120207163503/web/css: No such file or directory *** [err :: server.com]…
Sam
  • 779
  • 3
  • 18
  • 39
0
votes
1 answer

Capifony executing `symfony:assets:install' error

this is my deploy.rb set :application, "uda" set :domain, "gureak-akademi.grupogureak.com" set :deploy_to, "/var/www/html/" set :app_path, "app" set :user, "root" set :use_sudo, false #default_run_options[:pty] =…
ikerib
  • 781
  • 3
  • 11
  • 28
0
votes
1 answer

Capifony/capistrano hook after symlink switch into new revision

I need to call cli task on my server after capifony switch application onto new revision by symlink. Its because of clean APC after succesfull deploy. I know i can call anything before that symlink switch via after "deploy:finalize_update" do (i…
palmic
  • 1,846
  • 2
  • 20
  • 30
0
votes
2 answers

Capifony and git bare repo

I have this deploy.rb file: set :application, "UDA" set :domain, "10.0.0.59" set :deploy_to, "/home/gitek/www/uda/" set :app_path, "app" set :user, "gitek" ssh_options[:port] = 22 set :php_bin, "/usr/bin/php" set :scm, …
ikerib
  • 781
  • 3
  • 11
  • 28
0
votes
1 answer

capifony failed: "sh -c 'mkdir -p /test/ /test/releases /test/shared'"

I want to push my Symfony 2.8 Project on my Host. But when I execute cap deploy:setup I get this error: failed: "sh -c 'mkdir -p /test/ /test/releases /test/shared'" on ftp.cluster003.hosting.ovh.net Do you have any answers for this problem ?