HomeGuidesSDK ExamplesAnnouncements
Guides

MaxAI Upgrade Guide

Connect to Server as Max User

Connect to the server and login as the as themaxuser (or whichever user that owns the /opt/answerrocketdir):

sudo su - max

Shutdown Service

cd /opt/answerrocket
./scripts/prod-compose.sh down

Pull Latest Version

run the following command replacing {version} in the aws s3 cp command with the latest version:

cd /opt/answerrocket
aws s3 cp s3://aglabs-deployment/docker/docker-upgrade-bundle-v{version}.tar /opt/answerrocket/
tar -xvf /opt/answerrocket/docker-upgrade-bundle-v{version}.tar

Authenticate AWS

./scripts/aws-cli-registry-auth.sh

Start the MaxAI Application

You can now restart the MaxAI application.

Depending on where you host your SSL Certificates you must run either theprod-compose.sh orinternal-compose.sh script.

If using self-provisioned SSL Certs placed in the VM:

cd /opt/answerrocket
./scripts/prod-compose.sh up -d

If using a Load Balancer to manage SSL Certs:

cd /opt/answerrocket
./scripts/internal-compose.sh up -d

Did this page help you?