Error: There is no route named adminFlags.list

I get this page when I try to access to the Flags section:

And accessing via Direct URL:


Console sais:

Error: There is no route named adminFlags.list
    at R.handlersFor (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:54248)
    at n.applyToState (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:55491)
    at S.applyIntent (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:56048)
    at _ (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:39870)
    at s._prepareQueryParams (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:39406)
    at s.normalizeQueryParams (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:36119)
    at s.generateURL (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:36131)
    at s.<anonymous> (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:20428)
    at l.f.get (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:28425)
    at Object.r [as get] (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:33153)

I assume there is an issue with a plugin, but don’t know which one as none of them are in the #plugin:broken-plugin category :confused:

Did you try safe-mode?

If you listed your plugins it would be easier to know whether one of them might be the problem.

1 Like

SafeMode with any unofficial plugin works as it should, that’s why I assume it’s an issue with a plugin

I’ll post the list now
Give me a few minutes to get it :+1:

          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/davidtaylorhq/discourse-whos-online.git
          - git clone https://github.com/discourse/discourse-translator.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-cakeday.git
          - git clone https://github.com/discourse/discourse-assign.git
          - git clone https://github.com/discourse/discourse-signatures.git
          - git clone https://github.com/discourse/discourse-push-notifications.git
          - git clone https://github.com/discourse/discourse-staff-notes.git
          - git clone https://github.com/vinkas0/discourse-branding.git
          - git clone https://github.com/discourse/discourse-voting.git
          - git clone https://github.com/Ebsy/discourse-nationalflags.git
          - git clone https://github.com/discourse/discourse-adplugin.git
          - git clone https://github.com/sekhat/discourse-yuml.git
          - git clone https://github.com/berlindiamonds/discourse-sync-base
          - git clone https://github.com/berlindiamonds/discourse-sync-to-dropbox
          - git clone https://github.com/gdpelican/babble.git
          - git clone https://github.com/discourse/discourse-chat-integration.git
          - git clone https://github.com/angusmcleod/discourse-quick-messages.git
          - git clone https://github.com/gdpelican/retort.git
          - git clone https://github.com/vinkas0/discourse-navigation.git
          - git clone https://github.com/davidtaylorhq/discourse-telegram-notifications.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/discourse/discourse-data-explorer.git
          - git clone https://github.com/angusmcleod/discourse-category-moderator-lite.git
          - git clone https://github.com/discourse/discourse-tooltips.git
          - git clone https://github.com/davidtaylorhq/discourse-media-overlay.git
          - git clone https://github.com/discourse/discourse-saved-searches.git
          - git clone https://github.com/angusmcleod/discourse-question-answer.git

The only plugin that I see that use “flags” is git clone https://github.com/angusmcleod/discourse-category-moderator-lite.git.

Try to disable it first and then make a rebuild.

6 Likes

You’ve definitely got some sleuthing to do.

You might try something like this:

cd /var/discourse
./launcher enter app
find plugins -type f -exec grep -l adminFlags \{\} \;

Or just comment out/in half of the non-discourse ones until you find it.

3 Likes

Thanks, I’ve disabled it and and now everything works again :smile:

That wouldn’t take so long :wink:
As @Trash soluton worked, hopefully I don’t have to do that :sweat_smile:

4 Likes