Can't stop process, no PID found in tmp/pids/thin.8080.pid (Thin::PidFileNotFound)
There is no thin process running on your server, that's why you're getting the Can't stop process, no PID found
error. I suggest starting thin manually so your deploy script can then successfully restart it.
Rails Thin Servers no PID found
I had exactly the same annoying problem
I've found that if the server crashes on startup, the pid file gets created but there is no pid in the file. Try cat'ing the log file for the server ./logs/thin.3001.log and look for errors. You could also try starting the server manually via
rails s -p 3000
and see if there are any errors thrown.
Good luck
Chris
Rails thin stop using pid
Just look for the current Thin pid:
cat tmp/pids/server.pid
It will give you the current pid like for instance 6458.
Then just issue a:
kill -9 6458
Related Topics
How to Find Out the Starting Point for Each Match in Ruby
How to Create a Rails 3 Route That Will Match All Requests and Direct to One Resource/Page
How to Profile Rspec with Perftools and Bundler
Accessing Headers from Sinatra
Use Same Controller for Multiple Routes
Getting All Links of a Webpage Using Ruby
How to Split a Directory String in Ruby
Bundle Install Not Running from My Post-Update Hook
In Ruby, How to Remove Only 1 Match in an Array Easily
How to Calculate Next, Previous Business Day in Rails
"The Ruby Way" (Mixins and Class Reopening) VS. Dependency Injection
How to Declare a Rake Task That Depends on a Parameterized Task
Ruby Metaprogramming, How Does Rspec's 'Should' Work
Solving Dependency Constraints
Ruby - Platform Independent Way to Determine Ips of All Network Interfaces