Update 4.2.1 -> 4.2.10, Could not find gem globalid
Added by Adi Meier 11 months ago
After Update from 4.2.1 to 4.2.10 I get Error in appache error.log.
I changed ruby to 2.7.2As user redmine I tried
- bundle update rails
- bundle install
- bundle config set --local without 'development test'
globalid is instaalled as version 1.1.0
App 1327 stdout: App 1327 stdout: [ 2023-09-25 11:22:13.9852 214/7fc7107d8700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /opt/redmine: An error occurred while starting up the preloader. Error ID: adec0697 Error details saved to: /tmp/passenger-error-niz6Tp.html Message from application: <p>It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run:</p> <pre class="commands">bundle install</pre> <p>If that didn't work, then the problem is probably caused by your application being run under a different environment than it's supposed to. Please check the following:</p> <ol> <li>Is this app supposed to be run as theredmine
user?</li>
<li>Is this app being run on the correct Ruby interpreter? Below you will
see which Ruby interpreter Phusion Passenger attempted to use.</li>
</ol><p>-------- The exception is as follows: -------</p>
Could not find gem 'globalid (> 0.4.2)' in locally installed gems.
(Bundler::GemNotFound)/usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/resolver.rb:304:in `raise_not_found!' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/resolver.rb:357:in `block in prepare_dependencies' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/resolver.rb:342:in `each' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/resolver.rb:342:in `map' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/resolver.rb:342:in `prepare_dependencies' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/resolver.rb:53:in `setup_solver' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/resolver.rb:28:in `start' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/definition.rb:570:in `start_resolution' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/definition.rb:301:in `resolve' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/definition.rb:523:in `materialize' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/definition.rb:200:in `specs' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/definition.rb:266:in `specs_for' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/runtime.rb:18:in `setup' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler.rb:162:in `setup' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/setup.rb:23:in `block in <top (required)>' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/ui/shell.rb:159:in `with_level' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/ui/shell.rb:111:in `silence' /usr/local/rvm/gems/ruby-2.7.2/gems/bundler-2.4.19/lib/bundler/setup.rb:23:in `<top (required)>' /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:85:in `require' /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:85:in `require' /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:430:in `activate_gem' /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:297:in `block in run_load_path_setup_code' /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:435:in `running_bundler' /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:296:in `run_load_path_setup_code' /usr/share/passenger/helper-scripts/rack-preloader.rb:100:in `preload_app' /usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `<module:App>' /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>' /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'[ 2023-09-25 11:22:13.9973 214/7fc71295f700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 1-4] Cannot checkout session because a spawning error occurred. The identifier of the error is adec0697. Please see earlier logs for details about the error.
Replies (3)
RE: Update 4.2.1 -> 4.2.10, Could not find gem globalid
-
Added by C S 11 months ago
Please note: Redmine 4.2 does not support Ruby version 2.7.0 -> please use Ruby 2.7.2 or higher. See also RedmineInstall
RE: Update 4.2.1 -> 4.2.10, Could not find gem globalid
-
Added by Adi Meier 11 months ago
Sure. Its ruby -v
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]
RE: Update 4.2.1 -> 4.2.10, Could not find gem globalid
-
Added by Williams Hill 10 months ago
Thanks, I will check it and if I face any issue, I will update you.