Recovering an application

Your application may be down for a number of reasons. This page can help youdiscover why and guide you to fix the problem.

Check your application logs

tsuru aggregates stdout and stderr from every application process making it easierto troubleshoot problems.

To know more how the tsuru log works see the log documentation.

Restart your application

Some application issues are solved by a simple restart. For example, yourapplication may need to be restarted after a schema change to your database.

  1. $ tsuru app-restart -a appname

Checking the status of application units

  1. $ tsuru app-info -a appname

Open a shell to the application

You can also use tsuru app-shell to open a remote shell to one of the unitsof the application.

  1. $ tsuru app-shell -a appname

You can also specify the unit ID to connect:

  1. $ tsuru app-shell -a appname <container-id>

原文: https://docs.tsuru.io/1.6/using/recovery.html