After upgrade to 3.4.5: Routing error to redmine_extensions/dynamic_loading.js
Added by Stefan G. over 6 years ago
Hello,
I have upgraded from 3.4.4 to 3.4.5 under Debian stretch with a manual install. Now in the logs this error shows up:
===
ActionController::RoutingError (No route matches [GET] "/javascripts/redmine_extensions/dynamic_loading.js"):
actionpack (4.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.2.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.2.8) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.8) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.2.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.8) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.8) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.2.8) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.2.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.10) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.10) lib/rack/runtime.rb:18:in `call'
activesupport (4.2.8) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (4.2.8) lib/action_dispatch/middleware/static.rb:120:in `call'
rack (1.6.10) lib/rack/content_length.rb:15:in `call'
rack (1.6.10) lib/rack/sendfile.rb:113:in `call'
railties (4.2.8) lib/rails/engine.rb:518:in `call'
railties (4.2.8) lib/rails/application.rb:165:in `call'
railties (4.2.8) lib/rails/railtie.rb:194:in `public_send'
railties (4.2.8) lib/rails/railtie.rb:194:in `method_missing'
/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:152:in `accept_and_process_next_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'
===
Any tips how to fix this? Thanks a lot.
=== RAILS_ENV=production bin/about
sh: 1: darcs: not found
sh: 1: hg: not found
sh: 1: cvs: not found
sh: 1: bzr: not found
Environment:
Redmine version 3.4.5.stable
Ruby version 2.3.3-p222 (2016-11-21) [x86_64-linux-gnu]
Rails version 4.2.8
Environment production
Database adapter PostgreSQL
SCM:
Subversion 1.9.5
Git 2.11.0
Filesystem
Redmine plugins:
redmine_dmsf 1.6.0
Replies (6)
RE: After upgrade to 3.4.5: Routing error to redmine_extensions/dynamic_loading.js - Added by Martin Denizet (redmine.org team member) over 6 years ago
I suggest 4 things:
- Check your permissions on the plugin directory:
# Assuming the user is www-data sudo chown -R www-data:www-data files log tmp public/plugin_assets
- Force copy assets:
bundle exec rake redmine:plugins:asset
- Check for a newer version of the
redmine_extensions
plugin - If none of it does helps, disable the
redmine_extensions
plugin
Cheers,
RE: After upgrade to 3.4.5: Routing error to redmine_extensions/dynamic_loading.js - Added by Martin Denizet (redmine.org team member) over 6 years ago
I forgot to specify: you may have to restart your Redmine instance before checking is the problem is solved.
RE: After upgrade to 3.4.5: Routing error to redmine_extensions/dynamic_loading.js - Added by Stephen Welch over 6 years ago
Hi - I am having the same problem - but looking at the github source for all the plugins - I cannot see /javascripts/redmine_extensions/dynamic_loading.js
So this is now causing me a major headache.
Is there any further news on this.
I have tried the rake command from above.
RE: After upgrade to 3.4.5: Routing error to redmine_extensions/dynamic_loading.js - Added by Martin Denizet (redmine.org team member) over 6 years ago
There could be a mistake in the plugin
Maybe in lib/redmine_extensions/hooks.rb
javascript_include_tag('redmine_extensions/dynamic_loading')
Should be:
javascript_include_tag('redmine_extensions/blocking_dynamic_loading.js')
Just a suggestion...
RE: After upgrade to 3.4.5: Routing error to redmine_extensions/dynamic_loading.js - Added by Martín Tolava about 6 years ago
I have the same error. Mi Redmine is:
Environment: Redmine version 3.4.5.stable.17339 Ruby version 2.3.5-p376 (2017-09-14) [x86_64-linux] Rails version 4.2.8 Environment production Database adapter PostgreSQL SCM: Subversion 1.9.5 Git 2.11.0 Filesystem Redmine plugins: clipboard_image_paste 1.12 redmine_agile 1.4.6 redmine_ckeditor 1.1.5 redmine_dmsf 1.6.1 redmine_lightbox2 0.4.3 sidebar_hide 0.0.8
and de error is:
ActionController::RoutingError (No route matches [GET] "/javascripts/redmine_extensions/dynamic_loading.js"):
actionpack (4.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.2.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.2.8) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.8) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.2.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.8) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.8) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.2.8) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.2.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.10) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.10) lib/rack/runtime.rb:18:in `call'
activesupport (4.2.8) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (4.2.8) lib/action_dispatch/middleware/static.rb:120:in `call'
rack (1.6.10) lib/rack/content_length.rb:15:in `call'
rack (1.6.10) lib/rack/sendfile.rb:113:in `call'
railties (4.2.8) lib/rails/engine.rb:518:in `call'
railties (4.2.8) lib/rails/application.rb:165:in `call'
railties (4.2.8) lib/rails/railtie.rb:194:in `public_send'
railties (4.2.8) lib/rails/railtie.rb:194:in `method_missing'
/usr/local/rvm/gems/ruby-2.3.5/gems/passenger-5.3.1/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
/usr/local/rvm/gems/ruby-2.3.5/gems/passenger-5.3.1/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:149:in `accept_and_process_next_request'
/usr/local/rvm/gems/ruby-2.3.5/gems/passenger-5.3.1/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
/usr/local/rvm/gems/ruby-2.3.5/gems/passenger-5.3.1/src/ruby_supportlib/phusion_passenger/request_handler.rb:415:in `block (3 levels) in start_threads'
/usr/local/rvm/gems/ruby-2.3.5/gems/passenger-5.3.1/src/ruby_supportlib/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'
The problem is with a special issue, but I dont know why it is happening
RE: After upgrade to 3.4.5: Routing error to redmine_extensions/dynamic_loading.js - Added by Martín Tolava about 6 years ago
I resolve my problem.
In my case the problem was in the configuration of Apache virtualhost.
Take a look.