-
Notifications
You must be signed in to change notification settings - Fork 129
RabbitMQ upgrade
dtuantran edited this page Sep 12, 2023
·
5 revisions
Go to http://<instance_ip>:<rabbitmq_admin_port>/api/definitions and save the reponse (enter login and password as in .env)
docker-compose stop rabbit && docker-compose rm rabbit
rm -rvf .var/data/rabbitmq/*
git pull
docker build rabbit
docker-compose up -d
Connect to the instance by ssh and upload your json file at 1st step, execute :
curl -u <login>:<password> -H "Content-Type: application/json" -X POST -T autodl_definitions.json http://localhost:<rabbit_admin_port>/api/definitions
You can check if successed by doing the 1st step.
Remove the maintenance file
Verify if your submission can be processed.