Redmine passenger docker 4.1.x suburi failing 50% request

Added by n r 2 months ago

I have been recently trying to configure Redmine passenger 4.1.1 and 4.1.0 docker image to work in a suburi following documentation at

https://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI#section-11

It does work but just 50% of time. First request to redmine suburi returns whole site perfectly however next one result on a "RoutingError (No route matches [GET] "/xxgaseosa"):". Subsequent request result on the same behaviour.

Does any one know what´s wrong?

Here some output from log:

gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.258366 #162] INFO -- : Started GET "/xxgaseosa/" for 161.72.39.159 at 2020-05-14 08:49:03 +0000
gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.259000 #162] INFO -- : Processing by WelcomeController#index as HTML
gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.261608 #162] INFO -- : Current user: anonymous
gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.266119 #162] INFO -- : Rendering welcome/index.html.erb within layouts/base

gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.267058 #162] INFO -- : Rendered welcome/index.html.erb within layouts/base (0.9ms)
gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.268452 #162] INFO -- : Rendered plugins/redmineup_tags/app/views/tags/_additional_assets.html.erb (0.3ms)
gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.269266 #162] INFO -- : Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_headers.html.erb (0.2ms)
gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.269413 #162] INFO -- : Rendering plugins/wiki_graphviz_plugin/app/views/wiki_graphviz/_head.html.erb
gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.269542 #162] INFO -- : Rendered plugins/wiki_graphviz_plugin/app/views/wiki_graphviz/_head.html.erb (0.1ms)
gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.274869 #162] INFO -- : Rendered plugins/redmineup_tags/app/views/tags/_select2_transformation_rules.html.erb (0.1ms)
gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.276557 #162] INFO -- : Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_add_form.html.erb (1.5ms)
gaseosa_1 | App 162 output: I, [2020-05-14T08:49:03.276747 #162] INFO -- : Completed 200 OK in 18ms (Views: 9.7ms | ActiveRecord: 3.5ms)
gaseosa_1 | App 162 output: I, [2020-05-14T08:49:04.401330 #162] INFO -- : Started GET "/xxgaseosa/" for 161.72.39.159 at 2020-05-14 08:49:04 +0000
gaseosa_1 | App 162 output: F, [2020-05-14T08:49:04.401900 #162] FATAL -- :
gaseosa_1 | App 162 output: F, [2020-05-14T08:49:04.401939 #162] FATAL -- : ActionController::RoutingError (No route matches [GET] "/xxgaseosa"):
gaseosa_1 | App 162 output: F, [2020-05-14T08:49:04.401959 #162] FATAL -- :

gaseosa_1 | App 162 output: F, [2020-05-14T08:49:04.401982 #162] FATAL -- : actionpack (5.2.4.1) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'