I should download the nextcloud version 20.0.x (but at least 20.0.5)
I tried both 20.0.5 and 20.0.10 and I get the same error on OCC upgrade:
sudo -u apache php occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Maintenance mode is kept active
Resetting log level