pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: TalGloz <glozmantal@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Upgrade Process Says "The database server was not shut down cleanly" but it was
Date: Sun, 3 May 2020 15:33:09 -0700 (MST)
Message-ID: <1588545189381-0.post@n3.nabble.com> (raw)
In-Reply-To: <1f509a30-e09f-d0bd-e48f-994146a1fb08@aklaver.com>
References: <1588542797966-0.post@n3.nabble.com>
	<b2d1cb77-9384-f61d-a3d0-db735f9f1064@aklaver.com>
	<1588543907769-0.post@n3.nabble.com>
	<1f509a30-e09f-d0bd-e48f-994146a1fb08@aklaver.com>

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





view thread (11+ messages)  latest in thread

Message-ID: <1588545189381-0.post@n3.nabble.com>
Permalink:  ../1588545189381-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1588545189381-0.post@n3.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: glozmantal@gmail.com
  Subject: Re: Upgrade Process Says "The database server was not shut down cleanly" but it was
  In-Reply-To: <1588545189381-0.post@n3.nabble.com>
  References: <1588542797966-0.post@n3.nabble.com> <b2d1cb77-9384-f61d-a3d0-db735f9f1064@aklaver.com> <1588543907769-0.post@n3.nabble.com> <1f509a30-e09f-d0bd-e48f-994146a1fb08@aklaver.com> <1588545189381-0.post@n3.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox