This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
services:sentry [2017/02/24 19:02] dgalloway |
services:sentry [2021/05/03 14:46] (current) djgalloway [Upgrade Sentry] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== sentry ====== | ====== sentry ====== | ||
| - | ===== Summary ===== | + | This service was moved to a new VM in September 2020. |
| + | |||
| + | ===== Admin Tasks ===== | ||
| + | ==== Reconfigure Sentry ==== | ||
| + | If you need to change a setting in the sentry config, | ||
| + | |||
| + | <code> | ||
| + | ssh sentry.front.sepia.ceph.com | ||
| + | sudo su - ubuntu | ||
| + | cd sentry | ||
| + | vim sentry/config.yml | ||
| + | docker-compose down; docker-compose build; docker-compose up -d | ||
| + | </code> | ||
| + | |||
| + | ==== Upgrade Sentry ==== | ||
| + | <code> | ||
| + | ssh sentry.front.sepia.ceph.com | ||
| + | sudo su - ubuntu | ||
| + | cd ~/sentry | ||
| + | docker-compose down | ||
| + | cd ~ | ||
| + | cp -r sentry sentry.$(date -u +%F).backup | ||
| + | cd ~/sentry | ||
| + | git pull | ||
| + | ./install.sh | ||
| + | docker-compose up -d | ||
| + | </code> | ||
| + | |||
| + | ===== DEPRECATED ===== | ||
| Sentry provides real-time job error tracking. See https://sentry.io/welcome/ | Sentry provides real-time job error tracking. See https://sentry.io/welcome/ | ||
| Line 7: | Line 35: | ||
| The sentry VM also runs the public kraken IRC bot. See ''/home/ubuntu/helga''. | The sentry VM also runs the public kraken IRC bot. See ''/home/ubuntu/helga''. | ||
| - | ===== Admin Tasks ===== | + | ==== Admin Tasks ==== |
| - | ==== Starting/Stopping Sentry ==== | + | === Starting/Stopping Sentry === |
| ''supervisorctl start|stop sentry-worker sentry-web'' | ''supervisorctl start|stop sentry-worker sentry-web'' | ||
| - | ===== Notes ===== | + | ==== Notes ==== |
| * The Sentry application lives in ''/home/ubuntu/.virtualenvs/sentry'' | * The Sentry application lives in ''/home/ubuntu/.virtualenvs/sentry'' | ||
| * The Sentry conf lives in ''/home/ubuntu/.sentry/sentry.config.py'' | * The Sentry conf lives in ''/home/ubuntu/.sentry/sentry.config.py'' | ||