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
- The console isnt showing documents
In console ui saved documents are being shown on frontend but i can see its showing 4 or number of docs available but in rows its only showing single doc and th...
- Create a project via REST API or SDK, mi...
I am currently self-hosting Appwrite in my local machine, deployed using docker script in the website. I also installed `appwrite-cli` through npm. I am trying...
- 1.8.1 - Databases - inline updating a ro...
When updating a database field via the inline edit method, the `$updatedAt` column does not get updated. Only if the row is updated by the "Update" interface (t...