Error after upgrading from 10.6.3 to 11.7.2
I get the following error:
Completed 500 Internal Server Error in 743ms (ActiveRecord: 26.0ms)
ActionView::Template::Error (nil is not a valid asset source):
12: .title-container
13: %h1.title
14: = link_to root_path, title: _('Dashboard'), id: 'logo' do
15: = brand_header_logo
16: - logo_text = brand_header_logo_type
17: - if logo_text.present?
18: %span.logo-text.d-none.d-lg-block.prepend-left-8
app/helpers/lazy_image_tag_helper.rb:14:in `image_tag'
app/helpers/appearances_helper.rb:31:in `brand_header_logo'
app/views/layouts/header/_default.html.haml:15:in `block in _app_views_layouts_header__default_html_haml__2555253291120305545_70226781014220'
app/views/layouts/header/_default.html.haml:14:in `_app_views_layouts_header__default_html_haml__2555253291120305545_70226781014220'
app/views/layouts/application.html.haml:7:in `_app_views_layouts_application_html_haml___2444170799805476327_70226780179100'
app/views/layouts/dashboard.html.haml:6:in `_app_views_layouts_dashboard_html_haml__3304448619729315164_70226763174920'
app/controllers/application_controller.rb:113:in `render'
lib/gitlab/i18n.rb:55:in `with_locale'
lib/gitlab/i18n.rb:61:in `with_user_locale'
app/controllers/application_controller.rb:417:in `set_locale'
lib/gitlab/middleware/multipart.rb:103:in `call'
lib/gitlab/request_profiler/middleware.rb:16:in `call'
lib/gitlab/middleware/go.rb:20:in `call'
lib/gitlab/etag_caching/middleware.rb:13:in `call'
lib/gitlab/middleware/correlation_id.rb:16:in `block in call'
lib/gitlab/correlation_id.rb:15:in `use_id'
lib/gitlab/middleware/correlation_id.rb:15:in `call'
lib/gitlab/middleware/read_only/controller.rb:40:in `call'
lib/gitlab/middleware/read_only.rb:18:in `call'
lib/gitlab/middleware/basic_health_check.rb:25:in `call'
lib/gitlab/request_context.rb:20:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:29:in `call'
lib/gitlab/middleware/release_env.rb:13:in `call'
==> /var/log/gitlab/gitlab-rails/production_json.log <==
{"method":"GET","path":"/","format":"html","controller":"RootController","action":"index","status":500,"error":"ActionView::Template::Error: nil is not a valid asset source","duration":745.88,"view":0.0,"db":25.99,"time":"2019-02-04T13:17:51.683Z","params":[],"remote_ip":"192.168.0.216","user_id":1,"username":"root","ua":"Mozilla/5.0 (Windows NT 10.0;Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0","gitaly_calls":20,"correlation_id":"wsPZHQBBey5"}
Edited by Rémy Coutable