After upgrading to 3.1 cannot pass gitlab:app:status
Closed
After upgrading to 3.1 cannot pass gitlab:app:status
Created by: three18ti
Hello,
I performed the steps to upgrade from 3.0 to 3.1, after performing the upgrade I was receiving:
root@gitlab:/home/gitlab/gitlab# sudo -u gitlab -H bundle exec rake gitlab:app:status RAILS_ENV=production --trace
** Invoke gitlab:app:status (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute gitlab:app:status
Starting diagnostics
config/database.yml............exists
config/gitlab.yml............exists
/home/git/repositories/............exists
/home/git/repositories/ is writable?............YES
FATAL: errors found before logging could be setup
FATAL: warn Bareword found where operator expected at /home/git/.gitolite.rc line 24, near "# comment out if you don't"<<newline>> (Might be a runaway multi-line '' string starting on line 22)<<newline>>
fatal: The remote end hung up unexpectedly
Can clone gitolite-admin?............NO
rake aborted!
unexpected return
/home/gitlab/gitlab/lib/tasks/gitlab/status.rake:49:in `rescue in block (3 levels) in <top (required)>'
/home/gitlab/gitlab/lib/tasks/gitlab/status.rake:41:in `block (3 levels) in <top (required)>'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/task.rb:227:in `call'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/task.rb:227:in `block in execute'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/task.rb:222:in `each'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/task.rb:222:in `execute'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/task.rb:166:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/task.rb:159:in `invoke_with_call_chain'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/task.rb:152:in `invoke'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/application.rb:141:in `invoke_task'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/application.rb:99:in `block (2 levels) in top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/application.rb:99:in `each'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/application.rb:99:in `block in top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/application.rb:108:in `run_with_threads'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/application.rb:93:in `top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/application.rb:71:in `block in run'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/application.rb:158:in `standard_exception_handling'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/lib/rake/application.rb:68:in `run'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.0.1/bin/rake:37:in `<top (required)>'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/rake:23:in `load'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/rake:23:in `<main>'
Tasks: TOP => gitlab:app:status
The error appears to come from the line:
GIT_CONFIG_KEYS => '.*'*',
note the extra ', I have tried both
GIT_CONFIG_KEYS => '*',
and
GIT_CONFIG_KEYS => '.*',
which resolved the above error, however, I now receive the error that the post receive file is missing:
root@gitlab:/home/gitlab/gitlab# sudo -u gitlab -H bundle exec rake gitlab:app:status RAILS_ENV=production --trace
** Invoke gitlab:app:status (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute gitlab:app:status
Starting diagnostics
config/database.yml............exists
config/gitlab.yml............exists
/home/git/repositories/............exists
/home/git/repositories/ is writable?............YES
Can clone gitolite-admin?............YES
Can git commit?............YES
UMASK for .gitolite.rc is 0007? ............YES
/home/git/share/gitolite/hooks/common/post-receive exists? ............YES
Validating projects repositories:
* App-SafeBrowsing.....post-receive file missing
* Web based spam processing.....post-receive file missing
Finished
However, it appears that the post receive file exists:
ls -lah /home/git/repositories/app-safebrowsing.git/hooks/post-receive
lrwxrwxrwx 1 git git 45 Dec 11 12:46 /home/git/repositories/app-safebrowsing.git/hooks/post-receive -> /home/git/.gitolite/hooks/common/post-receive
I tried to get help on IRC but it is a ghost town, I apologize for the impatience.
Thanks!
Created by: three18ti
Also, it appears that redis is not running, when I attempt to go to the info page I get the error:
Redis::InheritedError at /info/resque/overview Tried to use a connection from a child process without reconnecting. You need to reconnect to Redis after forking
Full backtrace below:
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb in ensure_connected raise InheritedError, /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb in block in process ensure_connected do /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb in logging return yield unless @logger && @logger.debug? /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb in process logging(commands) do /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb in call reply = process([command]) { read } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis.rb in block in smembers client.call([:smembers, key]) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis.rb in block in synchronize mon_synchronize { yield(@client) } /usr/local/lib/ruby/1.9.1/monitor.rb in mon_synchronize yield /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis.rb in synchronize mon_synchronize { yield(@client) } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis.rb in smembers synchronize do |client| /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-namespace-1.2.1/lib/redis/namespace.rb in method_missing result = @redis.send(command, *args, &block) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.23.0/lib/resque.rb in queues Array(redis.smembers(:queues)) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.23.0/lib/resque/server/views/queues.erb in evaluate_source <% for queue in resque.queues.sort_by { |q| q.to_s } %> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb in instance_eval scope.instance_eval(source, eval_file, line - offset) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb in evaluate_source scope.instance_eval(source, eval_file, line - offset) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb in cached_evaluate evaluate_source(scope, locals, &block) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb in evaluate cached_evaluate(scope, locals, &block) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb in render evaluate scope, locals || {}, &block /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in render output = template.render(scope, locals, &block) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in erb render :erb, template, options, locals /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.23.0/lib/resque/server.rb in partial erb(template.to_sym, {:layout => false}, local_vars) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.23.0/lib/resque/server/views/overview.erb in evaluate_source <%= partial :queues %> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb in instance_eval scope.instance_eval(source, eval_file, line - offset) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb in evaluate_source scope.instance_eval(source, eval_file, line - offset) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb in cached_evaluate evaluate_source(scope, locals, &block) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb in evaluate cached_evaluate(scope, locals, &block) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb in render evaluate scope, locals || {}, &block /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in render output = template.render(scope, locals, &block) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in erb render :erb, template, options, locals /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.23.0/lib/resque/server.rb in show erb page.to_sym, {:layout => layout}, :resque => Resque /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.23.0/lib/resque/server.rb in block (2 levels) in <class:Server> show page /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in call proc { |a,p| unbound_method.bind(a).call } ] /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in compile! proc { |a,p| unbound_method.bind(a).call } ] /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in [] route_eval { block[*args] } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in block (3 levels) in route! route_eval { block[*args] } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in route_eval throw :halt, yield /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in block (2 levels) in route! route_eval { block[*args] } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in process_route block ? block[self, values] : yield(self, values) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in catch catch(:pass) do /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in process_route catch(:pass) do /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in route! pass_block = process_route(pattern, keys, conditions) do |*args| /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in each routes.each do |pattern, keys, conditions, block| /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in route! routes.each do |pattern, keys, conditions, block| /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in dispatch! route! /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in call! invoke { dispatch! } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in invoke res = catch(:halt) { yield } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in catch res = catch(:halt) { yield } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in invoke res = catch(:halt) { yield } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in call! invoke { dispatch! } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in call dup.call!(env) /home/gitlab/gitlab/config/initializers/4_resque.rb in call @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb in call status, headers, body = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb in call app.call env /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb in call status, headers, body = app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb in call result or app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb in call status, headers, body = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb in call @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/head.rb in call status, headers, body = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/showexceptions.rb in call @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in call result, callback = app.call(env), env['async.callback'] /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in block in call synchronize { prototype.call(env) } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in synchronize yield /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb in call synchronize { prototype.call(env) } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb in block in call status, headers, body = route.app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb in each find_routes(env).each do |match, parameters, route| /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb in call find_routes(env).each do |match, parameters, route| /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/routing/route_set.rb in call @router.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sass-3.2.3/lib/sass/plugin/rack.rb in call @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb in block in call @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb in catch result = catch(:warden) do /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb in call result = catch(:warden) do /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/best_standards_support.rb in call status, headers, body = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/etag.rb in call status, headers, body = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/conditionalget.rb in call status, headers, body = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/head.rb in call @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/params_parser.rb in call @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/flash.rb in call @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb in context status, headers, body = app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb in call context(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/cookies.rb in call status, headers, body = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.9/lib/active_record/query_cache.rb in call status, headers, body = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/connection_pool.rb in call status, headers, body = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/callbacks.rb in block in call @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/callbacks.rb in _run__1327807492893610023__call__2415703027125581093__callbacks object.send(name, &blk) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/callbacks.rb in __run_callback object.send(name, &blk) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/callbacks.rb in _run_call_callbacks self.class.__run_callback(key, :#{symbol}, self, &blk) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/callbacks.rb in run_callbacks send("_run_#{kind}_callbacks", *args, &block) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/callbacks.rb in call run_callbacks :call do /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/remote_ip.rb in call @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/debug_exceptions.rb in call response = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/show_exceptions.rb in call response = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/rack/logger.rb in call_app @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/rack/logger.rb in block in call Rails.logger.tagged(compute_tags(request)) { call_app(request, env) } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/tagged_logging.rb in tagged yield self /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/rack/logger.rb in call Rails.logger.tagged(compute_tags(request)) { call_app(request, env) } /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/request_id.rb in call status, headers, body = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb in call @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/runtime.rb in call status, headers, body = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/lock.rb in call response = @app.call(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb in forward Response.new(*backend.call(@env)) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb in fetch response = forward /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb in lookup fetch /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb in call! lookup /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb in call clone.call! env /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/engine.rb in call app.call(env.merge!(env_config)) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/application.rb in call super(env) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/railtie/configurable.rb in method_missing instance.send(*args, &block) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn/http_server.rb in process_client status, headers, body = @app.call(env = @request.read(client)) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn/http_server.rb in worker_loop process_client(client) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn/http_server.rb in spawn_missing_workers worker_loop(worker) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn/http_server.rb in maintain_worker_count off < 0 and return spawn_missing_workers /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn/http_server.rb in join maintain_worker_count if respawn /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/bin/unicorn_rails in <top (required)> Unicorn::HttpServer.new(app, options).start.join /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/unicorn_rails in load load Gem.bin_path('unicorn', 'unicorn_rails', version) /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/unicorn_rails in <main> load Gem.bin_path('unicorn', 'unicorn_rails', version) GET No GET data. POST No POST data. COOKIES Variable Value _gitlab_session "BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTE2ZjE0MzkwODI1NDBlMmY1MjFmYzc4M2Y1NjM4ODY0BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMXlqWG5tTEJ6WGM2enJ4QzJaU2JPMk9OYUUzVmVtV09vL2xJNXZsNysvN2s9BjsARkkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBmkHSSIiJDJhJDEwJDZFZmM1bjdPODZnSldLZXRUWEtyQnUGOwBU--71775b48c6e448d834f4bb8d03f86ad7c1341232" Rack ENV Variable Value HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_ENCODING gzip, deflate HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5 HTTP_CONNECTION close HTTP_COOKIE _gitlab_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTE2ZjE0MzkwODI1NDBlMmY1MjFmYzc4M2Y1NjM4ODY0BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMXlqWG5tTEJ6WGM2enJ4QzJaU2JPMk9OYUUzVmVtV09vL2xJNXZsNysvN2s9BjsARkkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBmkHSSIiJDJhJDEwJDZFZmM1bjdPODZnSldLZXRUWEtyQnUGOwBU--71775b48c6e448d834f4bb8d03f86ad7c1341232 HTTP_DNT 1 HTTP_HOST gitlab.wehostwebsites.com HTTP_REFERER http://gitlab.wehostwebsites.com/admin/resque HTTP_USER_AGENT Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 HTTP_VERSION HTTP/1.0 HTTP_X_FORWARDED_PROTO http HTTP_X_REAL_IP 68.71.155.215 ORIGINAL_FULLPATH /info/resque/overview PATH_INFO /overview QUERY_STRING REMOTE_ADDR 127.0.0.1 REQUEST_METHOD GET REQUEST_PATH /info/resque/overview REQUEST_URI /info/resque/overview SCRIPT_NAME /info/resque SERVER_NAME gitlab.wehostwebsites.com SERVER_PORT 80 SERVER_PROTOCOL HTTP/1.0 SERVER_SOFTWARE Unicorn 4.4.0 action_dispatch.backtrace_cleaner #<Rails::BacktraceCleaner:0x0000000371cb10 @filters=[#<Proc:0x0000000371e280@/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/backtrace_cleaner.rb:10>, #<Proc:0x0000000371e898@/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/backtrace_cleaner.rb:11>, #<Proc:0x00000003718150@/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/backtrace_cleaner.rb:12>, #<Proc:0x0000000370d660@/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/backtrace_cleaner.rb:26>], @silencers=[#<Proc:0x0000000370de08@/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/backtrace_cleaner.rb:15>]> action_dispatch.cookies #<ActionDispatch::Cookies::CookieJar:0x00000003803a10 @secret="0a38e9a40ca5d66d7002a6ade0ed0f8b71058c820163f66cf65d91521ab55255ff708b9909b138008a7f13d68fec575def1dc3ff7200cd72b065896315e0bed2", @set_cookies={}, @delete_cookies={}, @host="gitlab.wehostwebsites.com", @secure=false, @closed=false, @cookies={"_gitlab_session"=>"BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTE2ZjE0MzkwODI1NDBlMmY1MjFmYzc4M2Y1NjM4ODY0BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMXlqWG5tTEJ6WGM2enJ4QzJaU2JPMk9OYUUzVmVtV09vL2xJNXZsNysvN2s9BjsARkkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBmkHSSIiJDJhJDEwJDZFZmM1bjdPODZnSldLZXRUWEtyQnUGOwBU--71775b48c6e448d834f4bb8d03f86ad7c1341232"}, @signed=#<ActionDispatch::Cookies::SignedCookieJar:0x0000000380ace8 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x00000003803a10 ...>, @verifier=#<ActiveSupport::MessageVerifier:0x0000000380aba8 @secret="0a38e9a40ca5d66d7002a6ade0ed0f8b71058c820163f66cf65d91521ab55255ff708b9909b138008a7f13d68fec575def1dc3ff7200cd72b065896315e0bed2", @digest="SHA1", @serializer=Marshal>>> action_dispatch.logger #<ActiveSupport::TaggedLogging:0x00000002d78a78 @logger=#<ActiveSupport::BufferedLogger:0x00000002d78c58 @log_dest=#<File:/home/gitlab/gitlab/log/production.log>, @log=#<Logger:0x00000002d78c30 @progname=nil, @level=1, @default_formatter=#<Logger::Formatter:0x00000002d78be0 @datetime_format=nil>, @formatter=#<Logger::SimpleFormatter:0x00000002d78ac8 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x00000002d78b90 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<File:/home/gitlab/gitlab/log/production.log>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x00000002d78b68 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x00000002d78b18>>>>>> action_dispatch.parameter_filter [:password] action_dispatch.remote_ip 127.0.0.1 action_dispatch.request.path_parameters {} action_dispatch.request.unsigned_session_cookie {"session_id"=>"16f1439082540e2f521fc783f5638864", "_csrf_token"=>"yjXnmLBzXc6zrxC2ZSbO2ONaE3VemWOo/lI5vl7+/7k=", "warden.user.user.key"=>["User", [2], "$2a$10$6Efc5n7O86gJWKetTXKrBu"]} action_dispatch.request_id 54c854979d35e2ed8602c10c18c69ee6 action_dispatch.routes #<ActionDispatch::Routing::RouteSet:0x00000002c76008> action_dispatch.secret_token 0a38e9a40ca5d66d7002a6ade0ed0f8b71058c820163f66cf65d91521ab55255ff708b9909b138008a7f13d68fec575def1dc3ff7200cd72b065896315e0bed2 action_dispatch.show_detailed_exceptions false action_dispatch.show_exceptions true rack-cache.allow_reload false rack-cache.allow_revalidate false rack-cache.cache_key Rack::Cache::Key rack-cache.default_ttl 0 rack-cache.entitystore rails:/ rack-cache.ignore_headers ["Set-Cookie"] rack-cache.metastore rails:/ rack-cache.private_headers ["Authorization", "Cookie"] rack-cache.storage #<Rack::Cache::Storage:0x000000032784d8 @metastores={"rails:/"=>#<ActionDispatch::RailsMetaStore:0x000000036fc9c8 @store=<#ActiveSupport::Cache::MemoryStore entries=14, size=1212475, options={}>>}, @entitystores={"rails:/"=>#<ActionDispatch::RailsEntityStore:0x000000036fab00 @store=<#ActiveSupport::Cache::MemoryStore entries=14, size=1212475, options={}>>}> rack-cache.use_native_ttl false rack-cache.verbose false rack.errors #<Object:0x00000002e42bc0> rack.input #<StringIO:0x00000000f22dd0> rack.logger #<Rack::NullLogger:0x000000034a9a18 @app=#<Rack::Protection::FrameOptions:0x000000034a9bf8 @app=#<Rack::Protection::IPSpoofing:0x000000034aa080 @app=#<Rack::Protection::JsonCsrf:0x000000034aa698 @app=#<Rack::Protection::PathTraversal:0x000000034aa788 @app=#<Rack::Protection::XSSHeader:0x000000034a31b8 @app=#<Authentication:0x00000006bc1118 @app=#<Resque::Server:0x00000006bda1b8 @default_layout=:layout, @app=nil, @template_cache=#<Tilt::Cache:0x00000006bdb2e8 @cache={[:erb, :overview, {:outvar=>"@_out_buf", :default_encoding=>"utf-8"}]=>#<Tilt::ErubisTemplate:0x000000019eb3c0 @options={:preamble=>false, :postamble=>false, :bufvar=>"@_out_buf"}, @line=1, @file="/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.23.0/lib/resque/server/views/overview.erb", @compiled_method={}, @default_encoding="utf-8", @reader=#<Proc:0x00000003521f40@/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:67 (lambda)>, @data="<%= partial :queues %>\n<hr />\n<%= partial :working %>\n<%= poll %>\n", @outvar="@_out_buf", @engine=#<Erubis::Eruby:0x00000003521298 @escapefunc="Erubis::XmlHelper.escape_xml", @bufvar="@_out_buf", @preamble=false, @postamble=false, @escape=nil, @pattern=nil, @trim=true, @filename=nil, @_proc=nil, @src=" @_out_buf << ( partial :queues ).to_s; @_out_buf << '\n'; @_out_buf << '<hr />\n'; @_out_buf << ( partial :working ).to_s; @_out_buf << '\n'; @_out_buf << ( poll ).to_s; @_out_buf << '\n';">>, [:erb, :queues, {:outvar=>"@_out_buf", :default_encoding=>"utf-8"}]=>#<Tilt::ErubisTemplate:0x000000035284d0 @options={:preamble=>false, :postamble=>false, :bufvar=>"@_out_buf"}, @line=1, @file="/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.23.0/lib/resque/server/views/queues.erb", @compiled_method={}, @default_encoding="utf-8", @reader=#<Proc:0x00000003527ad0@/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:67 (lambda)>, @data="<% @subtabs = resque.queues unless partial? || params[:id].nil? %>\n\n<% if queue = params[:id] %>\n\n <h1>Pending jobs on <span class='hl'><%= queue %></span></h1>\n <form method=\"POST\" action=\"<%=u \"/queues/\#{queue}/remove\" %>\" class='remove-queue'>\n <input type='submit' name='' value='Remove Queue' onclick='return confirm(\"Are you absolutely sure? This cannot be undone.\");' />\n </form>\n <p class='sub'>Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <b><%=size = resque.size(queue)%></b> jobs</p>\n <table class='jobs'>\n <tr>\n <th>Class</th>\n <th>Args</th>\n </tr>\n <% for job in (jobs = resque.peek(queue, start, 20)) %>\n <tr>\n <td class='class'><%= job['class'] %></td>\n <td class='args'><%=h job['args'].inspect %></td>\n </tr>\n <% end %>\n <% if jobs.empty? %>\n <tr>\n <td class='no-data' colspan='2'>There are no pending jobs in this queue</td>\n </tr>\n <% end %>\n </table>\n <%= partial :next_more, :start => start, :size => size %>\n<% else %>\n\n <h1 class='wi'>Queues</h1>\n <p class='intro'>The list below contains all the registered queues with the number of jobs currently in the queue. Select a queue from above to view all jobs currently pending on the queue.</p>\n <table class='queues'>\n <tr>\n <th>Name</th>\n <th>Jobs</th>\n </tr>\n <% for queue in resque.queues.sort_by { |q| q.to_s } %>\n <tr>\n <td class='queue'><a class=\"queue\" href=\"<%= u \"queues/\#{queue}\" %>\"><%= queue %></a></td>\n <td class='size'><%= resque.size queue %></td>\n </tr>\n <% end %>\n <tr class=\"<%= Resque::Failure.count.zero? ? \"failed\" : \"failure\" %>\">\n <td class='queue failed'><a class=\"queue\" href=\"<%= u :failed %>\">failed</a></td>\n <td class='size'><%= Resque::Failure.count %></td>\n </tr>\n </table>\n\n<% end %>\n", @outvar="@_out_buf", @engine=#<Erubis::Eruby:0x000000035278a0 @escapefunc="Erubis::XmlHelper.escape_xml", @bufvar="@_out_buf", @preamble=false, @postamble=false, @escape=nil, @pattern=nil, @trim=true, @filename=nil, @_proc=nil, @src=" @subtabs = resque.queues unless partial? || params[:id].nil? \n @_out_buf << '\n'; if queue = params[:id] \n @_out_buf << '\n <h1>Pending jobs on <span class=\\'hl\\'>'; @_out_buf << ( queue ).to_s; @_out_buf << '</span></h1>\n <form method=\"POST\" action=\"'; @_out_buf << (u \"/queues/\#{queue}/remove\" ).to_s; @_out_buf << '\" class=\\'remove-queue\\'>\n <input type=\\'submit\\' name=\\'\\' value=\\'Remove Queue\\' onclick=\\'return confirm(\"Are you absolutely sure? This cannot be undone.\");\\' />\n </form>\n <p class=\\'sub\\'>Showing '; @_out_buf << ( start = params[:start].to_i ).to_s; @_out_buf << ' to '; @_out_buf << ( start + 20 ).to_s; @_out_buf << ' of <b>'; @_out_buf << (size = resque.size(queue)).to_s; @_out_buf << '</b> jobs</p>\n <table class=\\'jobs\\'>\n <tr>\n <th>Class</th>\n <th>Args</th>\n </tr>\n'; for job in (jobs = resque.peek(queue, start, 20)) \n @_out_buf << ' <tr>\n <td class=\\'class\\'>'; @_out_buf << ( job['class'] ).to_s; @_out_buf << '</td>\n <td class=\\'args\\'>'; @_out_buf << (h job['args'].inspect ).to_s; @_out_buf << '</td>\n </tr>\n'; end \n if jobs.empty? \n @_out_buf << ' <tr>\n <td class=\\'no-data\\' colspan=\\'2\\'>There are no pending jobs in this queue</td>\n </tr>\n'; end \n @_out_buf << ' </table>\n '; @_out_buf << ( partial :next_more, :start => start, :size => size ).to_s; @_out_buf << '\n'; else \n @_out_buf << '\n <h1 class=\\'wi\\'>Queues</h1>\n <p class=\\'intro\\'>The list below contains all the registered queues with the number of jobs currently in the queue. Select a queue from above to view all jobs currently pending on the queue.</p>\n <table class=\\'queues\\'>\n <tr>\n <th>Name</th>\n <th>Jobs</th>\n </tr>\n'; for queue in resque.queues.sort_by { |q| q.to_s } \n @_out_buf << ' <tr>\n <td class=\\'queue\\'><a class=\"queue\" href=\"'; @_out_buf << ( u \"queues/\#{queue}\" ).to_s; @_out_buf << '\">'; @_out_buf << ( queue ).to_s; @_out_buf << '</a></td>\n <td class=\\'size\\'>'; @_out_buf << ( resque.size queue ).to_s; @_out_buf << '</td>\n </tr>\n'; end \n @_out_buf << ' <tr class=\"'; @_out_buf << ( Resque::Failure.count.zero? ? \"failed\" : \"failure\" ).to_s; @_out_buf << '\">\n <td class=\\'queue failed\\'><a class=\"queue\" href=\"'; @_out_buf << ( u :failed ).to_s; @_out_buf << '\">failed</a></td>\n <td class=\\'size\\'>'; @_out_buf << ( Resque::Failure.count ).to_s; @_out_buf << '</td>\n </tr>\n </table>\n\n'; end \n">>}>>>, @options={:reaction=>:drop_session, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :session_key=>"rack.session", :status=>403, :allow_empty_referrer=>true, :xss_mode=>:block, :except=>[:session_hijacking, :remote_token]}>, @options={:reaction=>:drop_session, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :session_key=>"rack.session", :status=>403, :allow_empty_referrer=>true, :except=>[:session_hijacking, :remote_token]}>, @options={:reaction=>:drop_session, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :session_key=>"rack.session", :status=>403, :allow_empty_referrer=>true, :except=>[:session_hijacking, :remote_token]}>, @options={:reaction=>:drop_session, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :session_key=>"rack.session", :status=>403, :allow_empty_referrer=>true, :except=>[:session_hijacking, :remote_token]}>, @options={:reaction=>:drop_session, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :session_key=>"rack.session", :status=>403, :allow_empty_referrer=>true, :xss_mode=>:block, :frame_options=>:sameorigin, :except=>[:session_hijacking, :remote_token]}>> rack.multiprocess true rack.multithread false rack.request.cookie_hash {"_gitlab_session"=>"BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTE2ZjE0MzkwODI1NDBlMmY1MjFmYzc4M2Y1NjM4ODY0BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMXlqWG5tTEJ6WGM2enJ4QzJaU2JPMk9OYUUzVmVtV09vL2xJNXZsNysvN2s9BjsARkkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBmkHSSIiJDJhJDEwJDZFZmM1bjdPODZnSldLZXRUWEtyQnUGOwBU--71775b48c6e448d834f4bb8d03f86ad7c1341232"} rack.request.cookie_string _gitlab_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTE2ZjE0MzkwODI1NDBlMmY1MjFmYzc4M2Y1NjM4ODY0BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMXlqWG5tTEJ6WGM2enJ4QzJaU2JPMk9OYUUzVmVtV09vL2xJNXZsNysvN2s9BjsARkkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBmkHSSIiJDJhJDEwJDZFZmM1bjdPODZnSldLZXRUWEtyQnUGOwBU--71775b48c6e448d834f4bb8d03f86ad7c1341232 rack.request.query_hash {} rack.request.query_string rack.run_once false rack.session {"session_id"=>"16f1439082540e2f521fc783f5638864", "_csrf_token"=>"yjXnmLBzXc6zrxC2ZSbO2ONaE3VemWOo/lI5vl7+/7k=", "warden.user.user.key"=>["User", [2], "$2a$10$6Efc5n7O86gJWKetTXKrBu"]} rack.session.options {:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x00000002e826f8>, :id=>"16f1439082540e2f521fc783f5638864"} rack.url_scheme http rack.version [1, 1] sinatra.error #<Redis::InheritedError: Tried to use a connection from a child process without reconnecting. You need to reconnect to Redis after forking.> warden Warden::Proxy:29379440 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :token_authenticatable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x00000003488660>} You're seeing this error because you have enabled the show_exceptions setting.
By Administrator on 2012-12-11T20:22:21 (imported from GitLab project)
Created by: riyad
Please use our Support Forum for questions regarding setup/configuration troubles. :)
FYI: You can find infos for the Resque/Redis thing on #2021 (closed)
By Administrator on 2012-12-11T21:32:39 (imported from GitLab project)