Upgrading RabbitMQ and Erlang - Ordering and errors after upgrading #2764
-
I have a machine that I've used WIX to install RabbitMQ 3.7.3 and Erlang 20.0 in the past. Now I want to upgrade to RabbitMQ 3.7.28 or later to get the patch fixes. I've tried upgrading RabbitMQ to 3.7.28 first and then installing Erlang 21.3 according to the Compatibility Matrix and the upgrade instructions Order of installation:
I've also tried upgrading to the latest RabbitMQ, 3.8.11, with Erlang 23.2. Order of installation:
In both cases, I am getting a error when running the "rabbitmqctl.bat status" command after completely the upgrades: 11:48:41.295 [error] beam/beam_load.c(1862): Error loading module 'Elixir.RabbitMQCtl': ** (UndefinedFunctionError) function RabbitMQCtl.main/1 is undefined (module RabbitMQCtl is not available) Any help on how I can debug this or if I am doing something wrong with the ordering would be helpful! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You must uninstall the previous version of Erlang before installing a new Erlang and RabbitMQ version. This is due to the fact that the RabbitMQ Please see the following documentation: https://www.rabbitmq.com/install-windows.html#upgrading-erlang (Note: we need to add a caveat about uninstalling Erlang - rabbitmq/rabbitmq-website#1136) https://www.rabbitmq.com/windows-quirks.html#multiple-erlang-versions |
Beta Was this translation helpful? Give feedback.
You must uninstall the previous version of Erlang before installing a new Erlang and RabbitMQ version. This is due to the fact that the RabbitMQ
.exe
installer searches for the Erlang installation in a way that sometimes selects the old version as the one to use.Please see the following documentation:
https://www.rabbitmq.com/install-windows.html#upgrading-erlang (Note: we need to add a caveat about uninstalling Erlang - rabbitmq/rabbitmq-website#1136)
https://www.rabbitmq.com/windows-quirks.html#multiple-erlang-versions