# Failed Upgrade Discourse and Plugins

**URL:** https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755
**Category:** Self-hosting
**Created:** [February 10, 2022, 8:42am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755 "2022-02-10T08:42:08Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![simonfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonfen/32/234735_2.png) [@simonfen](https://meta.discourse.org/u/simonfen)
#### Post date: [February 10, 2022, 8:42am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/1 "2022-02-10T08:42:08Z")

</div>

Hi. Tried to upgrade to the new version of Discourse and other plugins by pressing Upgrade All in the Docker Manager. However the upgrade failed.

Last Line was : Spinning up 3 Unicorn worker(s) that were used initially. See below

 ![Discourse Error](https://global.discourse-cdn.com/meta/original/3X/0/f/0fa05d41dde36cb2412c5bd6a252420c216349eb.jpeg)

Tried restarting process, but now have the following two screens and it does not seem to let me use the Reset Upgrade button.

 ![Tried restart Upgrade](https://global.discourse-cdn.com/meta/original/3X/4/c/4c40c531fd4b094bd895e23af6a1015fe229e716.jpeg)  
 ![List processes](https://global.discourse-cdn.com/meta/original/3X/5/f/5fde42372ec1bcf83833da036bf061b9640c7faf.jpeg)

Welcome any advice. Many Thanks, Simon

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [February 10, 2022, 8:46am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/2 "2022-02-10T08:46:15Z")

</div>

> [@simonfen](#):
>
> Last Line was : Spinning up 3 Unicorn worker(s) that were used initially. See below

The error should be higher up in this log.

> [@simonfen](#):
>
> Tried restarting process, but now have the following two screens and it does not seem to let me use the Reset Upgrade button.

You gonna have to wait until the background upgrade is done or errors out.

---

<div class="post-metadata">

### Author: ![simonfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonfen/32/234735_2.png) [@simonfen](https://meta.discourse.org/u/simonfen)
#### Post date: [February 10, 2022, 8:50am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/3 "2022-02-10T08:50:36Z")

</div>

Thanks Gavin. It did error out, but I restarted the upgrade, which was probably a mistake. Previously the upgrade bar below “Upgrade discourse” was moving until the error notification, but now nothing appears to be happening.

I’ll wait and see if it errors out again.

---

<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: [February 10, 2022, 8:54am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/4 "2022-02-10T08:54:16Z")

</div>

FWIW, my upgrade of the Docker Manager errored out a small while ago with the same “Sorry, there was an error upgrading Discourse…”, and I just pressed the blue Start Upgrading button again and the Docker Manager successfully updated the second time (though it was slow). I’m currently now updating Discourse itself, and it’s taking awhile too.

(1GB Digital Ocean droplet)

---

<div class="post-metadata">

### Author: ![simonfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonfen/32/234735_2.png) [@simonfen](https://meta.discourse.org/u/simonfen)
#### Post date: [February 10, 2022, 8:56am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/5 "2022-02-10T08:56:08Z")

</div>

Thanks Jammy… If it does error out, I think I’ll just plan to upgrade them one by one.

---

<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: [February 10, 2022, 9:18am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/6 "2022-02-10T09:18:40Z")

</div>

My test site has successfully updated now, though it did take longer than normal. My admin UI forces me to upgrade Docker Manager before it will let me ‘upgrade all’, so that probably helped.

---

<div class="post-metadata">

### Author: ![simonfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonfen/32/234735_2.png) [@simonfen](https://meta.discourse.org/u/simonfen)
#### Post date: [February 10, 2022, 9:20am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/7 "2022-02-10T09:20:44Z")

</div>

Thanks. How long did the whole process take? My progress bar is completely non-active so not sure how long I should wait.

---

<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: [February 10, 2022, 9:29am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/8 "2022-02-10T09:29:04Z")

</div>

My blue bar was moving, so I’m not sure I experienced the same stage as you’re getting at the minute. I’m afraid I didn’t time it, but I think the last ‘Update All’ took about 40 minutes, and the Docker Manager before that about the same?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [February 10, 2022, 9:36am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/9 "2022-02-10T09:36:09Z")

</div>

@simonfen are you able to log in via the command line ?

if so, then do an launcher rebuild app

---

<div class="post-metadata">

### Author: ![simonfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonfen/32/234735_2.png) [@simonfen](https://meta.discourse.org/u/simonfen)
#### Post date: [February 10, 2022, 9:44am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/10 "2022-02-10T09:44:39Z")

</div>

If you mean access the black box in the 2nd screenshot above, then I cannot access this. It is just black as in the above pic and unresponsive.

I’ve been waiting over an hour but nothing seems to be changing. Poss 90 mins.

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [February 10, 2022, 9:52am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/11 "2022-02-10T09:52:16Z")

</div>

no, i mean where you installed discourse the 1st time.

you login via an terminal and run a command

---

<div class="post-metadata">

### Author: ![simonfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonfen/32/234735_2.png) [@simonfen](https://meta.discourse.org/u/simonfen)
#### Post date: [February 10, 2022, 9:54am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/12 "2022-02-10T09:54:41Z")

</div>

I think it seems to have corrected itself. I now have a report saying that all is upgraded except for two plugins that I’ll try and do individually.

I think even though the progress bar was not moving. It was upgrading in the background.

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [February 10, 2022, 9:59am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/13 "2022-02-10T09:59:14Z")

</div>

yes, your version change from 2.8 to Discourse 2.9.0.beta1 and the site is still up.

so the upgrade did work

---

<div class="post-metadata">

### Author: ![simonfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonfen/32/234735_2.png) [@simonfen](https://meta.discourse.org/u/simonfen)
#### Post date: [February 10, 2022, 10:06am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/14 "2022-02-10T10:06:55Z")

</div>

I tried to upgrade the solved plugin and got this error :  
[Upgrade discourse-solved error.docx](https://meta.discourse.org/uploads/short-url/rW8bNrMsbx9OPKN9e5mc2AoCRoY.docx) (15.5 KB)

Then when I tried to go back to the upgrade page this error :

 ![Discourse Error 2](https://global.discourse-cdn.com/meta/original/3X/b/d/bd77d4cc78d095aa4cf5bb474bec967984e269bf.jpeg)

Though from my main Discourse page it does seem that the main upgrade has been done successfully.

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [February 10, 2022, 10:08am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/15 "2022-02-10T10:08:24Z")

</div>

i would recommend doing an `./launcher rebuild app` from the terminal.

---

<div class="post-metadata">

### Author: ![simonfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonfen/32/234735_2.png) [@simonfen](https://meta.discourse.org/u/simonfen)
#### Post date: [February 10, 2022, 10:12am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/16 "2022-02-10T10:12:35Z")

</div>

Thanks very much Gavin for your advice.

I didn’t install Discourse myself, but I’ll try and work out how to do that.

---

<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: [February 10, 2022, 10:49am UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/17 "2022-02-10T10:49:53Z")

</div>

If you’re self-hosted, this has some good info in:

> [@Manually update Discourse and Docker image to latest](https://meta.discourse.org/t/how-do-i-manually-update-discourse-and-docker-image-to-latest/23325):
>
> bookmark This guide provides step-by-step instructions for manually updating Discourse, the Docker container, and the Ubuntu operating system on a self-hosted setup. person_raising_hand Required user level: System Administrator warning SSH access to the server. If you self-host Discourse, you occasionally need to run a manual update via the command line to get the latest security releases and newest libraries. These updates are not picked up in admin/upgrade, which is why you’ll occa…

---

<div class="post-metadata">

### Author: ![simonfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonfen/32/234735_2.png) [@simonfen](https://meta.discourse.org/u/simonfen)
#### Post date: [February 10, 2022, 1:17pm UTC](https://meta.discourse.org/t/failed-upgrade-discourse-and-plugins/217755/18 "2022-02-10T13:17:53Z")

</div>

Thanks very much JammyDodger.
