Upgrading from v0.50.23 to v0.53.8 fails

I have been running various versions of Metabase for the past few years, most recently v0.50.23. Today, I tried upgrading to v0.53.8, but it fails.

journalctl -u metabase -f reveals the following:

Mar 27 13:10:03 prod-metabase-2 systemd[1]: Started Metabase server.
Mar 27 13:10:08 prod-metabase-2 metabase[1459609]: Exception in thread "main" java.lang.NoClassDefFoundError: java/util/SequencedCollection
...
Mar 27 13:10:09 prod-metabase-2 systemd[1]: Stopped Metabase server.

Any help much appreciated.

Hidden in the github releases is this notification:

Metabase 53 requires Java 21. Java 17 is no longer supported.

Upgrading to Java 21 resolved all issues!

1 Like

I would suggest everyone upgrading to any version to check the release notes first!