Job Delete Replies error

Hello,

I have got a lot of error in /logs. It seems the Jobs::DeleteReplies job cannot complete because the minutes method undefined.

Maybe related with this commit?
https://github.com/discourse/discourse/commit/4af77f1e3854c564c8404e08b83e786fd25a7bfe

I am on the latest version: f700e318a4

Message (25636 copies reported)

Job exception: undefined method `minutes' for nil:NilClass


Backtrace

/var/www/discourse/app/jobs/regular/delete_replies.rb:14:in `execute_timer_action'

/var/www/discourse/app/jobs/regular/topic_timer_base.rb:17:in `execute'

/var/www/discourse/app/jobs/base.rb:232:in `block (2 levels) in perform'

rails_multisite-2.5.0/lib/rails_multisite/connection_management.rb:76: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'

sidekiq-6.1.3/lib/sidekiq/processor.rb:196:in `execute_job'

sidekiq-6.1.3/lib/sidekiq/processor.rb:164:in `block (2 levels) in process'

sidekiq-6.1.3/lib/sidekiq/middleware/chain.rb:138:in `block in invoke'

/var/www/discourse/lib/sidekiq/pausable.rb:138:in `call'

sidekiq-6.1.3/lib/sidekiq/middleware/chain.rb:140:in `block in invoke'

sidekiq-6.1.3/lib/sidekiq/middleware/chain.rb:143:in `invoke'

sidekiq-6.1.3/lib/sidekiq/processor.rb:163:in `block in process'

sidekiq-6.1.3/lib/sidekiq/processor.rb:136:in `block (6 levels) in dispatch'

sidekiq-6.1.3/lib/sidekiq/job_retry.rb:112:in `local'

sidekiq-6.1.3/lib/sidekiq/processor.rb:135:in `block (5 levels) in dispatch'

sidekiq-6.1.3/lib/sidekiq.rb:38:in `block in <module:Sidekiq>'

sidekiq-6.1.3/lib/sidekiq/processor.rb:131:in `block (4 levels) in dispatch'

sidekiq-6.1.3/lib/sidekiq/processor.rb:257:in `stats'

sidekiq-6.1.3/lib/sidekiq/processor.rb:126:in `block (3 levels) in dispatch'

sidekiq-6.1.3/lib/sidekiq/job_logger.rb:13:in `call'

sidekiq-6.1.3/lib/sidekiq/processor.rb:125:in `block (2 levels) in dispatch'

sidekiq-6.1.3/lib/sidekiq/job_retry.rb:79:in `global'

sidekiq-6.1.3/lib/sidekiq/processor.rb:124:in `block in dispatch'

sidekiq-6.1.3/lib/sidekiq/logger.rb:11:in `with'

sidekiq-6.1.3/lib/sidekiq/job_logger.rb:33:in `prepare'

sidekiq-6.1.3/lib/sidekiq/processor.rb:123:in `dispatch'

sidekiq-6.1.3/lib/sidekiq/processor.rb:162:in `process'

sidekiq-6.1.3/lib/sidekiq/processor.rb:78:in `process_one'

sidekiq-6.1.3/lib/sidekiq/processor.rb:68:in `run'

sidekiq-6.1.3/lib/sidekiq/util.rb:15:in `watchdog'

sidekiq-6.1.3/lib/sidekiq/util.rb:24:in `block in safe_thread'

2 Likes
4 Likes