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 1jVNAk-0007pK-Mo for pgsql-general@arkaria.postgresql.org; Sun, 03 May 2020 22:33:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jVNAi-000165-KS for pgsql-general@arkaria.postgresql.org; Sun, 03 May 2020 22:33:16 +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 1jVNAi-00015y-Bh for pgsql-general@lists.postgresql.org; Sun, 03 May 2020 22:33:16 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jVNAb-0003at-VO for pgsql-general@postgresql.org; Sun, 03 May 2020 22:33:15 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 5DB281D1E0AC0 for ; Sun, 3 May 2020 15:33:09 -0700 (MST) Date: Sun, 3 May 2020 15:33:09 -0700 (MST) From: TalGloz To: pgsql-general@postgresql.org Message-ID: <1588545189381-0.post@n3.nabble.com> In-Reply-To: <1f509a30-e09f-d0bd-e48f-994146a1fb08@aklaver.com> References: <1588542797966-0.post@n3.nabble.com> <1588543907769-0.post@n3.nabble.com> <1f509a30-e09f-d0bd-e48f-994146a1fb08@aklaver.com> Subject: Re: Upgrade Process Says "The database server was not shut down cleanly" but it was MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Adrian Klaver-4 wrote > On 5/3/20 3:11 PM, TalGloz wrote: >> Adrian Klaver-4 wrote >>> On 5/3/20 2:53 PM, >>> >>> Looks like you did not shutdown the 12 instance. >>> >>> -- >>> Adrian Klaver >> >>> adrian.klaver@ >> >> >> This is weird because "systemctl staus postgresql-12.service" shows that >> the >> service is dead. > > It is now: > "The database server was not shut down cleanly." > > Before running pg_upgrade again I would:\ > > 1) Start the 12 instance to make sure it will start cleanly. > > 2) Shut it and the 10 instance down. > > 3) Try the pg_upgrade again this time with: > > https://www.postgresql.org/docs/12/pgupgrade.html > > --check > > check clusters only, don't change any data > > 4) Assuming 3) completes, repeat w/o --check > >> >> Best regards, >> TalGloz >> >> >> >> -- >> Sent from: >> https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html >> >> > > > -- > Adrian Klaver > adrian.klaver@ Thanks I'll try your steps tommorow. What I meant to say is that "systemctl staus postgresql-12.service" was always showing that the service is dead, even before I've started the upgrade process. Best regards, TalGloz -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html