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

  • Home
  • SEARCH
  • 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 519925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:05:30+00:00 2026-05-13T08:05:30+00:00

I am receiving the following error when running a cap deploy:update failed: sh -c

  • 0

I am receiving the following error when running a cap deploy:update

failed: “sh -c ‘if [ -d /home/deployer/apps/all_bout_texas/shared/cached-copy ]; then cd /home/deployer/apps/all_bout_texas/shared/cached-copy && git fetch -q origin && git reset -q –hard 2350e98662e7fe00d526ff5f69460beb868a978a && git clean -q -d -x -f; else git clone -q –depth 1 git@github.com:jpowell/all_bout_texas.git /home/deployer/apps/all_bout_texas/shared/cached-copy && cd /home/deployer/apps/all_bout_texas/shared/cached-copy && git checkout -q -b deploy 2350e98662e7fe00d526ff5f69460beb868a978a; fi'”

Here is my deploy.rb:

set :application, "all_bout_texas"

# If you aren't deploying to /u/apps/#{application} on the target
# servers (which is the default), you can specify the actual location
# via the :deploy_to variable:
set :deploy_to, "/home/deployer/apps/#{application}"

# If you aren't using Subversion to manage your source code, specify
# your SCM below:

default_run_options[ty] = true

set :scm, :git

set :repository, "git@github.com:jpowell/all_bout_texas.git"

set :deploy_via, :remote_cache

set :branch, "master"

set :git_shallow_clone, 1

set :copy_cache, true


# abt

role :app, "174.143.241.236"

role :web, "174.143.241.236"

role :db, "174.143.241.236", rimary => true


set :scm_username, "my_user"

set :scm_passphrase, "my_pass"

set :scm_verbose, false


set :user, "my_user"

set :runner, "my_user"


namespace :deploy do

task :copy_database_configuration do

production_db_config = "/home/deployer/config/abt_database.yml"

run "cp #{production_db_config} #{release_path}/config/database.yml"

end


desc "Restarting mod_rails with restart.txt"

task :restart, :roles => :app, :except => { :no_release => true } do

run "touch #{current_path}/tmp/restart.txt"

end


[:start, :stop].each do |t|

desc "#{t} task is a no-op with mod_rails"

task t, :roles => :app do ; end

end


after "deploy:update_code", "deploy:copy_database_configuration"

after "deploy:update_code", "deploy:restart"


end

Any ideas? Thanks.

Josh

  • 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-13T08:05:30+00:00Added an answer on May 13, 2026 at 8:05 am

    Cross-posting is bad taste Josh; you’re at risk of wasting the time of two communities, at least have the courtesy to tell one, you posted to the other.

    You need to verify (as I posted on the Google list) that your deployment works without using :remote_cache.

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

Sidebar

Related Questions

We are receiving the following error using IPC. Failed to connect to an IPC
I am receiving the following error when running my code below /Users/Castillo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb:1423:in stat': No
Background I'm receiving the following error when trying to render a partial view in
I am receiving the following error in PHP Notice undefined offset 1: in C:\wamp\www\includes\imdbgrabber.php
I am receiving the following error in my code (c#, .Net 3.5, VS2008) when
I am receiving the following error when I try to send mail using a
I seem to be intermittently receiving the following error: BigQuery error in query operation:
I'm trying to implement my own GenericIdentity implementation but keep receiving the following error
I am importing an android app into Eclipse. I am receiving the following error
I am receiving an error on the following line of code: Object reference not

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.