is puppetserver broken?

Clean install of puppetserver8-8.7.0_2, default config, our poudriere repo...
installed with `pkg install puppetserver8`
uname: FreeBSD vm-puppet 13.5-RELEASE FreeBSD 13.5-RELEASE releng/13.5-n259162-882b9f3f2218 GENERIC amd64
Any request from puppet agent ended with:
Code:
2026-03-05T11:22:15.506+03:00 ERROR [qtp2111958272-45] [puppetserver] Puppet Server Error: Failed to serialize Puppet::FileServing::Metadata for 'plugins': Could not render_multiple to Puppet::Network::Format[json]: undefined method `except' for #<JSON::Ext::Generator::State:0x1f0919a7>
Did you mean?  exec
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/api/indirected_routes.rb:195:in `block in first_response_formatter_for'
org/jruby/RubyEnumerable.java:664:in `find'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/api/indirected_routes.rb:186:in `first_response_formatter_for'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/api/indirected_routes.rb:156:in `do_search'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/api/indirected_routes.rb:54:in `block in call'
/usr/local/lib/ruby/site_ruby/3.3/puppet/context.rb:64:in `override'
/usr/local/lib/ruby/site_ruby/3.3/puppet.rb:292:in `override'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/api/indirected_routes.rb:53:in `call'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/api/server/v3.rb:18:in `block in wrap'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/route.rb:85:in `block in process'
org/jruby/RubyArray.java:1981:in `each'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/route.rb:84:in `process'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/route.rb:91:in `process'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/route.rb:91:in `process'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/handler.rb:88:in `block in process'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/handler.rb:71:in `block in with_request_profiling'
/usr/local/lib/ruby/site_ruby/3.3/puppet/util/profiler/around_profiler.rb:59:in `profile'
/usr/local/lib/ruby/site_ruby/3.3/puppet/util/profiler.rb:53:in `profile'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/handler.rb:67:in `with_request_profiling'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/handler.rb:87:in `block in process'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/handler.rb:94:in `respond_to_errors'
/usr/local/lib/ruby/site_ruby/3.3/puppet/network/http/handler.rb:86:in `process'
uri:classloader:/puppetserver-lib/puppet/server/master.rb:69:in `block in handleRequest'
/usr/local/lib/ruby/site_ruby/3.3/puppet/context.rb:64:in `override'
/usr/local/lib/ruby/site_ruby/3.3/puppet.rb:292:in `override'
uri:classloader:/puppetserver-lib/puppet/server/master.rb:68:in `handleRequest'
May be i doing something wrong?
 
Admittedly, these are puppet agents that have been running for at least a decade. Changes in hieradata and/or puppet code on the server get applied to my clients though. I've dug around trying to find the cause of the error, but haven't been able to nail it down yet. Because everything appeared to be working correctly I haven't spent a lot of time on the issue.

It's probably a single gem that's causing it. I've seen that happen before, the Java/JRuby construction of puppetserver is always quite finicky when it comes to gem updates.
 
Admittedly, these are puppet agents that have been running for at least a decade. Changes in hieradata and/or puppet code on the server get applied to my clients though. I've dug around trying to find the cause of the error, but haven't been able to nail it down yet. Because everything appeared to be working correctly I haven't spent a lot of time on the issue.

It's probably a single gem that's causing it. I've seen that happen before, the Java/JRuby construction of puppetserver is always quite finicky when it comes to gem updates.
yes, on older agents evething work fine, even an update puppet code... but new modules does not deploy to clients
On new client directory /var/puppet/lib always empty, and and errors like "Resource type '...' was not found" occur.
 
Back
Top