[Solved] Admin-upgrade page not showing up

I’ve just deployed my first Discourse instance with docker.
Everything seems to be working fine, except the admin/upgrade page, which shows up blank and has the following error:

Uncaught TypeError: Discourse._registerPluginScriptDefinition is not a function
    at docker-manager-vendor-4dd192655476ad4a9594bf218c3aab34ac1ad23cf54be7bb7174b6f475e67e86.js:1
Uncaught TypeError: Discourse._registerPluginScriptDefinition is not a function
    at docker-manager-app-05126b4030cfb026187ab683ad137e7eb9ce4d8cd69e33734d1d17cf2171f7eb.js:1

Any hint?

How did you install Discourse? Sub-folder, sub-domain/domain?
Paste your app.yml plugin list

@cpradio, thanks for your answer.

The instance is installed on the domain w|w|w.doc|u|ss.o|r|g (remove the pipes).

Here is the plugin list:

    - exec:
        cd: $home/plugins
          - git clone https://github.com/discourse/docker_manager.git

But I have to say I’ve installed the Discourse Spoiler Alert plugin earlier, then uninstalled it. I found no doc about uninstalling a plugin, so I simply removed it from the yml file then ran ./launcher rebuild app again.

For future reference, no need to add random pipes to your domain. Linking to your site is useful when others are assisting with support issues, in fact we prefer it when users share their site link when they encounter issues like this.

1 Like

The pipes are for the link not to be indexed by Google, so that it doesn’t pollute search results for my (future) users.

I thought perhaps you were too new a user to be able to include a link in your post.

It’s difficult to imagine that a single link to your forum would lead people astray, but no need to worry. User links automatically have no-follow unless you’re trust level 3 or higher.


I’m having the same problem after last update:

Hi @neso, the Discourse._registerPluginScriptDefinition is not a function error was fixed in https://github.com/discourse/discourse/commit/7d350d0d75f024e6817d15f1dfafcf391a061331 last week.

In order to access the admin/upgrade page again, you’ll need to SSH into your server and run

cd /var/discourse
./launcher rebuild app

Here’s the topic from last week:



It works, thanks a lot @david.