Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7494917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T17:51:13+00:00 2026-05-29T17:51:13+00:00

I’m having the following problem when trying to get Capifony to work deploying my

  • 0

I’m having the following problem when trying to get Capifony to work deploying my application developed with Symfony2. I’m deploying it to a shared web hosting server… Hope somebody can shed some light:

This is the log when calling cap deploy:

    /Applications/MAMP/htdocs/mtg
My-Mac:mtg $ cap deploy
  * executing `deploy'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
    executing locally: "svn info http://path.to/svn/my-app/  -rHEAD"
    command finished in 3362ms
  * getting (via checkout) revision 67 to /var/folders/kv/htk616w153q26vlhlp5g7xqw0000gn/T/20120211124452
    executing locally: svn checkout -q  -r67 http://path.to/svn/my-app/ /var/folders/kv/htk616w153q26vlhlp5g7xqw0000gn/T/20120211124452
    command finished in 6517ms
    compressing /var/folders/kv/htk616w153q26vlhlp5g7xqw0000gn/T/20120211124452 to /var/folders/kv/htk616w153q26vlhlp5g7xqw0000gn/T/20120211124452.tar.gz
    executing locally: tar chzf 20120211124452.tar.gz 20120211124452
    command finished in 190ms
    servers: ["server.com"]
Password: 
 ** sftp upload /var/folders/kv/htk616w153q26vlhlp5g7xqw0000gn/T/20120211124452.tar.gz -> /tmp/20120211124452.tar.gz
    [server.com] /tmp/20120211124452.tar.gz
    [server.com] done
  * sftp upload complete
  * executing "cd /var/chroot/home/content/62/8680462/html/capifony/releases && tar xzf /tmp/20120211124452.tar.gz && rm /tmp/20120211124452.tar.gz"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 9561ms
  * executing `deploy:finalize_update'
  * executing "chmod -R g+w /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 12790ms
  * executing "if [ -d /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/app/cache ] ; then rm -rf /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/app/cache; fi"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 271ms
  * executing "mkdir -p /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/app/cache && chmod -R 0777 /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/app/cache"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 264ms
  * executing "chmod -R g+w /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/app/cache"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 122ms
  * executing `deploy:share_childs'
  * executing "mkdir -p /var/chroot/home/content/62/8680462/html/capifony/shared/app/logs"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 131ms
  * executing "if [ -d /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/app/logs ] ; then rm -rf /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/app/logs; fi"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 241ms
  * executing "ln -nfs /var/chroot/home/content/62/8680462/html/capifony/shared/app/logs /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/app/logs"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 115ms
  * executing "mkdir -p /var/chroot/home/content/62/8680462/html/capifony/shared/web/uploads"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 148ms
  * executing "if [ -d /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/web/uploads ] ; then rm -rf /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/web/uploads; fi"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 106ms
  * executing "ln -nfs /var/chroot/home/content/62/8680462/html/capifony/shared/web/uploads /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/web/uploads"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 131ms
  * executing "mkdir -p /var/chroot/home/content/62/8680462/html/capifony/shared/vendor"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 100ms
  * executing "if [ -d /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/vendor ] ; then rm -rf /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/vendor; fi"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 154ms
  * executing "ln -nfs /var/chroot/home/content/62/8680462/html/capifony/shared/vendor /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/vendor"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 301ms
  * executing "mkdir -p /var/chroot/home/content/62/8680462/html/capifony/shared/app/config"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 243ms
  * executing "touch /var/chroot/home/content/62/8680462/html/capifony/shared/app/config/parameters.ini"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 180ms
  * executing "ln -nfs /var/chroot/home/content/62/8680462/html/capifony/shared/app/config/parameters.ini /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/app/config/parameters.ini"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 210ms
  * executing "if [ -d web/css ] ; then mkdir -p web/css; fi"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 100ms
  * executing "if [ -d web/images ] ; then mkdir -p web/images; fi"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 98ms
  * executing "if [ -d web/js ] ; then mkdir -p web/js; fi"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 104ms
  * executing "find /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/web/css /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/web/images /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452/web/js -exec touch -t 201202111245.31 {} ';'; true"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 2351ms
    triggering after callbacks for `deploy:finalize_update'
  * executing `symfony:assets:install'
  * executing "cd /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452 && /usr/local/php5_3/bin/php app/console assets:install web --env=prod"
    servers: ["server.com"]
    [server.com] executing command
*** [err :: server.com] PHP Deprecated:  Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1256 in Unknown on line 0
*** [err :: server.com] PHP Deprecated:  Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1257 in Unknown on line 0
*** [err :: server.com] 
*** [err :: server.com] Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
 ** [out :: server.com] 
 ** [out :: server.com] 
 ** [out :: server.com] 
 ** [out :: server.com] [Symfony\Component\Config\Exception\FileLoaderLoadException]
 ** [out :: server.com] Cannot import resource "/home/content/62/8680462/html/capifony/releases/20120211124452/app/config/parameters.ini" from "/home/content/62/8680462/html/capifony/releases/20120211124452/app/config/config.yml".
 ** [out :: server.com] 
 ** [out :: server.com] 
 ** [out :: server.com] 
 ** [out :: server.com] 
 ** [out :: server.com] 
 ** [out :: server.com] 
 ** [out :: server.com] [InvalidArgumentException]
 ** [out :: server.com] The "/home/content/62/8680462/html/capifony/releases/20120211124452/app/config/parameters.ini" file is not valid.
 ** [out :: server.com] 
 ** [out :: server.com] 
 ** [out :: server.com] 
    command finished in 3582ms
*** [deploy:update_code] rolling back
  * executing "rm -rf /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452; true"
    servers: ["server.com"]
    [server.com] executing command
    command finished in 13568ms
failed: "sh -c 'cd /var/chroot/home/content/62/8680462/html/capifony/releases/20120211124452 && /usr/local/php5_3/bin/php app/console assets:install web --env=prod'" on server.com

This is my deploy.rb:

set :application, "My App"
set :domain,      "server.com"
set :deploy_to,   "/var/chroot/home/content/62/8680462/html/capifony"
set :app_path,    "app"

set :repository,  "http://path.to/svn/"
set :scm,         :subversion
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `subversion`, `mercurial`, `perforce`, `subversion` or `none`

#set   :deploy_via,    :rsync_with_remote_cache
set   :deploy_via,    :copy

set :model_manager, "doctrine"
# Or: `propel`

role :web,        "server.com"                         # Your HTTP server, Apache/etc
role :app,        "server.com"                         # This may be the same as your `Web` server
role :db,         "server.com", :primary => true       # This is where Rails migrations will run

set  :keep_releases,  3

set :shared_files,      ["app/config/parameters.ini"]
set :shared_children,     [ app_path + "/logs", "web/uploads", "vendor"]
set :update_vendors, false
set :user, "root"
set :use_sudo, false
# set :dump_assetic_assets, false
set :php_bin, "/usr/local/php5_3/bin/php"
#set :symfony_lib, "/var/chroot/home/content/62/8680462/html/vendor/symfony"

Note that I have set update_vendors to false, because Git is not working on the server, so I manually tarred and uploaded the files to the shared folder.
I’m running PHP 5.3.6 on both my local and remote machine.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T17:51:19+00:00Added an answer on May 29, 2026 at 5:51 pm

    It seems that you don’t have parameters.ini in shared location (/var/chroot/home/content/62/8680462/html/capifony/shared/app/config/parameters.ini).

    Did you run cap deploy:setup and cap deploy:cold before cap deploy ? If you want, you can manually create it before running cap deploy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
Seemingly simple, but I cannot find anything relevant on the web. What is the
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I am currently running into a problem where an element is coming back from
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.