With a new installation of Nextcloud, its possible to add a shared storage backend.
NFS
The below deploys a nfs server with a root disk of 300G and 4G ram.
juju deploy nfs --constraints="root-disk=300G mem=4G"
juju relate nfs nextcloud
CEPH
Coming soon.