# Old installation failing upgrade

**URL:** https://meta.discourse.org/t/old-installation-failing-upgrade/326514
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [September 14, 2024, 4:37pm UTC](https://meta.discourse.org/t/old-installation-failing-upgrade/326514 "2024-09-14T16:37:34Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Asher\_Densmore-Lynn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/asher_densmore-lynn/32/244555_2.png) [@Asher\_Densmore-Lynn](https://meta.discourse.org/u/Asher_Densmore-Lynn)
#### Post date: [September 14, 2024, 4:37pm UTC](https://meta.discourse.org/t/old-installation-failing-upgrade/326514/1 "2024-09-14T16:37:34Z")

</div>

A nonprofit I work with has a Discourse installation 2.9.0.beta1, for which maintenance fell to me when the original admin moved on. When I tried to update the SMTP credentials, I learned that the installation can neither rebuild itself nor safely upgrade, via web or via commandline. (If I hadn’t had a hot backup of the instance made before work began, this would’ve been a bad time.) The problem appears to happen fairly deep in Ruby, and I can capture logs if they’d seem helpful.

I thought it might just be too old to gracefully update, so I tried a recovery process instead, creating a new fresh Discourse instance and then loading the most recent backup of the forum into it, but this process also failed inconclusively, with what I think were database column errors before the upgrade process went nonresponsive.

What would be the best way to proceed from where we’re standing? The forum is currently functional this minute, I can just neither upgrade nor, apparently, employ a backup. Should I continue to try for recovery, should I redouble my efforts to upgrade and go capture logs to get started, or is there a third option I don’t see?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 14, 2024, 5:29pm UTC](https://meta.discourse.org/t/old-installation-failing-upgrade/326514/2 "2024-09-14T17:29:09Z")

</div>

You need to move to a new virtual machine. It’s likely that your os is to old to upgrade docker you a supported version.

It’s better to move to a new vm that will be on newer hardware that is faster and cheaper.

You can see [Move a Discourse site to another VPS with rsync](https://meta.discourse.org/t/move-a-discourse-site-to-another-vps-with-rsync/43812).

If you want to pay to have it done you can contact me via [dashboard.literatecomputing.com](http://dashboard.literatecomputing.com)

---

<div class="post-metadata">

### Author: ![Asher\_Densmore-Lynn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/asher_densmore-lynn/32/244555_2.png) [@Asher\_Densmore-Lynn](https://meta.discourse.org/u/Asher_Densmore-Lynn)
#### Post date: [September 14, 2024, 5:48pm UTC](https://meta.discourse.org/t/old-installation-failing-upgrade/326514/3 "2024-09-14T17:48:24Z")

</div>

Hmm.

Docker versioning did not seem to play a role in why Ruby builds collapsed but I suppose it’s possible. The docker pulls that were part of the rebuild did not appear to have any exceptional failure states. This does look like I can try it, though. Thanks for the reply!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 14, 2024, 5:50pm UTC](https://meta.discourse.org/t/old-installation-failing-upgrade/326514/4 "2024-09-14T17:50:19Z")

</div>

What does

```
 cat /etc/issue

```

Say?

And

```
  docker --version

```

---

<div class="post-metadata">

### Author: ![Asher\_Densmore-Lynn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/asher_densmore-lynn/32/244555_2.png) [@Asher\_Densmore-Lynn](https://meta.discourse.org/u/Asher_Densmore-Lynn)
#### Post date: [September 14, 2024, 6:24pm UTC](https://meta.discourse.org/t/old-installation-failing-upgrade/326514/5 "2024-09-14T18:24:31Z")

</div>

```plaintext
root@ip-[...]:~# cat /etc/issue
Ubuntu 16.04.6 LTS \n \l

root@ip-[...]:~# docker --version
Docker version 17.05.0-ce, build 89658be

```

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 14, 2024, 7:33pm UTC](https://meta.discourse.org/t/old-installation-failing-upgrade/326514/6 "2024-09-14T19:33:43Z")

</div>

> [@Asher\_Densmore-Lynn](#):
>
> `Docker version 17.05.0-ce`

Not supported.

> [@Asher\_Densmore-Lynn](#):
>
> `Ubuntu 16.04.6 LTS`

Beyond end of life.

---

<div class="post-metadata">

### Author: ![Asher\_Densmore-Lynn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/asher_densmore-lynn/32/244555_2.png) [@Asher\_Densmore-Lynn](https://meta.discourse.org/u/Asher_Densmore-Lynn)
#### Post date: [September 15, 2024, 5:13am UTC](https://meta.discourse.org/t/old-installation-failing-upgrade/326514/7 "2024-09-15T05:13:29Z")

</div>

Thanks for the reply. I’m attempting a migration now, though apparently that’s going to be a process.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [October 2, 2024, 2:45pm UTC](https://meta.discourse.org/t/old-installation-failing-upgrade/326514/9 "2024-10-02T14:45:43Z")

</div>

I got you going again mostly by following [Move a Discourse site to another VPS with rsync](https://meta.discourse.org/t/move-a-discourse-site-to-another-vps-with-rsync/43812).

Your move was complicated a bit more by your having backups on S3 configured in the database rather than in ENV variables as described in [Configure an S3 compatible object storage provider for uploads](https://meta.discourse.org/t/configure-an-s3-compatible-object-storage-provider-for-uploads/148916) (though that is for uploads, so you’d need to not use the `use_s3` setting, just the backup bucket and location. EDIT: And then the restore failed because your EC2 doesn’t have write access to the bucket.

Having a load balancer in front of your site also changes things from how things are for most people.

And since your credentials are for the EC2 rather than having them in the database or the YML file, the restore can’t complete.
