Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sHTzt-00858y-Re for pgsql-admin@arkaria.postgresql.org; Wed, 12 Jun 2024 19:51:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sHTzr-0069It-Kn for pgsql-admin@arkaria.postgresql.org; Wed, 12 Jun 2024 19:51:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sHTzr-0069Ik-9J for pgsql-admin@lists.postgresql.org; Wed, 12 Jun 2024 19:51:04 +0000 Received: from jakobs.com ([85.214.83.89] helo=rs.plausibolo.de) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sHTzp-0010V2-Iq for pgsql-admin@lists.postgresql.org; Wed, 12 Jun 2024 19:51:02 +0000 Received: from localhost (localhost [127.0.0.1]) by rs.plausibolo.de (Postfix) with ESMTP id CCE8538051C; Wed, 12 Jun 2024 21:50:58 +0200 (CEST) Received: from rs.plausibolo.de ([IPv6:::1]) by localhost (h2367442.stratoserver.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id t4qcNQ4yds_k; Wed, 12 Jun 2024 21:50:57 +0200 (CEST) Received: from [192.168.95.168] (dynamic-176-005-150-142.176.5.pool.telefonica.de [176.5.150.142]) by rs.plausibolo.de (Postfix) with ESMTPSA id BFB073801FF; Wed, 12 Jun 2024 21:50:53 +0200 (CEST) Message-ID: <852b5c2b-d54c-439e-84c3-3fd1ea7a49b9@jakobs.com> Date: Wed, 12 Jun 2024 21:50:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pg_upgrade To: pgsql-admin@lists.postgresql.org References: From: Holger Jakobs 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 Am 12.06.24 um 16:06 schrieb Wasim Devale: > Hi I am getting this errorĀ message while performing PG upgrade. > > Database user "postgres" is not install user failure existing > > Screenshot attached. > > Thanks, > Wasim Hi Wasim, It seems that the operating system user "postgres" did not set up the cluster you are trying to upgrade. Check which OS user owns the data directory. Unfortunately, you don't show the complete shell prompt and pg_upgrade command line in your question or your screen photograph (it's not even a real screen shot). It might help to chown the complete data directory to user and group postgres, but it's difficult to tell definitely without further information. Regards, Holger -- Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012