After migration not possible to login for any user or admin

Vadim9 months ago

Hello
I've migrated database to Cloudron installation and no one user able to login. It is not possible also to change or recover passwords. Just says Invalid username or password also after password changing or recovering. Is there any way how to fix the situation? Thanks in advance!

Track-trace9 months ago

Why wouldnt you be able to change settings/password in the database directly?

Vadim9 months ago

How I can do it?

Anton Tananaev9 months ago

Are you sure the users even exist? It sounds like you just lost the database.

Vadim9 months ago

Anton, yes I am sure. I see all users under users, but not possible to login using user email also if I changed password as admin.

Anton Tananaev9 months ago

You can reset password using the standard reset password flow. Using email address.

Vadim9 months ago

Also doesnt work this way. I tried to reset using email address, but new password not acceptable. If I delete old user and create new one with the same email I can login without problems.
I have quite old db, since 2020

Anton Tananaev9 months ago

If even reset doesn't work, you have something seriously broken in your system. You should find the root cause first.

Vadim9 months ago

Unfortunately I have no any idea where to search

Anton Tananaev9 months ago

Compare your database schema to a schema from a clean server. If it doesn't match, look through logs to see where the migration failed.