Disable Automatic Updates
In Appsmith, the automatic updates are turned off by default. You may choose to schedule the automatic updates. This page provides steps to disable the scheduled automatic updates for your self-hosted instance.
- Docker
- Kubernetes
Follow the below steps to switch off automatic updates:
-
Go to the root directory of the Appsmith installation and run:
docker-compose down
-
Open the
docker-compose.yml
file and comment out the below code block:#auto_update:
# image: containrrr/watchtower
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# # Update check interval in seconds.
# command: --schedule "0 0 * ? * *" --label-enable --cleanup
# restart: unless-stopped
# depends_on:
# - appsmith
# environment:
# - WATCHTOWER_LIFECYCLE_HOOKS=true -
Save the changes and restart the Appsmith instance with:
docker-compose up -d --force-recreate
-
Verify that the automatic update is turned off with:
docker-compose ps
Follow the steps below to turn off auto updates:
Steps for Commercial Edition:
-
Go to the Appsmith installation directory, and edit
values.yaml
, and setenabled
tofalse
forautoupdate
attribute:autoupdate:
## @param autoupdate.enabled - Enable config autoupdate
##
enabled: false -
Save the changes and update the configuration with:
helm upgrade --values values.yaml appsmith appsmith-ee/appsmith
Steps for Community Edition:
-
Go to the Appsmith installation directory, and edit
values.yaml
, and setenabled
tofalse
forautoupdate
attribute:autoupdate:
## @param autoupdate.enabled - Enable config autoupdate
##
enabled: false
## @param autoupdate.scheduler - Schedule cron job to check & update Helm image
##
scheduler: "0 * * * *" -
Save the changes and update the configuration with:
helm upgrade --values values.yaml appsmith appsmith/appsmith
Troubleshooting
If you face issues, contact the support team using the chat widget at the bottom right of this page.
See also
- Schedule Automatic Updates - Learn how to schedule automatic updates.