-
Notifications
You must be signed in to change notification settings - Fork 7
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
Changing schema leads to error 500 (on hosted ui) #56
Comments
Thank you for the report! Can you confirm that this happens reproducible? We have observed this error before but are not yet sure where it originates from. Would be very helpful if you had some info! @tricky42 could you maybe check what the server logs are saying with eg stack traces? |
@aeneasr yeah, any "old" account has a different schema. When I re-register with a new account, my new schema is used and then How do you update accounts to use the new schema? |
The update currently needs to be done using the API / CLI and we still lack a good guide for it. The old Schema should still work though! Is that old Schema the one which is broken? If so could you please share your slug of the project so we can investigate? :) |
@aeneasr understood, I'll check out api/cli. For the schema, just to make sure:
My slug: |
Thank you very much for the info! This will help identify the issue much faster! |
Thank you for the info, I tried to reproduce this error on your slug and also one of my projects but was not able to reproduce it. It appears that it could be an issue related to cold starts of the system. We will need to do further investigation! Have you observed this error in the meanwhile? |
I was able to find this in the logs and it appears to happen quite frequently. We will try to figure out where it comes from :) |
@aeneasr Okay, but yeah - I can re-pro any time I use an old account. I haven't found schema migration stuff yet? Any example tips on what exactly to look for? Also, kinda wondering I guess you were referring to |
Maybe I misunderstood then! So you create an account, change the schema, use that account to access settings? It would be super helpful to get the flow from start to finish, looks like I am missing something! The CLIs don’t yet fully support this as we identified the need to address something in Kratos itself before that can work. It will take a bit lore time to figure this out correctly |
Flow 1
Flow 2
Better? |
Thank you! Are you using presets or custom schemas? |
Ok, awesome, I was able to reproduce this:
|
Issue found and fix pending - thank you for the report! |
I updated my schema, tested login with an existing account, that worked, but when I go to
/ui/settings
:error?id=0a0c448d-d821-4a70-a7f9-84fff9fe510e
:Originally posted by @till in #55 (reply in thread)
The text was updated successfully, but these errors were encountered: