OK, let’s try method b from the wiki.
Set the version to the old one.
Check status:
occ migrations:status core
Migrate the core:
occ migrations:migrate core
Set version to the new one:
Upgrade and turn off maintenance mode:
occ upgrade
occ maintenance:mode --off