Project

General

Profile

Actions

Bug #18867

closed

ActionController::RoutingError for js files after upgrade to 1.14.2

Added by Tim Meusel over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,
I updated my foreman setup to 1.14.2 yesterday. I'm running it on CentOS 7 and use your yum repository:

~ # rpm -qa | grep foreman
tfm-rubygem-foreman_hooks-0.3.13-1.fm1_14.el7.noarch
tfm-rubygem-foreman_column_view-0.3.0-1.fm1_14.el7.noarch
foreman-release-scl-3-1.el7.noarch
tfm-rubygem-foreman-tasks-core-0.1.1-1.fm1_14.el7.noarch
foreman-selinux-1.14.2-1.el7.noarch
foreman-1.14.2-1.el7.noarch
tfm-rubygem-puppetdb_foreman-2.0.0-1.fm1_14.el7.noarch
tfm-rubygem-foreman-tasks-0.8.6-1.fm1_14.el7.noarch
foreman-postgresql-1.14.2-1.el7.noarch
foreman-debug-1.14.2-1.el7.noarch
foreman-proxy-1.14.2-1.el7.noarch
~ #

The Web UI fails to load after the login due to some javascript files:

2017-03-11 11:30:01 3381f577 [app] [I] Started GET "/" for 10.20.5.22 at 2017-03-11 11:30:01 +0100 
2017-03-11 11:30:01 3381f577 [app] [I] Processing by DashboardController#index as HTML 
2017-03-11 11:30:01 3381f577 [app] [I]   Rendered dashboard/index.html.erb within layouts/application (12.8ms) 
2017-03-11 11:30:01 3381f577 [app] [I]   Rendered common/_searchbar.html.erb (6.0ms) 
2017-03-11 11:30:01 3381f577 [app] [I]   Rendered layouts/_application_content.html.erb (6.6ms) 
2017-03-11 11:30:01 3381f577 [app] [I]   Rendered home/_user_dropdown.html.erb (2.1ms) 
2017-03-11 11:30:01 3381f577 [app] [I] Read fragment views/tabs_and_title_records-3 (0.2ms) 
2017-03-11 11:30:01 3381f577 [app] [I]   Rendered home/_topbar.html.erb (5.6ms) 
2017-03-11 11:30:01 3381f577 [app] [I]   Rendered layouts/base.html.erb (7.6ms) 
2017-03-11 11:30:01 3381f577 [app] [I] Completed 200 OK in 35ms (Views: 25.7ms | ActiveRecord: 5.0ms) 
2017-03-11 11:30:02 3381f577 [app] [I] Started GET "/webpack/bundle-9671b40e053a06666c68.css" for 10.20.5.22 at 2017-03-11 11:30:02 +0100 
2017-03-11 11:30:02 3381f577 [app] [F]  
 | ActionController::RoutingError (No route matches [GET] "/webpack/bundle-9671b40e053a06666c68.css"): 
 |   lib/middleware/tagged_logging.rb:18:in `call' 
 |  
 |  
2017-03-11 11:30:02 3381f577 [app] [I] Started GET "/webpack/bundle-9671b40e053a06666c68.js" for 10.20.5.22 at 2017-03-11 11:30:02 +0100 
2017-03-11 11:30:02 3381f577 [app] [I] Started GET "/assets/locale/en/app-81d6bd3bafc4ed26e48f84384696136aca5c15412aa832f192e307bb2828d632.js" for 10.20.5.22 at 2017-03-11 11:30:02 +0100 
2017-03-11 11:30:02 3381f577 [app] [F]  
 | ActionController::RoutingError (No route matches [GET] "/webpack/bundle-9671b40e053a06666c68.js"): 
 |   lib/middleware/tagged_logging.rb:18:in `call' 
 |  
 |  
2017-03-11 11:30:02 3381f577 [app] [F]  
 | ActionController::RoutingError (No route matches [GET] "/assets/locale/en/app-81d6bd3bafc4ed26e48f84384696136aca5c15412aa832f192e307bb2828d632.js"): 
 |   lib/middleware/tagged_logging.rb:18:in `call' 
 |  
 |

Let me know if you need any additional information.

Actions

Also available in: Atom PDF