Hi, I just recently updated our on-prem Sentry instance.
Here’s what I did so far:
sudo su -
cd /opt/sentry/onpremise/
git pull
./install.sh
At the end of the installation, there’s an error that was logged:
django.db.migrations.exceptions.InconsistentMigrationHistory: Migration social_auth.0001_initial is applied before its dependency sentry.0001_squashed_0200_release_indices on database 'default'.
An error occurred, caught SIGERR on line 12
Cleaning up...
I then did:
docker-compose up -d
So far everything looks fine other than when I click on Releases on the sidebar I get this error:
Oops! Something went wrong
It looks like you’ve hit an issue in our client application. Don’t worry though! We use Sentry to monitor Sentry and it’s likely we’re already looking into this!
If you’re daring, you may want to try the following:
We’re not using the Releases feature yet so right now this error doesn’t really affect us but I’m not sure if this is something I can just ignore or is it going to break our installation of Sentry?
Doesn’t matter, you are probably following nightly builds, and they had issues related to migrations for a few days. You need to go back to 21.6.3 and then move forward.
Oh okay… do you have instructions on how to install a specific version? Also, when I update, how do I make sure that I’m only installing stable builds and not the nightly builds?