Upgrade fails and Sentry has stopped logging--> should upgrade to 21.6.3 first

I try to use the current sentry nightly image, but install.sh still failed for the migration exception.

Then I try to find the image related to release 21.6.3, luckily I managed to have

# SENTRY_IMAGE=getsentry/sentry:cd4c2e95125865bcf80782acd69042d2d50a280a ./install.sh

and now sentry starts to log events again. Now I only has this error on the Sentry

Celery workers are referencing a different version of Sentry (21.7.0.dev0 vs 21.8.0.dev0)

Then I run the install again to pull the latest image

#./install.sh

So now my sentry has completely recovered.

So I guess if upgrade from a version prior to 21.6.3, user should not directly make upgrade but to 21.6.3 first, then continue to the latest.

2 Likes