Defect #32318
closedRedmine 4.0 can not be installed in a sub-URI any more
0%
Description
Hi!
I tried to upgrade my Redmine-installation from 3.4 to 4.0. Until now it was configured to run in the sub-URI "/redmine" by setting "RedmineApp::Application.routes.default_scope = '/redmine'" in the config/environment.rb. This does not work any more in Redmine 4.0 and leads to the "The direct method can't be used..." error described in http://www.redmine.org/issues/31085. But all the solutions described there either aren't applicable in my case (I run Redmine in a Docker container with alpine linux and therefore have no systemd) or do not work. This is unfortunately also the case with all the tips described in http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI which leaves me with no option to run Redmine in a sub-URI any more.
I tried the same with the official Redmine Docker container from Dockerhub and it shows the same errors when a sub-URI is configured.
Environment:
PostgreSQL 9.6.10
ruby 2.5.5p157 (2019-03-15 revision 67260)
Rails 5.2.3
Redmine 4.0.4 in alpine linux 3.9.4 Docker container
Can anyone tell me if there is another way to do it or is there simply no way in Redmine 4.0 any more?
Regards,
Robert
Related issues