# \[Solved\] Admin-upgrade page not showing up

**URL:** https://meta.discourse.org/t/solved-admin-upgrade-page-not-showing-up/69535
**Category:** Self-hosting
**Created:** [7 سبتمبر 2017، 8:53ص UTC](https://meta.discourse.org/t/solved-admin-upgrade-page-not-showing-up/69535 "2017-09-07T08:53:58Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)
#### Post date: [7 سبتمبر 2017، 8:53ص UTC](https://meta.discourse.org/t/solved-admin-upgrade-page-not-showing-up/69535/1 "2017-09-07T08:53:58Z")

</div>

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:

```plaintext
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?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [7 سبتمبر 2017، 10:13ص UTC](https://meta.discourse.org/t/solved-admin-upgrade-page-not-showing-up/69535/2 "2017-09-07T10:13:23Z")

</div>

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

---

<div class="post-metadata">

### Author: ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)
#### Post date: [7 سبتمبر 2017، 11:23ص UTC](https://meta.discourse.org/t/solved-admin-upgrade-page-not-showing-up/69535/3 "2017-09-07T11:23:44Z")

</div>

@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:

```plaintext
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git

```

But I have to say I’ve [installed the Discourse Spoiler Alert plugin](https://meta.discourse.org/t/install-a-plugin/19157) 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.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [7 سبتمبر 2017، 5:06م UTC](https://meta.discourse.org/t/solved-admin-upgrade-page-not-showing-up/69535/4 "2017-09-07T17:06:45Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)
#### Post date: [7 سبتمبر 2017، 6:33م UTC](https://meta.discourse.org/t/solved-admin-upgrade-page-not-showing-up/69535/5 "2017-09-07T18:33:48Z")

</div>

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

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [7 سبتمبر 2017، 7:22م UTC](https://meta.discourse.org/t/solved-admin-upgrade-page-not-showing-up/69535/7 "2017-09-07T19:22:49Z")

</div>

> [@jack2](#):
>
> 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.

---

<div class="post-metadata">

### Author: ![Neso](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neso/32/73995_2.png) [@Neso](https://meta.discourse.org/u/Neso)
#### Post date: [14 سبتمبر 2017، 3:25م UTC](https://meta.discourse.org/t/solved-admin-upgrade-page-not-showing-up/69535/8 "2017-09-14T15:25:17Z")

</div>

I’m having the same problem after last update:

 ![20](https://global.discourse-cdn.com/meta/original/3X/e/6/e6119e4e83158bf56eb00031c9f27540a927a895.png) ![06](https://global.discourse-cdn.com/meta/original/3X/d/9/d9bb7fc5c9aa339dc885a340f2e898b2eb3ebabd.png)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [14 سبتمبر 2017، 3:29م UTC](https://meta.discourse.org/t/solved-admin-upgrade-page-not-showing-up/69535/9 "2017-09-14T15:29:06Z")

</div>

Hi @neso, the `Discourse._registerPluginScriptDefinition is not a function` error was fixed in [Revert plugin js changes (#5139) · discourse/discourse@7d350d0 · GitHub](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

```plaintext
cd /var/discourse
./launcher rebuild app

```

Here’s the topic from last week:

[https://meta.discourse.org/t/fatal-js-error-breaking-admin-upgrade-page/69559?u=david\_taylor](https://meta.discourse.org/t/fatal-js-error-breaking-admin-upgrade-page/69559)

---

<div class="post-metadata">

### Author: ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)
#### Post date: [14 سبتمبر 2017، 3:58م UTC](https://meta.discourse.org/t/solved-admin-upgrade-page-not-showing-up/69535/10 "2017-09-14T15:58:32Z")

</div>

It works, thanks a lot @david.
