Error 500 when trying to import from Github


#1

Good morning everyone,

I currently run gitlab on Debian 9, and when trying to import a project I receive the 500 error.

The logs show this:

Projects::ImportService::Error (OAuth configuration for GitHub missing.):
lib/gitlab/legacy_github_import/client.rb:34:in client' lib/gitlab/legacy_github_import/client.rb:46:inauthorize_url’
app/controllers/import/github_controller.rb:75:in go_to_provider_for_permissions' app/controllers/import/github_controller.rb:121:inprovider_auth’
lib/gitlab/i18n.rb:53:in with_locale' lib/gitlab/i18n.rb:59:inwith_user_locale’
app/controllers/application_controller.rb:432:in set_locale' lib/gitlab/middleware/multipart.rb:101:incall’
lib/gitlab/request_profiler/middleware.rb:14:in call' ee/lib/gitlab/jira/middleware.rb:15:incall’
lib/gitlab/middleware/go.rb:17:in call' lib/gitlab/etag_caching/middleware.rb:11:incall’
lib/gitlab/middleware/rails_queue_duration.rb:22:in call' lib/gitlab/metrics/rack_middleware.rb:15:inblock in call’
lib/gitlab/metrics/transaction.rb:53:in run' lib/gitlab/metrics/rack_middleware.rb:15:incall’
lib/gitlab/middleware/read_only/controller.rb:40:in call' lib/gitlab/middleware/read_only.rb:16:incall’
lib/gitlab/middleware/basic_health_check.rb:25:in call' lib/gitlab/request_context.rb:18:incall’
lib/gitlab/metrics/requests_rack_middleware.rb:27:in call' lib/gitlab/middleware/release_env.rb:10:incall’

got any ideas?