# The Death Of Nomad

**URL:** <https://community.fly.io/t/the-death-of-nomad/16220>\
**Category:** Fresh Produce\
**Created:** [November 1, 2023, 4:20pm UTC](https://community.fly.io/t/the-death-of-nomad/16220 "2023-11-01T16:20:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![allison](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@allison](https://community.fly.io/u/allison)\
**Post date:** [November 1, 2023, 4:20pm UTC](https://community.fly.io/t/the-death-of-nomad/16220/1 "2023-11-01T16:20:38Z")

</div>

### We’re ending support for Nomad apps today.

It’s been a long time coming, but it’s finally time to drop Nomad. We’ve been running automated migrations from our side and emailing anyone with unmigrated apps, but naturally, there are some apps that just didn’t get moved over. Today, we’re turning these apps off, while we work on scaling back our support for Nomad.

This means that:

1. Apps still running on Nomad will be scaled down to zero VMs.
2. These apps will be flipped over to Machines, but no new Machines will be created for them.
3. Nothing will be deleted, and redeploying your app could be as easy as `fly deploy` (although some configurations might require a little more work to get things going again)

Thanks for sticking with us while we moved everything over. It’s been a long journey!

If your app is one of the unlucky few that couldn’t successfully migrate, this thread is the perfect place to look for some help getting things running again. Thanks!

---

<div class="post-metadata">

**Author:** ![programmer](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@programmer](https://community.fly.io/u/programmer)\
**Post date:** [November 2, 2023, 4:06am UTC](https://community.fly.io/t/the-death-of-nomad/16220/2 "2023-11-02T04:06:07Z")

</div>

Hey there, I got this email today:

> Hi. We’re in the process of removing Nomad from [Fly.io](http://Fly.io). This means any apps that haven’t been upgraded to Apps V2 will no longer function.
> 
> Your app `memberscroll-db` is one of those apps

I remember migrating to v2 a while ago. Even if I run fly migrate-to-v2 I get:

```auto
Error: the app 'memberscroll' is already on the apps v2 platform

```

For some reason, I can’t deploy. Getting this error: `ActiveRecord::ConnectionNotEstablished: could not connect to server: Connection refused`. I tried `fly scale count 1 -a memberscroll-db` and `fly postgres attach --app memberscroll memberscroll-db Error: command is not compatible with this image` but no luck. Any idea what’s going wrong?

---

<div class="post-metadata">

**Author:** ![programmer](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@programmer](https://community.fly.io/u/programmer)\
**Post date:** [November 3, 2023, 9:25am UTC](https://community.fly.io/t/the-death-of-nomad/16220/3 "2023-11-03T09:25:13Z")

</div>

I want to just take a database dump but there’s no way to access my database. I’ve tried following the steps on the external connection article and no luck – I just get

```auto
connection to server at "localhost" (::1), port 15432 failed: Connection refused

```

My app has been down for a day. Would appreciate any help @allison

---

<div class="post-metadata">

**Author:** ![nina](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/nina/32/11750_2.png) [@nina](https://community.fly.io/u/nina)\
**Post date:** [November 3, 2023, 6:46pm UTC](https://community.fly.io/t/the-death-of-nomad/16220/4 "2023-11-03T18:46:11Z")

</div>

The memberscroll app was migrated, but it looks like your postgres memberscroll-db app was still on Nomad on Nov 1st. Do you know what Postgres version you were using? If you received emails from us, it’s because we weren’t able to auto-migrate you, probably due to an outdated postgres image.

The fastest way to recover is to restore from a snapshot/backup. The command is something like this:

`fly postgres create --name memberscroll-db-restored --vm-size [your VM size] --volume-size [your vol size] --initial-cluster-size 1 --region [your region] --org [your org name] --image-ref registry-1.docker.io/flyio/postgres:[your original PG version] --stolon --snapshot-id [Snapshot ID]`

Let me know if you’re able to try that - if not we can try some other things but it will take longer.

---

<div class="post-metadata">

**Author:** ![programmer](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@programmer](https://community.fly.io/u/programmer)\
**Post date:** [November 6, 2023, 3:07am UTC](https://community.fly.io/t/the-death-of-nomad/16220/5 "2023-11-06T03:07:35Z")

</div>

Thanks @nina! This worked 🎉 Back up and running now 🙂
