Capistrano is a [web] application deployment tool, working in push mode.

learn more… | top users | synonyms

1
vote
1answer
24 views

Automating computing docker images on AWS E2C machines [closed]

I would like to distribute some of my computing programs on multiple machines when a specific process is started from a web gui. For this, I need to start several aws e2c machines, deploy my software ...
0
votes
0answers
7 views

Virtualmin Virtual Servers file owner solution for deployment

I'm trying to setup a deployment system (Capistrano, Rocketeer, etc...) on my server based on Virtualmin. I've seen that Virtualmin creates a user and a group with the name of the vserver and a home ...
1
vote
1answer
104 views

Nginx not responding with rails app deployed on aws ec2 instance using capistrano

I have a rails application deployed through capistrano on an aws ec2 instance and have passenger nginx installed on the server as well. Whenever I try and access my application using the DNS or the ...
0
votes
0answers
89 views

capistrano deploy cannot mkdir

I'm deploying a rails project to a new Ubuntu 14.04 EC2 instance with Capistrano 3.4.0. Capistrano connects successfully, but when it gets to the git clone step, it fails with: DEBUG [afb89c4f] ...
0
votes
0answers
139 views

ruby on rails 404 not found after deployment

I'm getting a 404 not found error after deploying my rails app. I'm using: ubuntu, nginx, capistrano, & unicorn. These are my configurations: nginx.conf upstream unicorn { server ...
0
votes
1answer
78 views

Capistrano 3 hangs in git:check

I'm trying to deploy to a new ubuntu 14.04 box with cap staging deploy, but capistrano hangs during the git:check task: GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/<app_name>/git-ssh.sh /usr/bin/env git ...
0
votes
1answer
231 views

Pipe Unicorn output to Logstash-Forwarder

I have installed logstash-forwarder on a DigitalOcean Ubuntu droplet, along with my Rails app that I deploy with Capistrano. I know logstash-forwarder is installed because I can do sudo service ...
0
votes
1answer
329 views

NGINX Permissions: 'sudo nginx' vs 'sudo service nginx start'

I'm doing a capistrano Setup here with nginx 1.6.2 and Unicorn. But Under my current setup nginx doesn't create the server i have written in con file. Im sure its a permission error for my user's ...
1
vote
1answer
309 views

Ansible/Capistrano with fixed sudo command (“sudo su -”)

I have to administer some half-managed servers (monstly CentOS 6), where we are only allowed to login as a regular user, then do "sudo su -" and type the regular user password, and then run the ...
0
votes
1answer
265 views

Nginx: redirect http to https

I know the question has been asked countless times. Still cant get mine to work with the answers i've seen so far. I'm trying to force redirect http to https with nginx. When i visit ...
0
votes
1answer
694 views

capistrano 3 “does not appear to be a git repository”

I have a problem when I try to deploy a rails application via capistrano. The following are my current configuration files with redacted servernames: config/deploy.rb lock '3.2.1' set ...
0
votes
2answers
820 views

Capistrano 2 update_code task not using sudo

I'm using Capistrano 2(.15.4) to deploy rails applications (i know, trying to get to 3 but not quite there yet). We have a new server environment being set up, with IT preferring access through our ...
-2
votes
3answers
405 views

Enable Passwordless Sudo with Arguments

I am trying to enable passwordless sudo for updating yum on a RHEL box. I have the following line in sudo visudo. myuser ALL=(ALL) NOPASSWD: /usr/bin/yum update After doing this under myuser I am ...
1
vote
3answers
371 views

Wordpress - Capistrano Permissions Issues

I'm managing a WordPress install with Capistrano and Composer. Everything is setup and working well, its quite fast on my ngix / php-fpm setup. However, I ran into an issue when attempting to update ...
2
votes
2answers
60 views

Delayed software release using pre-fetched update data?

I am currently specing out the software requirements for a new project which will be in locations with intermittent network connections. Since some of our locations will have intermittent network ...
0
votes
1answer
600 views

Capistrano fails to delete folders/files created by Apache

Problem Capistrano deploys a web application via SSH using deploy user. Apache/PHP runs under typical www-data user. Web server is creating cache files and folders at runtime inside the app path. ...
4
votes
1answer
893 views

Creating a docker container from a capistrano deploy

I'm having a bit of a difficult time understanding how I can leverage my existing infrastructure code with Docker. I have a Ruby on Rails app that uses capistrano to push out deployments. I want to ...
-1
votes
2answers
39 views

Nginx: Changing user [closed]

I have root and deployer users in my ubuntu 13.10. I also have nginx, unicorn installed with Rails 4 application. I'm deploying my application using capistrano 3. Problem: When I prepare a env for ...
2
votes
1answer
112 views

Sharing ENV variables between multiple linux servers

I need to be able to share ENV variables between multiple linux servers. These variables are used by my application. I'd like to keep these variables in sync between all servers. Application ...
0
votes
2answers
1k views

Permission to write using 'deploy' user

I'm currently new to Chef and Capistrano. I'm using version 3.x of Capistrano to deploy Rails 4 application. I have successfully bootstrapped a server using chef solo. One cookbook that I'm using is ...
1
vote
0answers
123 views

Get Thin server to restart while picking up changes in newly deployed directory

After deploying using capistrano where I have a deploy task that is restarting the thin server, the changes that were just deployed are not getting picked up by the thin server. Even if I manually ...
0
votes
1answer
111 views

cant echo on remote server using capistrano

using the command line it works: $ ssh user@remote.vm.net password: > echo ping ping with capistrano: # set :use_sudo, true set :pty, true set :user, 'user' set :password, 'password' set ...
1
vote
1answer
124 views

Is using Capistrano for user maintenance tasks on university lab feasible?

I've been looking around for tools to replace some legacy scripts for creating and maintaining accounts in a university computer lab ecosystem consisting of things like: LDAP and Kerberos for ...
0
votes
1answer
192 views

Apache sites file without domain name [closed]

I can't seem to find this on google. I'm trying to put up a quick test site using EC2 and Elastic IP but I'm getting stuck at how to edit the Apache sites file so that I can view the site. It's ...
0
votes
2answers
174 views

Can I use capistrano for this usage case?

I want to run commands on many servers simultaneously. I know that mcollective, capistrano, clusterssh and pconsole are tools to quickly managed many servers simultanesouly. An example command: du ...
0
votes
1answer
687 views

Connection error while deploying a PHP application to Linode using Capistrano

I'm trying to deploy a PHP application onto a Linode server with Capistrano. I've installed Ruby and Capistrano, and configured my deploy.rb file (possibly incorrectly). However, when I run cap ...
11
votes
2answers
2k views

What is the “+” in “drwxrwsr-x+”

I'm working a website we maintain, and I use Capistrano to deploy. I've kind of inherited the stuff, so I'm not the one who set everything up. When I deploy to the server, it fails and nothing is ...
0
votes
1answer
476 views

Capistrano authentication to server fails but ssh for deploy user works

I've been working with capistrano for about a year deploying an app and everything went fine, until a couple of days ago when I got this ** [server_name :: out] fatal: Authentication failed after ...
0
votes
2answers
125 views

capistrano-started tomcat dies immediately, ssh'ing the exact same command succeeds

so I was playing around with capistrano and a local dummy raring vm in vbox. everything was fine and my attention shifted to deployments on real machines. A couple of days later I want to deploy to my ...
2
votes
1answer
1k views

how to correctly clear php apc cache with capistrano

we are using capistrano to deploy our PHP application. and php-apc is enabled on the production server with apc.stat = 0. In capistrano config there is a rule to clear apc cache after deploy:update : ...
0
votes
1answer
267 views

Capistrano Shell Environment Errors

I'm trying to get capistrano working with rvm and passenger standalone. I had it working at one point, then capistrano suddenly started complaining about missing the bundle command. When I remove ...
1
vote
2answers
3k views

Capistrano error “bundle: not found”

I'm trying to deploy octopress on a VPS but getting this error bundle: not found but bundle is installed! Full error. $ cap deploy * 2013-07-20 18:08:55 executing `deploy' * 2013-07-20 18:08:55 ...
2
votes
0answers
200 views

capistrano deployment script fails with Cisco AnyConnect VPN connection

I am new to capistrano and trying to run script to deploy source codes to QA server which connected with VPN. Tested script in my 'Git bash' shell in windows machine. I have no problems at connecting ...
0
votes
1answer
551 views

Why does amazon ec2 have downtime after deploy when other identical servers do not?

This has puzzled me for the past few months...I'm admittedly new to server administration and I took a stab running a production rails app over at EC2. While I've learned a lot and feel pretty ...
2
votes
2answers
223 views

Archetypical user setup for capistrano to tomcat deployment on Linux box

I'm relatively new to the CD and DevOps topics and I am trying to setup automatic deployments with capistrano, which works well on my local add hoc test environment. I wonder however how one would ...
0
votes
2answers
97 views

Allow developers to deploy to server but not login (ssh) to server

This might be impossible but this is what I would like: Allow the developer to login to server via Capistrano so that he can deploy changes. e.g. cap deploy Do not allow the developer to login to ...
0
votes
1answer
100 views

Migrate Rails app with passenger, capistrano(with rubber), and ImageMagick to Dreamhost

I have a beta app that a developer has made for my company and I need to clone their work onto another server. I have successfully backed up the MySQL database to another server and copied all their ...
0
votes
1answer
43 views

How do I restart a process someone else is using

I'm pretty new to ops so please don't mind if use the incorrect terms. I have a program that runs on another box. I need to restart the program after I deploy code to it, via capistrano. I tried ...
1
vote
2answers
380 views

Rails: Multiple application deployment strategy

At my company, we currently have one main project which is a big monolithic Rails app. Deployment is easy, we have a couple of frontend servers (setup with Puppet) which Capistrano deploys into ...
1
vote
2answers
84 views

Securing a remote LAMP server that uses Capistrano for Git deploys

I am deploying my Github repo to a Media Temple Grid Server using Capistrano. In order to do this, I've setup the following: Enabled logging into the remote server with SSH keys (following this ...
2
votes
0answers
287 views

When restarting thin via Capistrano changes aren't picked up

In my deploy.rb I have the following tasks: namespace :deploy do task :start, :roles => :app do run "cd #{current_path} && bundle exec thin start -C config/thin.yml" end ...
1
vote
1answer
144 views

Capistrano suddenly stops using public key

I'm trying Capistrano to deploy to a VPS where I have public key access to my user foo. For deployment, I created another user deploy, set up my key into it's authorized_keys, configured capistrano to ...
1
vote
0answers
83 views

How to create a Capistrano task to import a backup from production into local development db?

I'm trying to do something with a Capistrano task that is similar to the heroku db:pull functionality if you are familiar with it. I have a remote server. On that server I have a bunch of backups in ...
1
vote
1answer
262 views

Dynamic IP on NGINX geo module without restart

I want create a task on my Capistrano deploy to put my public IP on geo module configuration of my NGINX server without restart NGINX, is it possible? Example, my /etc/nginx/nginx.conf: geo $geo { ...
0
votes
1answer
466 views

the right way to do deployment with capistrano

I look for good practices for deploying with capistrano. I would like to start out with a short description how I used to do deployment. capistrano is installed locally on a developer's computer. I ...
0
votes
1answer
1k views

unicorn and nginx, went wrong

I try to deploy my app via capistrano. It was done, but when I start to nginx and show my site in the browser I see 'We're sorry, but something went wrong.' It is bad. I use unicorn. See my configs ...
2
votes
0answers
815 views

Rails, Capistrano, Nginx, Unicorn - Application has been already initialized (RuntimeError)

Can anyone shed some light on what exactly this error refers to? I'm having trouble deploying new versions of the site. I, INFO -- : reloading config_file=[snip]/current/config/unicorn.rb I, INFO ...
3
votes
2answers
2k views

Force Capistrano to ask for password

I am deploying using Capistrano to a new server and having the following issue. Currently, I cannot add an SSH key to the server to log in with so I must use password authentication. However, I do ...
1
vote
1answer
174 views

Allow a group to run all files under a certain directory in CentOS

I am trying to set up automatic deployment for my Rails app using Capistrano. Capistrano will need to run sudo kill, and I achieved that without it asking me for a password, by editing the ...
2
votes
1answer
1k views

Deleting a remote directory using capistrano

I am using Capistrano to deploy a Ruby on Rails application to a server. Everything is running up until the point when bundle install is called in which case I get the error "Some gems seem to be ...