Upgrade from 5.3 to 6.2

Hi all ,

I’m quite new on Kafka, for my training environment , i try to upgrade my confluent community platform from 5.3 to 6.2 .

But it doesn’t work,

--> Processing Dependency: confluent-kafka-rest = 5.3.6 for package: confluent-community-2.11-5.3.6-1.noarch
---> Package confluent-kafka-rest.noarch 0:6.2.2-1 will be an update
---> Package confluent-rest-utils.noarch 0:5.3.6-1 will be updated
---> Package confluent-rest-utils.noarch 0:6.2.2-1 will be an update
---> Package confluent-schema-registry.noarch 0:5.3.6-1 will be updated
--> Processing Dependency: confluent-schema-registry = 5.3.6 for package: confluent-community-2.11-5.3.6-1.noarch
---> Package confluent-schema-registry.noarch 0:6.2.2-1 will be an update
--> Finished Dependency Resolution
Error: Package: confluent-community-2.11-5.3.6-1.noarch (@Confluent)
           Requires: confluent-schema-registry = 5.3.6
           Removing: confluent-schema-registry-5.3.6-1.noarch (@Confluent)
               confluent-schema-registry = 5.3.6-1
           Updated By: confluent-schema-registry-6.2.2-1.noarch (Confluent)

I have updated the confluent repo

[Confluent.dist]
name=Confluent repository (dist)
baseurl=https://packages.confluent.io/rpm/6.2/7
gpgcheck=1
gpgkey=https://packages.confluent.io/rpm/6.2/archive.key
enabled=1

[Confluent]
name=Confluent repository
baseurl=https://packages.confluent.io/rpm/6.2
gpgcheck=1
gpgkey=https://packages.confluent.io/rpm/6.2/archive.key
enabled=1

If someone have a clue , maybe it’s to possible to upgrade directly from 5.3 to 6.2 .

Thanks a lot

Hi @copasetik

Did you already upgrade Zookeeper and the Kafka brokers?

I would highly recommend to follow the steps described in the docs:

https://docs.confluent.io/platform/6.2.2/installation/upgrade.html#upgrade-procedures

Best,
Michael

1 Like

Hello Michael :grinning: , Thanks for your feedback, i have already check the upgrade checklist.
Last time i have perform the same operation from 5.2 to 5.3 without issue.

It’s quite strange

Best regards

mmh I think it worked as it was minor version upgrade
but not you’re switching to a new release

e.g. switching from Kafka 2.3 to Kafka 2.8

I assume you tried the upgrade without following the steps like first upgrading zookeeper and so on?

best,
michael

1 Like

Hello Michael ,
Thanks
it work when i upgrade from Confluent 5.3 to >5.4 .

I will try to upgrade to 5.4 to 5.5 and so on

Hi,

ok I see.
though if you would go for a major upgrade I think you need to follow the steps
as described in the links above

best,
michael

Hi all,

So finally it work if you remove the confluent package and reinstall the last version.
That the purpose of this topic.

One last question , in case of rolling update, is it possible to have a “mix” of version
confluent 5.3 with one node 6.2 ? and so one …

I will close this topic
Thanks again

Hi,

yes have a look at
https://docs.confluent.io/platform/6.2.2/installation/upgrade.html#steps-for-upgrading-previous-versions-to-version-x

hth,
michael