I use NEXTCLOUD_DATADIR pointed at an NFS mount on an Unraid server. I had setup and used Nextcloud AIO for a few days, setting up multiple users and importing data to Files, Calendar, Contacts, etc.
Performance was great even if bottle necked by the NFS performance.
I rebooted the Unraid server for an unrelated change (assigning a gpu to a different container), and now the nextcloud-aio-nextcloud server is reporting “Appdata is not present. Did you maybe change the datadir after the initial Nextcloud installation? This is not supported! See GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.. If you adjusted the datadir to be located on an external drive, make sure that the drive is still mounted!”
I have verified the NFS share is mounted, files and folders can be read and written to the NFS share. And all folders seem to be present including user dirs and “appdata_UID”.
I accessed the console for the database container and it shows /data is an empty dir.
I’ve rebooted the NFS server, a Synology NAS, and other containers are accessing data on their respective NFS shares without issue. I also completely deleted all Nextcloud related docker containers and images and forced a fresh pull, no change in behavior.
It seems as though there is a break down in location or permission between the Unraid server, the AIO container, and the children containers.