Can someone provide the upgrade path and steps to process the upgrade of sentry community edition from 20.10.1 to 21.11.0 On-Premise.
Any suggestions please
you saw this? https://develop.sentry.dev/self-hosted/releases/#hard-stops … so first to 21.5.0, then to 21.6.3 then to current one
I got bitten once by not reading all the release notes and had to rollback to a snapshot of my VM.
After that I regularly update sentry and if there are multiple releases in between I just install em all.
Snapshot before you do anything is always a good idea
@Apollon77 Sure, will follow these recommended steps.
@reshadp sure we will take a snapshot before any upgrade.
@praseeb, FWIW, I’ve used the following progression successfully for upgrading three instances to current: 21.11.0 ← 21.10.0 ← 21.9.0 ← 21.8.0 ← 21.7.0 <+ 21.6.3 <+ 21.5.0 ← 21.4.0 ← 21.3.0 ← 21.2.0 ← 21.1.0 ← 20.12.1 <+ 9.1.2 <+ 8.22.0
@jmtysonjr @Apollon77 @reshadp I am using amazon linux 2 for sentry, my upgrade was smooth till 21.6.3.When I am trying to upgrade to 21.11.0 from 21.6.3 sentry was asking me to upgrade the docker-compose version from 1.24.0 to 1.28.0.
Currently my docker-compose version is 1.24.0.
We were trying to upgrade the docker-compose version from 1.24 to 1.28 with below methods.
sudo curl -L https://github.com/docker/compose/releases/download/1.28.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
After performing these steps we trying to check the docker-compose version.
/usr/local/bin/docker-compose version
Then we got this error
[88768] Error loading Python lib '/tmp/_MEIQzZlnp/libpython3.9.so.1.0': dlopen: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/_MEIQzZlnp/libpython3.9.so.1.0)
OS version
[root@ip-17X-XX-X-XXX ~]# uname -s -m
Linux x86_64
[root@ip-17X-XX-X-XXX ~]# uname -a
Linux ip-17X-XX-X-XXX.eu-central-1.compute.internal 4.14.219-164.354.amzn2.x86_64 #1 SMP Mon Feb 22 21:18:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@ip-17X-XX-X-XXX ~]#
[root@ip-17X-XX-X-XXX ~]# docker --version
Docker version 20.10.7, build f0df350
[root@ip-17X-XX-X-XXX ~]# python --version
Python 2.7.18
[root@ip-17X-XX-X-XXX ~]# python3 --version
Python 3.7.10
Linux AMI id : ami-0de9f803fcac87f46
Not sure,how we can resolve this issue,can anyone help me one this to fix it. Let us know if any other details is required.
Also,please let me know,which OS version is recommended for Sentry.
it seems that the hew docker-compose needs another glibc to be installed … not idea how to fix that on your environment
@Apollon77 @jmtysonjr @reshadp for a work around,we have upgraded docker-compose to 1.29.0 and upgrade of sentry to 21.11.0 from 21.6.3 is completed without any issues.
Now i am planning to upgrade to 21.12.0,do you guys having any suggestions or best practices which i need to look into before upgrading to 21.12.0