Skip to content

ochedru/sentry-deb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentry-deb

Build Status Download

The goal of this project is to package sentry for debian. It leverages dh-virtualenv to perform the actual work. The primary OS target is debian 8 "jessie"; It might or might not work on other debian and debian based systems.

Installation

  • Add Dhatim Bintray's debian repository in sources.list:

    echo "deb http://dl.bintray.com/dhatim/deb stable main" | sudo tee -a /etc/apt/sources.list
  • If it is the first repository from Bintray that you add, you will also need to add Bintray's public key to apt:

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
  • Install the sentry package:

    sudo apt-get update && sudo apt-get install sentry

some more details

sentry

The target sentry version is 8.14.0. postinst calls sentry init /etc/sentry/sentry.conf.py if this file doesn't exist already, so as to provide a sample configuration file.

postgresql

The package adds a dependency on the postgresql driver, so it is ready to use with a postgresql database.

supervisor

The package is made to depend on supervisor, and provides a suitable supervisor configuration file so that sentry server and workers start as services, managed by supervisor.

service

Please note that The sentry service won't start by default on package installation. You'll have to configure whatever it is that needs to be configured, and tickle supervisor so it picks up the changes, i.e.:

# supervisorctl reread
# supervisorctl update

upgrade procedure

$ sudo supervisorctl stop sentry-web
sentry-web: stopped
$ sudo supervisorctl stop sentry-worker
sentry-worker: stopped
$ sudo apt-get update
$ sudo apt-get install sentry
$ sudo /usr/share/python/sentry/bin/sentry --config /etc/sentry/sentry.conf.py upgrade
...
$ sudo supervisorctl start sentry-worker
sentry-worker: started
$ sudo supervisorctl start sentry-web
sentry-web: started

About

Debian package for sentry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 79.8%
  • Python 13.8%
  • Makefile 6.4%