-
-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - Failed to create user, now refusing to start #4480
Comments
Separately to whatever bug lead to this, I'd be hugely appreciative if anyone could help me get Mealie up and running again (via DB edits, I'd think). It's not great having Mealie out of action entirely. |
I'm not familiar enough with the OAuth implementation to help with the actual issue (@cmintey ?), but in terms of fixing things to get Mealie running again, make sure all users have a valid Specifically, in the |
That worked! Looking at the Fixed with Many thanks! |
@michael-genson i don't understand why the user is being created when there is a validation error... I think we should add a "is default" flag to the group and household models instead of having env variables. Plus that would allow for admins to have a different default household per group |
@tecosaur to prevent this in the meantime, you should have a |
Ah, so this might have been caused by me renaming the default household before this user tried logging in? |
Also, I tried creating a new household "Unsorted" to avoid this for now on the
|
Yeah, that would definitely do it. But it should just throw an error, not actually create the user! |
Same, must be some weird edge case
Yeah I think that's a good idea. I can take a look at that |
First Check
What is the issue you are experiencing?
A new user tried to login to Mealie with Oauth, it failed and now Mealie refuses to start at all.
Steps to Reproduce
Please provide relevant logs
Here are the logs from user creation:
The home/login page then refused to load, I think these logs have something to do with it
Now upon trying to restart the service:
Mealie Version
v2.0.0, running on NixOS
Deployment
Other (please specify below)
Additional Deployment Details
Linux, NixOS
The text was updated successfully, but these errors were encountered: