I have reinstalled our OOD server (CentOS 7.9) which pulled in an update to current 2.0.28 version. The config did not change from since before the update. We use Dex and ondemand-dex. Got the following RPMs installed.
The login happens, but then Dashboard fails to load with an error:
[ E 2022-10-17 12:50:16.4737 9880/T1e age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /var/www/ood/apps/sys/dashboard: The application encountered the following error: Could not find rails-5.2.8 in any of the sources (Bundler::GemNotFound)
Error ID: 72a3a1d1
Error details saved to: /tmp/passenger-error-AGuuu5.html
[ E 2022-10-17 12:50:16.4854 9880/Te age/Cor/Con/CheckoutSession.cpp:283 ]: [Client 4-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 72a3a1d1. Please see earlier logs for details about the error.
This used not to happen on earlier reinstalls. Could you please share ideas on how to fix it? Thanks!
Ok, I have found a problem with main dashboard. I copied it over from the previous version of OOD and it did not initialized at all. I have uninstalled/reinstalled the ondemand rpm, and that made it work.
Also, of course in the above, bin/setup needs to be prefixed with “scl enable ondemand – ruby” to work on CentOS 7.
But now another problem : two little Passenger I have also copied over, stopped working. Is there a way to initialize passenger apps? I do get “Initialize App” prompt , but it fails.
The error is now:
[ E 2022-10-20 15:51:46.0920 13152/T13 age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /var/www
/ood/apps/sys/partition_status: The application encountered the following error: Could not find sinatra-2.1.0 in any of the s
ources (Bundler::GemNotFound)
Where do I get this sinatra, if Passenger apps do not have bin/setup?