# Ensure sidekiq is running?

**URL:** <https://meta.discourse.org/t/ensure-sidekiq-is-running/64774>\
**Category:** Self-hosting\
**Created:** [June 19, 2017, 11:02pm UTC](https://meta.discourse.org/t/ensure-sidekiq-is-running/64774 "2017-06-19T23:02:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)\
**Post date:** [June 19, 2017, 11:02pm UTC](https://meta.discourse.org/t/ensure-sidekiq-is-running/64774/1 "2017-06-19T23:02:17Z")

</div>

This started today out of the blue.

![](https://global.discourse-cdn.com/meta/original/3X/2/0/2001778ddceb882fc1c0e46e515b64d192f2fb10.png)

I’ve searched the forum and tried all this:

1. Upgrading manually to the latest git and rebuilding the app
2. Rebooting the machine as @codinghorror suggested
3. Checked diskspace, over 20GB free
4. Trying what @clay suggested - trying to flush the queue (and then restarted and EVEN rebooting the machine) and I got:

> [1] pry(main)\> Sidekiq.redis { |r| puts r.flushall }  
> Passing ‘flushall’ command to redis as is; administrative commands cannot be effectively namespaced and should be called on the redis connection directly; passthrough has been deprecated and will be removed in redis-namespace 2.0 (at (pry):1:in `block in **pry** ’)  
> OK  
> =\> nil

Taking my clues from here, nothing seems to work. Any ideas what’s going on and how to fix it?

> [@"Ensure sidekiq is running." when it is definitely running](https://meta.discourse.org/t/ensure-sidekiq-is-running-when-it-is-definitely-running/33936/19):
>
> @codinghorror @neil @sam I fixed it. Here’s what I had to do: cd /var/discourse ./launcher ssh app rails c Sidekiq.redis { |r| puts r.flushall } Then I had to exit the container and ./launcher restart app That cleared the Sidekiq Redis queue and everything started back up. If I had to guess, I upgraded Discourse when there was a backup job in the queue in Redis and somehow, upon restarting the app, the name of a class or something associated with Redis, Sidekiq, or backing up had changed, s…

---

_[View the full topic](https://meta.discourse.org/t/ensure-sidekiq-is-running/64774)._
