Can I as an admin enforce the option as well? Because tags are part of the forum experience and without it some users would miss out on extra context about topics. I really like the Horizon theme now with enriched topic details ![]()
The part about “Excerpts”, which can be enabled with: Enable with bin/rails r ‘SiteSetting.always_include_topic_excerpts = true’ that doesn’t seem to work for me.
/var/www/discourse# bin/rails r ‘SiteSetting.always_include_topic_excerpts = true’
fatal: detected dubious ownership in repository at '/var/www/discourse'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www/discourse
/var/www/discourse/config/initializers/000-pg_connection_patch.rb:21:in `rescue in new_client': We could not find your database: discourse. Available database configurations can be found in config/database.yml. (ActiveRecord::NoDatabaseError)
To resolve this error:
- Did you not create the database, or did you delete it? To create the database, run:
bin/rails db:create
- Has the database name changed? Verify that config/database.yml contains the correct database name.
I don’t want to mess too much with this. I guess I’ll just leave it as is. But still leaving the error here in case my setup is broken or something in Discourse can be fixed.