I have two separate servers both running Appwrite 1.6.0. I am trying to move all the data from the Appwrite instance running on Server A to the one running on Server B.
This is how I have gone about it:
- Took a dump of the DB on server A
- Created a volume backup of appwrite uploads and functions on Server A
- Copied the db dump and the backup volumes to server B
- Set the OPENSSL key to match on both servers
- Restored the db
- Restored the volumes
- Ran docker migrate to finish up the migration
Now after doing all this, I launch the console and try to login, I get an invalid credentials error. Now the smtp config is setup fine on server B so I reset the password and login. From the console, I can see that everything is there in the database, however when I go to the storage section, the files are there, but they are still encrypted, the images show broken links and can’t be previewed. What exactly is it that I am missing here?
Also, I am running both servers on Coolify, so if there is a simpler way of doing this, please let me know
Try recreating the containers and dump the redis cache from the server B
Ah I see, how can I take a backup of the redis cache?
I think you can just invalidate it and then restart appwrite
Don't try in the working server but in testing/B instance just in case
Also, the docs strictly prohibit doing this https://appwrite.io/docs/advanced/self-hosting/production
Where?
Recommended threads
- Sites Runtimes 1.8.0 Self-Hosting. Flutt...
I have a problem with the Flutter version for SITES RUNTIMES. I use self-hosting and updated to version 1.8.0, which according to the changelog says they updat...
- getFilePreview , getFileView , getFileDo...
I am on Appwrite self hosted 1.8.0 I use the web sdk 21.3.0 I created a bucket and it has this permission (users:create) then i enabled the file security then ...
- Custom Domain Verification Failed
Hi! I woke up to my app not working because of this custom domain verification failed error. I have not moved any DNS configuration since I set it up 3 years ag...