Hello,
Trying to install new version of onpremise, but got fatal error. Please help.
DuplicateTable('relation "sentry_exporteddata" already exists\n',)
Sounds like you have run this migration eariler but it was not marked as run. Did you have a failed install?
Sounds like you have run this migration eariler but it was not marked as run. Did you have a failed install?
Maybe.
Is it possible to dump project setting data especially SDK client keys and make a fresh installation?
Is it possible to dump project setting data especially SDK client keys and make a fresh installation?
We have the export command but AFAIK that and import is broken and not very easy to fix right now.
We can tell Django to skip this migration which should resolve the issue:
docker-compose run --rm web django migrate --fake sentry 0028_user_reports
After that step, try running the install script again. If it fails, with another migration, the process is finding the migration right after the failing one from here: https://github.com/getsentry/sentry/tree/master/src/sentry/migrations
And then running the above command with that.
LMK how it goes. Also, while you're at it I'd go with version 20.9.0 at this point.
docker-compose run --rm web django migrate --fake sentry 0028_user_reports
Thanks a lot @BYK. Now we have 20.9.0 version.
Most helpful comment
docker-compose run --rm web django migrate --fake sentry 0028_user_reportsThanks a lot @BYK. Now we have 20.9.0 version.