I have am restoring a gitlab backup on a new server (same version which is 8.0.5). Goal is to upgrade to 13.x, but I needed to move to a new EC2 instance so hence the same version.
- Went from source install to omnibus
- Backup restored just fine
- Check shows nothing wrong
- DB is now postgresql (was mysql) and looks ok.
When I login, the tail output shows the following
==> /var/log/gitlab/gitlab-rails/production.log <== Started GET "/users/sign_in" for 127.0.0.1 at 2021-05-19 23:59:46 +0000 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 47ms (ActiveRecord: 7.0ms) NoMethodError (undefined method `namespace' for nil:NilClass): app/models/project_services/gitlab_issue_tracker_service.rb:35:in `project_url' app/models/project.rb:374:in `default_issue_tracker' app/controllers/application_controller.rb:195:in `add_gon_variables' ==> /var/log/gitlab/nginx/gitlab_access.log <== 10.124.52.33 - - [19/May/2021:23:59:47 +0000] "GET /users/sign_in HTTP/1.1" 500 415 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36" 10.124.52.33 - - [19/May/2021:23:59:47 +0000] "GET /favicon.ico HTTP/1.1" 200 5430 "http://10.232.134.84/users/sign_in" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36
Any ideas what could be causing this?