Skip to content

Recover crashed application

Karl Xu edited this page Aug 27, 2018 · 2 revisions

When the application shows 502 ERROR, use the following steps to recover.

  1. SSH into the application server.

    ssh root@128.199.213.26

    Got the public IP from Codeship

  2. Go into the application directory.

    cd /home/codeship/inventory-server

  3. Restart the application.

    `pm2 start process.yml'

  4. Check the URL is the service back.

Clone this wiki locally