wizarrrr / wizarr

Wizarr is an advanced user invitation and management system for Jellyfin, Plex, Emby etc.
https://docs.wizarr.dev
MIT License
1.15k stars 83 forks source link

IntegrityError: NOT NULL constraint failed: users.email #400

Closed wizarr-sentry[bot] closed 2 months ago

wizarr-sentry[bot] commented 2 months ago

Sentry Issue: WIZARR-BACKEND-4Q

IntegrityError: NOT NULL constraint failed: users.email
  File "peewee.py", line 3252, in execute_sql
    cursor.execute(sql, params or ())

IntegrityError: NOT NULL constraint failed: users.email
(8 additional frame(s) were not displayed)
...
  File "app/scheduler.py", line 60, in scan_users
    global_sync_users_to_media_server()
  File "helpers/universal.py", line 222, in global_sync_users_to_media_server
    sync_plex_users()
  File "helpers/plex.py", line 296, in sync_plex_users
    create_user(username=plex_user.title, token=plex_user.id, email=plex_user.email)
  File "helpers/users.py", line 165, in create_user
    user: Users = Users.update(**user_model).where(Users.token == form.token).execute()

Job "<Job (id=syncUsers name=scan_users)>" raised an exception
wizarr-sentry[bot] commented 2 months ago

:tada: This issue has been resolved in version 4.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: