Upgrade Appsmith Versions
This page provides step-by-step instructions to update Appsmith to the latest version on your self-hosted instance.
Prerequisites
Before updating, ensure the following prerequisites are met:
- At least 2 GB of free storage for backup and update tasks.
- Update your embedded or external MongoDB server to version 5.0 or later. Refer to the compliant platforms and follow the MongoDB Replica Set Upgrade Guide.
- Create a backup of your Appsmith instance. Follow the Backup instance guide.
Update Appsmith
Follow these steps to update Appsmith to latest version on your self-hosted instance:
- Docker
- Kubernetes
- AWS ECS on EC2
- Azure Container Instance
- DigitalOcean
These instructions are applicable to platforms using Docker, including Docker standalone, AWS AMI, and similar platforms:
If your current version is older than v1.9.2. Refer to the Upgrade to Checkpoint Version (v1.9.2) guide before updating Appsmith to the latest release.
- Locate your Appsmith installation directory by running:
docker inspect -f '{{ (index .Mounts 0).Source }}' <APPSMITH_CONTAINER_ID>
- Pull the latest Appsmith image and restart the container:
docker-compose pull && docker-compose rm -fsv appsmith && docker-compose up -d
If your current version is older than v1.9.2. Refer to the Upgrade to Checkpoint Version (v1.9.2) guide before updating Appsmith to the latest release.
Note: The following instructions assume you followed our Kubernetes install guide exactly. If you made changes—such as using a different Helm release name, namespace, etc.—you’ll need to adjust the commands accordingly.
- Retrieve the latest Appsmith version
Find the latest release version on GitHub.
-
Locate your Helm
values.yaml
file- If you still have the
values.yaml
file from your initial installation, navigate to its directory:cd /path/to/your/values-file
- If you no longer have the file, you can retrieve it from your cluster:
helm get values appsmith-ee -n appsmith-ee | grep -v "USER-SUPPLIED" > values.yaml
- If you still have the
-
Update the image tag in
values.yaml
- If you have
yq
installed:APPSMITH_VERSION=<version>
yq -i ".image.tag = \"$APPSMITH_VERSION\"" values.yaml - If you don’t have
yq
, manually editvalues.yaml
with your preferred text editor to set the new version:image:
tag: <version>
- If you have
-
Apply the upgrade using Helm
Run the following command to upgrade your Appsmith installation:
helm upgrade appsmith-ee -n appsmith-ee -f values.yaml
- Log in to your AWS account and navigate to the Amazon ECS console.
- Select the cluster containing the container instance to update.
- Stop the task and allow the system to deploy a new task automatically.
- Verify the updated version is running successfully.
- Navigate to the Azure Portal and locate the Azure Container Instance running Appsmith.
- Restart the container by clicking the Restart button.
If your current version is older than v1.9.2. Refer to the Upgrade to Checkpoint Version (v1.9.2) guide before updating Appsmith to the latest release.
-
SSH into your droplet and navigate to the Appsmith installation directory:
cd /root/appsmith
-
Pull the latest image and restart the installation:
docker-compose pull && docker-compose rm -fsv appsmith && docker-compose up -d
Troubleshooting
If you encounter errors during the update, roll back to a previous version using the Restore instance guide. If issues persist, contact support using the chat widget available on the bottom-right of this page.
See also
- Schedule automatic updates for Appsmith installation: Learn how to schedule updates to keep your installation up-to-date effortlessly.