# Upgrade V2.1 Beta 2 to Beta 4 Require ./launcher rebuild app Twice

**URL:** <https://meta.discourse.org/t/upgrade-v2-1-beta-2-to-beta-4-require-launcher-rebuild-app-twice/95368>\
**Category:** Product Support\
**Created:** [August 22, 2018, 1:23am UTC](https://meta.discourse.org/t/upgrade-v2-1-beta-2-to-beta-4-require-launcher-rebuild-app-twice/95368 "2018-08-22T01:23:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![iidbae](https://avatars.discourse-cdn.com/v4/letter/i/a183cd/32.png) [@iidbae](https://meta.discourse.org/u/iidbae)\
**Post date:** [August 22, 2018, 1:23am UTC](https://meta.discourse.org/t/upgrade-v2-1-beta-2-to-beta-4-require-launcher-rebuild-app-twice/95368/1 "2018-08-22T01:23:10Z")

</div>

Hi, I just upgrade my Discourse from v2.1.0beta2 to v2.1.0beta4 yesterday.

 ![sebelum%20update](https://global.discourse-cdn.com/meta/original/3X/4/f/4f1954c2433a9f1efd03f6112a268b73b7364240.png)

Then I got these message:

 ![upgrade%20image](https://global.discourse-cdn.com/meta/original/3X/d/0/d0a0fadc60a104e664c3854d36ef8e4cee903a96.png)

* * *

You are running an old version of the Discourse image.

Upgrades via the web UI are disabled until you run the latest image.

To do so log in to your server using SSH and run:

cd /var/discourse  
git pull  
./launcher rebuild app

[More info on our support site.](https://meta.discourse.org/t/how-do-i-manually-update-discourse-and-docker-image-to-latest/23325)

* * *

I follow the guideline by running that ssh command, then I can not access my Discourse site. 🥶  
Fortunately, I make a snapshot in Digital Ocean right before that three command.  
Restore my droplet and its live again. 😀

I run the tree commands above again and read this message after finishing the `./launcher rebuild app` process.

* * *

Sync data directory to disk ok  
Creating script to analyze new cluster ok  
Creating script to delete old cluster ok  
Checking for hash indexes ok

**Upgrade Complete**

Optimizer statistics are not transferred by pg\_upgrade so, once you start the new server, consider running:

`./analyze_new_cluster.sh`

Running this script will delete the old cluster’s data files:  
`./delete_old_cluster.sh`

**UPGRADE OF POSTGRES COMPLETE**

Old 9.5 database is stored at /shared/postgres\_data\_old

To complete the upgrade, rebuild again using:

`./launcher rebuild app`

* * *

Then, I tried to running `./launcher rebuild app` again and its works. 😀 🥳

 ![Screenshot_1](https://global.discourse-cdn.com/meta/original/3X/0/d/0db4b834f3e39873b0a71bc352242c4cd507473e.png)

My questions:

1. Am I on the right track?
2. Should I delete the old cluster’s data files by running `./delete_old_cluster.sh` command?

Is there any additional tips instead of upgrading my discourse frequently?

Thank you…

---

_[View the full topic](https://meta.discourse.org/t/upgrade-v2-1-beta-2-to-beta-4-require-launcher-rebuild-app-twice/95368)._
