toddos
Contributor
- Joined
- Aug 18, 2012
- Messages
- 178
To be honest, I looked for the pid in the task list but couldn't figure out which was associated to couchpotato specifically. I spent all weekend installing a Teamspeak3 server and was in the guts of it so I think I picked up a few tricks I could use to help me diagnose CouchPotato. When it crashes again I will do some analysis and report back. Thanks for your suggestions toddos.
Don't bother looking for the pid in ps (well, you can, but if couchpotato isn't running you're not going to find it). Instead, look at /usr/pbi/couchpotato-`uname -m`/data/couchpotato.pid. If that file exists and couchpotato isn't running, you'll need to delete it before you can start couchpotato again. And this goes for all of the plugins. There's a .pid file for each in their own data folders, and if for whatever reason the .pid file doesn't get deleted on shutdown (or if the app crashes), you have to clean it up.