I managed to restore DB+Volumes from a server to another one with another domain but when I try to click my project on the console, I get error "404 - Project with the requested ID could not be found. Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used.". Should I change something in .env or some records in DB ? Thx.
restore backup on another server with another domain self-hosted
I can help 👍 This usually happens because the project ID stored in the client / console config doesn’t match the project ID in the restored database. After moving to a new server/domain, the Appwrite Console may still be sending an old X-Appwrite-Project value. You typically need to update the project ID in your .env (and any client configs) to match the restored project, not manually edit DB records. Quick check: Does the project exist when you list projects via the Appwrite CLI or API on the new server? What Appwrite version are you running, and did you restore the projects collection as well?
Recommended threads
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...