In some cases, you may want to delete all RabbitMQ resources that were created for your Studio Server installation, for example when noticing odd behavior in the integration and you want to exclude any data corruption.
Because most resources are re-created automatically, it is a matter of deleting the basic components and let Studio Server re-create them.
This is a two-step process:
- Getting hold of the Studio Server System ID
- Deleting the Virtual Host in RabbitMQ
1. Getting hold of the Studio Server System ID
Step 1. Access the Health Check page by doing the following:
Step 1a. Click Advanced in the Maintenance menu or on the Home page.
Step 1b. Click Health Check.
Step 2. In the menu on the left, choose Config Overview.
Step 3. Search for Studio Server System ID and copy it or take a note of it.
2. Deleting the Virtual Host in Rabbit
Step 1. Access the RabbitMQ Admin page by doing the following:
Step 1a. Click Integrations in the Maintenance menu or on the Home page.
Step 1b. Click RabbitMQ.
Step 2. On the RabbitMQ page, click Admin.
Step 3. In the menu on the right, choose Virtual Hosts.
Step 4. Click the Virtual Host that matches the Studio Server System ID of Step 1.
Step 5. Expand the Delete this vhost section.
Step 6. Click Delete this virtual host.
The exchanges and queues related to the virtual host are deleted. These resources will be automatically re-created when users log on to Studio Server.
The users related to the virtual host will end up with no access at all. These authorizations will be repaired automatically when these users log on to Studio Server.
Step 7. (Optional, only when the user — as configured in the MESSAGE_QUEUE_CONNECTIONS option of configserver.php — has no access to the root Virtual Host "/" in RabbitMQ. When the user does have access, all RabbitMQ resources will be automatically recreated by Studio Server during the log on process). Perform the following steps:
Step 7a. Add a Virtual Host in RabbitMQ for Studio Server. For instructions, see Installing and configuring RabbitMQ.
Step7b. Grant admin rights to the created virtual host. For instructions, see Installing and configuring RabbitMQ.
Step 7c. Log in again to Studio Server.
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
Please sign in to leave a comment.