docker exec -it nextcloud touch /config/www/nextcloud/config/needs_migration docker restart nextcloud Then rescan using the link in the Nextcloud admin status page.   That should fix the integrity check. Running the occ command should not be needed, and without the steps above it won't fully fix the issue.