You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
I am also unable to start resque workers in my code. I do not get any error messages but there is no resque worker running in background. I have also posted this question on stack overflow.
There is no log file created for resque. I even tried creating a log file and then trying to start resque but it didn't work.
config/deploy/capistrano_test.rb
set :use_sudo, true
server 'ruby2', user: 'ubuntu', roles: %w{web app db}
set :ssh_options, { forward_agent: true }
set :branch, 'capistrano_test'
set :deploy_to, '/var/www/test_cap'
role :resque_worker, 'ruby2'
set :workers, {
ruby2: {"file_serve"=>1,"*" => 1,"tasks_queue"=>1,"sunspot"=>1}
}
after "deploy:restart", "resque:restart"
deploy.rb
lock '3.6.1'
set :application, 'test_app'
set :repo_url, 'sample.git'
set :resque_log_file, "log/resque.log"
set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system')
logs
In logs its clear that resque:restart is called but it does not start a worker.
I am also unable to start resque workers in my code. I do not get any error messages but there is no resque worker running in background. I have also posted this question on stack overflow.
Versions used
There is no log file created for resque. I even tried creating a log file and then trying to start resque but it didn't work.
config/deploy/capistrano_test.rb
deploy.rb
logs
In logs its clear that resque:restart is called but it does not start a worker.
The text was updated successfully, but these errors were encountered: