Jump to content

Talk:RabbitMQ

From ArchWiki
Latest comment: 13 February by Spectroman in topic Plugins Directory Missing

Plugins Directory Missing

I had a working installation that got broken after update (to 4.0.5), while trying to fix it, I got consistently errors of missing plugins.

I completely removed the RabbitMQ and reinstalled, it immediately started. But when I tried to re-enable the management plugin I got an error again:

Error: :plugins_dir_does_not_exist

Looking at the documentation, I figured it was missing the following environment variable:

PLUGINS_DIR="/usr/lib/rabbitmq/plugins:/usr/lib/rabbitmq/lib/rabbitmq_server-4.0.5/plugins"

After adding the line at '/etc/rabbitmq/rabbitmq-env.conf' and restarting rabbitmq, I was able to succesfully add the plugin.

The first path is useless at this point because there is no such directory "/usr/lib/rabbitmq/plugins" but can be used to link the long directory with versioning to a simple one during post-install activity in upgrades, so I will keep it there in hopes this will be more logical in the future, or another solution arises.

Ref.: https://www.rabbitmq.com/docs/plugins

Spectroman (talk) 10:27, 9 February 2025 (UTC)Reply

Thanks for the tip ! I added it to the page in RabbitMQ#Upgraded_RabbitMQ_to_latest_version_and_cannot_start, with info about the other issues I had with 4.0.5 update
Bzhb (talk) 09:40, 13 February 2025 (UTC)Reply
Indeed, I have also faced similar issues, but as my server was not a clean install, I could not be absolutely certain if the problems were due previous version remains or new version problems, but I can confirm I also found all those things as well. Spectroman (talk) 09:55, 13 February 2025 (UTC)Reply