Hi there,
We have just updated OOD to 3.1.5 and I am experiencing issue when I connect on my dashboard :
$ yum info ondemand
Last metadata expiration check: 2:55:42 ago on Fri 14 Jun 2024 11:49:32 AM CEST.
Installed Packages
Name : ondemand
Version : 3.1.5
Release : 1.el8
Architecture : x86_64
Size : 147 M
Source : ondemand-3.1.5-1.el8.src.rpm
Repository : @System
From repo : Local-ondemand-web-osc-el-8
Summary : Web server that provides users access to HPC resources
URL : https://osc.github.io/Open-OnDemand
License : MIT
Description : Open OnDemand is an open source release of OSC's OnDemand platform to provide
: HPC access via a web browser, supporting web based file management, shell
: access, job submission and interactive work on compute nodes.
App 219173 output: /usr/share/gems/gems/bundler-2.3.26/lib/bundler/resolver.rb:235:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'sdoc' in locally installed gems. (Bundler::GemNotFound)
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/resolver.rb:228:in `map!'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/resolver.rb:228:in `verify_gemfile_dependencies_are_found!'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/resolver.rb:31:in `start'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/definition.rb:279:in `resolve'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/definition.rb:490:in `materialize'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/definition.rb:187:in `specs'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/definition.rb:244:in `specs_for'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/runtime.rb:18:in `setup'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler.rb:161:in `setup'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/setup.rb:20:in `block in <top (required)>'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/ui/shell.rb:136:in `with_level'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/ui/shell.rb:88:in `silence'
App 219173 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/setup.rb:20:in `<top (required)>'
App 219173 output: from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `require'
App 219173 output: from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
App 219173 output: from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:149:in `require'
App 219173 output: <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- bundler/setup (LoadError)
App 219173 output: from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
[ E 2024-06-14 14:13:38.0555 217976/T1h age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /var/www/ood/apps/sys/dashboard: The application process exited prematurely.
Error ID: f538fc11
Error details saved to: /tmp/passenger-error-goFBET.html
[ E 2024-06-14 14:13:38.0710 217976/Td age/Cor/Con/CheckoutSession.cpp:283 ]: [Client 3-1] Cannot checkout session because a spawning error occurred. The identifier of the error is f538fc11. Please see earlier logs for details about the error.
So with my user I tried to install sdoc (gem install sdoc), and I have another permission issue:
App 232051 output: /usr/share/gems/gems/bundler-2.3.26/lib/bundler/shared_helpers.rb:105:in `rescue in filesystem_access': There was an error while trying to write to `/var/www/ood/apps/sys/dashboard/Gemfile.lock`. It is likely that you need to grant write permissions for that path. (Bundler::PermissionError)
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/shared_helpers.rb:102:in `filesystem_access'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/definition.rb:316:in `lock'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/runtime.rb:98:in `lock'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/runtime.rb:35:in `setup'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler.rb:161:in `setup'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/setup.rb:20:in `block in <top (required)>'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/ui/shell.rb:136:in `with_level'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/ui/shell.rb:88:in `silence'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/setup.rb:20:in `<top (required)>'
App 232051 output: from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `require'
App 232051 output: from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
App 232051 output: from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:149:in `require'
App 232051 output: /usr/share/gems/gems/bundler-2.3.26/lib/bundler/definition.rb:317:in `initialize': Permission denied @ rb_sysopen - /var/www/ood/apps/sys/dashboard/Gemfile.lock (Errno::EACCES)
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/definition.rb:317:in `open'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/definition.rb:317:in `block in lock'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/shared_helpers.rb:103:in `filesystem_access'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/definition.rb:316:in `lock'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/runtime.rb:98:in `lock'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/runtime.rb:35:in `setup'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler.rb:161:in `setup'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/setup.rb:20:in `block in <top (required)>'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/ui/shell.rb:136:in `with_level'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/ui/shell.rb:88:in `silence'
App 232051 output: from /usr/share/gems/gems/bundler-2.3.26/lib/bundler/setup.rb:20:in `<top (required)>'
App 232051 output: from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `require'
App 232051 output: from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
App 232051 output: from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:149:in `require'
App 232051 output: <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- bundler/setup (LoadError)
App 232051 output: from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
[ E 2024-06-14 14:42:52.0861 229607/T1r age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /var/www/ood/apps/sys/dashboard: The application process exited prematurely.
Here the screen shot of my dashboard:
I do not understand why I get this error and how to Fix it. I am the only one getting this issue.
Thankyou for any help provided