500 Error upgrading v8.17.6 to v9.0.0

I am on Debian Jessie. I recently upgraded to v9.0.0 from v8.17.6 via apt. I then ran gitlab-ctl restart and gitlab-ctl reconfigure to no avail. Output of gitlab-rake gitlab:check:

Checking GitLab Shell ...

GitLab Shell version >= 5.0.0 ? ... OK (5.0.0)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
rake aborted!
NoMethodError: undefined method `name' for #<Route:0x007f6c4d4bb0c0>
/opt/gitlab/embedded/service/gitlab-rails/app/models/concerns/routable.rb:89:in `full_name'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:959:in `sanitized_message'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:476:in `block in check_repos_hooks_directory_is_link'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:475:in `check_repos_hooks_directory_is_link'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:345:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:22:in `load'
/opt/gitlab/embedded/bin/bundle:22:in `<main>'
Tasks: TOP => gitlab:check => gitlab:gitlab_shell:check
(See full trace by running task with --trace)

I’m not sure what caused this or what do do next.