Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pdkS0-0002R2-IJ for pgsql-general@arkaria.postgresql.org; Sun, 19 Mar 2023 04:15:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pdkRx-0004cV-M0 for pgsql-general@arkaria.postgresql.org; Sun, 19 Mar 2023 04:15:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pdkRw-0004cB-4C for pgsql-general@lists.postgresql.org; Sun, 19 Mar 2023 04:15:17 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pdkRr-0005kZ-8a for pgsql-general@postgresql.org; Sun, 19 Mar 2023 04:15:15 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 978205C010B; Sun, 19 Mar 2023 00:15:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 19 Mar 2023 00:15:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1679199308; x=1679285708; bh=/f4zvFo+ahQ7DVY9nnMlNKqKmsaTWZbVZQt 6+6iYgNA=; b=EtY/bfxG3XYq44MWGw3uYt8HRsecPcPJqyfRCYmYmNd4dE6XEgJ YSp+sdEpCXm/NBMAgEIc2IWkUyy/ymWKpnT1Ie7Qlu+UzN0M+hT92ggHMm/3DEV3 DJWYMc9u1nDdvOBZ9m4+CUqy6KDmYmeuBWA4k5E4Wpknl0ulharF2IQ/0zKsjSyH 9Se417G8E91L8AFHKhr6SGkmSZsw7biHmaQk1Rrbonj54vAcn3PyH3q2yJzqlcYd vljp5FIgbksunowUJkyu29+xr4NmQiwnD1CQvLcI+UfLHT3pfFIZbJFshucBoC09 4GIWbG5b4VQYFH7eUHHpTYVnDq9os4gwqhw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1679199308; x= 1679285708; bh=/f4zvFo+ahQ7DVY9nnMlNKqKmsaTWZbVZQt6+6iYgNA=; b=B yTIvKdtQgZ7dEnzCuevK5ZCcS6CESRrpH+bXUlk6QNeHK3VkJCkL3AOY60qwFFId Z5iytjE6lwHnSdKj1pNIsOKMfOiQnMoUXncgHp7lMLTkIM3lZbCgs9PaEY1Iy0kp T1RsxHM+cdVlXdgRpG3nlVhOpjqrjn7EZ+hu4I6y1m9EEN4U6j/vJBbTNLMzM/mR 0bavwPrRaux+qDQSQDeG27kZe7ch96p1O7t4rDzme37SmkSHdCezvdoapb7x8zqC o4TXReexVADckzR+jgmuKD9+O+iVvlFqYF9vKc29w3y4Zxwb3VFjw7kHxfVcl47f d1Ld1hB1DpP9itwdgRkig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdefhedgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeelkeegjefhkeetheefudevteehiedvudehkeduleet fedvffeuhedtvdegtdeffeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhi rghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 19 Mar 2023 00:15:07 -0400 (EDT) Message-ID: Date: Sat, 18 Mar 2023 21:15:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: Getting error while upgrading postgres from version 12 to 13 To: shashidhar Reddy , pgsql-general References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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, > > 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 > > > 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