Whenever a new version of Chatwoot is released, use the following steps to upgrade your instance.
Note To install
cwctl, refer this section below.
Note If you are on an older version of Chatwoot(<2.7), follow the manual upgrade steps if you face errors with
This upgrade method is applicable for all manual linux installations including installation using aws marketplace.
Update the images using the latest image from chatwoot.
docker-compose up -d
rails db:chatwoot_prepare option after accessing the console from one of the containers running the latest image.
docker exec -it $(basename $(pwd))_rails_1 sh -c 'RAILS_ENV=production bundle exec rails db:chatwoot_prepare'
This upgrade guide is applicable for Chatwoot DigitalOcean 1-click k8s app and any other Kubernetes deployment using
helm repo update and check the version of charts that is going to be installed. Helm charts follows semantic versioning and so if the MAJOR version is different from your installed version, there might be breaking changes. Please refer to the changelog before upgrading.
# update helm repositories
helm repo update
# list your current installed version
# show the latest version of charts that is going to be installed
helm search repo chatwoot
#if it is major version update, refer to the changelog before proceeding
helm upgrade chatwoot chatwoot/chatwoot -f <your-custom-values>.yaml
- Pull the latest changes from Chatwoot github repo to your fork. Use the fetch upstream changes feature on Github.
- Deploy the latest branch to your heroku app.