I got it!
I cannot grant, that the described method will work for everybody. - Do a full backup, before you try to follow the steps below.
Today I spent some time to look, how to get rid of the message mentioned in my first posting.
As mentioned in my first posting I did install Nextcloud 15 together with my UCS.
From time to time I got a message after logging in with my Firefox, that a new Nextcloud version was available. So I installed it every time.
The latest version was 17.0.3. last February.
The Univention Software update told:
[Nextcloud]: Version 15.0.8-0 can be upgraded to 16.0.6-0
I scanned the Univention registry with
ucr dump |grep 15.0.8-0
and found two entries:
ucr get appcenter/apps/nextcloud/version
15.0.8-0
ucr set appcenter/apps/nextcloud/image
docker.software-univention.de/nextcloud:15.0.8-0
So i changed the values using
ucr set appcenter/apps/nextcloud/version=“16.0.6-0”
ucr set appcenter/apps/nextcloud/image=“docker.software-univention.de/nextcloud:16.0.6-0”
to be sure, that the registry works well, I did a
ucr commit
and rebooted the system
After next login the Software-Updater told:
[Nextcloud]: Version 16.0.6-0 can be upgraded to 17.0.2-0
So I repeated the steps as mentioned above but setting to “17.0.2-0”
Finally I received the message
[Nextcloud]: Version 17.0.2-0 can be upgraded to 18.0.4-0
So I executed the App-Updater and upgraded Nextcloud to 18.0.4-0.
At the end of the installation I followed the recommended steps, did a manual occ upgrade:
univention-app shell nextcloud sudo -u www-data /var/www/html/occ db:add-missing-indices
univention-app shell nextcloud sudo -u www-data /var/www/html/occ upgrade
univention-app shell nextcloud sudo -u www-data /var/www/html/occ maintenance:mode --off
After a final reboot everything worked fine for me and I now can use the new features of Nextcloud Hub.
@ Forum administrators:
Can you please add a “Nextcloud”-tag to this thread, if possible? - Thank you in advance.