# for GitLab 5.0 and later (uses git user)
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
If you are all green you should have eliminated most of the obvious error sources.
You should also check the sections below for your issue and follow the steps to fix it.
but I get the error "bundle: command not found". This is with GitLab EE 10.5.1.
Am I following the latest troubleshooting guide? How should I troubleshoot it when I get
HTTP 500 error on the login page and the following in the log file:
==> /var/log/gitlab/gitlab-rails/production.log <== NoMethodError (undefined method `user_["saml", "google_auth2"]_omniauth_authorize_path' for #<ActionDispatch::Routing::RoutesProxy:0x00007fc07bd74e78>): app/controllers/sessions_controller.rb:138:in `auto_sign_in_with_provider' lib/gitlab/i18n.rb:47:in `with_locale' lib/gitlab/i18n.rb:53:in `with_user_locale' app/controllers/application_controller.rb:333:in `set_locale' lib/gitlab/middleware/multipart.rb:95:in `call' lib/gitlab/request_profiler/middleware.rb:14:in `call' lib/gitlab/middleware/go.rb:17:in `call' lib/gitlab/etag_caching/middleware.rb:11:in `call' lib/gitlab/middleware/read_only.rb:31:in `call' lib/gitlab/request_context.rb:18:in `call' lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'
Thanks!
Aleksey