pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: shashidhar Reddy <shashidharreddy001@gmail.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Getting error while upgrading postgres from version 12 to 13
Date: Sat, 18 Mar 2023 21:15:07 -0700
Message-ID: <b384e0a5-bf87-9adc-c8ec-913aba45e928@aklaver.com> (raw)
In-Reply-To: <CAH=zU4vQvK82sifAruqwKO6VQj-kkfbTYGRGBrLQX1wuMH-zWg@mail.gmail.com>
References: <CAH=zU4sB+HaH5APLa6yx93kWPb2L-z5Xr57wfhWGn+RnUUMHUA@mail.gmail.com>
	<CAH=zU4sgK44h1mKTbryRgg_VBJyMLucrE-_-xh2ifPbrBuBEdA@mail.gmail.com>
	<CAH=zU4vQvK82sifAruqwKO6VQj-kkfbTYGRGBrLQX1wuMH-zWg@mail.gmail.com>

On 3/18/23 19:26, shashidhar Reddy wrote:
> Can someone please help me with this?

You have already been helped:

https://www.postgresql.org/message-id/ba59dd9b-6a87-ebff-c041-2dbcffe74a89%40sourcepole.ch

"You have configured the postgres v12 server to use a directory where
there are data from a postgres v13 server. Evidently that can not work..."

> 
> On Sun, 19 Mar, 2023, 2:54 am shashidhar Reddy, 
> <shashidharreddy001@gmail.com <mailto:shashidharreddy001@gmail.com>> wrote:
> 
>     and adding to this the following is also showing in the error, we
>     tried changing the file permissions but still no luck
>     FATAL:  could not load private key file
>     "/etc/ssl/private/ssl-cert-snakeoil.key": key values mismatch
> 
>     On Sun, Mar 19, 2023 at 2:09 AM shashidhar Reddy
>     <shashidharreddy001@gmail.com <mailto:shashidharreddy001@gmail.com>>
>     wrote:
> 
>         Hello,
> 
>         I am in a process of upgrading postgresql from version 12 to 13
>         using pg_upgrdrade but I am getting error stating
> 
>           FATAL:  database files are incompatible with server
>           DETAIL:  The data directory was initialized by PostgreSQL
>         version 13
>         , which is not compatible with this version 12.14 (Ubuntu
>         12.14-1.pgdg18.04+1)
> 
>         Please help me on this issue.
>         -- 
>         Shashidhar
> 
> 
> 
>     -- 
>     Shashidhar
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (11+ messages)  latest in thread

Message-ID: <b384e0a5-bf87-9adc-c8ec-913aba45e928@aklaver.com>
Permalink:  ../b384e0a5-bf87-9adc-c8ec-913aba45e928@aklaver.com/
Also on:    postgresql.org/message-id/b384e0a5-bf87-9adc-c8ec-913aba45e928@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, shashidharreddy001@gmail.com
  Subject: Re: Getting error while upgrading postgres from version 12 to 13
  In-Reply-To: <b384e0a5-bf87-9adc-c8ec-913aba45e928@aklaver.com>
  References: <CAH=zU4sB+HaH5APLa6yx93kWPb2L-z5Xr57wfhWGn+RnUUMHUA@mail.gmail.com> <CAH=zU4sgK44h1mKTbryRgg_VBJyMLucrE-_-xh2ifPbrBuBEdA@mail.gmail.com> <CAH=zU4vQvK82sifAruqwKO6VQj-kkfbTYGRGBrLQX1wuMH-zWg@mail.gmail.com> <b384e0a5-bf87-9adc-c8ec-913aba45e928@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox