capifony

The controller for URI is not callable, using annotations

混江龙づ霸主 提交于 2019-12-23 03:16:17
问题 I have a symfony2 controller that is returning 500, with this log entry: [2014-03-26 01:25:48] request.INFO: Matched route "searchtempestsite_direct_sponsored" (parameters: "_controller": "SearchTempest\Bundle\SiteBundle\Controller\SearchController::DirectResultsSponsoredAction", "_route": "searchtempestsite_direct_sponsored") [] [] [2014-03-26 01:25:48] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "The controller for URI "/search/direct/sponsored" is not callable." at [

Use capifony to deploy to multiple production servers

孤者浪人 提交于 2019-12-14 02:43:27
问题 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 multiple checkouts with separate config files. Is this really the case? 回答1: You should take a look to http://capifony.org/ Update: Here you can find a sample of how to set it up. Deploying a Rails App to Multiple Servers using Capistrano - Best

Capifony failed reinstalling vendors with Symfony2.1

余生颓废 提交于 2019-12-12 02:18:09
问题 I'm trying to deploy a Symfony2.1 project with Capifony2.1.14 and it failed when reinstalling vendors . Configuration: I'm on Mac OSX Montain Lion (client) and have a server on servergrove.com witch is on Ubuntu 12.04.1 LTS. My deploy.rb file looks like this: set :application, "DOA Manager Toshiba" set :domain, "root@server.me" set :deploy_to, "/var/www/vhosts/server.me" set :app_path, "app" set :user, "root" set :use_sudo, false set :repository, "git://github.com/****/****.git" set :scm,

Symfony2 Capifony deploy setfacl Operation not permitted on cache directory

ε祈祈猫儿з 提交于 2019-12-10 21:31:05
问题 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, ["app/cache"] set :webserver_user, "www-data" set :use_set_permissions, true set :permission_method, :acl Everything is deploying fine apart from when this is run executing "setfacl -R -m u:ubuntu:rwx -m u:www-data:rwx /var/www/releases/20140310012814/app/cache"

Capifony and directory owners

六眼飞鱼酱① 提交于 2019-12-09 04:37:54
问题 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: Uncaught exception 'RuntimeException' with message 'Failed to write cache file "/var/www/example/prod/releases/20120103202539/app/cache/prod/classes.php".' in /var/www/example/prod/releases/20120103202539/app/bootstrap.php.cache:1079\nStack trace:\n#0 /var

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

余生颓废 提交于 2019-12-07 08:46:08
问题 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 I've had to comment this out temporarily until it's sorted. Here's the relevant code from app.php : $loader = require_once __DIR__.'/../app/bootstrap.php.cache'; // Use APC for autoloading to improve performance. // Change 'sf2' to a unique prefix in

'An error occurred when executing the “'cache:clear --no-warmup'” command' with capifony

一笑奈何 提交于 2019-12-01 12:00:59
I am trying to deploy with capifony, but when I run $ cap deploy It returns an error --> Updating code base with remote_cache strategy Password: --> Creating cache directory................................✔ --> Creating symlinks for shared directories................✔ --> Creating symlinks for shared files......................✔ --> Normalizing asset timestamps............................✔ --> Updating Composer.......................................✔ --> Updating Composer dependencies..........................✘ *** [err :: som.info] *** [err :: som.info] [RuntimeException] *** [err :: som.info

'An error occurred when executing the “'cache:clear --no-warmup'” command' with capifony

冷暖自知 提交于 2019-12-01 11:57:23
问题 I am trying to deploy with capifony, but when I run $ cap deploy It returns an error --> Updating code base with remote_cache strategy Password: --> Creating cache directory................................✔ --> Creating symlinks for shared directories................✔ --> Creating symlinks for shared files......................✔ --> Normalizing asset timestamps............................✔ --> Updating Composer.......................................✔ --> Updating Composer dependencies........

Multiple server deploy: asking ssh password for each server

坚强是说给别人听的谎言 提交于 2019-12-01 06:50:26
问题 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 --version Capistrano v2.9.0 daniel@fiji:~$ uname -a Linux fiji 3.0.0-13-generic-pae #22-Ubuntu SMP Wed Nov 2 15:17:35 UTC 2011 i686 i686 i386 GNU/Linux And some configurations from deploy.rb: set :domain, "mydomain" ... set :user, "sshuser" set :password