Unable to update VM - .ocdata missing

Running [Nextcloud Hub 9] (30.0.0) using Hansson IT image @nextcloud/vm
On proxmox, with data drive replaced using NAS (as per Tutorial: NC VM Data Directory NFS Integration)

When I run the update script (sudo bash /var/scripts/update.sh), it errors with:
Your .ocdata are missing in the Nextcloud data folder.

The folder mnt/NAS/ncdata is owned by www-data. I cannot navigate to the folder using ncadmin user.

From proxmox, I can navigate to this folder, and can see .ocdata exists and is owned by www-data again.