Skip to content
Back

Invalid credentials after migration

  • 0
  • Self Hosted
  • Web
SvitlanaS
24 Apr, 2025, 09:15

Hi everyone!

After migrating our self-hosted Appwrite 1.3.1 to another server (staging, so a different domain), we are now getting 'Invalid credentials' when we try to log in. All other data is fine, aside of the passwords (both for our admin users and our project clients). If I update a password manually, if works fine, but all old passwords are gone.

_APP_OPENSSL_KEY_V1 is the same on both servers. The path to Appwrite is different on the new server, can it be an issue?

I've tried to re-import users tables into the DB, but the result is the same: Invalid credentials.

What else can we try to restore the old passwords? Thanks.

TL;DR
Developers are experiencing 'Invalid credentials' error after migrating self-hosted Appwrite 1.3.1 to a different server. Issue with old passwords not working, even after importing user tables. Same _APP_OPENSSL_KEY_V1 on both servers. Possible culprit could be the different path to Appwrite on the new server. Try updating the paths and ensure they are correctly configured for authentication.
D5
24 Apr, 2025, 09:53

Are they running on different versions?

SvitlanaS
24 Apr, 2025, 09:59

Both versions of Appwrite are 1.3.1 It was 1.0.1 originally, we updated some time ago.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more