# How to rebuild from older discourse

**URL:** https://meta.discourse.org/t/how-to-rebuild-from-older-discourse/54937
**Category:** Support
**Created:** [29 בדצמבר,‏ 2016,‏ 5:55pm UTC](https://meta.discourse.org/t/how-to-rebuild-from-older-discourse/54937 "2016-12-29T17:55:10Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Alavi1412](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alavi1412/32/67721_2.png) [@Alavi1412](https://meta.discourse.org/u/Alavi1412)
#### Post date: [29 בדצמבר,‏ 2016,‏ 5:55pm UTC](https://meta.discourse.org/t/how-to-rebuild-from-older-discourse/54937/1 "2016-12-29T17:55:10Z")

</div>

I need to rebuild discourses on VPS from older discoure(1.6.6 and not latest version)  
How should I do it?  
@Falco

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [29 בדצמבר,‏ 2016,‏ 7:28pm UTC](https://meta.discourse.org/t/how-to-rebuild-from-older-discourse/54937/2 "2016-12-29T19:28:21Z")

</div>

If you change version on `app.yml` from `tests-passed` to `stable` it will give you the latest stable on a rebuild. Currently 1.6.x is our stable version.

---

<div class="post-metadata">

### Author: ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)
#### Post date: [29 בדצמבר,‏ 2016,‏ 9:20pm UTC](https://meta.discourse.org/t/how-to-rebuild-from-older-discourse/54937/3 "2016-12-29T21:20:38Z")

</div>

doing this change in app.yml file, I got the following error:

```plaintext
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 13444 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
16bc6a99648b7f08373fdb09f27edd20b3f9fab60cce1c549185eb08afbc1a1c
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one

```

do you have any idea how to fix this?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [29 בדצמבר,‏ 2016,‏ 9:31pm UTC](https://meta.discourse.org/t/how-to-rebuild-from-older-discourse/54937/4 "2016-12-29T21:31:02Z")

</div>

> [@Pad\_Pors](#):
>
> do you have any idea how to fix this?

Can you paste the entire logs?

Also, this is a brand new discourse right? You can’t go back in Discourse, so if this was an existing install of 1.7.x it won’t work.

---

<div class="post-metadata">

### Author: ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)
#### Post date: [29 בדצמבר,‏ 2016,‏ 9:39pm UTC](https://meta.discourse.org/t/how-to-rebuild-from-older-discourse/54937/5 "2016-12-29T21:39:04Z")

</div>

yes, we were on the latest version, and we ran into some problem that looks like [this](https://meta.discourse.org/t/site-goes-blank-if-you-override-translation-for-js-groups-index-title/54732) thread, with the difference that it happens for the string `js.user_action_groups.1`.

I’d be thankful if you let me know:

1. can we downgrade to some version before?

- is it a bug about the strings or is it something related to our forum?

- is there any way to come out of this state? the forum is even blank in the safe-mode. and I think there should be some thing related to the source code. that’s why we think of going to older version.

we can’t restore the beckup on local, and I’m afraid if the backup is broken. So I don’t dare to drop the database. + not sure if that’s the solution ☹

p.s.: sorry can’t put the whole log in the right way.

**update** : it got fixed out of no-where! no edit in the `app` file except some trials to go to older versions and then to newest version after it didn’t work!

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [29 בדצמבר,‏ 2016,‏ 10:50pm UTC](https://meta.discourse.org/t/how-to-rebuild-from-older-discourse/54937/7 "2016-12-29T22:50:27Z")

</div>


