Sidekiq jobs stuck in enqueue

In many cases for me it's because I haven't properly declared the queue for this specific service in config/sidekiq.yml.


This answer looks relevant: Sidekiq not processing queue If Sidekiq isn't told about the config file (which may require a different incantation in production) then it may not be using the right queue.


Please check if sidekiq process is actually running:

ps aux | grep sidekiq

If it is not, try to run sidekiq in foreground first and check the output.

bundle exec sidekiq -e production