ajitsing / sidekiq_queue_metrics

Records stats of each sidekiq queue and exposes APIs to retrieve them
http://www.singhajit.com/monitoring-individual-queue-in-sidekiq/
MIT License
32 stars 7 forks source link

App doesn't boot when using the gem #10

Open Andy9822 opened 8 months ago

Andy9822 commented 8 months ago

Hey! just came across this super interesting gem and decided to add it to my project.

However, when I try to boot the app the server crashes with: 11:21:10 worker.1 | 2024-02-07T14:21:10.052Z 5349 TID-9vx WARN: {"context":"Exception during Sidekiq lifecycle event.","event":"startup"} 11:21:10 worker.1 | 2024-02-07T14:21:10.052Z 5349 TID-9vx WARN: Redis::CommandError: NOSCRIPT No matching script. Please use EVAL.

I added the configuration as the README states and nothing else but couldn't get the app running due to this error

Andy9822 commented 8 months ago

@ajitsing are you still mantaining the repo? otherwise, sorry for pinging you but I'm a bit surprised I couldn't even get my Rails project to boot at all

schmijos commented 6 months ago

I've got a similar error

2024-04-17T15:04:40.298Z pid=12585 tid=3rh WARN: {"context":"Exception during Sidekiq lifecycle event.","event":"startup"}
2024-04-17T15:04:40.299Z pid=12585 tid=3rh WARN: RuntimeError: A long running upgrade is in progress. Try restarting the application once finished
2024-04-17T15:04:40.299Z pid=12585 tid=3rh WARN: sidekiq_queue_metrics-3.0.0/lib/sidekiq_queue_metrics/upgrade_manager.rb:25:in `rescue in upgrade_if_needed'

@Andy9822 did you try running version 2 of the gem?