Hello. Our postgres instance is “suspended”.
We are trying to restart it, but I get an error:
fly apps restart <postgres-instance>
Error postgres apps should use `fly pg restart` instead
And if I run:
fly pg restart <postgres-instance>
Error app <postgres> is not a postgres app
What can we do?
fly machine commands to restart the underlying machines if this is a machines-based postgres cluster. If it’s an app-based cluster, try
fly restart <db-app-name>.
Hello Jerome. We tried and didn’t work:
Error failed to restart machine : could not stop machine : failed to restart VM : unable to restart machine, not currently started or stopped
We also tried another command, but again it didn’t work:
$ flyctl pg restart -a <postgres-instance>
Error no active leader found