The error doesn’t get into the log because it happens rails cranks up:
root@test1-web-only:/var/www/discourse# rails c
bundler: failed to load command: pry (/var/www/discourse/vendor/bundle/ruby/3.2.0/bin/pry)
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.7/lib/zeitwerk/loader/helpers.rb:135:in `const_get': uninitialized constant PluginInstance (NameError)
parent.const_get(cname, false)
^^^^^^^^^^
Did you mean? PluginStore
I have replicated the error on another install. I’m trying to figure out which plugin it is right now.