The following extra files have been found: .ocdata

Hello, I am trying to upgrade to 18.0.3 and I get this error that the .ocdata file is present. If I delete it, the error persists but I can’t log into nextcloud (“data directory is invalid”). This happens both with the built in updater and with the command line updater.
The data directory is mounted as /data (external hard drive) and owner is www-data:www-data.

you have to delete the .ocdata file in /var/www/nextcloud, then it has worked fpr me with the updates again.