[ERROR] InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10.2.2

Can I upgrade from Maria DB 10.1.x to 10.3.x withouupgrading to 10.2.x?

Answer Answered by Daniel Black in this comment.

You can, but like the error say the datadir needs a clean shutdown and not a crash. The crash recovery on a post MariaDB-10.2.2 doesn't follow the early versions data.

What you need to do is start a MariaDB-10.1 version up, get it to cleanly shutdown, and then upgrade to 10.3. I recommend going further than 10.3 as this reaches end of maintenance early next year. 10.6 is the current long term announced version.

As having two MariaDB version installed on an OS can be hard, I recommend a mariadb:10.1 container with your datadir passed in as a volume to /var/lib/mysql.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.