Upgrade Sentry 9.1.2 to 20 (latest version)

Hi, We have self hosted sentry v9.1.2 based on docker on Ubuntu 18.0.4
We are going to upgrade to v20.x (latest version)
How Can I do that ?
Does it cost any downtime?
And will be our users account and projects safe ?
It would be great if someone send me a doc link.
Thank you so much.

Hi Mommad,
I wrote an article recently (The unofficial guide to upgrading Sentry on-premise 9 to Sentry 10 | by Thomas Wunderlich | Dec, 2020 | Medium) that’s a bit more fleshed out than the official docs (onpremise/README.md at e7ec11aa3b7ca7aecb741d568837140756b195e7 · getsentry/onpremise · GitHub).

Essentially there are two approaches.

  1. The Sentry team has created an upgrade process for docker-compose (but you’ll need to use their docker compose)
  2. There is community-supported kubernetes help chart.

In answer to your other question, yes there will be downtime (my upgrade was between 1-2 hours of downtime for a 3 year old instance). All users and projects will be safe. However, be aware that as of Sentry 10, there is a 90 day retention for errors/performance data, which can be overridden.