On Fri, 11 Sep 2020 15:53:45 +0300 Andrius Merkys <mer...@debian.org> wrote: > Hello, > > I have attempted patching out dependencies in Gemfile, namely, rails and > roadie-rails, to accept later major releases. However, I ran into the > following autopkgtest failures. > > First of all, 'service apache2 restart' fails in autopkgtest on schroot. > It tries to execute 'systemctl', which apparently is not there, as > systemd package does not seem to be installed there. Nevertheless, this > issue could be circumvented by replacing 'service apache2 restart' with > 'apachectl restart' (not sure about side effects, but at least Apache2 > starts). > > With this patch I continued with autopkgtest 'command1', which checks > whether the main page of Redmine loads. And this check failed with > "Redmine 500 error", with the following message in error log: > > Completed 500 Internal Server Error in 208ms (ActiveRecord: 25.5ms | > Allocations: 74866) > > NotImplementedError (Subclasses must implement a find_templates(name, > prefix, partial, details, locals = []) method): > > config/initializers/10-patches.rb:74:in `block in find_all' > config/initializers/10-patches.rb:69:in `find_all' > lib/redmine/sudo_mode.rb:63:in `sudo_mode' > > I have little idea, but this might be a signal of incompatibility with > new ruby-rails. > > Andrius > >
Apparently, Redmine is still in the process of migrating to Rails 6: https://www.redmine.org/issues/29914