I have deployed the rails application in staging. The application is running fine except for the sidekiq.
In my sidekiq.log, I see the following line,
Too many levels of symbolic links @ rb_sysopen - tmp/pids/sidekiq.pid
I have added the below lines in deploy.rb file, with corresponding lines to stop and start the sidekiq server. I am not getting any error while deploying using mina deploy.
to :launch do
invoke :'sidekiq:stop'
invoke :'sidekiq:start'
end
In sidekiq.rb file, I have set user, password for the Sidekiq::Web
I am unable to find the reason for this, I tried to mina deploy again but the sidekiq process didnot get started in the server.
I searched through some blogs and SO questions SO1 and SO2, but unable to sort it out.
Can someone please help me resolve this?
Also, please let me know if I missed any details.