package graylog-server-5.1.5-1.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64

New installation on AlmaLinux release 8.8

Followed the basic install instructions - and things mostly worked as expected. Graylog is installed and operating. For my use case, trying to now add graylog-enterprise - However, it did not end well.

# sudo yum install graylog-enterprise
Last metadata expiration check: 2:16:48 ago on Fri Sep  8 07:19:30 2023.
Error: 
 Problem: problem with installed package graylog-server-5.1.5-1.x86_64
  - package graylog-server-5.1.5-1.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64
  - package graylog-enterprise-5.1.5-1.x86_64 conflicts with graylog-server provided by graylog-server-5.1.5-1.x86_64
  - package graylog-enterprise-5.1.5-1.x86_64 conflicts with graylog-server provided by graylog-server-5.1.0-1.beta.1.x86_64
  - package graylog-server-5.1.0-1.beta.1.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64
  - package graylog-enterprise-5.1.5-1.x86_64 conflicts with graylog-server provided by graylog-server-5.1.0-2.beta.2.x86_64
  - package graylog-server-5.1.0-2.beta.2.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64
  - package graylog-enterprise-5.1.5-1.x86_64 conflicts with graylog-server provided by graylog-server-5.1.0-3.beta.3.x86_64
  - package graylog-server-5.1.0-3.beta.3.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64
  - package graylog-enterprise-5.1.5-1.x86_64 conflicts with graylog-server provided by graylog-server-5.1.0-4.rc.1.x86_64
  - package graylog-server-5.1.0-4.rc.1.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64
  - package graylog-enterprise-5.1.5-1.x86_64 conflicts with graylog-server provided by graylog-server-5.1.0-5.rc.2.x86_64
  - package graylog-server-5.1.0-5.rc.2.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64
  - package graylog-enterprise-5.1.5-1.x86_64 conflicts with graylog-server provided by graylog-server-5.1.0-6.x86_64
  - package graylog-server-5.1.0-6.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64
  - package graylog-enterprise-5.1.5-1.x86_64 conflicts with graylog-server provided by graylog-server-5.1.1-1.x86_64
  - package graylog-server-5.1.1-1.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64
  - package graylog-enterprise-5.1.5-1.x86_64 conflicts with graylog-server provided by graylog-server-5.1.2-1.x86_64
  - package graylog-server-5.1.2-1.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64
  - package graylog-enterprise-5.1.5-1.x86_64 conflicts with graylog-server provided by graylog-server-5.1.3-1.x86_64
  - package graylog-server-5.1.3-1.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64
  - package graylog-enterprise-5.1.5-1.x86_64 conflicts with graylog-server provided by graylog-server-5.1.4-1.x86_64
  - package graylog-server-5.1.4-1.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64
  - cannot install the best candidate for the job
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

I initially assumed the enterprise package would add the additional capabilities. However, it appears that it might be a replacement package. Assuming that is the case, what is the migration path to move from community to enterprise without reconfiguring everything?

Worst case scenario, if I need to reinstall, how is the Cluster ID generated? Will this change, because I just submitted a license request using the current ID.

Hey @gregk

Have you tried and make sure you backup Graylog up.
You may need to change the package names

yum clean all
yum remove graylog-integrations-plugins graylog-enterprise-plugins graylog-enterprise-integrations-plugins
yum install graylog-enterprise

You suggested removing some plugins. However, there are no plugins installed. This was a clean install, not an upgrade.

# rpm -qa | grep graylog
graylog-5.1-repository-1-2.noarch
graylog-server-5.1.5-1.x86_64

Hey @gregk

Look like you have a couple different packages for Graylog server installed.

  • package graylog-server-5.1.0-1.beta.1.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64

    • package graylog-server-5.1.0-4.rc.1.x86_64 conflicts with graylog-enterprise provided by graylog-enterprise-5.1.5-1.x86_64

Nope. Just the repo and Graylog. It feels like it’s a bunch of broken dependencies in the enterprise package. It’s extrapolating all of those other package names from the RPM metadata - I didnt install them.

# rpm -qa | grep graylog
graylog-5.1-repository-1-2.noarch
graylog-server-5.1.5-1.x86_64

Never had that happen. thats kind of weird it shows release candidate and a beta version package installed

I took the time today to download both RPM’s and unpack them into a temporary directory. Problem is pretty simple. Both Graylog-server and Graylog-enterprise RPM files have 99% of files in common. This conflicts with the instructions in Graylog-server, which tell you to install plugins to get the other features. Fact is, there is no plugin available to install. The only solution if you’re using RPM files is an uninstall and reinstall.

If it was a strategic decision to make it harder to start open and move to the enterprise package, congratulations Graylog. Mission accomplished.

For rpm based linux distros you can use the following command:

yum swap graylog-server graylog-enterprise

hope that helps.