tucsocial-admin

joined 1 year ago

Paramount+ is the place!

For physical media, I noticed I could find all the films and the first season of Strange New Worlds in Ultra HD at Best Buy.

I also find entire collections on DVD and HD (non 4K) Blu Ray at used places like Zia Records (the only national chain I can think of) and other similar stores with used movies.

Done! Thanks for the reminder, I'm deep in trying to get users onboarded and such and probably would've forgot!

Final-ish comment on this:

Here are the valid workarounds to this issue:

  1. Turn off email validation and enable captchas (if doing open registration like I am)
  2. Turn on the registration from, and disable captchas.
  3. Fix your SMTP settings
  4. For anyone impacted by a failed registration, have them use a "plus" email address like ( theiruser+lemmy@somedomain.com ) after you have it fixed.
[–] tucsocial-admin@tucson.social 3 points 1 year ago* (last edited 1 year ago)

Double-Update: Suddenly it's working again? I think using Incognito sessions to test might be causing the issue... This time I also used a "plus" email for more uniqueness (while using the same inbox).

EDIT: NOPE! Nvm, it was because email validation was disabled that things were working. As soon as I enabled it again, I got a different error. Which has me suspect that the bug I was experiencing earlier is a result of the following condition.

  1. The user creation transaction doesn't back out on SMTP failure, thereby preventing the creation of the account due to the aforementioned constraint issue.

Posted an update as a root level comment.

[–] tucsocial-admin@tucson.social 4 points 1 year ago (2 children)

Ah, sorry, yes, context:

The bug I think I'm impacted by - https://github.com/LemmyNet/lemmy/issues/2955

The error I'm getting:

panicked at 'couldnt create local user: DatabaseError(UniqueViolation, "duplicate key value violates unique constraint "local_user_email_key"")', crates/db_schema/src/impls/local_user.rs:157:8

The user_email value is indeed different, ( I have a handful that I'm using to test) and this occurs no matter what I try. Even disabling email verification didn't seem to help.

I'm using the official docker instructions, and everything else appears to function perfectly - and my initially created user has no problem interacting with with the app. Heck, I'm using my instance to communicate with y'all.

 

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.