ERROR: relation "user_callouts" does not exist
Summary
Gitlab is showing "500 Whoops, something went wrong on our end." when entering any repository.
Steps to reproduce
Update from 10.3.5-ce.0 to 10.5.2-ce.0 using apt on debian jessie.
Relevant logs and/or screenshots
Completed 500 Internal Server Error in 218ms (ActiveRecord: 21.1ms)
ActionView::Template::Error (PG::UndefinedTable: ERROR: relation "user_callouts" does not exist
LINE 5: WHERE a.attrelid = '"user_callouts"'::regclas...
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"user_callouts"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
):
184: Environments
185:
186: - if project_nav_tab? :clusters
187: - show_cluster_hint = show_gke_cluster_integration_callout?(@project)
188: = nav_link(controller: [:clusters, :user, :gcp]) do
189: = link_to project_clusters_path(@project), title: _('Kubernetes'), class: 'shortcuts-cluster' do
190: %span
app/helpers/user_callouts_helper.rb:12:in `user_dismissed?'
app/helpers/user_callouts_helper.rb:6:in `show_gke_cluster_integration_callout?'
app/views/layouts/nav/sidebar/_project.html.haml:187:in `block in _app_views_layouts_nav_sidebar__project_html_haml__2877301288209729119_70188461712160'
app/helpers/tab_helper.rb:55:in `nav_link'
app/views/layouts/nav/sidebar/_project.html.haml:149:in `_app_views_layouts_nav_sidebar__project_html_haml__2877301288209729119_70188461712160'
app/views/layouts/_page.html.haml:3:in `_app_views_layouts__page_html_haml___3014283383209159137_70188266889300'
app/views/layouts/application.html.haml:8:in `_app_views_layouts_application_html_haml__4018458474699905302_70188273526540'
app/views/layouts/project.html.haml:14:in `_app_views_layouts_project_html_haml__4262577229112061857_70188406601560'
lib/gitlab/i18n.rb:47:in `with_locale'
lib/gitlab/i18n.rb:53:in `with_user_locale'
app/controllers/application_controller.rb:325: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'