After migration not possible to login for any user or admin

Vadim 2 years 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-trace 2 years ago

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

Vadim 2 years ago

How I can do it?

Anton Tananaev 2 years ago

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

Vadim 2 years 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 Tananaev 2 years ago

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

Vadim 2 years 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 Tananaev 2 years ago

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

Vadim 2 years ago

Unfortunately I have no any idea where to search

Anton Tananaev 2 years 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.