Project

General

Profile

redmine 4.0.5 upgrade will not start

Added by Philip Dalrymple over 4 years ago

I was running 4.0.4 without problems with Puma to port 9292 and tried an upgrade to 4.0.5

I was able to follow the steps of:

copy database and configuation (I keep them is a saved location)
then

RAILS_ENV=production bundle install --without development test
RAILS_ENV=production bundle exec rake generate_secret_token
RAILS_ENV=production bundle exec rake db:migrate

When I try to start PUMA with

RAILS_ENV=production puma -b ssl://0.0.0.0:9292?key=/etc/letsencrypt/live/XXXX.com/privkey.pem&cert=/etc/letsencrypt/live/XXXX.com/cert.pem

XXXX is my server I get

[1] 4009
[root@redmine-2 redmine]# Puma starting in single mode...
  • Version 3.12.1 (ruby 2.5.5-p157), codename: Llamas in Pajamas
  • Min threads: 0, max threads: 16
  • Environment: development
    Traceback (most recent call last):
    13: from /usr/bin/puma:23:in `<main>'
    12: from /usr/bin/puma:23:in `load'
    11: from /usr/share/gems/gems/puma-3.12.1/bin/puma:10:in `<top (required)>'
    10: from /usr/share/gems/gems/puma-3.12.1/lib/puma/cli.rb:80:in `run'
    9: from /usr/share/gems/gems/puma-3.12.1/lib/puma/launcher.rb:186:in `run'
    8: from /usr/share/gems/gems/puma-3.12.1/lib/puma/single.rb:98:in `run'
    7: from /usr/share/gems/gems/puma-3.12.1/lib/puma/runner.rb:153:in `load_and_bind'
    6: from /usr/share/gems/gems/puma-3.12.1/lib/puma/binder.rb:90:in `parse'
    5: from /usr/share/gems/gems/puma-3.12.1/lib/puma/binder.rb:90:in `each'
    4: from /usr/share/gems/gems/puma-3.12.1/lib/puma/binder.rb:148:in `block in parse'
    3: from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
    2: from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
    1: from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
    /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require': cannot load such file -- puma/minissl (LoadError)

What am I doing wrong?