Hello All, Am getting below error while reconfigure in GitLab. Can anyone help me to fix this?
While running "sudo GitLab-ctl reconfigure" says that ---- End output of /opt/gitlab/bin/gitlab-rake cache:clear ---- Ran /opt/gitlab/bin/gitlab-rake cache:clear returned 1 [2016-02-04T10:43:22+01:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) *Error has follows:* ================================================================================ Error executing action `run` on resource 'execute[clear the gitlab-rails cache]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of /opt/gitlab/bin/gitlab-rake cache:clear ---- STDOUT: STDERR: rake aborted! Redis::CannotConnectError: Error connecting to Redis on /var/opt/gitlab/redis/redis.socket (ECONNREFUSED) /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:309:in `rescue in establish_connection' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:304:in `establish_connection' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:85:in `block in connect' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:266:in `with_reconnect' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:84:in `connect' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:326:in `ensure_connected' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:197:in `block in process' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:279:in `logging' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:196:in `process' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:102:in `call' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:436:in `block in keys' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:37:in `block in synchronize' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:37:in `synchronize' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:435:in `keys' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-store-1.1.4/lib/redis/store/namespace.rb:29:in `block in keys' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-store-1.1.4/lib/redis/store/namespace.rb:50:in `namespace' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-store-1.1.4/lib/redis/store/namespace.rb:29:in `keys' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/cache.rake:7:in `block (2 levels) in <top (required)>' Errno::ECONNREFUSED: Connection refused - connect(2) for /var/opt/gitlab/redis/redis.socket /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/connection/ruby.rb:180:in `connect_nonblock' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/connection/ruby.rb:180:in `connect' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/connection/ruby.rb:209:in `connect' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:304:in `establish_connection' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:85:in `block in connect' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:266:in `with_reconnect' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:84:in `connect' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:326:in `ensure_connected' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:197:in `block in process' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:279:in `logging' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:196:in `process' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:102:in `call' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:436:in `block in keys' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:37:in `block in synchronize' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:37:in `synchronize' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:435:in `keys' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-store-1.1.4/lib/redis/store/namespace.rb:29:in `block in keys' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-store-1.1.4/lib/redis/store/namespace.rb:50:in `namespace' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-store-1.1.4/lib/redis/store/namespace.rb:29:in `keys' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/cache.rake:7:in `block (2 levels) in <top (required)>' Tasks: TOP => cache:clear (See full trace by running task with --trace) ---- End output of /opt/gitlab/bin/gitlab-rake cache:clear ---- Ran /opt/gitlab/bin/gitlab-rake cache:clear returned 1 Resource Declaration: --------------------- # In /opt/gitlab/embedded/cookbooks/gitlab/recipes/gitlab-rails.rb 234: execute "clear the gitlab-rails cache" do 235: command "/opt/gitlab/bin/gitlab-rake cache:clear" 236: action :nothing 237: end 238: Compiled Resource: ------------------ # Declared in /opt/gitlab/embedded/cookbooks/gitlab/recipes/gitlab-rails.rb:234:in `from_file' execute("clear the gitlab-rails cache") do action [:nothing] retries 0 retry_delay 2 guard_interpreter :default command "/opt/gitlab/bin/gitlab-rake cache:clear" backup 5 returns 0 cookbook_name :gitlab recipe_name "gitlab-rails" end Running handlers: [2016-02-04T10:43:22+01:00] ERROR: Running exception handlers Running handlers complete [2016-02-04T10:43:22+01:00] ERROR: Exception handlers complete [2016-02-04T10:43:22+01:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out Chef Client failed. 10 resources updated in 14.805514491 seconds [2016-02-04T10:43:22+01:00] ERROR: execute[clear the gitlab-rails cache] (gitlab::gitlab-rails line 234) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of /opt/gitlab/bin/gitlab-rake cache:clear ---- STDOUT: STDERR: rake aborted! Best Regards, Rajasekhar -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/969a847a-36ce-4808-bcc1-e30910462f78%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.