Closed Matty-uk closed 9 months ago
52 = Java 8
I need to figure out and correct the version used to Java 11 which is installed. So not a bug.
Encase anyone comes across this, needed to run as root (or sudo) the 'alternatives --config java' command and change the system wide java to 11 from 8.
Describe the Bug
Updating from pupperserver 8.3.0 to 8.4.0 on RHEL8 running java 11 results in service startup failure
Expected Behavior
Our two puppetservers were automatically updated last night (8.3.0 to 8.4.0) and subsequently failed to start.
Steps to Reproduce
Steps to reproduce the behavior:
Environment
Additional Context
Performing a 'dnf downgrade puppetserver' returns the version to 8.3.0 and the service starts again.
Log for 8.4.0 show: com/puppetlabs/puppetserver/JRubyPuppetResponse has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Java Support at 'https://www.puppet.com/docs/puppet/8/server/install_from_packages.html' shows Java 11 as being supported. So either this needs fixing or the documentation needs to be updated.