Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to Upgrade to PostgreSQL 19: postgres:latest Won't Start on Your Old Volume

If your compose file says image: postgres:latest , then as of November 20 it says PostgreSQL 19. The Docker Hub tag list now has 19.0 , 19 and latest on the same line. The image keeps its data under a version-numbered path ( /var/lib/postgresql/19/docker ), so after the next docker compose pull && docker compose up -d the entrypoint finds your 17 or 18 data somewhere else, prints Error: in 18+,…

Docker Hub now offers the PostgreSQL 19 image under the tag "latest", replacing the previous "postgres:latest" tag. This new image stores database data in a format incompatible with older PostgreSQL versions (17 or 18). As a result, when you attempt to start your database using the "postgres:latest" tag, the entrypoint will encounter an error stating that the data format is incompatible with version 19 and terminate the process.

Your data remains intact, but the database will be unavailable until you take steps to upgrade it or stick with the older version.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Friday 20 November →