tucsocial-admin

  • 1 Post
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle


  • tucsocial-adminAtoTucson FoodBreakfast Places
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Hi thanks for submitting! I think something happened though - this server supports both English and Espanol and I noticed that if you don’t select either when making a post, only the admin user can seem to find it. You may want to re-post and select english, espanol, or both.




  • 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.



  • 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.