Undefined method `licensee'
I'm trying the Enterprise edition on a self-managed instance using Docker image gitlab/gitlab-ee:12.1.4-ee.0
After uploading the trial key I'm getting an Internal Server Error 500
page.
From the logs:
Started GET "/admin/license" for 10.8.3.2 at 2019-08-09 12:06:24 +0000
9/8/2019 14:06:24Processing by Admin::LicensesController#show as HTML
9/8/2019 14:06:24Completed 500 Internal Server Error in 48ms (ActiveRecord: 7.1ms | Elasticsearch: 0.0ms)
9/8/2019 14:06:24
9/8/2019 14:06:24ActionView::Template::Error (undefined method `licensee' for #<License:0x00007f7f03741d80>
9/8/2019 14:06:24Did you mean? license
9/8/2019 14:06:24 license?):
9/8/2019 14:06:24 95: - @previous_licenses.each do |license|
9/8/2019 14:06:24 96: %tr
9/8/2019 14:06:24 97: - @license.licensee.keys.each do |label|
9/8/2019 14:06:24 98: %td= license.licensee[label]
9/8/2019 14:06:24 99: %td
9/8/2019 14:06:24 100: %span
9/8/2019 14:06:24 101: = license.plan.capitalize
9/8/2019 14:06:24
9/8/2019 14:06:24ee/app/models/license.rb:297:in `method_missing'
9/8/2019 14:06:24ee/app/views/admin/licenses/show.html.haml:98:in `block (2 levels) in _ee_app_views_admin_licenses_show_html_haml__3772589152075910862_70091744631220'
9/8/2019 14:06:24ee/app/views/admin/licenses/show.html.haml:97:in `each'
9/8/2019 14:06:24ee/app/views/admin/licenses/show.html.haml:97:in `block in _ee_app_views_admin_licenses_show_html_haml__3772589152075910862_70091744631220'
9/8/2019 14:06:24ee/app/views/admin/licenses/show.html.haml:95:in `_ee_app_views_admin_licenses_show_html_haml__3772589152075910862_70091744631220'
9/8/2019 14:06:24app/controllers/application_controller.rb:117:in `render'
9/8/2019 14:06:24ee/lib/gitlab/ip_address_state.rb:10:in `with'
9/8/2019 14:06:24ee/app/controllers/ee/application_controller.rb:28:in `set_current_ip_address'
9/8/2019 14:06:24lib/gitlab/session.rb:11:in `with_session'
9/8/2019 14:06:24app/controllers/application_controller.rb:445:in `set_session_storage'
9/8/2019 14:06:24lib/gitlab/i18n.rb:55:in `with_locale'
9/8/2019 14:06:24lib/gitlab/i18n.rb:61:in `with_user_locale'
9/8/2019 14:06:24app/controllers/application_controller.rb:439:in `set_locale'
9/8/2019 14:06:24lib/gitlab/middleware/multipart.rb:103:in `call'
9/8/2019 14:06:24lib/gitlab/request_profiler/middleware.rb:16:in `call'
9/8/2019 14:06:24ee/lib/gitlab/jira/middleware.rb:17:in `call'
9/8/2019 14:06:24lib/gitlab/middleware/go.rb:20:in `call'
9/8/2019 14:06:24lib/gitlab/etag_caching/middleware.rb:13:in `call'
9/8/2019 14:06:24lib/gitlab/middleware/correlation_id.rb:16:in `block in call'
9/8/2019 14:06:24lib/gitlab/middleware/correlation_id.rb:15:in `call'
9/8/2019 14:06:24lib/gitlab/middleware/read_only/controller.rb:42:in `call'
9/8/2019 14:06:24lib/gitlab/middleware/read_only.rb:18:in `call'
9/8/2019 14:06:24lib/gitlab/middleware/basic_health_check.rb:25:in `call'
9/8/2019 14:06:24lib/gitlab/request_context.rb:26:in `call'
9/8/2019 14:06:24lib/gitlab/metrics/requests_rack_middleware.rb:29:in `call'
9/8/2019 14:06:24lib/gitlab/middleware/release_env.rb:12:in `call'
Edited by 🤖 GitLab Bot 🤖