this post was submitted on 20 Aug 2023
19 points (95.2% liked)
Lemmy Support
4655 readers
29 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
After executing this command and executing psql, I got this error:
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "root" does not exist
try
psql -U postgres
No luck with this comman :(
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "postgres" does not exist
But is it the right docker container? The name of the container I try to connect is lemmymydomaintld_postgres_1
Seems pretty hard to delete a user this way. Do you know an easier way by any chance?
yea im p sure cuz otherwise psql wont work
try
psql -U lemmy
i havent used lemmy, just know a bit of docker
I found a solution here
A warning to people who have the same problem:
On the website there is a command, which will purge all unverified account. If your admin account wasn't verified, it will be purged, too.
Thanks a lot for your help :)