Hello,
I’ve got the following errors in /logs. I am not sure this is related with Chat plugin but I found a line in backtrace which mention discourse-chat.
Discourse version: 5374e587a3
Discourse Chat plugin version: dcbfdbd502
info
Job exception: wrong number of arguments (given 3, expected 0..1)
backtrace
activerecord-6.1.4.1/lib/active_record/relation/finder_methods.rb:302:in `exists?'
activerecord-6.1.4.1/lib/active_record/querying.rb:22:in `exists?'
/var/www/discourse/plugins/discourse-chat/plugin.rb:165:in `block (2 levels) in activate!'
/var/www/discourse/app/jobs/scheduled/clean_up_uploads.rb:45:in `block (2 levels) in execute'
/var/www/discourse/app/jobs/scheduled/clean_up_uploads.rb:45:in `any?'
/var/www/discourse/app/jobs/scheduled/clean_up_uploads.rb:45:in `block in execute'
activerecord-6.1.4.1/lib/active_record/relation/batches.rb:71:in `block (2 levels) in find_each'
activerecord-6.1.4.1/lib/active_record/relation/batches.rb:71:in `each'
activerecord-6.1.4.1/lib/active_record/relation/batches.rb:71:in `block in find_each'
activerecord-6.1.4.1/lib/active_record/relation/batches.rb:138:in `block in find_in_batches'
activerecord-6.1.4.1/lib/active_record/relation/batches.rb:245:in `block in in_batches'
activerecord-6.1.4.1/lib/active_record/relation/batches.rb:229:in `loop'
activerecord-6.1.4.1/lib/active_record/relation/batches.rb:229:in `in_batches'
activerecord-6.1.4.1/lib/active_record/relation/batches.rb:137:in `find_in_batches'
activerecord-6.1.4.1/lib/active_record/relation/batches.rb:70:in `find_each'
/var/www/discourse/app/jobs/scheduled/clean_up_uploads.rb:38:in `execute'
/var/www/discourse/app/jobs/base.rb:232:in `block (2 levels) in perform'
rails_multisite-4.0.0/lib/rails_multisite/connection_management.rb:80:in `with_connection'
/var/www/discourse/app/jobs/base.rb:221:in `block in perform'
/var/www/discourse/app/jobs/base.rb:217:in `each'
/var/www/discourse/app/jobs/base.rb:217:in `perform'
/var/www/discourse/app/jobs/base.rb:279:in `perform'
mini_scheduler-0.13.0/lib/mini_scheduler/manager.rb:93:in `process_queue'
mini_scheduler-0.13.0/lib/mini_scheduler/manager.rb:37:in `block (2 levels) in initialize'
Thanks