When attempting to migrate Metabase to use Postgres 17 by changing the docker container to 17 I get errors starting it and have to go back to 16. At the time I setup my Metabase container, 16 was what it recmomended, now it uses "latest" but that gives me errors.
metabase-db | 2025-03-02 18:22:09.342 UTC [1] FATAL: database files are incompatible with server
Wouldn't this be a constant problem if you use latest though, as eventually latest will upgrade?
I know the recommended way would be to export, switch versions, import again.
you shoud never use a "latest" tag in a database, you don't want containers (and even more database) to have a mutable tag. Please fix it to a version and if you have to upgrade do it as the documentation says