# Updated to latest version: ./analyze\_new\_cluster.sh message

**URL:** <https://meta.discourse.org/t/updated-to-latest-version-analyze-new-cluster-sh-message/151710>\
**Category:** Self-hosting\
**Created:** [16 mei 2020 om 17:03 UTC](https://meta.discourse.org/t/updated-to-latest-version-analyze-new-cluster-sh-message/151710 "2020-05-16T17:03:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![itcrowd21](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@itcrowd21](https://meta.discourse.org/u/itcrowd21)\
**Post date:** [16 mei 2020 om 17:03 UTC](https://meta.discourse.org/t/updated-to-latest-version-analyze-new-cluster-sh-message/151710/1 "2020-05-16T17:03:06Z")

</div>

Hi

I upgraded my Discourse today as follows:

```
apt-get update
apt-get upgrade
./launcher rebuild app

```

I then got this output:

```
Setting next OID for new cluster ok
Sync data directory to disk ok
Creating script to analyze new cluster ok
Creating script to delete old cluster 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 10 database is stored at /shared/postgres_data_old

To complete the upgrade, rebuild again using:

./launcher rebuild app
-------------------------------------------------------------------------------------

```

Of course, when I try running ./analyze\_new\_cluster.sh it doesn’t exist:

```
./analyze_new_cluster.sh
-su: ./analyze_new_cluster.sh: No such file or directory

```

Now Discourse is not loading.

Looks like an issue with upgrading postgres but I don’t want to mess about too much in case I wreck things.

What can be done? Thanks in advance.

---

_[View the full topic](https://meta.discourse.org/t/updated-to-latest-version-analyze-new-cluster-sh-message/151710)._
