Getting below error while running manageiq in production mode


#1

[----] I, [2018-07-09T17:13:01.710596 #2249:2c77e44] INFO – : Started GET “/” for 49.205.223.186 at 2018-07-09 17:13:01 +0000
[----] I, [2018-07-09T17:13:01.711690 #2249:2c77e44] INFO – : Processing by DashboardController#login as HTML
[----] F, [2018-07-09T17:13:01.714775 #2249:2c77e44] FATAL – : Error caught: [NameError] uninitialized constant ApplicationController::PPCHOICES
/home/ubuntu/integra/app/controllers/application_controller.rb:2027:in get_global_session_data' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:382:inblock in make_lambda’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:150:in block (2 levels) in halting_and_conditional' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/abstract_controller/callbacks.rb:12:inblock (2 levels) in module:Callbacks
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:151:in block in halting_and_conditional' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:454:inblock in call’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:454:in each' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:454:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:101:in __run_callbacks__' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:750:in_run_process_action_callbacks’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:90:in run_callbacks' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/abstract_controller/callbacks.rb:19:inprocess_action’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_controller/metal/rescue.rb:20:in process_action' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_controller/metal/instrumentation.rb:32:inblock in process_action’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/notifications.rb:164:in block in instrument' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/notifications/instrumenter.rb:21:ininstrument’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/notifications.rb:164:in instrument' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_controller/metal/instrumentation.rb:30:inprocess_action’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_controller/metal/params_wrapper.rb:248:in process_action' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activerecord-5.0.7/lib/active_record/railties/controller_runtime.rb:18:inprocess_action’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/abstract_controller/base.rb:126:in process' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionview-5.0.7/lib/action_view/rendering.rb:30:inprocess’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_controller/metal.rb:190:in dispatch' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_controller/metal.rb:262:indispatch’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/routing/route_set.rb:50:in dispatch' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/routing/route_set.rb:32:inserve’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/journey/router.rb:39:in block in serve' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/journey/router.rb:26:ineach’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/journey/router.rb:26:in serve' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/routing/route_set.rb:727:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/secure_headers-3.0.3/lib/secure_headers/middleware.rb:10:in call' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/rack-2.0.5/lib/rack/etag.rb:25:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/rack-2.0.5/lib/rack/conditional_get.rb:25:in call' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/rack-2.0.5/lib/rack/head.rb:12:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/rack-2.0.5/lib/rack/session/abstract/id.rb:232:in context' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/rack-2.0.5/lib/rack/session/abstract/id.rb:226:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/middleware/cookies.rb:613:in call' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/middleware/callbacks.rb:38:inblock in call’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:97:in __run_callbacks__' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:750:in_run_call_callbacks’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/callbacks.rb:90:in run_callbacks' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/middleware/callbacks.rb:36:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/middleware/remote_ip.rb:79:in call' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/middleware/debug_exceptions.rb:49:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/middleware/show_exceptions.rb:31:in call' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/railties-5.0.7/lib/rails/rack/logger.rb:36:incall_app’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/railties-5.0.7/lib/rails/rack/logger.rb:26:in call' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/middleware/request_id.rb:24:in call' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/rack-2.0.5/lib/rack/method_override.rb:22:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/rack-2.0.5/lib/rack/runtime.rb:22:in call' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.7/lib/active_support/cache/strategy/local_cache_middleware.rb:28:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/actionpack-5.0.7/lib/action_dispatch/middleware/executor.rb:12:in call' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/rack-2.0.5/lib/rack/sendfile.rb:111:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/railties-5.0.7/lib/rails/engine.rb:522:in call' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/railties-5.0.7/lib/rails/railtie.rb:193:inpublic_send’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/railties-5.0.7/lib/rails/railtie.rb:193:in method_missing' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/puma-3.3.0/lib/puma/configuration.rb:224:incall’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/puma-3.3.0/lib/puma/server.rb:561:in handle_request' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/puma-3.3.0/lib/puma/server.rb:406:inprocess_client’
/home/ubuntu/.rvm/gems/ruby-2.3.1/gems/puma-3.3.0/lib/puma/server.rb:271:in block in run' /home/ubuntu/.rvm/gems/ruby-2.3.1/gems/puma-3.3.0/lib/puma/thread_pool.rb:111:inblock in spawn_thread’
[----] I, [2018-07-09T17:13:01.715919 #2249:2c77e44] INFO – : Rendering layouts/exception.html.haml within layouts/application
[----] I, [2018-07-09T17:13:01.716181 #2249:2c77e44] INFO – : Rendered layouts/_exception_contents.html.haml (0.1ms)
[----] I, [2018-07-09T17:13:01.716263 #2249:2c77e44] INFO – : Rendered layouts/exception.html.haml within layouts/application (0.3ms)
[----] I, [2018-07-09T17:13:01.716409 #2249:2c77e44] INFO – : Rendered layouts/_doctype.html.haml (0.0ms)
[----] I, [2018-07-09T17:13:01.716974 #2249:2c77e44] INFO – : Rendered stylesheets/_template50.html.haml (0.0ms)
[----] I, [2018-07-09T17:13:01.717301 #2249:2c77e44] INFO – : Rendered layouts/_i18n_js.html.haml (0.0ms)
[----] I, [2018-07-09T17:13:01.718906 #2249:2c77e44] INFO – : Rendered layouts/_about_modal.html.haml (1.4ms)
[----] I, [2018-07-09T17:13:01.718981 #2249:2c77e44] INFO – : Rendered layouts/_header.html.haml (1.5ms)
[----] I, [2018-07-09T17:13:01.719092 #2249:2c77e44] INFO – : Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.4ms)
[----] F, [2018-07-09T17:13:01.719659 #2249:2c77e44] FATAL – :
[----] F, [2018-07-09T17:13:01.719704 #2249:2c77e44] FATAL – : ActionView::Template::Error (undefined method name' for nil:NilClass): [----] F, [2018-07-09T17:13:01.719808 #2249:2c77e44] FATAL -- : 9: = I18n.t("product.name_full") 10: .product-versions-pf 11: %ul.list-unstyled 12: - [[_("Version"), h(vmdb_build_info(:version) + "." + vmdb_build_info(:build))], 13: [_("Server Name"), h(appliance_name)], 14: [_("User Name"), h(current_user.name)], 15: [_("User Role"), h(user_role_name)], [----] F, [2018-07-09T17:13:01.719845 #2249:2c77e44] FATAL -- : [----] F, [2018-07-09T17:13:01.719905 #2249:2c77e44] FATAL -- : app/views/layouts/_about_modal.html.haml:12:in_app_views_layouts__about_modal_html_haml__255689650671440763_69855841032000’
actionview (5.0.7) lib/act