-
Notifications
You must be signed in to change notification settings - Fork 28
Upgrade RabbitMQ
ObadaS edited this page Sep 17, 2024
·
8 revisions
This intervention is needed when upgrading from a version equal or lower than v1.0.0
Go to http://<instance_ip>:<rabbitmq_admin_port>/api/definitions and save the response (enter login and password as configured in .env
)
For example:
docker compose stop rabbit && docker compose rm rabbit
sudo rm -rvf var/rabbit/*
Add WORKER_CONNECTION_TIMEOUT=<your timeout value>
into your .env
file with your custom value. Then execute:
git pull
docker compose 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 <your definitions file>.json http://localhost:<rabbit_admin_port>/api/definitions
You can check if it succeeded by doing the 1st step.