Re: database files are incompatible with server

From: "Igal (at) Lucee(dot)org" <igal(at)lucee(dot)org>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: database files are incompatible with server
Date: 2019-08-23 02:31:22
Message-ID: 266cb84e-a4a6-01e6-27c0-6fca5986d0a7@lucee.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian,

On 8/22/2019 5:08 PM, Adrian Klaver wrote:
> On 8/22/19 4:52 PM, Igal @ Lucee.org wrote:
>> 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.
>
> So the cluster is from an older version then the server.
>
>> How can I start up the Cluster?
>>
>> Is version 201906161 beta 2?
>
> Yes:
>
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/include/catalog/catversion.h;h=fe44cae3ff453ccc02e6c56548c9311b5777bf1f;hb=0ab7110bcbcce5ff58afb32e7871c54e87502139
>

Thanks for the link.  It's good to know where these things are stored.

Thank you,

Igal

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-08-23 02:36:17 Re: database files are incompatible with server
Previous Message Ron 2019-08-23 02:12:17 Re: database files are incompatible with server