First Deploy in Progress and then Redirection (Problem with sidekiq?)

Dear GitLab Community

I had GitLab running smoothly for several months but now I changed the domain and upgraded a few packages. All I get now is the “Deploy in Progress” page and when I reload that page after a few seconds I’m redirected to my ordinary website.

I’m running Ubuntu 14.04 x64 (on digitalocean.com) and after reconfiguring GitLab countless times, I also deinstalled it and tried it with the newest version gitlab-ce_7.10.1~omnibus.2-1_amd64.deb but to no avail (i.e. I run into exactly the same issue). I updated /etc/gitlab/gitlab.rb to the new domain, so I guess this should be fine.

When I run sudo gitlab-rake gitlab:check I get:

Git configured for git user? … Trying to fix Git error automatically. …Failed
Try fixing it:
sudo -u git -H “/opt/gitlab/embedded/bin/git” config --global user.name “GitLab”
sudo -u git -H “/opt/gitlab/embedded/bin/git” config --global user.email “[my email address]”
sudo -u git -H “/opt/gitlab/embedded/bin/git” config --global core.autocrlf “input”
For more information see:
doc/install/installation.md in section “GitLab”

But when I check that git configuration file, all the information is already there (and these commands don’t run). Everything else runs fine in the checkup.

When I run sudo gitlab-ctl reconfigure I get quite in the beginning:

Recipe: gitlab::default

  • directory[/etc/gitlab] action create (up to date)
    [2015-05-09T10:42:54+02:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab] from prior resource (CHEF-3694)
    [2015-05-09T10:42:54+02:00] WARN: Previous directory[/var/opt/gitlab]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:40:in ‘from_file’
    [2015-05-09T10:42:54+02:00] WARN: Current directory[/var/opt/gitlab]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/users.rb:23:in ‘from_file’
    [2015-05-09T10:42:55+02:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab/gitlab-rails/etc] from prior resource (CHEF-3694)
    [2015-05-09T10:42:55+02:00] WARN: Previous directory[/var/opt/gitlab/gitlab-rails/etc]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb:43:in ‘block in from_file’
    [2015-05-09T10:42:55+02:00] WARN: Current directory[/var/opt/gitlab/gitlab-rails/etc]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/unicorn_config.rb:21:in ‘block in from_file’
    [2015-05-09T10:42:55+02:00] WARN: Cloning resource attributes for service[unicorn] from prior resource (CHEF-3694)
    [2015-05-09T10:42:55+02:00] WARN: Previous service[unicorn]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:78:in ‘block in from_file’
    [2015-05-09T10:42:55+02:00] WARN: Current service[unicorn]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb:191:in ‘block in from_file’
    [2015-05-09T10:42:56+02:00] WARN: Cloning resource attributes for service[sidekiq] from prior resource (CHEF-3694)
    [2015-05-09T10:42:56+02:00] WARN: Previous service[sidekiq]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:78:in ‘block in from_file’
    [2015-05-09T10:42:56+02:00] WARN: Current service[sidekiq]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb:191:in ‘block in from_file’

sudo gitlab-ctl restart runs fine from the console, but I get the following errors in /var/log/gitlab/sidekiq/current:

2015-05-09_08:43:07.66632 2015-05-09T08:43:07.665Z 31964 TID-8oles ERROR: Error fetching message: No such file or directory - connect(2) for /var/opt/gitlab/redis/redis.socket
2015-05-09_08:43:07.66661 2015-05-09T08:43:07.666Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/connection/ruby.rb:180:in ‘connect_nonblock’
2015-05-09_08:43:07.66677 2015-05-09T08:43:07.666Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/connection/ruby.rb:180:in ‘connect’
2015-05-09_08:43:07.66697 2015-05-09T08:43:07.666Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/connection/ruby.rb:209:in ‘connect’
2015-05-09_08:43:07.66719 2015-05-09T08:43:07.667Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:304:in ‘establish_connection’
2015-05-09_08:43:07.66735 2015-05-09T08:43:07.667Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:85:in ‘block in connect’
2015-05-09_08:43:07.66752 2015-05-09T08:43:07.667Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:266:in ‘with_reconnect’
2015-05-09_08:43:07.66767 2015-05-09T08:43:07.667Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:84:in ‘connect’
2015-05-09_08:43:07.66788 2015-05-09T08:43:07.667Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:326:in ‘ensure_connected’
2015-05-09_08:43:07.66808 2015-05-09T08:43:07.667Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:197:in ‘block in process’
2015-05-09_08:43:07.66824 2015-05-09T08:43:07.668Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:279:in ‘logging’
2015-05-09_08:43:07.66838 2015-05-09T08:43:07.668Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:196:in ‘process’
2015-05-09_08:43:07.66857 2015-05-09T08:43:07.668Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:102:in ‘call’
2015-05-09_08:43:07.66874 2015-05-09T08:43:07.668Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:185:in ‘block in call_with_timeout’
2015-05-09_08:43:07.66896 2015-05-09T08:43:07.668Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:253:in ‘with_socket_timeout’
2015-05-09_08:43:07.66919 2015-05-09T08:43:07.669Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:184:in ‘call_with_timeout’
2015-05-09_08:43:07.66945 2015-05-09T08:43:07.669Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:1059:in ‘block in _bpop’
2015-05-09_08:43:07.66985 2015-05-09T08:43:07.669Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:37:in ‘block in synchronize’
2015-05-09_08:43:07.67013 2015-05-09T08:43:07.669Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/lib/ruby/2.1.0/monitor.rb:211:in ‘mon_synchronize’
2015-05-09_08:43:07.67035 2015-05-09T08:43:07.670Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:37:in ‘synchronize’
2015-05-09_08:43:07.67065 2015-05-09T08:43:07.670Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:1056:in ‘_bpop’
2015-05-09_08:43:07.67086 2015-05-09T08:43:07.670Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.1.0/lib/redis.rb:1101:in ‘brpop’
2015-05-09_08:43:07.67114 2015-05-09T08:43:07.670Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-namespace-1.5.1/lib/redis/namespace.rb:392:in ‘call_with_namespace’
2015-05-09_08:43:07.67137 2015-05-09T08:43:07.671Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-namespace-1.5.1/lib/redis/namespace.rb:289:in ‘method_missing’
2015-05-09_08:43:07.67163 2015-05-09T08:43:07.671Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/fetch.rb:102:in ‘block in retrieve_work’
2015-05-09_08:43:07.67191 2015-05-09T08:43:07.671Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/connection_pool-2.1.0/lib/connection_pool.rb:58:in ‘with’
2015-05-09_08:43:07.67209 2015-05-09T08:43:07.671Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq.rb:72:in ‘redis’
2015-05-09_08:43:07.67226 2015-05-09T08:43:07.672Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/fetch.rb:102:in ‘retrieve_work’
2015-05-09_08:43:07.67244 2015-05-09T08:43:07.672Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/fetch.rb:37:in ‘block in fetch’
2015-05-09_08:43:07.67263 2015-05-09T08:43:07.672Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/util.rb:15:in ‘watchdog’
2015-05-09_08:43:07.67279 2015-05-09T08:43:07.672Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/fetch.rb:33:in ‘fetch’
2015-05-09_08:43:07.67298 2015-05-09T08:43:07.672Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/fetch.rb:44:in ‘block (2 levels) in fetch’
2015-05-09_08:43:07.67314 2015-05-09T08:43:07.673Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in ‘block in task’
2015-05-09_08:43:07.67332 2015-05-09T08:43:07.673Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in ‘block in initialize’
2015-05-09_08:43:07.67353 2015-05-09T08:43:07.673Z 31964 TID-8oles ERROR: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in ‘block in create’
2015-05-09_08:43:08.00393 2015-05-09T08:43:08.003Z 31964 TID-3hanc INFO: Shutting down
2015-05-09_08:43:09.10021 2015-05-09T08:43:09.095Z 31964 TID-8oles INFO: Redis is online, 1.4216012954711914 sec downtime
2015-05-09_08:43:09.10936 2015-05-09T08:43:09.109Z 31964 TID-1nayc0 INFO: Shutting down 25 quiet workers
2015-05-09_08:43:09.41951 2015-05-09T08:43:09.418Z 31964 TID-piyd0 INFO: [Sidetiq] Sidetiq::Actor::Handler id: 42885640 shutting down …
2015-05-09_08:43:09.42144 2015-05-09T08:43:09.421Z 31964 TID-pimeg INFO: [Sidetiq] Sidetiq::Actor::Handler id: 42870060 shutting down …
2015-05-09_08:43:09.42695 2015-05-09T08:43:09.426Z 31964 TID-pjwcw INFO: [Sidetiq] Sidetiq::Actor::Clock id: 42921160 shutting down …
2015-05-09_08:43:25.49420 2015-05-09T08:43:25.493Z 2483 TID-5n96c INFO: [Sidetiq] Sidetiq v0.6.3 - Copyright © 2012-2013, Tobias Svensson tob@tobiassvensson.co.uk
2015-05-09_08:43:25.49476 2015-05-09T08:43:25.494Z 2483 TID-5n96c INFO: [Sidetiq] Sidetiq is covered by the 3-clause BSD license.
2015-05-09_08:43:25.49501 2015-05-09T08:43:25.494Z 2483 TID-5n96c INFO: [Sidetiq] See LICENSE and http://opensource.org/licenses/BSD-3-Clause for licensing details.
2015-05-09_08:43:25.49529 2015-05-09T08:43:25.495Z 2483 TID-5n96c INFO: [Sidetiq] Sidetiq::Supervisor start
2015-05-09_08:43:25.50200 2015-05-09T08:43:25.501Z 2483 TID-rpomw INFO: [Sidetiq] Sidetiq::Actor::Clock id: 46550480 initialize
2015-05-09_08:43:25.50927 2015-05-09T08:43:25.509Z 2483 TID-roqps INFO: [Sidetiq] Sidetiq::Actor::Handler id: 46514860 initialize
2015-05-09_08:43:25.51223 2015-05-09T08:43:25.512Z 2483 TID-roeq4 INFO: [Sidetiq] Sidetiq::Actor::Handler id: 46499280 initialize
2015-05-09_08:43:29.27256 2015-05-09T08:43:29.272Z 2483 TID-5n96c INFO: Booting Sidekiq 3.3.0 with redis options {:url=>“unix:/var/opt/gitlab/redis/redis.socket”, :namespace=>“resque:gitlab”}
2015-05-09_08:43:36.49590 2015-05-09T08:43:36.495Z 2483 TID-5n96c INFO: Running in ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]
2015-05-09_08:43:36.49613 2015-05-09T08:43:36.495Z 2483 TID-5n96c INFO: See LICENSE and the LGPL-3.0 for licensing details.
2015-05-09_08:43:36.49617 2015-05-09T08:43:36.495Z 2483 TID-5n96c INFO: Upgrade to Sidekiq Pro for more features and support: http://sidekiq.org/pro
2015-05-09_08:43:36.49619 2015-05-09T08:43:36.495Z 2483 TID-5n96c INFO: Starting processing, hit Ctrl-C to stop

And when I access the site (through an Apache reverse proxy), I get the following in /var/log/gitlab/gitlab-rails/production.log:

Started GET “/” for [my IP address] at 2015-05-09 10:44:06 +0200
Processing by DashboardController#show as HTML
Redirected to [my ordinary website]
Filter chain halted as :authenticate_user! rendered or redirected
Completed 302 Found in 201ms (ActiveRecord: 64.6ms)

Any help would be greatly appreciated. Many thanks in advance!