# Postgres stuck in pending state after running image update

**URL:** <https://community.fly.io/t/postgres-stuck-in-pending-state-after-running-image-update/4864>\
**Category:** Questions / Help\
**Created:** [April 25, 2022, 3:42am UTC](https://community.fly.io/t/postgres-stuck-in-pending-state-after-running-image-update/4864 "2022-04-25T03:42:33Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![ben2](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/ben2/32/48819_2.png) [@ben2](https://community.fly.io/u/ben2)\
**Post date:** [July 12, 2022, 2:31pm UTC](https://community.fly.io/t/postgres-stuck-in-pending-state-after-running-image-update/4864/12 "2022-07-12T14:31:34Z")

</div>

We have both a “dev” and “prod” deployment of `flyio/redis:6.2.6` in our environment.  
They were also at the `shared-cpu-1x` VM size with 256MB memory.

And this, morning, they were both stuck in “pending”, in which the app logs showed:

```auto
2022-07-12T12:42:30Z runner[f0d06629] iad [info]Shutting down virtual machine
2022-07-12T12:42:30Z app[f0d06629] iad [info]Sending signal SIGINT to main child process w/ PID 523
2022-07-12T12:42:30Z app[f0d06629] iad [info]redis | Interrupting...
2022-07-12T12:42:30Z app[f0d06629] iad [info]metrics | Interrupting...
2022-07-12T12:42:30Z app[f0d06629] iad [info]redis | 538:signal-handler (1657629750) Received SIGINT scheduling shutdown...
2022-07-12T12:42:30Z app[f0d06629] iad [info]metrics | signal: interrupt
2022-07-12T12:42:30Z app[f0d06629] iad [info]redis | 538:M 12 Jul 2022 12:42:30.259 * DB saved on disk
2022-07-12T12:42:30Z app[f0d06629] iad [info]redis | 538:M 12 Jul 2022 12:42:30.259 # Redis is now ready to exit, bye bye...
2022-07-12T12:42:30Z app[f0d06629] iad [info]redis | signal: interrupt
2022-07-12T12:42:31Z app[f0d06629] iad [info]Main child exited normally with code: 0
2022-07-12T12:42:31Z app[f0d06629] iad [info]Starting clean up.
2022-07-12T12:42:31Z app[f0d06629] iad [info]Umounting /dev/vdc from /data

```

I couldn’t get it restarted, trying to scale count to 0, back to 1, and trying new deployment attempts all failed…

To back up the above comments, doing a `fly scale vm dedicated-cpu-1x --app` got those redis instances back up and running.

---

_[View the full topic](https://community.fly.io/t/postgres-stuck-in-pending-state-after-running-image-update/4864)._
