Re: Getting error while upgrading postgres from version 12 to 13

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: shashidhar Reddy <shashidharreddy001(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Getting error while upgrading postgres from version 12 to 13
Date: 2023-03-19 04:15:07
Message-ID: b384e0a5-bf87-9adc-c8ec-913aba45e928@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)gmail(dot)com <mailto:shashidharreddy001(at)gmail(dot)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(at)gmail(dot)com <mailto:shashidharreddy001(at)gmail(dot)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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2023-03-19 05:59:11 Re: Getting error while upgrading postgres from version 12 to 13
Previous Message shashidhar Reddy 2023-03-19 02:26:48 Re: Getting error while upgrading postgres from version 12 to 13