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

Closed
willhansen opened this issue Jul 4, 2023 · 2 comments
Closed

Contributor local development postgreSQL missing a step #243

willhansen opened this issue Jul 4, 2023 · 2 comments

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.

@Nutomic
Copy link
Member

Nutomic commented Mar 13, 2025

This has probably been fixed in the meantime.

@Nutomic Nutomic closed this as completed Mar 13, 2025
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

3 participants