LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to update rabbitmq

My IT department has let me know that my system is getting flagged for security issues with RabbitMQ and that the solution is to update it to 3.8.16+.  Searching my system, I've discovered that Rabbit MQ is part of my LabVIEW 2020 installation.  Since LabVIEW is up to date to SP1, how do I update RabbitMQ?

0 Kudos
Message 1 of 8
(971 Views)

I believe that RabbitMQ is a third-party offering with which modern versions (at least from LabVIEW 2019) can interact.  As I recall, it is offered (during LabVIEW Installation) as an "Additional Product".  As far as I know, it is not an NI Product, but LabVIEW can install "hooks" to it (not unlike offering the Report Generation Toolkit with "hooks" to Microsoft Office).

 

If this is accurate, you should probably be able to find RabbitMQ as an "installed Product" when you open NIPM (which was the program that installed it in the first place).  See if you find it, and see if the appropriate Update is available through NIPM.  Do let us know what you find, as your experience may be of benefit to other users of this Forum.

 

Bob Schor

0 Kudos
Message 2 of 8
(951 Views)

Hello Bob,

 

I searched through NIPM and couldn't find any mention of RabbitMQ.  I've filed a support tech so we'll see if they are of any help.  I'll update this thread as soon as I get word.

 

Thank you for replying,

Ron

0 Kudos
Message 3 of 8
(900 Views)

If you look under Installed Apps (r-click windows menu) you can find RabbitMQ. I have 3.8.6. You should be able to run an upgraded installer unless they specifically says it'll break something. It's used in System Link so you probably won't be affected anyway. 🙂

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 8
(880 Views)

Yes, I found it and the version is 3.8.2.  The only option it has is "uninstall".  I've emailed NI tech support to find out if I can uninstall it without messing up LabVIEW.

 

Tech support did send me the same link I found at the rabbitmq site for updating.  However, it's a convoluted process and looks to need more time than I have available at the moment.  For now it's a last resort, weekend project.

0 Kudos
Message 5 of 8
(844 Views)

Here is the reply I received from NI Tech Support.  Since they didn't have any direct update procedures, I asked about uninstalling RabbitMQ.  After going through the following steps, LabVIEW seems to work faster.  It's still early on, but I haven't noticed any issues removing RabbitMQ and Erlang.  Hope this helps everyone:

 

"The only options to remove rabbitmq from NIPM are the following:

1. Go into NI Package Manager and make sure that the Show full version numbers and hidden packages option is checked from inside the menu accessed by selecting the cog in the upper right-hand corner of NI Package Manager. 
 

mysticfree_0-1698832812530.png


2. Go to the Installed tab and uncheck the box Products only. 
3. Enter "rabbit" into the search bar. Uninstall anything that shows up in that list. 
4. Enter "erlang" into the search bar. Uninstall anything that shows up in that list.
5. Go to the Windows Add or Remove Programs menu and search for the RabbitMQ server entry and OTP Erlang. Make sure to uninstall these as well if they are present. 
6. Delete the cache of the packages downloaded by deleting the contents of "C:\ProgramData\National Instruments\MDF\ProductCache"

as well as "C:\ProgramData\National Instruments\NI Package Manager\packages"."
Message 6 of 8
(824 Views)

6. Delete the cache of the packages downloaded by deleting the contents of "C:\ProgramData\National Instruments\MDF\ProductCache"

as well as "C:\ProgramData\National Instruments\NI Package Manager\packages"."

I wouldn't recommend this step, as it could hinder or completely break the ability to repair or create deployment installers from LabVIEW (as these folders are the source for those operations).
0 Kudos
Message 7 of 8
(808 Views)

yeah, I wasn't too keen on those deletions.  So I moved them on to a separate hard drive in case I need to restore some of them.  Although I did find this about clearing the product cache from NI's site:

 

Clearing the Product Cache

The product cache, located at <Program Files>\National Instruments\Shared\ProductCache and at <ProgramData>\National Instruments\MDF\ProductCache on Microsoft Windows 10/8.1/7, contains copies of NI installers you can include in the installer you build with the TestStand Deployment Utility.

If the deployment utility cannot locate the required installers in the product cache, the utility prompts you to copy the installers from the appropriate NI distribution media before you create the deployment. Enable the Copy The Selected Installers And All Future Installers to This Computer option in the Drivers and Components dialog box for the deployment utility to copy the installers to the product cache when the deployment utility builds an installer that contains drivers and to make all NI products copy the installers to the product cache when you run the installers.

If the deployment utility returns errors when you try to build an installer that includes NI drivers or components, deleting the files in the product cache might resolve the error if the product cache includes out-of-date or corrupt files.

If you do not plan to include NI drivers or components in the installer you build with the deployment utility, you can safely delete the files in the product cache.

Note If you delete files from the product cache, you must exit and restart the deployment utility to refresh the list of files in the cache.
Message 8 of 8
(800 Views)