[Guide] Mounting external NFS volume from QNAP Photos (external) #10887
trumpetx
started this conversation in
Community Guides
Replies: 1 comment
-
Thank you for taking the time to write this article. It has been helpful as I try to get an External Library working in IMMICH. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm writing this so I can search up this answer in 2 years when I need the information again. If this helps anyone else, you're welcome! I would also love to hear any suggestions for improving this setup.
This guide is NOT about running the QNAP Container Station. This is for mounting the //NAS/Photots to your Immich server (docker) which is a separate machine. Some of the info here is probably applicable to the other situation though.
Make sure permissions are set up correctly on the QNAP NAS (Privileges > Shared Folders)
Mount the NFS drive on the HOST machine where the docker container will be started
Ubuntu 24.04:
(note: this is different on other distros, you're looking for whatever package gets you
mount
for nfs)In my case, after some troubleshooting with network, I had to prepend
_netdev,x-systemd.automount
to the previously tested manual mount. This was on a Ubuntu 24.04 system, YMMV.6. Reboot and validate that your mount is still there as a non-root user.
Add the External Library
Do the steps here: https://immich.app/docs/guides/external-library. Summary of steps:
Added to .env:
Added to docker-compose.yml:
Configure the External Library
/mnt/photos
/mnt/photos/**/@Recycle
/mnt/photos/**/.@__thumb
Beta Was this translation helpful? Give feedback.
All reactions