Users reported a critical bug where the Admin Plugins page appears blank after upgrading Discourse, accompanied by the error “There is no route named adminPlugins.index” Magnetidog. Initial troubleshooting by sam and hlcfan confirmed the issue persists in safe mode and after standard rebuilds. vinothkannans identified the root cause: newer versions of Ember.js no longer automatically generate an index route for a parent route unless that parent is defined as a new
I just upgraded via shell on a DigitalOcean installation with any size Discourse forum. All is working fine, with the exception of the plugin area in the Administration panel, which is entirely blank.
If I go to admin/upgrade, the list loads fine, instead.
I see this error in Firebug coming from a js file:
Hi, I installed discourse on localhost a few hours ago, and I have almost the same error, but to me it doesn’t show any error, just blank page. I use firefox esr, it allows javascript, I run git pull and rebuilt it again to get the fix vinothkannans, but no luck..
I can confirm that this route doesn’t work in dev anymore.
I merged @vinothkannans’s PR but I will leave it out to @eviltrout to ensure this is the right fix (not sure why this is the only route we have to do that…)
indeed, using safe mode did not make a difference. I tried multiple times with the whole rebuild process. The weird thing is that this occurs in some installs and not in others, even with the exact same plugins.
I found way to reproduce in production server. If we use a plugin which use a nested route of adminPlugins then we will not have the issue. In this case index route created automatically like @zogstrip mentioned . For example I am using discourse-navigation plugin which have page as /admin/plugins/navigation. So I am not having the issue in my live. Like it I guess meta.discourse will have akismet plugin.
If we don’t have any plugins which using that path then we can see the issue.