I’m trying to change some forum settings through the console. I didn’t do that a lot yet so I searched for similar questions on the forum.
Unfortunately when executing ‘bundle exec rails c’ i get an error trace that ends with this line
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb:81:in `rescue in new_client': connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: Peer authentication failed for user "discourse" (ActiveRecord::NoDatabaseError)
Any idea what’s going on there? Forum itself runs fine - just updated to the latest version the other day.
SiteSetting.prometheus_trusted_ip_allowlist_regex=1.2.3.4 with escaping backslashes and quotes around it but nothing worked. 1.2.3.4 being a placeholder of my real IP.