How to upgrade PostgreSQL flex instance when using custom image?

$ fly image update --app X --image X
No changes to apply

I am changing the image, but I am just getting “No changes to apply”.

What to do?

The way I’ve updated my pg-flex apps in the past is updating each of the app’s machines independently.

fly machines update <machine-id> --image <custom-image>

Ideally you would want to update a replica and fail-over to it, then update the remaining machines.

Turns out that the way to do it is using fly deploy --image X

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