[SOLVED][NextCloudPi] NFS as datadir - error ext/btrfs only

,

Hello,
I’m converting from a “hand built” NC install over to the NextCloudPi install on my Raspberry4.

Fresh install on the Pi4, haven’t restored any old data yet.

Trying to point the datadir to an NFS share (on my Synology).

I manually went in on the Pi4 and edited the /etc/fstab to mount the NFS share.

Did a ‘touch’ and remove to a file in the NFS share mount point as the www-data user, all was good.

When I try to change the datadir in the nc-datadir tool on the WebUI, it shows “path exists” and when I hit apply, I get: “Only ext/btrfs filesystems can hold the data directory”

From the reading I’ve done, I understood that NCP supports NFS for the datadir…has this changed?

Is there a plugin or something I need to add to NCP to support this?

Thank you for the help.

[SOLVED]
Since it was a fresh install, no harm/no foul…I played around.

Manually edited the nextcloud/config/config.php file. Changed ‘datadirectory’ => ‘my/mountpoint/ncdata’

Restarted apache2, php7.3-fpm and redis

Had to ‘touch’ a file ‘my/mountpoint/ncdata/.ocdata’

Working fine now.

I guess maybe the nc-datadir scripting cannot move data to an NFS mount? If so, then the error message is a bit misleading.