Nextcloud AIO Using Docker With ZFS Share

Hey all, I have a NextCloud AIO instance I have set up and got running without issues internally with NextCloud. I am having issues attaching a share in NextCloud to my ZFS share which is an NFS share within my NAS. Any assistance to this would be appreciated. I am trying to expand it to my large share on my network while using NextCloud. I can both use and connect to NextCloud, and connect to and send files to my NAS. I cannot see or access the NAS directory in NextCloud despite it being hosted on the same system via Docker.

Nextcloud version (eg, 20.0.5): 6.0.0 AIO
Operating system and version (eg, Ubuntu 20.04): Fedora Server 37
Apache or nginx version (eg, Apache 2.4.25): AIO Version
PHP version (eg, 7.4): AIO Version

The issue you are facing:
Mounting the ZFS share in NextCloud files.

Is this the first time you’ve seen this error? (Y/N):
Yes
Steps to replicate it:

  1. Install AIO VIA Docker
  2. Have a NAS with a ZFS Pool
  3. Issue is immediately there. Cannot connect to or transfer files into the ZFS Pool.

I want to make sure I understand your situation:

  • AIO is being hosted on your NAS
  • You have a folder on your NAS which you currently use as a ZFS Share (in NFS mode) outside of Nextcloud
  • You’d like to make the contents of that folder (the one used as a ZFS Share) available within Nextcloud?

Assuming you don’t want to replace your existing Nextcloud data directory, the easiest would probably be to:

The most reliable and highest performing approach would probably be bind mounting (in Docker) the NAS folder into your Nextcloud instance then either:

1 Like