Error: no active leader found

My db went down and I can’t seem to get it started.
Running fly pg restart -a elixirconf2022-db returns

Error: no active leader found

I found some info online to try restarting the machine so I tried

fly machine restart <id> <name> -a elixirconf2022-db
Error: could not get machine [name]: failed to get VM [name]: invalid machine ID, ‘[name]’ (Request ID: xxx)

Any ideas on what the issue is or how to restart the machine?

Ok, looks like the instructions I was using called for the machine name, but that wasn’t needed. The following worked:

fly machine restart <id> -a elixirconf2022-db

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.