Troubleshoot Cause of Crashing Applications

Posted by stevenh on 2012-08-16 14:31
OS: All / Any | Product: Stackato
Question: 

How to troubleshoot cause of crashing apps?

Answer: 

Applies to Stackato v2.x

You could SSH into the DEA node and check out the logs there to see whats going on with your app on start-up. You can find logs at:

$ stackato ssh api (if you are running a micro-cloud)
$ cd /stackato/logs

In addition, you can ssh into individual applications right after it failed to deploy because the linux container for that app sticks around for a few minutes before getting cleaned up.

$ stackato ssh (app-name)
$ cd /app/logs