Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contributor local development postgreSQL missing a step #243

Open
willhansen opened this issue Jul 4, 2023 · 1 comment
Open

Contributor local development postgreSQL missing a step #243

willhansen opened this issue Jul 4, 2023 · 1 comment

Comments

@willhansen
Copy link

For this section

Selection_206
https://join-lemmy.org/docs/contributors/02-local-development.html#setup-postgresql-database

Running scripts/db-init.sh led to the error

psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: Peer authentication failed for user "postgres".

I had to modify my /etc/postgresql/14/main/pg_hba.conf to get around this. I'm not sure what the "correct" fix is.

@RocketDerp

This comment was marked as abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants