I have migrated an old Nextcloud 16 instance from a nginx server to a docker and Traefik installation recently. Everything went well, I restored the database and used the nextcloud:16-apache image. Afterwards I switched to the nextcloud:17-apache image and the update went well too.
Everything looks to be working so far, but I noticed that when I docker-compose down and then up again the Nextcloud instance shows the update dialog again every time. The upgrade runs very fast and everything works afterwards, but I am still wondering why this is happening.
I have volumes to persist all my data for nextcloud
volumes:
- ${DATADIR}/nextcloud/custom_apps:/var/www/html/custom_apps
- ${DATADIR}/nextcloud/config:/var/www/html/config
- ${DATADIR}/nextcloud/data:/var/www/html/data
- ${DATADIR}/nextcloud/themes:/var/www/html/themes
and the database (mariadb:10.3)
volumes:
- ${DATADIR}/nextcloud_db:/var/lib/mysql
Am I missing something here? My config.php has
'version' => '17.0.6.2',
'datadirectory' => '/var/www/html/data',
'installed' => true,
and of course a lot of other settings.