capifony

Proc_open and Capifony issue

拟墨画扇 提交于 2020-01-25 23:45:57
问题 I'm trying to use Capifony with my web app in Symfony2.1 to accelerate the deployment process. Here is my deploy.rb file : default_run_options[:pty] = true set :application, "mywebsite" set :domain, "mywebsite.com" set :deploy_to, "~/git/mywebsite.git" set :app_path, "app" set :repository, "git@github.com:myname/mywebsite.git" set :scm, :git # Or: `accurev`, `bzr`, `cvs`, `darcs`, `subversion`, `mercurial`, `perforce`, or `none` set :user, "myserveruser" # The server's user for deploys set

Proc_open and Capifony issue

╄→尐↘猪︶ㄣ 提交于 2020-01-25 23:40:33
问题 I'm trying to use Capifony with my web app in Symfony2.1 to accelerate the deployment process. Here is my deploy.rb file : default_run_options[:pty] = true set :application, "mywebsite" set :domain, "mywebsite.com" set :deploy_to, "~/git/mywebsite.git" set :app_path, "app" set :repository, "git@github.com:myname/mywebsite.git" set :scm, :git # Or: `accurev`, `bzr`, `cvs`, `darcs`, `subversion`, `mercurial`, `perforce`, or `none` set :user, "myserveruser" # The server's user for deploys set

Proc_open and Capifony issue

那年仲夏 提交于 2020-01-25 23:40:07
问题 I'm trying to use Capifony with my web app in Symfony2.1 to accelerate the deployment process. Here is my deploy.rb file : default_run_options[:pty] = true set :application, "mywebsite" set :domain, "mywebsite.com" set :deploy_to, "~/git/mywebsite.git" set :app_path, "app" set :repository, "git@github.com:myname/mywebsite.git" set :scm, :git # Or: `accurev`, `bzr`, `cvs`, `darcs`, `subversion`, `mercurial`, `perforce`, or `none` set :user, "myserveruser" # The server's user for deploys set

Capifony can't download composer - not following redirect

三世轮回 提交于 2020-01-21 15:22:23
问题 I'm using Capifony to deploy my Symfony2 application, but as of today it can't download composer - jenkins output: [32m--> Downloading Composer[0m * executing "sh -c 'cd /data/www/testing/s00110/releases/20150426161117 && curl -s http://getcomposer.org/installer | php'" servers: ["*domain*"] [*domain*] executing command ** [out :: *domain*] <html> ** [out :: *domain*] <head><title>302 Found</title></head> ** [out :: *domain*] <body bgcolor="white"> ** [out :: *domain*] <center><h1>302 Found<

cap deploy freezes at “Updating parameters” - Capifony

牧云@^-^@ 提交于 2020-01-14 05:55:07
问题 by trying to deploy my Symfony 2 Project with Capifony it freezes everytime while "Updating parameters". With the following line: "Exception trace:" I don't have root access on my web-server, but ruby, cURL & composer are installed. Has anyone an idea? 来源: https://stackoverflow.com/questions/27709896/cap-deploy-freezes-at-updating-parameters-capifony

Symfony2 Constraint Class not found

不打扰是莪最后的温柔 提交于 2020-01-05 19:31:31
问题 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 /var/www/sf-ysu/shared/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/AbstractLoader.php on line 63 I use capifony for deployment, which means my vendor directory is symlinked to another location. This might have something to

Symfony2 Capistrano deploying to CDN

给你一囗甜甜゛ 提交于 2020-01-04 05:53:18
问题 I've got a Symfony2 application which I am deploying to development, staging and production servers using Capistrano. However, I'm looking to also setup a CDN to serve static content such as images, css, js files etc. The URL for the CDN for example is static.example.com. I've read that I simply need to add the following to my config_prod.yml file: framework: templating: engines: ['twig'] assets_base_urls: http: [http://static.example.com] However, when deploying using capistrano would I need

Capifony setfacl permissions: “Operation not permitted”

非 Y 不嫁゛ 提交于 2019-12-31 02:08:37
问题 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 application, served by nginx, has generated some logs (prod.log) the very next deploy fails, with an setfacl error. I'm sure I'm doing a noob error with the permissions between the user and the web server, but I don't see what error. I see that didongo

Capifony fails deploying

守給你的承諾、 提交于 2019-12-25 07:03:59
问题 I'm using Capifony to deploy a symfony 2 application, but i got the following error : executing "ln -nfs /home/mypath/shared/ /home/mypath/releases/20150902151722/" servers: ["MY.IP.NU.BER"] [MY.IP.NU.BER] executing command ** [out :: MY.IP.NU.BER] ln: ** [out :: MY.IP.NU.BER] target ‘/home/mypath/releases/20150902151722/’ is not a directory ** [out :: MY.IP.NU.BER] : No such file or directory ** [out :: MY.IP.NU.BER] I have already run cap deploy:setup successfully. Then Capifony rolls back

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

老子叫甜甜 提交于 2019-12-23 18:50:29
问题 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: require_once(/var/www/example/prod/releases/20111208212344/app/bootstrap.php.cache): failed to open stream: No such file or directory in /var/www/example/prod/releases/20111208212344/app/console on line 4 ** [out :: example.me] PHP Fatal error: require_once(): Failed opening required '/var/www/example/prod