V
V
Vadim2019-12-20 02:01:12
linux
Vadim, 2019-12-20 02:01:12

How to fix PostgreSQL docker image error?

Hello everyone,
moved the image database to another machine. And here and there it is created from the PostgreSQL12 image. In all likelihood, image:latest, because there are no special tags in Docker. Unfortunately, the database stopped opening and gives the following error in the PostgreSQL logs of the docker container:
The database cluster was initialized with CATALOG_VERSION_NO 201906161, but the server was compiled with CATALOG_VERSION_NO 201909212.
How can I fix this?
best regards,
Vadim

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Zamyatin, 2019-12-20
@Viji

Here they write that you used / are using the alpha version of the database. If it is not possible to make a normal ps_dump and you want to work here and now, then look at the machine where it works:
This way you can find out the ID of the image. And use it for the new server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question