# Discourse "upgrade" to stable failed

**URL:** https://meta.discourse.org/t/discourse-upgrade-to-stable-failed/137451
**Category:** Support
**Created:** [31 בדצמבר,‏ 2019,‏ 3:28pm UTC](https://meta.discourse.org/t/discourse-upgrade-to-stable-failed/137451 "2019-12-31T15:28:14Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mishari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mishari/32/162031_2.png) [@mishari](https://meta.discourse.org/u/mishari)
#### Post date: [31 בדצמבר,‏ 2019,‏ 3:28pm UTC](https://meta.discourse.org/t/discourse-upgrade-to-stable-failed/137451/1 "2019-12-31T15:28:14Z")

</div>

Hello,

I had initially installed Discourse from Docker but have now decided to change it to testing by changing to `version: stable` in app.yml and doing launcher rebuild app, all based the instructions [here](https://digitash.com/learntips/topic/how-to-upgrade-a-discourse-site-from-beta-to-stable-release/).

Right now I’m getting the error:  
`ups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake asse ts:precompile' failed with return #<Process::Status: pid 17372 exit 1> Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn’  
exec failed with the params {“cd”=\>“$home”, “hook”=\>“assets\_precompile”, “cmd”=\>  
[“su discourse -c ‘bundle exec rake assets:precompile’”]}  
f49bc61d1093d5cbacb2ae580f6ffa32e78c889337aa0c3b3347c514ce2eee93  
\*\* FAILED TO BOOTSTRAP \*\* please scroll up and look for earlier error messages,  
there may be more than one.`

Any help would be appreciated.

Best Regards  
Mishari

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [31 בדצמבר,‏ 2019,‏ 3:46pm UTC](https://meta.discourse.org/t/discourse-upgrade-to-stable-failed/137451/2 "2019-12-31T15:46:34Z")

</div>

> [@mishari](#):
>
> please scroll up and look for earlier error messages,

First, you need to do this.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [31 בדצמבר,‏ 2019,‏ 3:48pm UTC](https://meta.discourse.org/t/discourse-upgrade-to-stable-failed/137451/3 "2019-12-31T15:48:45Z")

</div>

Hi mishari welcome to the forum.

Are you by any chance going to an earlier version? Unless things have changed unawares, trying to change to an earlier stable version from a later tests passed version is a bane.

Kind of like “you need to hop on the train while it’s at the station”. I don’t know how others determine the best time after the stable version release. Keep checking for it?

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [31 בדצמבר,‏ 2019,‏ 4:46pm UTC](https://meta.discourse.org/t/discourse-upgrade-to-stable-failed/137451/4 "2019-12-31T16:46:57Z")

</div>

> [@Mittineague](#):
>
> I don’t know how others determine the best time after the stable version release

You can only from ‘beta’ or ‘tests-passed’ to ‘stable’ on the same minor release or higher.

So you can go from 2.3.x.betaX to latest stable (2.3.8), but not from 2.4.0.betaX because there is no stable release with a 2.4.x version number yet.

If you’re on 2.4.0.beta you need to wait until 2.4.0 stable is released (I guess in a few weeks from now) and then switch to stable. Make sure you don’t accidentally update before switching the branches because you will end up at 2.5.0.beta1 and you will need to wait for another 5 or 6 months!

---

<div class="post-metadata">

### Author: ![mishari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mishari/32/162031_2.png) [@mishari](https://meta.discourse.org/u/mishari)
#### Post date: [31 בדצמבר,‏ 2019,‏ 7:03pm UTC](https://meta.discourse.org/t/discourse-upgrade-to-stable-failed/137451/5 "2019-12-31T19:03:22Z")

</div>

Thank you. I’ll switch from test-passed to beta which hopefully is a bit less hairy, then move to stable.

As an aside, isn’t this a bit of an issue if “[install a cloud server in 30 minutes](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)” results in installations based on the test-passed branch instead of stable? Where can I go to raise this issue to propose that a sane default for this would be a stable branch?

Best Regards  
Mishari

---

<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: [31 בדצמבר,‏ 2019,‏ 7:16pm UTC](https://meta.discourse.org/t/discourse-upgrade-to-stable-failed/137451/6 "2019-12-31T19:16:05Z")

</div>

The default is very intentionally `tests-passed`, and there are no plans to change that. Feel free to search here on Meta for details on why this is the case, as well as details on what the `stable` branch is (spoiler: it’s not 100% bug free).

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [30 בינואר,‏ 2020,‏ 7:18pm UTC](https://meta.discourse.org/t/discourse-upgrade-to-stable-failed/137451/7 "2020-01-30T19:18:31Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
