database files are incompatible with server

From: "Igal (at) Lucee(dot)org" <igal(at)lucee(dot)org>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: database files are incompatible with server
Date: 2019-08-22 23:52:28
Message-ID: 2bee6c33-fcf8-6018-3f1f-92a085490f90@lucee.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a data directory that was created by Postgres 12 (I thought beta
3 but now am not sure anymore) running in Docker.

I have installed Postgres 12b3 as a Systemd service and am trying to set
the cluster to the same PGDATA.  I have set the owner of the directory
to postgres:postrgres, and the permissions to 0700, but I'm getting the
following error:

2019-08-22 23:40:48.759 UTC [23044] FATAL:  database files are
incompatible with server
2019-08-22 23:40:48.759 UTC [23044] DETAIL:  The database cluster was
initialized with CATALOG_VERSION_NO  201906161, but the server was
compiled with CATALOG_VERSION_NO 201907221.

How can I start up the Cluster?

Is version 201906161 beta 2?

Would running PG12 beta 2 work?

Would running initdb destroy the data?

Thank you,

Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-08-23 00:08:58 Re: database files are incompatible with server
Previous Message Bikram MAJUMDAR 2019-08-22 21:50:08 RE: Question on pgwatch