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 1046957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:13:44+00:00 2026-05-16T16:13:44+00:00

Hello I get this error when I do cap deploy:cold. * executing cd /var/www/myapp.no/releases/20100905130830;

  • 0

Hello I get this error when I do cap deploy:cold.

 * executing "cd /var/www/myapp.no/releases/20100905130830; rake RAILS_ENV=
production  db:migrate"
    servers: ["myapp.no"]
    [gcrdesign.no] executing command
 ** [out :: gcrdesign.no] (in /var/www/myapp.no/releases/20100905130830)
    command finished
  * executing `deploy:start'
[DEPRECATED] `deploy:start` is going to be removed after 2.5.9 - see http://is.g
d/2BPeA
  * executing "cd /var/www/myapp.no/current &&  nohup script/spin"
    servers: ["gcrdesign.no"]
    [gcrdesign.no] executing command
*** [err :: gcrdesign.no] nohup: cannot run command `script/spin': No such file
or directory
    command finished
failed: "sh -c 'cd /var/www/gcrdesign.no/current &&  nohup script/spin'" on gcrd
esign.no

I have another page on this server an when I go to the one I try to deploy it uses the other pages database. Really strange. They are the same cms application, but different sites. Does anybody know what I am doing wrong

Here is my deploy.rb

set :application, "myapp.no"
role :app, application
role :web, application
role :db,  application, :primary => true

set :user, "myname"
set :use_sudo, false
set :deploy_to, "/var/www/#{application}"
set :deploy_via, :remote_cache

set :scm, :git
set :repository, "git://github.com/myname/myapp.git"
set :branch, "master"


namespace :deploy do
  desc "Symlink shared configs and folders on each release."
  task :symlink_shared do
    run "ln -nfs #{shared_path}/config/database.yml #{release_path}/config/database.yml"  
    run "ln -nfs #{shared_path}/public/assets/pictures #{release_path}/public/assets/pictures"  
    run "ln -nfs #{shared_path}/db/productin.sqlite3#{release_path}/db/productin.sqlite3"  
    run "ln -nfs #{shared_path}/public/uploads/Image #{release_path}/public/uploads/Image"  
  end

  desc "Restarting mod_rails with restart.txt"
  task :restart do
    run "touch #{current_path}/tmp/restart.txt"
  end



end
after 'deploy:update_code', 'deploy:symlink_shared'
after "deploy", "deploy:cleanup"
  • 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-16T16:13:44+00:00Added an answer on May 16, 2026 at 4:13 pm

    It looks like you are using passenger/mod_rails from your deploy.rb. When using passenger, you need to override the default deploy:start and deploy:stop tasks.

    namespace :deploy do
      [:start, :stop].each do |t|
        desc "ignore #{t} since we are using passenger"
        task t do ; end
      end
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried running a python script: print Hello, World! And I get this error:
How to get a file's creation date or file size, for example this Hello.jpg
Hello I am compiling a program with make but I get the error of
I get this error object has no attribute 'im_func' with this class Test(object): def
I'm sending a simple mail with attachment using SmtpClient but I get this error:
Hello I have the following error by git-fsck, which cannot be cleaned by git-gc
Hello can anybody solve this please I'm creating the object in the action class
Hello I am working with a simulator that uses rcS scripts to boot, this
I'm just starting with Adobe Flex on linux, and can't get the hello world
I got this error message: multiple definition of `GamepadControll::GamepadControll()' After being frustrated for hours

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.