Need to upgrade to Debian 11 from Mint

Yes, at least until it isn’t. Note this command updates everything on your machine, not just openHAB.

Remember to keep an eye on the announcements for when a new OH release is made (mid July and mid December) for details. For example, when moving from OH 4 to OH 5 you have to manually install a new Java before running apt upgrade. Otherwise, the upgrade will fail because OH will not see the version of Java it requires.

This will always be discussed in the release announcement. For example, the release announcement for OH 5 states:

The required minimal Java version has been updated from Java 17 to Java 21. Make sure you have a suitable JVM installed. This change effectively drops support for 32-bit ARM OSes.

That post also links to a list of changes which has an upgrade process section where it’s further discussed with specific steps you need to take. You should always review this before upgrading so you are not surprised when something breaks after an upgrade and you know what to do.

When you see notes that say you need to change Java versions in the announcement, you can also always find links and instructions for how to install it at Installation Overview | openHAB.

1 Like