Project

General

Profile

Install Redmine 5.0 on Windows Server2022

Added by Florian Azert about 2 years ago

We have Redmine 3.1.1 installed with Ruby 1.9.3-p392 and rails 4.2.4 on a Windows server 2012 machine which works correctly.

We want to upgrade redmine to 5.0 by installing it on a windows server 2022 machine. For this we followed the prerequisites : ruby ​​​​3.1.2p20 and rails 6.1.7. The database is MSSQL19 and is installed on another Windows Server 2022 computer.

For the installation, we followed this procedure : https://www.redmine.org/projects/redmine/wiki/redmineinstall

The error message appears during step 6 with the command rake db:migrate

rake aborted!
LoadError: cannot load such file -- listen
E:/Applications/Redmine/redmine-5.0.3/config/environments/development.rb:58:in `block in <top (required)>'
E:/Applications/Redmine/redmine-5.0.3/config/environments/development.rb:5:in `<top (required)>'
E:/Applications/Redmine/redmine-5.0.3/config/environment.rb:16:in `<top (required)>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)

Is it a version problem ?
It's possible to create this configuration ?