Hello,
Any input to get over the below errors while trying to job composer. thanks.
A problem occurred while initializing your data for this app.
At your own risk you can still open the app or you can just go back to the dashboard
Share this with the developer of your app: The setup production script is supposed to be idempotent and is run each time the user opens the app through the dashboard.
Exception: OodApp::SetupScriptFailed
Per user setup failed for script at /var/www/ood/apps/sys/myjobs/./bin/setup-production for user anilkumar with output: /usr/local/share/ruby/site_ruby/rubygems.rb:319:in load': cannot load such file -- /usr/share/gems/gems/bundler-2.7.1/exe/bundle (LoadError) from /usr/local/share/ruby/site_ruby/rubygems.rb:319:in
activate_and_load_bin_path’ from /var/www/ood/apps/sys/myjobs/bin/bundle:25:in `’
Stack trace:
/var/www/ood/apps/sys/dashboard/app/apps/ood_app.rb:292:in block (2 levels) in run_setup_production' /var/www/ood/apps/sys/dashboard/app/apps/ood_app.rb:271:in
chdir’ /var/www/ood/apps/sys/dashboard/app/apps/ood_app.rb:271:in block in run_setup_production' /usr/local/share/ruby/site_ruby/bundler.rb:409:in
block in with_unbundled_env’ /usr/local/share/ruby/site_ruby/bundler.rb:698:in with_env' /usr/local/share/ruby/site_ruby/bundler.rb:409:in
with_unbundled_env’ /var/www/ood/apps/sys/dashboard/app/apps/ood_app.rb:268:in run_setup_production' /var/www/ood/apps/sys/dashboard/app/controllers/apps_controller.rb:24:in
show’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_controller/metal/basic_implicit_render.rb:6:in send_action' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/abstract_controller/base.rb:215:in
process_action’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_controller/metal/rendering.rb:165:in process_action' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/abstract_controller/callbacks.rb:234:in
block in process_action’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/callbacks.rb:118:in block in run_callbacks' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/turbo-rails-2.0.7/lib/turbo-rails.rb:24:in
with_request_id’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/turbo-rails-2.0.7/app/controllers/concerns/turbo/request_id_tracking.rb:10:in turbo_tracking_request_id' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/callbacks.rb:127:in
block in run_callbacks’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/callbacks.rb:138:in run_callbacks' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/abstract_controller/callbacks.rb:233:in
process_action’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_controller/metal/rescue.rb:23:in process_action' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_controller/metal/instrumentation.rb:67:in
block in process_action’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/notifications.rb:206:in block in instrument' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/notifications/instrumenter.rb:24:in
instrument’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/notifications.rb:206:in instrument' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_controller/metal/instrumentation.rb:66:in
process_action’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_controller/metal/params_wrapper.rb:259:in process_action' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/abstract_controller/base.rb:151:in
process’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionview-7.0.8.5/lib/action_view/rendering.rb:39:in process' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_controller/metal.rb:188:in
dispatch’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_controller/metal.rb:251:in dispatch' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/routing/route_set.rb:49:in
dispatch’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/routing/route_set.rb:32:in serve' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/journey/router.rb:50:in
block in serve’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/journey/router.rb:32:in each' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/journey/router.rb:32:in
serve’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/routing/route_set.rb:852:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/tempfile_reaper.rb:15:in
call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/etag.rb:27:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in
call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/head.rb:12:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/http/permissions_policy.rb:38:in
call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/http/content_security_policy.rb:36:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in
context’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/cookies.rb:704:in
call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/callbacks.rb:27:in block in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/callbacks.rb:99:in
run_callbacks’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/callbacks.rb:26:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/debug_exceptions.rb:28:in
call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/show_exceptions.rb:29:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/lograge-0.14.0/lib/lograge/rails_ext/rack/logger.rb:18:in
call_app’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/railties-7.0.8.5/lib/rails/rack/logger.rb:25:in block in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/tagged_logging.rb:99:in
block in tagged’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/tagged_logging.rb:37:in tagged' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/tagged_logging.rb:99:in
tagged’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/railties-7.0.8.5/lib/rails/rack/logger.rb:25:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/remote_ip.rb:93:in
call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/request_id.rb:26:in
call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/method_override.rb:24:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/runtime.rb:22:in
call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/executor.rb:14:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in
call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/host_authorization.rb:138:in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/railties-7.0.8.5/lib/rails/engine.rb:530:in
call’ /opt/rh/ondemand/root/usr/share/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:107:in process_request' /opt/rh/ondemand/root/usr/share/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:149:in
accept_and_process_next_request’ /opt/rh/ondemand/root/usr/share/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in main_loop' /opt/rh/ondemand/root/usr/share/ruby/vendor_ruby/phusion_passenger/request_handler.rb:419:in
block (3 levels) in start_threads’ /opt/rh/ondemand/root/usr/share/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception’