# Postgres ERROR cmd/sentinel.go:1009 no eligible masters

**URL:** <https://community.fly.io/t/postgres-error-cmd-sentinel-go-1009-no-eligible-masters/6934>\
**Category:** Build debugging\
**Tags:** postgres\
**Created:** [September 5, 2022, 11:42pm UTC](https://community.fly.io/t/postgres-error-cmd-sentinel-go-1009-no-eligible-masters/6934 "2022-09-05T23:42:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve-smash](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@steve-smash](https://community.fly.io/u/steve-smash)\
**Post date:** [September 5, 2022, 11:42pm UTC](https://community.fly.io/t/postgres-error-cmd-sentinel-go-1009-no-eligible-masters/6934/1 "2022-09-05T23:42:07Z")

</div>

Basically not able to get my Postgres instance working. I can’t even proxy it to back it up locally so that I can create a new instance. Please help.

ERROR cmd/sentinel.go:1009 no eligible masters

ERRO[0323] Error opening connection to database (postgresql://flypgadmin:PASSWORD\_REMOVED@[fdaa:0:7a1f:a7b:7f07:1:64bd:2]:5433/postgres?sslmode=disable): dial tcp [fdaa:0:7a1f:a7b:7f07:1:64bd:2]:5433: connect: connection refused source=“postgres\_exporter.go:1658”

---

<div class="post-metadata">

**Author:** ![kurt](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/kurt/32/43757_2.png) [@kurt](https://community.fly.io/u/kurt)\
**Post date:** [September 6, 2022, 12:45am UTC](https://community.fly.io/t/postgres-error-cmd-sentinel-go-1009-no-eligible-masters/6934/2 "2022-09-06T00:45:23Z")

</div>

It looks like your DB app has ~22 volumes, but is only scaled to instance. So it’s most likely booting on a volume without your data.

Do you know where it was running previously? If you remove all the other volumes and keep the one it had before, it should boot right up.

---

<div class="post-metadata">

**Author:** ![steve-smash](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@steve-smash](https://community.fly.io/u/steve-smash)\
**Post date:** [September 9, 2022, 4:27pm UTC](https://community.fly.io/t/postgres-error-cmd-sentinel-go-1009-no-eligible-masters/6934/4 "2022-09-09T16:27:36Z")

</div>

Interesting, So I wound up creating a new deployment from a snapshot and it booted up just fine. How can I clean this up? or how can I identify which volumes don’t have data? I’m pretty new to this as you can tell
