It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1.
Is that safe to do cause my clients already have data on that?
Also is all my project in 1.7.4 version will be affected when I make upgrading?
What is the right step to upgrade, I doing it now by changing the number on docker compose on it.
I am using coolify to self host my appwrite database
iirc it's better to upgrade to the latest patch, migrate, then update to the next minor version and first patch (so 1.8.0), migrate, then update the patch version again
so if there is 1.7.5 update first to that before, then 1.8.0, then 1.8.1
you can check this link for upgrade path : https://appwrite.io/docs/advanced/self-hosting/production/updates
so its safe, to upgrade my existing selfhost version, even theres a data on it already?
yes, tho i would always suggest backing up the data just in case something goes wrong
and remember to NOT upgrade directly to the latest but follow the upgrade path they show in the link above
how can i backup data? there no export on selfhosted appwrite. version 1.7.4 and 1.8.1?
You can create a function to let u export
Do u use any ai CLI?
I use opencode CLI.... tell it to backup functions, sites, database the entire project
to backup data, you backup all the appwrite volumes from docker + export the mariadb database (mysqldump if i'm not wrong)
so in case the upgrade fail, you can just restore the docker volume and the mariadb database then retry
I dont know to do that yet. hehe
I will explore it. thanks
they have a nice doc for that : https://appwrite.io/docs/advanced/self-hosting/production/backups
Recommended threads
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.