Update & Migrate your Appwrite instance sequentially with a small script π!
- Updates: Fetch and apply the latest Appwrite version seamlessly.
- Version Selection: Choose a specific version to update to, with a default to the latest.
- Sequential Version Migration: If you select a version several releases ahead, the script updates version by version, ensuring proper migration of the internal dataset and databases for each incremental update.
- Migration Management: Run migrations post-update.
- Space Cleanup: Remove previous Docker image to free up space.
- Docker / Docker Desktop
jq
for JSON processing
-
Navigate to the correct folder:
Navigate to where yourappwrite
folder is. Directory structure is same asappwrite
requires -parent_directory <= you run the commands in this directory βββ appwrite βββ docker-compose.yml
-
Get the script:
curl -o appwrite-updater.sh https://raw.githubusercontent.com/ItzNotABug/AppwriteUpdaterScript/master/appwrite-updater.sh && chmod +x appwrite-updater.sh
-
Run the Script:
./appwrite-updater.sh
Follow the prompts to select the version you wish to update to. If no input is provided, the script defaults to the latest version.
Contributions are welcome! Feel free to fork, improve, and submit a pull request.
This script is independently maintained and not an official appwrite product. Use at your own risk.
Note: The script is tested on a Mac system only.