Nextcloud version (eg, 20.0.5): 21.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04.2 LTS
Apache or nginx version (eg, Apache 2.4.25): apache2 2.4.41-4ubuntu3.3
PHP version (eg, 7.4): 7.4.3
The issue you are facing:
The upgrade to 21.0.3 from 21.0.2 using the command
sudo -u www-data php /var/www/nextcloud/updater/updater.phar --no-interaction
worked well.
After that however, I got this error:
root@nextcloud:~# sudo -u www-data /var/www/nextcloud/occ app:update --all
passwords new version available: 2021.7.20
Error: Database error when running migration latest for app passwords
Running the updater again just says that the version is up to date.
But now I get a different error:
root@nextcloud:~# sudo -u www-data /var/www/nextcloud/occ app:update --all
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
Is this the first time you’ve seen this error? (Y/N): Y