NoMethodError: undefined method `keys' for nil:NilClass
Created by: MrKeiKun
Logs:
[git@Core-Server gitlab]$ bundle install --without development test postgres --deployment && bundle exec rake db:migrate RAILS_ENV=production && bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
Using ace-rails-ap 2.0.1
Using RedCloth 4.2.9
Using rake 10.3.2
Using i18n 0.6.11
Using json 1.8.1
Using minitest 5.3.5
Using thread_safe 0.3.4
Using builder 3.2.2
Using erubis 2.7.0
Using rack 1.5.2
Using mime-types 1.25.1
Using polyglot 0.3.4
Using arel 5.0.1.20140414130214
Using bundler 1.6.5
Using thor 0.19.1
Using hike 1.2.3
Using multi_json 1.10.1
Using tilt 1.4.1
Using asciidoctor 0.1.4
Using descendants_tracker 0.0.3
Using ice_nine 0.10.0
Using bcrypt 3.1.7
Using sass 3.2.19
Using timers 1.1.0
Using charlock_holmes 0.6.9.4
Using coffee-script-source 1.6.3
Using execjs 2.0.2
Using colored 1.2
Using connection_pool 1.2.0
Using creole 0.3.8
Using orm_adapter 0.5.0
Using diff-lcs 1.2.5
Using diffy 3.0.3
Using dotenv 0.9.0
Using equalizer 0.0.8
Using escape_utils 0.2.4
Using eventmachine 1.0.3
Using excon 0.32.1
Using expression_parser 0.9.0
Using multipart-post 1.2.0
Using formatador 0.2.4
Using net-ssh 2.8.0
Using mini_portile 0.6.0
Using github-markup 1.1.0
Using rugged 0.21.0
Using posix-spawn 0.3.9
Using gitlab_meta 7.0
Using net-ldap 0.3.1
Using hashie 2.1.2
Using pyu-ruby-sasl 0.0.3.3
Using rubyntlm 0.1.1
Using rouge 1.3.3
Using multi_xml 0.5.5
Using stringex 2.5.1
Using http_parser.rb 0.5.3
Using httpauth 0.2.1
Using jquery-atwho-rails 0.3.3
Using kgio 2.8.1
Using mysql2 0.3.16
Using libv8 3.16.14.3
Using nprogress-rails 0.1.2.3
Using oauth 0.4.7
Using rubypants 0.2.0
Using rack-cors 0.2.9
Using raindrops 0.12.0
Using raphael-rails 2.1.2
Using redcarpet 2.2.2
Using redis 3.0.6
Using ref 1.0.5
Using request_store 1.0.5
Using rinku 1.7.3
Using settingslogic 2.0.9
Using simple_oauth 0.1.9
Using six 0.2.0
Using slack-notifier 0.3.2
Using temple 0.6.7
Using stamp 0.5.0
Using state_machine 1.2.0
Using underscore-rails 1.4.4
Using unf_ext 0.0.6
Using version_sorter 1.1.0
Using emoji 1.0.1
Using rdoc 3.12.2
Using tzinfo 1.2.2
Using treetop 1.4.15
Using rack-test 0.6.2
Using warden 1.2.3
Using gitlab-grack 2.0.0.pre
Using rack-accept 0.4.5
Using rack-mount 0.8.3
Using rack-protection 1.5.1
Using rack-attack 2.3.0
Using select2-rails 3.5.2
Using haml 4.0.5
Using fog-json 1.0.0
Using sprockets 2.11.0
Using jwt 0.1.13
Using axiom-types 0.0.5
Using coercible 1.0.0
Using celluloid 0.15.2
Using bootstrap-sass 3.0.3.0
Using coffee-script 2.2.0
Using semantic-ui-sass 0.16.1.0
Using uglifier 2.3.2
Using foreman 0.63.0
Using gitlab-linguist 3.0.0
Using faraday 0.8.9
Using net-scp 1.1.2
Using nokogiri 1.6.2.1
Using gemnasium-gitlab-service 0.2.2
Using gitlab-grit 2.6.10
Using omniauth 1.1.4
Using httparty 0.13.0
Using org-ruby 0.9.8
Using unicorn 4.6.3
Using redis-store 1.1.4
Using therubyracer 0.12.0
Using redis-namespace 1.4.1
Using wikicloth 0.8.1
Using slim 2.0.2
Using twitter-stream 0.1.16
Using unf 0.1.4
Using gitlab_emoji 0.0.1.1
Using activesupport 4.1.1
Using mail 2.5.4
Using sinatra 1.4.4
Using virtus 1.0.1
Using faraday_middleware 0.9.0
Using oauth2 0.8.1
Using sanitize 2.1.0
Using fog-core 1.21.1
Using gitlab_omniauth-ldap 1.0.4
Using omniauth-oauth 1.0.1
Using gitlab-flowdock-git-hook 0.4.2.2
Using hipchat 0.14.0
Using unicorn-worker-killer 0.4.2
Using redis-rack 1.5.0
Using sidekiq 2.17.0
Using actionview 4.1.1
Using activemodel 4.1.1
Using enumerize 0.7.0
Using gitlab_git 6.2.1
Using grape-entity 0.4.2
Using redis-activesupport 4.0.0
Using tinder 1.9.3
Using omniauth-oauth2 1.1.1
Using grape 0.6.1
Using gollum-lib 3.0.0
Using fog-brightbox 0.0.1
Using omniauth-twitter 1.0.1
Using actionpack 4.1.1
Using activerecord 4.1.1
Using carrierwave 0.9.0
Using omniauth-github 1.1.1
Using omniauth-google-oauth2 0.2.5
Using fog 1.21.0
Using actionmailer 4.1.1
Using railties 4.1.1
Using sprockets-rails 2.1.3
Using gon 5.0.1
Using kaminari 0.15.1
Using redis-actionpack 4.0.0
Using default_value_for 3.0.0
Using seed-fu 2.3.1
Using coffee-rails 4.0.1
Using rails 4.1.1
Using d3_rails 3.1.10
Using devise 3.2.4
Using font-awesome-rails 3.2.1.3
Using haml-rails 0.5.3
Using jquery-rails 3.1.0
Using jquery-scrollto-rails 1.4.3
Using jquery-ui-rails 4.2.1
Using sass-rails 4.0.3
Using redis-rails 4.0.0
Using acts-as-taggable-on 2.4.1
Using dropzonejs-rails 0.4.14
Using rails_autolink 1.1.6
Using turbolinks 2.0.0
Using devise-async 0.9.0
Using jquery-turbolinks 2.0.1
Your bundle is complete!
Gems in the groups development, test and postgres were not installed.
It was installed into ./vendor/bundle
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
I, [2014-08-29T09:36:31.192771 #9028] INFO -- : Removed application-1ff26e85e7cc648a2f3f33916ec06865.js
I, [2014-08-29T09:36:31.211519 #9028] INFO -- : Removed application-e22b17f158b955adcefb98fd47b6f83c.css
rake aborted!
NoMethodError: undefined method `keys' for nil:NilClass
/home/git/gitlab/lib/tasks/cache.rake:7:in `block (2 levels) in <top (required)>'
Tasks: TOP => cache:clear
(See full trace by running task with --trace)