Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start / Stop tasks (and others) missing for Monit #263

Open
jbrodie opened this issue Nov 16, 2020 · 3 comments
Open

Start / Stop tasks (and others) missing for Monit #263

jbrodie opened this issue Nov 16, 2020 · 3 comments

Comments

@jbrodie
Copy link

jbrodie commented Nov 16, 2020

On beta5 and these tasks seem to have been removed from the monit.rb.

We have none of the original:
Stop
Start
Quiet
Rolling Restart

❯ bundle exec cap production sidekiq:stop
(Backtrace restricted to imported tasks)
cap aborted!
Don't know how to build task 'sidekiq:stop' (See the list of available tasks with `cap --tasks`)
Did you mean?  sidekiq:monit:stop

(See full trace by running task with --trace)
❯ bundle exec cap production sidekiq:start
bundle exec (Backtrace restricted to imported tasks)
cap aborted!
Don't know how to build task 'sidekiq:start' (See the list of available tasks with `cap --tasks`)
Did you mean?  sidekiq:restart

(See full trace by running task with --trace)
❯ bundle exec cap -T | grep sidekiq
cap sidekiq:monit:config           # Config Sidekiq monit-service
cap sidekiq:monit:monitor          # Monitor Sidekiq monit-service
cap sidekiq:monit:restart          # Restart Sidekiq monit-service
cap sidekiq:monit:start            # Start Sidekiq monit-service
cap sidekiq:monit:stop             # Stop Sidekiq monit-service
cap sidekiq:monit:unmonitor        # Unmonitor Sidekiq monit-service
cap sidekiq:restart                # Restart sidekiq

Capfile contains:

require 'capistrano/sidekiq'
install_plugin Capistrano::Sidekiq
install_plugin Capistrano::Sidekiq::Monit

Am I missing something here?

@jbrodie jbrodie changed the title Start / Stop tasks missing for Monit Start / Stop tasks (and others) missing for Monit Nov 16, 2020
@jbrodie jbrodie closed this as completed Nov 16, 2020
@jbrodie jbrodie reopened this Nov 16, 2020
@jbrodie
Copy link
Author

jbrodie commented Nov 16, 2020

Ya sorry, didn't mean to close this. Seems like these are missing.

@virusman
Copy link

virusman commented Dec 26, 2020

It's not just Monit. The default sidekiq.rake file also references tasks that don't exist anymore. Looks like this gem only supports systemd and maybe upstart now?

@plribeiro3000
Copy link

plribeiro3000 commented Nov 24, 2021

The tasks are still defined here.

Dunno why they are not accessible. Did anyone manage to bypass this?

EDIT: I did not bundle after some dependencies got updated. Everything is working as expected now. Maybe we can close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants