Skip to content
Back

invalid credentials after upgrade

  • 0
  • Self Hosted
  • Auth
someGuy
2 Oct, 2024, 21:53

I am trying to upgrade my appwrite server from 1.4.9 to 1.5.0. I'm hosting on digital ocean using Docker. I cloned my server from a snapshot of my current production server but when I try to login to console on the new server I get an error "invalid credentials" even before attempting any upgrade or restore. I have confirmed .env vars are identical on both machines attempted upgrade/restore following instructions on appwrite.io in self hosted section but still no luck.

Any ideas what could cause this?

TL;DR
Developers are experiencing 'invalid credentials' error after upgrading Appwrite server from version 1.4.9 to 1.5.0 on a Digital Ocean host using Docker. The solution suggested is to check the OpenSSL key, upgrade to the latest 1.5.x patch (1.5.11), and run the migration command. Additionally, ensure that .env variables are identical on both machines.
D5
2 Oct, 2024, 21:56

Do you have backups?

someGuy
2 Oct, 2024, 21:58

Yes production is still running and have backups on new server

D5
2 Oct, 2024, 21:58

Probably the OpenSSL key is not set to the same value that it had in the previous version.

Also, I think that the 1.5.0 version migrations, etc is somewhat buggy, so try going to the latest 1.5.x patch instead (1.5.11 I think) and run the migration command

D5
2 Oct, 2024, 21:59

Also, @someGuy looks like there's a 1.4.x patch prior to 1.5

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