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 1qIx3r-0002eb-FY for pgsql-general@arkaria.postgresql.org; Mon, 10 Jul 2023 20:00:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qIx3q-0003Y3-CQ for pgsql-general@arkaria.postgresql.org; Mon, 10 Jul 2023 20:00:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qIx3q-0003PV-0V for pgsql-general@lists.postgresql.org; Mon, 10 Jul 2023 20:00:42 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qIx3m-00384j-Rv for pgsql-general@postgresql.org; Mon, 10 Jul 2023 20:00:40 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id DB5B5320098D; Mon, 10 Jul 2023 16:00:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 10 Jul 2023 16:00:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc: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= 1689019236; x=1689105636; bh=NpodxffZZhZpEy/LzsT9/SItmirUyxiCEhm yjvz9Pd0=; b=R4pQEHlA512jbg42lV7JjCPCr2Y+B/CdkNNTZCsLpkHfSwZuJlu 3zcGsI3QsndW3h6ZARymsCWVmU8LoEkMbh1drNUmJq74awMYpzs4e281y0PF9mQr IsDpKw9vVd39Wd9J6OJt1J9IApbsWni0AEcPhGPxjF9glNqRYr27+zBLL6UPUzxz OGUtE6vcG/Qllv/1cqYcNT0eD+I1v6Gld52p2edrNdt7SeBzLV/lUuZBcn5fxpnf a8ExHouB5QBj/1ljAJQwXaeVcb/1qHrBGKfAaJPYDRxcHeiK2weEqEBSbQSkEG9+ zIBNunyFd41/2JcGrGYXgtzXK7Ac2VQ8+cw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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= 1689019236; x=1689105636; bh=NpodxffZZhZpEy/LzsT9/SItmirUyxiCEhm yjvz9Pd0=; b=f5JhQIS1zF4lt+pg6TaIrjhZAxPqhYsgqum6XYkceRROpYZzEsX 8WZzh28uprxzlVCb5u83BN5/LDzY/EL+492TjINDNhVVL0PmPadU5FXH+Nm675+9 nya+E3cob50bc466D318OwdqRu/KjQ4ry3nbfRUDGW+smIauBD3pLa/bvM45pmfa KFdfnFOiMTE9Bgl1YKgCmRDjaSN9pvoWRxoBFt+Qxm68VacDtvO66O5ZJ4fQpa/H yNaDUqXwUsxLbaw5TixHwMKtl0BmItk49W0KkZUNYX/a7cFjZbR8L4THK6i28JOW Jn55c93ZsyxZo5gogfX8ka9pUwGrj/wvTDg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrvdekgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhevhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepheevieehhfefteegkedtffetvdffhfduleeuuefh ueelffehgeduleffteetheetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 10 Jul 2023 16:00:35 -0400 (EDT) Message-ID: Date: Mon, 10 Jul 2023 13:00:34 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: Need Help On Upgrade Content-Language: en-US To: Johnathan Tiamoh References: Cc: pgsql-general 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 7/10/23 12:55, Johnathan Tiamoh wrote: Please reply to list also. Ccing list > Ok Adrian, > > Postgres 9.5 > >     postgresql.conf > >        password_encryption  = ?  md5  ====> wish is the default for 9.5 > >     pg_hba.conf    -----------------> md5 > >         Provide the relevant lines > > Postgres 14.8 > >     postgresql.conf > >        password_encryption  = ?   scram-sha-256  ====> wish is the > default for 14.8 > >     pg_hba.conf      md5 You have not answered: 2) Provide the error messages received when trying to connect. > > > Thank you. > > > On Mon, Jul 10, 2023 at 3:38 PM Adrian Klaver > wrote: > > On 7/10/23 11:15, Johnathan Tiamoh wrote: > > Hello, > > > > I upgraded from postgresql 9.5 to 14.8. After the upgrade users > were not > > able to connect due to password hash. > > > > The password encryption was on scram-sha-256. The password hash > was on > > md5. in the pg_hba.conf file the authentication method was md5. I > do not > > know why users could not connect because as per postgresql > > documentation, that should work. > > > > 1) You are going to have to be more specific about where and what the > settings are or where for both Postgres versions and the *.conf > files. So: > > Postgres 9.5 > >     postgresql.conf > >        password_encryption  = ? > >     pg_hba.conf > >         Provide the relevant lines > > Postgres 14.8 > >     postgresql.conf > >        password_encryption  = ? > >     pg_hba.conf > >         Provide the relevant lines > > 2) Provide the error messages received when trying to connect. > > > > I have previously done a similar upgrade and did not face similar > issues. > > > > > > Kind regards > > Johnathan Tiamoh > > -- > Adrian Klaver > adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com