# /sidekiq/scheduler ERROR 500

**URL:** https://meta.discourse.org/t/sidekiq-scheduler-error-500/78573
**Category:** Bug
**Created:** [January 21, 2018, 6:54am UTC](https://meta.discourse.org/t/sidekiq-scheduler-error-500/78573 "2018-01-21T06:54:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![appcomq](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/appcomq/32/84767_2.png) [@appcomq](https://meta.discourse.org/u/appcomq)
#### Post date: [January 21, 2018, 6:54am UTC](https://meta.discourse.org/t/sidekiq-scheduler-error-500/78573/1 "2018-01-21T06:54:46Z")

</div>

I have update to 2018-1-21 version, now /sidekiq/scheduler **ERROR 500**

```
NoMethodError (undefined method `bytesize' for nil:NilClass)
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/web/application.rb:289:in `block in call'

```

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [January 21, 2018, 10:25am UTC](https://meta.discourse.org/t/sidekiq-scheduler-error-500/78573/2 "2018-01-21T10:25:51Z")

</div>

I also see this error after updating to latest

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 21, 2018, 11:50pm UTC](https://meta.discourse.org/t/sidekiq-scheduler-error-500/78573/3 "2018-01-21T23:50:23Z")

</div>

Thanks for the report, fixed per:

[https://github.com/discourse/discourse/commit/36ed8f51766fd49a90c8cd761688879b5fdcbe9e](https://github.com/discourse/discourse/commit/36ed8f51766fd49a90c8cd761688879b5fdcbe9e)

And

[https://github.com/discourse/rails\_multisite/commit/78886e9965f7ff88f752677b1716609aea1f4e15](https://github.com/discourse/rails_multisite/commit/78886e9965f7ff88f752677b1716609aea1f4e15)

We regressed this when we upgraded rails multisite on Friday, but now have a test case to cover it!

cc @tgxworld

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 22, 2018, 11:00pm UTC](https://meta.discourse.org/t/sidekiq-scheduler-error-500/78573/4 "2018-01-22T23:00:02Z")

</div>

This topic was automatically closed after 23 hours. New replies are no longer allowed.
