Welke docker tag moet ik gebruiken om een upgrade uit te voeren naar 3.5.0.beta7 vanaf 2.9.0.beta5

Hallo jongens,

  1. De discussie draait in een docker.

  2. Hier is het bericht dat we zien:
    We zitten momenteel op 2.9.0.beta5, maar de huidige release (aangegeven als cruciaal om te upgraden) is 3.5.0.beta7.

  3. Als ik uitvoer:
    ./launcher rebuild app

Krijg ik:

x86_64 arch gedetecteerd.
FOUT: Kernelversie 3.10.0-1160.119.1.el7.x86_64 niet ondersteund, upgrade alstublieft naar minimaal 4.4.0

Dit komt doordat de launcher de nieuwste build ophaalt. Welke tag moet ik gebruiken voor 3.5.0.beta7?

Ik neem aan dat wanneer ik de juiste tag heb, ik kan upgraden met het volgende commando:

./launcher rebuild app --run-image ‘discourse/base:’

Ik heb geprobeerd deze informatie te vinden, maar kon niets vinden.

Alvast bedankt.

What OS are you trying to run Discourse on? It may be time to update to something a bit more modern than EOL RHEL 7.

2 likes

Hello,

It’s Centos 7:

]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

uname -a

Linux msm5257.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

It reached end of life over a year ago. What to know about CentOS Linux EOL

I recommend that you get a new vm with a new os and make a backup on the old machine and restore it to the new one. That will save a step of upgrading the database.

Unless you love Centos for a particular reason, I would go with Ubuntu, which most people here use, or Debian, which the discourse docker container is now based on.

1 like

Bedankt voor het antwoord.

We begrijpen dit volledig, maar als overstappen naar Ubuntu zo makkelijk was, zouden we het doen.
Hebben we ergens informatie over de docker tags en discourse versies om een upgrade uit te voeren?

Dank u wel,

Je moet hoe dan ook een nieuwere kernel draaien voordat je een veel nieuwere Discourse kunt draaien.

3 likes

I think you need Docker 28? But maybe 26 would be good enough.

It looks like there is no way to upgrade Centos 7, so you’re going to need to move to a new VM, or if this is your own server, you’ll need to install a new OS to upgrade it. Once you’re installing an OS, it’s not much easier or harder to install any different Linux.

If you don’t want to upgrade your OS, then don’t upgrade Discourse.

1 like

I see that there are open source successors to Centos, and AlmaLinux
appears to be a strong contender - CERN chose it, and they know what they are doing. It’s RedHat flavour so your sysadmin skills will transfer.

I’m not confident that you can solve your problem by cherry-picking a Docker. Processes which run within Docker use the same kernel as all others, and I think the kernel version - the actual version, not the patchlevel - will need to be newer than the one you have.

I second the idea that the best approach is to provision a new server with a new OS and restore a Discourse backup.

1 like