Upgrade Sentry On Premise From 8.22 to 9.0

A month ago, sentry 9.0 was released, and today I’m decided to upgrade my sentry installation on AWS server. And this is simple step to upgrade Sentry (I’m using docker-compose).

Stop Docker Compose

docker-compose stop

Update Dockerfile

From this:

FROM sentry:8.22

to

FROM sentry:9

Rebuild Docker Image & Upgrade

docker-compose build
docker-compose run --rm web upgrade

It will take a few minute during upgrade & migrating the existing database schema.

Start Docker Compose

docker-compose up -d

Enjoy 🎉