similar to: unicorn doesn't restart properly after cap deploy (not using Bundler)

Displaying 20 results from an estimated 130 matches similar to: "unicorn doesn't restart properly after cap deploy (not using Bundler)"

2007 Oct 27
4
Mongrel 1.0.2 on Ubuntu Feisty
Hi everybody, I''ve been trying to setup a Ruby on Rails application on a Ubuntu Feisty machine and I''ve spent a lot of time trying to figure out why Nginx and mongrel_cluster weren''t working. The setup was correct (based on some tutorials found on the internet), but there weren''t any pid files for the mongrels started. In case anybody else has experienced the
2011 Feb 16
1
Forking for background processing with rails/unicorn
Hello, I''ve been working for a few days on a problem which, after tracking it down, seems to be related to unicorn. I''m hoping that somebody might be able to help with information about what''s going on. In the Rails 3 application that I support, we sometimes fork during a web request in order to do background processing behind the scenes without the user (and the
2010 Oct 02
2
Unicorn doesn't reload the app after the HUP signal
Hi folks, I''ve experimented a problem while deploying my app, I''ve sent the HUP signal to the master process, I''ve checked everything is ok: new master and workers are spawned and the old ones are killed(I''ve checked the PIDs), but the new code deployed isn''t reflected in the living site, so I''ve to stop and start again unicorn in order to see
2013 Nov 01
7
[PATCH] construct listener_fds Hash in 1.8 compatible way
This renables the ability for Ruby 1.8 environments to perform reexecs --- lib/unicorn/http_server.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb index 2decd77..9a5795c 100644 --- a/lib/unicorn/http_server.rb +++ b/lib/unicorn/http_server.rb @@ -449,13 +449,14 @@ class Unicorn::HttpServer end
2010 Nov 29
0
rake aborted! getaddrinfo: Name or service not known
I''m deploying new rails applications. Everything works well except when it comes to the db migration: * executing "cd /var/rails/benefits_test/releases/20101129190121 && /opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production db:util:migrate" servers: ["ps-test-app1"] [ps-test-app1] executing command ** [out :: ps-test-app1] (in
2010 Nov 30
2
db migration fails
I''m deploying new rails applications. Everything works well except when it comes to the db migration: * executing "cd /var/rails/benefits_test/releases/20101129190121 && /opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production db:util:migrate" servers: ["ps-test-app1"] [ps-test-app1] executing command ** [out :: ps-test-app1] (in
2010 Jun 04
8
unicorn_rails cleanup (possible fix for Rails3) pushed
Hi all, I''ve pushed the following patch out go git://git.bogomips.org/unicorn along with a few other Rails-related test updates. This is more of a shotgun fix (but less code is better :) since I haven''t been able to reproduce the brokeness people have been seeing with "unicorn_rails" and Rails 3 betas. Even though "unicorn" works perfectly well for Rails3,
2010 Jul 12
2
[R3B4] errors[:base] = appends, doesn't "set" - bug, feature, or "error 18"?
If you haven''t heard, an "error 18" means "the error is 18 inches from the screen." Which would mean that I totally get that this could just be me being stupid. However, for some reason I''m thinking this violates the normal behavior of an Array object, so I''m curious as to if I''m doing something wrong here, or if something really is buggy
2010 Feb 18
4
Rails 3 "RAILS_ENV not defined by config/boot" error
I''m running unicorn and unicorn-rails 0.96.1 and the latest Rails 3 beta gem. ?Firing up unicorn_rails spews "RAILS_ENV not defined by config/boot". ?I know this is likely a result of RAILS_ROOT being deprecated?in Rails 3 but I can''t seem to config my way around it. I''m sure other people must have run into this before. ?Is there a quick fix? Thanks
2012 Dec 05
3
Fwd: Issue starting unicorn with non-ActiveRecord Rails app
Hi, I''m trying to use unicorn in a test deployment of a Rails app that uses Mongoid, so Activerecord isn''t included in the app. When I start unicorn through Capistrano though, the stderr log fills up endlessly with identical ActiveRecord-related errors: I, [2012-12-05T04:19:25.375952 #5096] INFO -- : Refreshing Gem list I, [2012-12-05T04:19:32.941249 #5096] INFO -- :
2011 Jul 23
3
Problems running unicorn_rails without bundle exec (in a RVM context)
Hello, I cannot run unicorn_rails out without using bundle exec . This is the error: /home/user/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler/runtime.rb:31:in `block in setup'': You have already activated rack 1.3.1, but your Gemfile requires rack 1.2.3. Consider using bundle exec. (Gem::LoadError) Maybe RVM is involved? Maybe I am involved? Please add me in the CC replies,
2010 May 28
4
unicorn failing to start
Hi, i''m trying to start up unicorn_rails with a rails 3 beta3 project. All I can get out of it is this: I, [2010-05-28T08:54:45.770957 #17852] INFO -- : reaped #<Process::Status: pid 17854 exit 1> worker=0 I, [2010-05-28T08:54:45.771200 #17852] INFO -- : worker=0 spawning... I, [2010-05-28T08:54:45.774049 #17858] INFO -- : worker=0 spawned pid=17858 I,
2010 Sep 07
1
unicorn_rails and rails 2.3.8
First off, I love unicorn. Thanks to all who have worked on it. For the first time, I am trying to run a rails 2.3 app with unicorn. I don''t understand what is not set correctly. I have rails 2.3.8 and dependencies installed. I am sure it is something simple.... See output below. Much thanks! Matt config/environment.rb ... RAILS_GEM_VERSION = ''2.3.8'' unless defined?
2012 Feb 17
2
Bug in unicorn_rails when Encoding.default_internal is set
Hi, We recently made the switch to 1.9 for our large rails 2.3.14 project and ran into some strange behavior from the unicorns where encoding problem would cause blank 500 pages to be "randomly" served to users (we run ~10 x 5 unicorn workers behind our load balancer). We found that unicorn workers were dying when someone requested a url with utf-8 in it, and died in such a way that
2009 Oct 13
7
Unicorn Nginx Issue
I''ve setup nginx with this server { listen 80; server_name unicorn.local; location / { proxy_pass http://unicorn; } } upstream unicorn { server unix:/Users/mattmongeau/projects/test/unicorn/tmp/sockets/unicorn.sock; } When I run unicorn_rails -c config/unicorn.rb -E development I can access the application just fine on unicorn.local When I run unicorn_rails -c
2012 Oct 12
3
[PATCH] explicitly use escaped minus in man pages
--- man/man1/unicorn.1 | 32 ++++++++++++++++---------------- man/man1/unicorn_rails.1 | 34 +++++++++++++++++----------------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/man/man1/unicorn.1 b/man/man1/unicorn.1 index 0b496af..749272a 100644 --- a/man/man1/unicorn.1 +++ b/man/man1/unicorn.1 @@ -4,7 +4,7 @@ unicorn - a rackup-like command to launch the Unicorn HTTP
2008 Mar 31
10
Problems with *_path() and *_url() helpers when using Publisher
Hello, I am running into issues using *_path() and *_url() helpers the Facebooker Publisher framework. I encounter the following error when using these helpers while *inside of a partial*: undefined method `default_url_options'' for ActionView::Base:Class I''ve seen a few other people speak about this issue, yet I haven''t seen any resolution on the mailing list yet.
2013 Mar 20
2
Problem With Unicorn
Hello All, I deployed my application in the local server and i''m using unicorn and nginx. I tried to run ''bundle exec unicorn_rails'' but it is showing ''ERROR: Gem bundler is not installed, run `gem install bundler` first.''. even if I run gem install bundler the bundler getting installed, But it is showing the same error again i.e. Gem bundler is not
2011 Sep 06
1
Workers getting broken after some time
I have strange error that happens after couple of hours. Some instances start to respond on any request with status code 500. Log file unicorn.stderr.log gets populated with this error: app error: undefined method `each'' for nil:NilClass (NoMethodError) /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.2/lib/rack/utils.rb:267:in `initialize''
2011 May 19
2
Unicorn preload_app and upstart
?Hi, I was wondering if anyone has managed to get the preload_app and SIGUSR2 combination working well with upstart? My issue currently is that when I perform a SIGUSR2 against the master, check everything''s working and close off the old master, upstart then attempts to restart it because the original PID/binary are no longer running. What is the correct way of handling this? In my