> On 5 May 2020, at 08:28, PG Bug reporting form <noreply@postgresql.org> wrote:
> Any suggestions here will be really helpful- thanks.
The error is quite likely to be the one pg_ctl tells you:
> pg_ctl start -D /Library/PostgreSQL/12/data waiting for server to
> start....2020-05-05 11:40:04.838 IST [1216] FATAL: data directory
> "/Library/PostgreSQL/12/data" has wrong ownership 2020-05-05 11:40:04.838
> IST [1216] HINT: The server must be started by the user that owns the data
> directory. stopped waiting pg_ctl: could not start server Examine the log
> output.
The permissions are probably still not quite right for the user with which you
are trying to start the server.
If you initdb a fresh database you can inspect the permissions being set there
as a point of reference.
cheers ./daniel