notice
This is documentation for Rasa X Documentation v0.38.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (1.1.x).
Update Rasa X
To see which version of Rasa X you are currently running, hit the /version
endpoint:
To update to a newer version, choose the instructions that correspond to how you currently have Rasa X deployed:
Local Mode
To upgrade to the latest version of Rasa X Local mode, use these commands:
You can also specify a version to install, like so:
Server Quick-Install
If you installed Rasa X using the quick-install script, you can update your Rasa X installation to the latest version by re-running the command that you used for the installation.
To update or downgrade to a specific version of Rasa X, use the RASA_X_VERSION
environment variable described in the Server Quick-Install section.
Helm Chart
To upgrade the Rasa X chart to a newer version you can use this command:
Alternatively, you can update the Rasa X and Rasa Open Source
version in your
values.yml
file and follow the instructions for making changes to a
deployment.
You can get the latest Rasa Open Source version from the bottom left corner in the Rasa Open Source Docs.
Docker Compose
Docker Compose Install Script
note
Be aware that while updating, the following files will be overwritten:
/etc/rasa/docker-compose.yml
/etc/rasa/.env
Make sure there are no changes in these files that you still need. This means
that instead of directly modifying docker-compose.yml
to e.g. add a custom
channel volume or custom action server image, you should rather
create a new file called docker-compose.override.yml
. Docker will
automatically take that file into account and override any attributes in
docker-compose.yml
with changes from the override file.
- To install an update, fetch the
install.sh
for the latest version, and run it (if you are using Rasa Enterprise, make sure that your license is in your working directory for this step):
Make sure that the Docker environment file is updated with the newly installed versions by running:
cd /etc/rasacat .envAfter the installation is complete, pull the images:
cd /etc/rasasudo docker-compose pullBring down your running Rasa X instance and start the updated version:
sudo docker-compose downsudo docker-compose up -d
Docker Compose Manual Install
note
Be aware that while updating, the following files will be overwritten:
/etc/rasa/docker-compose.yml
/etc/rasa/.env
Make sure there are no changes in these files that you still need. This means
that instead of directly modifying docker-compose.yml
to e.g. add a custom
channel volume or custom action server image, you should rather
create a new file called docker-compose.override.yml
. Docker will
automatically take that file into account and override any attributes in
docker-compose.yml
with changes from the override file.
Download the Rasa X files (
docker-compose.ce.yml
andrasa_x_commands.py
) for the latest version:Rasa X:
cd /etc/rasawget -qO docker-compose.yml [https://storage.googleapis.com/rasa-x-releases/](https://storage.googleapis.com/rasa-x-releases/)0.38.2/docker-compose.ce.ymlwget -qO rasa_x_commands.py [https://storage.googleapis.com/rasa-x-releases/](https://storage.googleapis.com/rasa-x-releases/)0.38.2/rasa_x_commands.pyRasa Enterprise:
cd /etc/rasawget -qO docker-compose.yml [https://storage.googleapis.com/rasa-x-releases/](https://storage.googleapis.com/rasa-x-releases/)0.38.2/docker-compose.ee.ymlwget -qO rasa_x_commands.py [https://storage.googleapis.com/rasa-x-releases/](https://storage.googleapis.com/rasa-x-releases/)0.38.2/rasa_x_commands.pyUpdate your
.env
with the relevant values:
Pull the new images:
# If you are using Rasa Enterprise, log in to the private Docker registrysudo docker login -u _json_key -p "$(cat /etc/rasa/gcr-auth.json)" https://gcr.io# Pull the new imagessudo docker-compose pullBring down your running Rasa X instance and start the updated version:
sudo docker-compose downsudo docker-compose up -d