Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMxk6-00086p-8G for pgsql-general@arkaria.postgresql.org; Wed, 14 Nov 2018 16:10:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gMxk3-0005RP-KJ for pgsql-general@arkaria.postgresql.org; Wed, 14 Nov 2018 16:10:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMxk3-0005R9-BX for pgsql-general@lists.postgresql.org; Wed, 14 Nov 2018 16:10:11 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMxjx-0004QX-3n for pgsql-general@postgresql.org; Wed, 14 Nov 2018 16:10:10 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id DE1F3992C8 for ; Wed, 14 Nov 2018 08:10:02 -0800 (PST) Date: Wed, 14 Nov 2018 08:10:02 -0800 (PST) From: Rich Shepard Reply-To: Rich Shepard To: pgsql-general@postgresql.org Subject: Re: Move cluster to new host, upgraded version [DONE] In-Reply-To: Message-ID: References: <87wopjv2gu.fsf@news-spur.riddles.org.uk> <38cdd93b-e0be-ca3b-decd-64072356e6ce@aklaver.com> <6048bbde-04a4-3b90-00de-65adf78c8196@aklaver.com> <7982.1542209462@sss.pgh.pa.us> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 14 Nov 2018, Rich Shepard wrote: > I think that I FUBARed the upgrade from 10.3 to 11.1. I've removed both > packages and am rebuilding 11.1. I'll install it, run initdb on it, then > re-run pg_dumpall on the 10.5 data directory on the old desktop. Starting > from scratch on this new desktop will save time for all of us. All fixed now. To complete the thread this is what I did: 1) Removed Slackware packages for postgresql-10.3 and -11.1. 2) Removed /var/lib/pgsql/10.3 and 11.1. 3) Re-built postgresql-11.1 and re-installed it. 4) As user 'postgres' ran initdb and pg_ctl start pointing to /var/lib/pgsql/11/data. 5) Edited postgresql.conf and pg_hba.conf to accept connections from all hosts on the LAN. 6) Re-started postgres. 7) As 'postgre' ran pg_dumpall -h salmo -c -f pg-all-2018-11-14.sql 8) Then postgres ran psql -f pg-all-2018-11-14.sql Now I, as a user, can access my databases without a password. Thank you, Adrian, for your patient help. And you, Tom, for your helpful comment. Best regards, Rich