Migration from Owncloud 9.1.6 to Nextcloud 10.0.5 fails

A work-around from this blog is to set the version of your ownCloud server to 9.1.5.1, see:
https://0xstubs.org/migrating-from-owncloud-9-1-6-to-nextcloud-10/

edit your config/config.php and set version to 9.1.5.1 or lower.