this post was submitted on 11 Jun 2023
18 points (100.0% liked)

Lemmy

12538 readers
6 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

And for the love of god, can we PLEASE document the fixes we're finding along the way.

I'm currently impacted by the user registration bug that relates to user constraints in the DB - and it's completely ruining what would be an amazing launch. However, apparently some other server owners have it working! Buuuuuttt, no one is posting their secrets - and it's really hampering my ability to deliver this instance.

So, please, someone explain how I fix this issue and get a working instance.

Do I need to roll back? If so, what version? Do I need to run some PSQL? Do I need to patch some Rust?

EDIT: SUCCESS!

Here is the sacred knowledge for my particular situation.

It was half PEBKAC and half bug -

The PEBKAC - If using protonmail SMTP - you'll need 'starttls' for it to work.

If SMTP is broken in this way, it seems to cause a bug in user creation that will essentially create partial data that would prevent user creation with the same name from occuring again. You can use a "plus" address (ie youremail+stuff@domain.com) to work around this in the meantime.

you are viewing a single comment's thread
view the rest of the comments
[–] library_patron@lemmy.blahaj.zone 3 points 1 year ago* (last edited 1 year ago)

Since you found this sacred knowledge, it would probably be a good idea to comment on the GitHub issue in addition to here, since that's where most people will be looking if they get these errors.