Skip to content

Staging Debugging Guide

Jorge Silva edited this page Mar 30, 2016 · 11 revisions

So you yell and you yell and no one is fixing staging. Well, now you can debug yourself :)

  1. Go to runnable.io.
  2. Ensure rabbitMQ, redis, and mongo are up. If any of these are down, simply click start container (DO NOT REBUILD THESE CONTAINERS). But if you did ....
  3. mongo flushed
  4. redis flushed
  5. Ensure supporting services are up:
  • api
  • api-worker WORKER-do-not-delete branch (updated to latest code git fetch && git merge origin/master) and restart container
  • runnable-angular
  • mavis ** hit http://mavis-staging-codenow.runnableapp.com/docks to ensure docks are available
  • optimus
  1. to get navi to work you have to do something special using navi on staging To ensure things are up do the following:
  2. Go to terminal of the service
  3. curl the respective port, example: curl localhost:80 for api: 1. If you do not see any output of curl (or it hangs) then start/stop or click latest commit.
  4. Run ip addr | grep ethwe and ensure the output contains ethwe. If not, rebuild container.
  5. Inspect the logs by opening a terminal and running: 1. npm install bunyan -g 2. LOG_LEVEL_STDOUT=trace npm start | bunyan

Clone this wiki locally