Skip to content

Instantly share code, notes, and snippets.

@nemesifier
Last active August 29, 2015 14:16
Show Gist options
  • Save nemesifier/faee6e7e3eb0b648a3ab to your computer and use it in GitHub Desktop.
Save nemesifier/faee6e7e3eb0b648a3ab to your computer and use it in GitHub Desktop.
Upgrade sentry on debian (default install)
# might vary depending on how sentry was installed
# upgrade system dependencies
apt-get update
apt-get upgrade
apt-get install python-dev python-crypto libffi-dev
# upgrade python packages
pip install -U sentry
# run migrations and other tasks
sentry --config=/etc/sentry.conf.py upgrade
# probably default config location has changed
mkdir /.sentry
ln -s /etc/sentry.conf.py /.sentry/sentry.conf.py
# restart worker and application server
supervisorctl restart all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment