I have the same issue when not doing it via the UI but via the CLI.

sudo php command.php upgrade
Current version is 10.0.12.
...