Could not find excon-0.62.0 in any of the sources after update from 10.8
Summary
I updated my source installation from 10.8 to 11.0. Updated Gitlab, gitlab-shell, gitlab-workhorse and gitaly and all the build processes went through. I copied the init scripts and adapted them to my installation (which only differs from the default installation in terms of directories and system user). I ran bundler (mysql version), migrated the DB, cleaned my bundle, precompiled all the assets and emptied the cache.
When I tried to restart the newly updated installation I was greeted by this error message:
$ sudo service gitlab start
Shutting down GitLab Workhorse
Shutting down Gitaly
.
GitLab is not running.
Starting GitLab Unicorn
Starting GitLab Sidekiq
Starting GitLab Workhorse
Starting Gitaly
Could not find excon-0.62.0 in any of the sources
Run `bundle install` to install missing gems.
..............................Waited 30s for the processes to write their pids, something probably went wrong.
The status after that is as follows
$ sudo service gitlab status
The GitLab Unicorn web server is not running.
The GitLab Sidekiq job dispatcher is not running.
The GitLab Workhorse with pid 5281 is running.
Gitaly with pid 5280 is running.
So for some reason the Unicorn server is not starting because it misses the excon gem (which is in the Gemfile.lock lock file but not in the Gemfile I get from 11.0-stable)
Steps to reproduce
- Update Gitlab from source to 11.0
- Try to start it via init.d
What is the current bug behavior?
Gitlab's Unicorn server and Sidekiq do not start.
What is the expected correct behavior?
All components would start.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Output of checks
Results of GitLab environment info
System information
System: Ubuntu 14.04
Current User: gitlab
Using RVM: yes
RVM Version: 1.29.3
Ruby Version: 2.4.4p296
Gem Version: 2.7.7
Bundler Version:1.16.2
Rake Version: 12.3.1
Redis Version: 3.2.3
Git Version: 2.18.0
Sidekiq Version:5.1.3
Go Version: go1.9 linux/amd64
GitLab information
Version: 11.0.2
Revision: d9540ee0464
Directory: /home/gitlab/sites/gitlab.midtones.de
DB Adapter: mysql2
URL: https://gitlab.midtones.de
HTTP Clone URL: https://gitlab.midtones.de/some-group/some-project.git
SSH Clone URL: ssh://gitlab@gitlab.midtones.de:42000/some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 7.1.4
Repository storage paths:
- default: /home/gitlab/repositories
Hooks: /home/gitlab/gitlab-shell/hooks
Git: /usr/bin/git
Results of GitLab application Check
The error given for the init script are just my edits to run gitlab in a non-standard directory and with another system user. The init script ist the one from the 11.0-stable branch.
Checking GitLab Shell ...
GitLab Shell version >= 7.1.4 ? ... OK (7.1.4)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by gitlab:root, or gitlab:gitlab?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
statvis / statbot ... ok
Running /home/gitlab/gitlab-shell/bin/check
Check GitLab API access: FAILED. code: 502
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u gitlab -H editor /home/gitlab/gitlab-shell/config.yml
Please fix the error above and rerun the checks.
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... no
Try fixing it:
sudo -u gitlab -H RAILS_ENV=production bin/background_jobs start
For more information see:
doc/install/installation.md in section "Install Init Script"
see log/sidekiq.log for possible errors
Please fix the error above and rerun the checks.
Checking Sidekiq ... Finished
Reply by email is disabled in config/gitlab.yml
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... yes
Init script exists? ... yes
Init script up-to-date? ... no
Try fixing it:
Re-download the init script
For more information see:
doc/install/installation.md in section "Install Init Script"
Please fix the error above and rerun the checks.
Projects have namespace: ...
statvis / statbot ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.5 ? ... yes (2.4.4)
Git version >= 2.9.5 ? ... yes (2.18.0)
Git user has default SSH configuration? ... yes
Active users: ... 7
Checking GitLab ... Finished
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)