Back

Can't login after restoring a backup

  • 0
  • Self Hosted
  • General
iStornZ
11 Mar, 2024, 08:24

Hello ! :appwrite:

My wish is to backup a server running on a computer A & restore it on a computer B to have two instances (dev & prod).

Here is the process I followed:

Now when I open the localhost address on computer B, I can't login with my credentials from computer A & when I try to register with a new account, I get : The current project has exceeded the maximum number of users. Please check your user limit in the Appwrite console. So my question is, how to login again & check if my server was correctlty restored?

Thanks :appwritepeepo:

TL;DR
Developers are trying to restore an Appwrite server backup from one machine to another. They used a script to back up and then restore the server, but they are unable to log in afterwards. The issue could be related to a mismatch in the `_APP_OPENSSL_KEY_V1` value in the `.env` file. To fix this, they need to ensure that the value matches across instances.
D5
11 Mar, 2024, 08:29

You need to login. Such error appears when registered. If you're not able to login with your credentials, double check that the docker compose has the _APP_OPENSSL_KEY_V1 set with the same value as your previous instance

iStornZ
11 Mar, 2024, 08:36

@D5 Thanks for your fast reply, I double checked but _APP_OPENSSL_KEY_V1 in .env file has the same value on both instances...

iStornZ
11 Mar, 2024, 08:45

@D5 Is the backup script backup saved account from Appwrite? Or I will need to create an Appwrite instance from scratch, create an account & then restore?

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