'rake cache:clear' fails during the 7.3 upgrade
Recipe: gitlab::gitlab-rails
* execute[clear the gitlab-rails cache] action run
================================================================================
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: [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.
rake aborted!
Errno::ENOENT: No such file or directory - connect(2) for /var/opt/gitlab/redis/redis.socket
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
237: execute "clear the gitlab-rails cache" do
238: command "/opt/gitlab/bin/gitlab-rake cache:clear"
239: action :nothing
240: end
Compiled Resource:
------------------
# Declared in /opt/gitlab/embedded/cookbooks/gitlab/recipes/gitlab-rails.rb:237: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
Recipe: gitlab::database_migrations
* bash[migrate database] action run
- execute "bash" "/tmp/chef-script20140922-3734-1pmzpz7"
Recipe: gitlab::redis
* service[redis] action restart
- restart service service[redis]
Recipe: gitlab::nginx
* service[nginx] action restart
- restart service service[nginx]
Running handlers:
[2014-09-22T03:09:04-04:00] ERROR: Running exception handlers
Running handlers complete
[2014-09-22T03:09:04-04:00] ERROR: Exception handlers complete
[2014-09-22T03:09:04-04:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
Chef Client failed. 29 resources updated in 58.795937997 seconds
[2014-09-22T03:09:04-04:00] ERROR: execute[clear the gitlab-rails cache] (gitlab::gitlab-rails line 237) 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: [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.
rake aborted!
Errno::ENOENT: No such file or directory - connect(2) for /var/opt/gitlab/redis/redis.socket
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
[2014-09-22T03:09:04-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)