Questions tagged [capistrano3]

Capistrano is an open source tool for running scripts on multiple servers; its main use is deploying web applications. It automates the process of making a new version of an application available on one or more web servers, including supporting tasks such as changing databases.

Learn more from their website: http://capistranorb.com/

Online Screencasts

825 questions
0
votes
0 answers

Git path is not accepted while upgrading from capistrano v2 to v3

I have git in my app path. Already I am using capistrano 2 to deploy the same app. It accepts my git path. Through that I can do all operations(git pull, push). But why my git path is not accepted with capistrano 3 for the same app? DEBUG [c5891dcc]…
Sam
  • 5,040
  • 12
  • 43
  • 95
0
votes
1 answer

Capistrano v2 to v3 upgrade confusing

Can any body kindly help me to upgrade capistrano from version2 to version.3. I am confused of referring different links. As more changes are in version 3 compared to version 2, I am getting error continuously while upgrading. Still I couldn't find…
Sam
  • 5,040
  • 12
  • 43
  • 95
0
votes
1 answer

How to limit gems to be installed on different rails environment?

I have this in my Gemfile: .... .. # Use Capistrano for deployment group :development do gem 'capistrano', '3.0.1' gem 'capistrano-rails', '~> 1.1' end Now, if I go on my production server and do RAILS_ENV=production bin/bundle install it…
Surya
  • 15,703
  • 3
  • 51
  • 74
0
votes
1 answer

How to connect via defined ssh connection and run shell commands on server with capistrano?

I have my deploy.rb: require 'net/ssh/proxy/command' set :application, 'my app name' set :repo_url, 'my github url' set :scm, :git set :scm_verbose, true set :use_sudo, false set :port, ENV['SSH_PORT'] # will give the port…
Surya
  • 15,703
  • 3
  • 51
  • 74
0
votes
2 answers

Capistrano 3: use short `cap deploy` to deploy on production by default

I'm curious how to configure capistrano 3 with short cap deploy command to deploy on production by default instead of full cap production deploy.
Sergey Alekseev
  • 11,910
  • 11
  • 38
  • 53
-1
votes
1 answer

Deploying to ubuntu server with capistrano

I am just starting to learn capistrano, below is my configuration that i have setup and trying to use with circleci deploy.rb # config valid for current version and patch releases of Capistrano lock "~> 3.17.3" # Application name set :application,…
Syed Naeem
  • 681
  • 8
  • 17
-1
votes
1 answer

Deploy a folder of GitHub branch to EC2 server using Capistrano

I am doing my first server deployment. I am developing a Rails API project with Angular as front end. Server code is saved in a folder in GitHub branch. I need to deploy only the content of that folder into the server. Currently, in deploy.rb, I…
CR7
  • 680
  • 2
  • 8
  • 24
-1
votes
1 answer

Ruby on Rails - Capistrano deploy error

I'm trying to do this tutorial: https://gorails.com/deploy/ubuntu/16.04#capistrano Have finished the tutorial but get an error when I run: cap production deploy Been working on this for many hours. Please help! This is my error: 00:30…
German
  • 496
  • 1
  • 4
  • 10
-1
votes
2 answers

Error (upload image) after deploy using capistrano rails 4

Yesterday i tried to deploy my rails app to my own server. For deploy, i have followed gorails tutorial -> https://gorails.com/deploy/ubuntu/14.04. After deployed, finally my rails app has running live. But i have a problem when i try to create room…
Sakti
  • 31
  • 10
-1
votes
1 answer

.env file states that it is uploaded, yet when I look on my server, its not there.

Im using Cap3 to deploy my application. im using dotenv-rails with the .env file holding my secrets. This does not get pushed to git, which we deploy from. in my stack track it shows the .env file gets uploaded into the releases/ directory, yet…
R.J. Robinson
  • 2,180
  • 3
  • 21
  • 33
-1
votes
1 answer

Capistrano 3 no tasks executed

MacBook-Pro:myapp deploy_user$ cap production deploy --trace ** Invoke production (first_time) ** Execute production ** Invoke load:defaults (first_time) ** Execute load:defaults ** Invoke rvm:hook (first_time) ** Execute rvm:hook DEBUG[46b09934]…
Jan Huehne
  • 11
  • 1
-1
votes
1 answer

Getting error on deployment in capistrano 3.1

My deploy.rb file is lock '3.2.1' set :application, 'my_app' set :repo_url, 'path_to_git_repo.git' set :deploy_user, 'root' set :deploy_to, '/var/www' set :branch, 'master-final_code' set :scm, :git set :deploy_via,…
-1
votes
1 answer

Capistrano deploy from git repo located on dreamhost

I have my git repo on my shared dreamhost account. this works well when I push from my local machine. it will ask for my password. I can also login to my production server(at Digital Ocean) and clone this repository. But when i try to use Capistrano…
Jepzen
  • 2,942
  • 6
  • 40
  • 62
-1
votes
1 answer

Deploying Symfony2 with Capistrano3 - permissions

I'm trying to deploy a Symfony2 based site with capistrano/symfony, and I've already gotten it to properly run the 'composer install'. However, it runs that as the deployment user. When the website runs, it can't write any more cache files as the…
Alister Bulman
  • 34,482
  • 9
  • 71
  • 110
-2
votes
1 answer

Best tool for run commands on multiple server by single machine without login individually and see the log of command on master machine?

Please tell me the best tool for executing command on multiple system which have different OS. And can we see the log of these command on a single machine.
1 2 3
54
55