I can’t delete topics and am wondering why that is.
Using the forum software I get a 500 Internal Server Error
Using the console:
$ cd /var/discourse/
$ sudo -s
# ./launcher enter app
# rake destroy:topics["Redaktion"]
Going to delete all topics in the Redaktion category
There are 102 topics to delete in Redaktion category
Deleting kontaktliste...
rake aborted!
MessageBus::InvalidMessageTarget: MessageBus::InvalidMessageTarget
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/message_bus-3.3.6/lib/message_bus.rb:373:in `publish'
/var/www/discourse/app/models/topic_tracking_state.rb:216:in `publish_delete'
/var/www/discourse/lib/post_destroyer.rb:195:in `perform_delete'
/var/www/discourse/lib/post_destroyer.rb:73:in `destroy'
/var/www/discourse/app/services/destroy_task.rb:25:in `block in destroy_topics'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/relation/batches.rb:71:in `block (2 levels) in find_each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/relation/batches.rb:71:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/relation/batches.rb:71:in `block in find_each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/relation/batches.rb:138:in `block in find_in_batches'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/relation/batches.rb:245:in `block in in_batches'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/relation/batches.rb:229:in `loop'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/relation/batches.rb:229:in `in_batches'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/relation/batches.rb:137:in `find_in_batches'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/relation/batches.rb:70:in `find_each'
/var/www/discourse/app/services/destroy_task.rb:19:in `destroy_topics'
/var/www/discourse/lib/tasks/destroy.rake:11:in `block in <main>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => destroy:topics
(See full trace by running task with --trace)
So, what did I wrong?