Hi and welcome to the GitLab forum!
Generally, you will have to upgrade in steps: first of all to the latest version of a series, then to the first version of a series, and then repeat the steps until you reach the version that you want to be at.
This might give you some more info as well: