[Dachs-support] [Support EPNTAP #69686] Re: Problems with DaCHS installation

Markus Demleitner msdemlei at ari.uni-heidelberg.de
Tue Apr 6 11:03:14 CEST 2021


Hi ChloƩ,

On Mon, Apr 05, 2021 at 12:31:59PM +0200, ChloƩ Azria wrote:
> First, I couldn't access to postgres bash, i had the same
> "su:authentification error"

Yeah, that is the underlying problem, which indicates something
really bad happened during postgres installation.  I'd still be
curious what it might have been.

> sudo rm -r /etc/postgresql
> 
> sudo rm -r /var/lib/postgresql/
> 
> sudo pg_createcluster 11 main --start
> 
> Here, I had an error:
> 
> Error: The cluster is owned by group id 125 which does not exist

So, your old postgres user would have had the user id 125.  I'm
surprised postgres would still know about this after you've leveled
/var/lib/postgresql *and* /etc/postgresql...

For the record, I believe just saying

  apt purge posgresql-11

and answering the question about whether to drop the cluster would
have done it, too, for fixing whatever went wrong here.

Still, I'm rather confident it's not really related to DaCHS.
Whether it's something that might be fixable on the postgres
packaging end I'm afraid we can't tell at this point.

        -- Markus


More information about the Dachs-support mailing list