title: Gitlab reconfigure error
body: <p>I am installing gitlab on ubuntu 14.04 according to the download section, but stuck on the last command, the reconfigure failed with the following log, I noticed 2 instances of errors but have no idea what to do about it.. it is unicorn and sidekiq that throws the error.. Any idea will be appreciated..</p>
  
  <pre><code>    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 ''
  ---- Begin output of /opt/gitlab/bin/gitlab-rake cache:clear ----
  STDOUT: 
  STDERR: 
  ---- End output of /opt/gitlab/bin/gitlab-rake cache:clear ----
  Ran /opt/gitlab/bin/gitlab-rake cache:clear returned 
  
  Resource Declaration:
  ---------------------
  # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb
  
  325: execute "clear the gitlab-rails cache" do
  326:   command "/opt/gitlab/bin/gitlab-rake cache:clear"
  327:   action :nothing
  328: end
  329: 
  
  Compiled Resource:
  ------------------
  # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb:325:in `from_file'
  
  execute("clear the gitlab-rails cache") do
    action [:nothing]
    retries 0
    retry_delay 2
    default_guard_interpreter :execute
    command "/opt/gitlab/bin/gitlab-rake cache:clear"
    backup 5
    returns 0
    declared_type :execute
    cookbook_name "gitlab"
    recipe_name "gitlab-rails"
  end
  
  Recipe: gitlab::unicorn
  </code></pre>
  
  <p>* service[unicorn] action restart
      - restart service service[unicorn]
      Recipe: gitlab::sidekiq
    * service[sidekiq] action restart</p>
  
  <pre><code>================================================================================
  Error executing action `restart` on resource 'service[sidekiq]'
  ================================================================================
  
  Mixlib::ShellOut::ShellCommandFailed
  ------------------------------------
  Expected process to exit with [0], but received '1'
  ---- Begin output of /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/sidekiq ----
  STDOUT: timeout: run: /opt/gitlab/service/sidekiq: (pid 27304) 963s, got TERM
  STDERR: 
  ---- End output of /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/sidekiq ----
  Ran /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/sidekiq returned 1
  
  Resource Declaration:
  ---------------------
  # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb
  
  191:     service params[:name] do
  192:       control_cmd = node[:runit][:sv_bin]
  193:       if params[:owner]
  194:         control_cmd = "#{node[:runit][:chpst_bin]} -u #{params[:owner]} #{control_cmd}"
  195:       end
  196:       provider Chef::Provider::Service::Simple
  
  Compiled Resource:
  ------------------
  # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb:191:in `block in from_file'
  
  service("sidekiq") do
    params {:directory=&gt;"/opt/gitlab/sv", :only_if=&gt;false, :finish_script=&gt;false, :control=&gt;[], :run_restart=&gt;true, :active_directory=&gt;"/opt/gitlab/service", :init_script_template=&gt;nil, :owner=&gt;"root", :group=&gt;"root", :template_name=&gt;"sidekiq", :start_command=&gt;"start", :stop_command=&gt;"stop", :restart_command=&gt;"restart", :status_command=&gt;"status", :options=&gt;{:rails_app=&gt;"gitlab-rails", :user=&gt;"git", :shutdown_timeout=&gt;4, :concurrency=&gt;25, :log_directory=&gt;"/var/log/gitlab/sidekiq", :directory=&gt;nil, :only_if=&gt;false, :finish_script=&gt;false, :control=&gt;[], :run_restart=&gt;true, :active_directory=&gt;nil, :init_script_template=&gt;nil, :owner=&gt;"root", :group=&gt;"root", :template_name=&gt;"sidekiq", :start_command=&gt;"start", :stop_command=&gt;"stop", :restart_command=&gt;"restart", :status_command=&gt;"status", :options=&gt;{}, :log_options=&gt;{}, :env=&gt;{}, :action=&gt;:enable, :down=&gt;false}, :log_options=&gt;{"svlogd_size"=&gt;209715200, "svlogd_num"=&gt;30, "svlogd_timeout"=&gt;86400, "svlogd_filter"=&gt;"gzip", "svlogd_udp"=&gt;nil, "svlogd_prefix"=&gt;nil, "udp_log_shipping_host"=&gt;nil, "udp_log_shipping_port"=&gt;514, "logrotate_frequency"=&gt;"daily", "logrotate_size"=&gt;nil, "logrotate_rotate"=&gt;30, "logrotate_compress"=&gt;"compress", "logrotate_method"=&gt;"copytruncate", "logrotate_postrotate"=&gt;nil, "logrotate_dateformat"=&gt;nil, "enable"=&gt;true, "ha"=&gt;false, "log_directory"=&gt;"/var/log/gitlab/sidekiq", "shutdown_timeout"=&gt;4, "concurrency"=&gt;25}, :env=&gt;{}, :action=&gt;:enable, :down=&gt;false, :name=&gt;"sidekiq"}
    provider Chef::Provider::Service::Simple
    action [:nothing]
    supports {:restart=&gt;true, :status=&gt;true}
    retries 0
    retry_delay 2
    default_guard_interpreter :default
    service_name "sidekiq"
    pattern "sidekiq"
    start_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv start /opt/gitlab/service/sidekiq"
    stop_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv stop /opt/gitlab/service/sidekiq"
    status_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv status /opt/gitlab/service/sidekiq"
    restart_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/sidekiq"
    declared_type :service
    cookbook_name "gitlab"
    recipe_name "sidekiq"
  end
  
  
  Running handlers:
  Running handlers complete
  Chef Client failed. 7 resources updated in 59 minutes 30 seconds
  </code></pre>