# Can't find Upgrade Discourse button after last upgrade

**URL:** https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625
**Category:** Support
**Created:** [July 2, 2024, 1:59pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625 "2024-07-02T13:59:39Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)
#### Post date: [July 2, 2024, 1:59pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/1 "2024-07-02T13:59:39Z")

</div>

Hello,

I am running a self-hosted Discourse website and I always update the website by the “Upgrade Discourse” button on the admin area.

Today I was not able to enter the admin area and was getting this message, “Oops! That page doesn’t exist or is private”. I managed to fix the issue by rebuilding Discourse and now the interface is upgraded, but I can’t find “Upgrade Discourse” button.

 ![Screenshot 2024-07-02 164752](https://global.discourse-cdn.com/meta/original/4X/f/f/3/ff3a9e7e8b1f3e771c2d0b4225bf74490713eebb.png)

Can anyone help me fix this issue?

Thank you

---

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [July 2, 2024, 2:06pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/2 "2024-07-02T14:06:07Z")

</div>

I think you are running the absolute latest version, so there’s nothing to upgrade to 🙂

---

<div class="post-metadata">

### Author: ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)
#### Post date: [July 2, 2024, 2:07pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/3 "2024-07-02T14:07:56Z")

</div>

Thank you for your response.

So, If there are no updates, the button will not be visible ?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 2, 2024, 2:11pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/4 "2024-07-02T14:11:04Z")

</div>

No, the ‘update’ tab should always be there even if there are no current updates to take advantage of. It comes from the docker manager plugin.

Can you access the page directly? `[YourSite]/admin/update`

---

<div class="post-metadata">

### Author: ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)
#### Post date: [July 2, 2024, 2:12pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/5 "2024-07-02T14:12:54Z")

</div>

> [@JammyDodger](#):
>
> /admin/update

 ![Screenshot 2024-07-02 171158](https://global.discourse-cdn.com/meta/original/4X/d/5/0/d50188cb373c904399110adb5d56ef685076fcb1.png)  
Thank you for your response.

I am redirected to this page.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 2, 2024, 2:15pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/6 "2024-07-02T14:15:27Z")

</div>

Just to check, when you rebuilt your site, did you remove the docker manager plugin?

---

<div class="post-metadata">

### Author: ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)
#### Post date: [July 2, 2024, 2:17pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/7 "2024-07-02T14:17:04Z")

</div>

I just rebuild using the following SSH commands,

> cd /var/discourse  
> sudo ./launcher rebuild app

---

<div class="post-metadata">

### Author: ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)
#### Post date: [July 2, 2024, 2:24pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/8 "2024-07-02T14:24:40Z")

</div>

I checked the plugins file

> cd /var/discourse  
> nano containers/app.yml
> 
> ![Screenshot 2024-07-02 172420](https://global.discourse-cdn.com/meta/original/4X/1/9/1/1913802cf4f47a943797ee067a20e2401cde48e0.png)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 2, 2024, 2:29pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/9 "2024-07-02T14:29:10Z")

</div>

That should open your `app.yml` for editing rather than tell you it’s not accessible. You may need to use `sudo nano containers/app.yml`

The plugin section is towards the bottom and looks a bit like this:

```yml
## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-adplugin
          - git clone https://github.com/discourse/discourse-akismet
          - git clone https://github.com/discourse/discourse-assign
          - git clone https://github.com/discourse/discourse-cakeday
          - git clone https://github.com/discourse/discourse-calendar
          - git clone https://github.com/discourse/discourse-category-experts
          - git clone https://github.com/discourse/discourse-data-explorer
          - git clone https://github.com/discourse/discourse-docs
          - git clone https://github.com/discourse/discourse-encrypt
          - git clone https://github.com/discourse/discourse-follow

```

Though if you haven’t opened that and edited any out docker manager should be included automatically.

Perhaps there’s more clues in your `/logs`?

---

<div class="post-metadata">

### Author: ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)
#### Post date: [July 2, 2024, 2:41pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/10 "2024-07-02T14:41:50Z")

</div>

> [@JammyDodger](#):
>
> sudo nano containers/app.yml

I managed to open the app.yml using the sudo command.

 ![Screenshot 2024-07-02 173909](https://global.discourse-cdn.com/meta/original/4X/4/0/c/40c65cb4ccfd1420d30a4d09f6b20f15dd69e01c.png)

I can’t find anything in the logs

 ![Screenshot 2024-07-02 174110](https://global.discourse-cdn.com/meta/original/4X/1/9/8/198aa77b340b10baf7c69df090a04c848c25069a.png)

I have restarted the server and rebuild Discourse again, but I can’t get “Upgrade Discourse” button back again.

---

<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: [July 2, 2024, 5:06pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/11 "2024-07-02T17:06:35Z")

</div>

Are you loggedin as admin?

---

<div class="post-metadata">

### Author: ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)
#### Post date: [July 2, 2024, 6:57pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/12 "2024-07-02T18:57:34Z")

</div>

![Screenshot from 2024-07-02 21-52-42](https://global.discourse-cdn.com/meta/original/4X/5/0/1/50158f5c77bfc1224046fc456fa133470b4bf70a.png)

Thank you for your response.

Now when I click on the Admin, I am getting the following message, “Oops! That page doesn’t exist or is private.”

Maybe my website is compromised, Is there a way to restore my Admin privileges?

---

<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: [July 2, 2024, 7:21pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/13 "2024-07-02T19:21:23Z")

</div>

Do you see the admin menu?

You can

```plaintext
cd /var/discourse
./launcher enter app
rake admin:create

```

---

<div class="post-metadata">

### Author: ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)
#### Post date: [July 2, 2024, 7:33pm UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/14 "2024-07-02T19:33:51Z")

</div>

![Screenshot 2024-07-02 223002](https://global.discourse-cdn.com/meta/original/4X/e/8/e/e8e4de8b4b987dde464a9897ac83352604efb51f.png)

I am able to log in to the admin area again, and I have rested the password, but I can’t find the upgrade discourse button.

When I navigate directly to [MySite]/admin/update I get the following message “Oops! That page doesn’t exist or is private.”

---

<div class="post-metadata">

### Author: ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)
#### Post date: [July 3, 2024, 7:19am UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/15 "2024-07-03T07:19:44Z")

</div>

> [@pfaffman](#):
>
> Do you see the admin menu?

I see it but when I click it I get the following message, “Oops! That page doesn’t exist or is private.”

I lost the Admin privileges again, I really don’t know what is going on?!

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [July 3, 2024, 7:21am UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/16 "2024-07-03T07:21:08Z")

</div>

Ah, I have a hypothesis. Maybe navigating to the upgrade page un-admins you? I was about to ask if you could try it again. Could you do it another time to test it?

---

<div class="post-metadata">

### Author: ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)
#### Post date: [July 3, 2024, 7:35am UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/17 "2024-07-03T07:35:53Z")

</div>

> [@pfaffman](#):
>
> ```plaintext
> cd /var/discourse
> ./launcher enter app
> rake admin:create
> 
> ```

I have tried this method more than three times and I changed the password, but it’s no longer working

 ![Screenshot from 2024-07-02 21-52-42](https://global.discourse-cdn.com/meta/original/4X/9/5/b/95b3ba8a0ffdc194525e64c49717cc1547c26b11.png)

> [@NateDhaliwal](#):
>
> Maybe navigating to the upgrade page un-admins you?

I see the admin button but when I click it I get the message “Oops! That page doesn’t exist or is private.”. I didn’t navigate to /admin/update on the last time, and it didn’t make a difference.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 3, 2024, 7:48am UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/19 "2024-07-03T07:48:07Z")

</div>

I’ve tried to repro this by rebuilding with the `discourse-user-card-badges` plugin as that’s the one that stood out from your list, and I’m seeing some unusual errors while navigating the site. It doesn’t seem to be exactly what you’re seeing, but you could try removing that plugin from your `app.yml` and rebuilding to see if that’s the root cause of your issue.

---

<div class="post-metadata">

### Author: ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)
#### Post date: [July 3, 2024, 8:09am UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/20 "2024-07-03T08:09:12Z")

</div>

> [@merefield](#):
>
> This is not the right Admin button. ⚠

Thank you for your response.

It is the Admin button, and it’s working again before I break the site by navigating to /admin/update

> [@JammyDodger](#):
>
> you could try removing that plugin from your `app.yml` and rebuilding to see if that’s the root cause of your issue.

Thanks, I am able to enter the admin area again. But discourse is broken after navigating to /admin/update

> [@NateDhaliwal](#):
>
> Maybe navigating to the upgrade page un-admins you? I was about to ask if you could try it again. Could you do it another time to test it?

I tried to navigate to /admin/update, and it happened again I am no longer able to enter the admin area and also …

> [@JammyDodger](#):
>
> I’m seeing some unusual errors while navigating the site.

I am rebuilding discourse again now.

---

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [July 3, 2024, 8:22am UTC](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625/21 "2024-07-03T08:22:35Z")

</div>

Linking these two issues, feels like they _might_ be related:

> [@Specific admin cannot access admin area of Forum](https://meta.discourse.org/t/specific-admin-cannot-access-admin-area-of-forum/313537):
>
> Hello All I lost Admin access of my forum, Means i am not able to see it. My user is now changed to a normal user. Can someone help me please? website is applecommunity.pk

[Next page](https://meta.discourse.org/t/cant-find-upgrade-discourse-button-after-last-upgrade/314625.md?page=2)
