this post was submitted on 08 Jun 2023
8 points (100.0% liked)

Lemmy Support

4650 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Any good resources/Discord servers (to discuss with other devs) for troubleshooting user login/email verification issues?

I have a self-hosted instance and was able to make the admin user, but when trying to create a new test user, the user does not get the verification email.

I assume its related to this issue because I see the same issue but on login rather than sign up: https://github.com/LemmyNet/lemmy-ui/issues/1080

I am able to create the new user but get no email verification and then when I try to login the login button gets stuck with the spinner. No frontend console logs so I assume something is dying server-side and not bubbling the error.

Really just looking for some guidance/links to docs on how I can access logs to troubleshoot server-side errors (and my gut tells me maybe an email issue but I am a novice in this space so not sure).

Any help is appreciated.

Thank you.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (5 children)

where are you running your environment ? I'm on DigitalOcean for example since last night, found out this morning that digitalocean blocks smtp port 25 to prevent being used for spammers. when checking the logs, also check the postfix container, that's the email server. if that reads it can't connect you probably have the same issue. see this thread for setting up sendgrid as a relay to your postfix mail server

[–] [email protected] 2 points 1 year ago (3 children)

Oh snap, yes I am using Digital Ocean.

Looks like you might have forgotten to add the link, mind chucking that in when you get a chance?

Thanks, this seems like a good lead as well.

[–] [email protected] 3 points 1 year ago (1 children)

yep, same issue I had! the link :) https://lemmy.one/post/36440

after changing the docker-compose.yml file you have to destroy and up the postfix container

docker-compose stop postfix && docker-compose rm postfix
docker-compose up -d

after changing your lemmy.hjson file, just restart the lemmy container.

[–] [email protected] 2 points 1 year ago

Noice many thanks! I'll give it a shot.

load more comments (1 replies)
load more comments (2 replies)