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
4
votes
3 answers

Capifony setfacl permissions: "Operation not permitted"

I have a user didongo (user & group didongo), and the nginx server (user & group www-data). I've setup Capifony to login as didongo user: the first time I deploy setfacl command works ok (while the logs folder is empty). But after the web…
doup
  • 841
  • 1
  • 9
  • 20
4
votes
3 answers

Deploying Symfony2 app with Capifony - APC loader still uses previous release

I've recently upgraded my Symfony2 application to 2.1 and migrated it to a new server, so I figured I'd configure Capifony to make deploying simpler. Everything has gone great except for the fact that it now doesn't make use of the APCLoader, so…
RobMasters
  • 4,108
  • 2
  • 27
  • 34
4
votes
0 answers

Failure to use agent forwarded ssh key with capistrano and symfony2 bin/vendors install

We use ssh agent forwarding to deploy our Symfony2 projects to our servers. This works fine and we have no issues performing git clone etc from github using capistrano. But, for Symfony2 you need to do bin/vendors install to fetch the latest deps.…
Roderik
  • 401
  • 1
  • 7
  • 14
4
votes
5 answers

Capifony database functions fail with `require': cannot load such file -- FileUtils (LoadError)

When I call any of the Capifony database functions, cap database:move:to_remote for example, I get the following ruby error: jeremykendall@isr-thinkpad-420s:~/dev/sites/app$ cap develop database:move:to_remote triggering load callbacks *…
Jeremy Kendall
  • 2,869
  • 17
  • 17
3
votes
4 answers

Capifony and directory owners

When I cap deploy my Symfony2 project, then log into my server I see that the the dev (app_dev.php) runs ok but the prod version (app.php) does not. The error is [Tue Jan 03 14:31:48 2012] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: …
ed209
  • 11,075
  • 19
  • 66
  • 82
3
votes
2 answers

Problems with cap deploy a symfony2 project, can't find app/bootstrap.php.cache

I'm trying (for the first time) to use capifony to deploy my site from my github repo. It runs right through to the setup phase and has this error: ** [out :: example.me] PHP Warning: …
ed209
  • 11,075
  • 19
  • 66
  • 82
3
votes
2 answers

Multiple server deploy: asking ssh password for each server

I'm setting up Capifony (Capistrano for symfony) but I've an issue with ssh password when testing multiple server deploy. Here some versions: daniel@fiji:~$ ruby --version ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux] daniel@fiji:~$ cap…
dlondero
  • 2,539
  • 1
  • 24
  • 33
3
votes
2 answers

Symlink to /project/current/web work but not to /project/current/web/app.php (Apache / Ubuntu / Symfony2)

Symlink to /var/www/myproject/current/web/ is working but is listing the web directory (not good). Symlink to /var/www/myproject/current/web/app.php isn't working and give me this error : The requested URL / was not found on this server. no logs in…
Kaizoku Gambare
  • 3,143
  • 3
  • 29
  • 41
3
votes
2 answers

Symfony2 Capifony deploy setfacl Operation not permitted on cache directory

I am deploying my Symfony2 web app onto an Apache web server, on an Ubuntu machine, hosted on AWS, using Capifony multistage deploy. I have user set set :user, "ubuntu" And writable directory for cache set like so set :writable_dirs, …
Patrick
  • 358
  • 6
  • 20
3
votes
0 answers

Using capistrano with a load balancer

We have a site on Rackspace with 2 servers and a load balancer, deployed with Capistrano (actually Capifony). I would like to: Disable server 1 on the load balancer Upgrade server 1 to the new code Pause and let me test server 1 by logging in to…
rjmunro
  • 27,203
  • 20
  • 110
  • 132
3
votes
1 answer

capifony multistage deployment and database configuration per stage

I found excellent tool called capifony which is very very useful while developing symfony2 application and I want to work with multistage option. All works fine, but I have one problem with database configuration for other stages. Suppose we…
Karol F
  • 1,556
  • 2
  • 18
  • 33
3
votes
1 answer

Symfony2 + Capifony Doctrine migrations

I've installed the DoctrineMigrationsBundle to my Symfony2 app, however when I try to deploy to my development server I'm getting the following error: Do you really want to migrate dev's database? (y/N) y * executing "sh -c ' cd…
user1961082
  • 1,015
  • 17
  • 41
3
votes
3 answers

Capifony + Symfony2 Failed to write cache file

When deploying my dev environment to my external dev server using capistrano I always get the following error: RuntimeException: Failed to write cache file "/var/www/xyz.co.uk/app/cache/dev/classes.php". Then I have to log into my development…
user1961082
  • 1,015
  • 17
  • 41
3
votes
1 answer

Capifony cache error when deploying to development server

I'm trying to deploy my Symfony2 application to my development server which is hosted externally, using capifony, however I'm getting the following error: --> Updating code base with remote_cache strategy --> Creating cache…
user1961082
  • 1,015
  • 17
  • 41
3
votes
3 answers

PHP Fatal error when deploying Symfony2 project using Capifony

When deploying my Symfony2 project to my server I occassionally get the following error: PHP Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): fork failed - Cannot allocate memory' in in…
user1961082
  • 1,015
  • 17
  • 41
1
2
3
10 11