Edit or add the Nextcloud version in config.php as explained in the thread I posted above or in method “b” of the wiki.
Enter as app instance user nextcloud2:
runagent -m nextcloud2
Edit the config.php using nano:
podman unshare nano $(podman volume inspect nextcloud-app-data --format={{.Mountpoint}})/config/config.php
Set version to the current one
'version' => '30.0.7.2',
or the old one:
'version' => '27.1.11.3',