vorpalveil
vorpalveil
IImmich
Created by vorpalveil on 1/27/2025 in #help-desk-support
Volume Binding Issue: Immich Using Container Space Instead of Host Directory. At my witts end...
I will make sure to do so!
22 replies
IImmich
Created by vorpalveil on 1/27/2025 in #help-desk-support
Volume Binding Issue: Immich Using Container Space Instead of Host Directory. At my witts end...
Yes, that's exactly the issue, and you’re right—I should have looked for the file on the host.
root@proxmox:~# ls -l /mnt/matkopool/ImmichUploads
total 3
-rwxrwxr-x 1 root root 0 Jan 19 12:24 host_test.text
-rwxrwxr-x 1 root root 0 Jan 21 16:54 LastTest
-rwxrwxr-x 1 root root 0 Jan 21 21:06 NoAATest
-rw-r--r-- 1 root root 0 Jan 21 21:14 Privileges
root@proxmox:~# ls -l /mnt/matkopool/ImmichUploads
total 3
-rwxrwxr-x 1 root root 0 Jan 19 12:24 host_test.text
-rwxrwxr-x 1 root root 0 Jan 21 16:54 LastTest
-rwxrwxr-x 1 root root 0 Jan 21 21:06 NoAATest
-rw-r--r-- 1 root root 0 Jan 21 21:14 Privileges
As expected, it’s not showing up. I’ll go ahead and try this with a VM instead. I’m very excited to have this working properly! Cheers!
22 replies
IImmich
Created by vorpalveil on 1/27/2025 in #help-desk-support
Volume Binding Issue: Immich Using Container Space Instead of Host Directory. At my witts end...
I couldnt run that command on the host, because I have installed docker on a privileged container. I see now, that that might have further complicated things for me. So I should just go with a VM, intsall docker there and proceed with the usual steps. Would that be your suggestion at this point? And again, thank you.
22 replies
IImmich
Created by vorpalveil on 1/27/2025 in #help-desk-support
Volume Binding Issue: Immich Using Container Space Instead of Host Directory. At my witts end...
Thank you for your response, Zeus! Yes, I am running it in an LXC. I had no idea that a VM would have been a better option. I’ve put quite a lot of energy into this setup, and while I don’t mind starting over to rebuild everything, it would be great if we could make it work within the current setup as well. Good news: your command worked! (You can see it’s been a busy construction site with all the test files there. 😄)
root@ImmichC:/opt/immich# docker run -v /mnt/matkopool/ImmichUploads:/test alpine touch /test/success
root@ImmichC:/opt/immich# ls -l /mnt/matkopool/ImmichUploads
total 24
-rw-r--r-- 1 root root 0 Jan 21 21:05 MatkoTest
drwxr-xr-x 2 root root 4096 Jan 27 02:00 backups
drwxr-xr-x 3 root root 4096 Jan 19 17:23 encoded-video
drwxr-xr-x 2 root root 4096 Jan 19 17:03 library
drwxr-xr-x 2 root root 4096 Jan 19 17:03 profile
**-rw-r--r-- 1 root root 0 Jan 27 22:13 success**
-rw-r--r-- 1 root root 0 Jan 19 20:02 testfile
-rw-r--r-- 1 root root 0 Jan 22 02:31 testfile1
drwxr-xr-x 3 root root 4096 Jan 19 17:23 thumbs
drwxr-xr-x 3 root root 4096 Jan 19 17:22 upload
root@ImmichC:/opt/immich# docker run -v /mnt/matkopool/ImmichUploads:/test alpine touch /test/success
root@ImmichC:/opt/immich# ls -l /mnt/matkopool/ImmichUploads
total 24
-rw-r--r-- 1 root root 0 Jan 21 21:05 MatkoTest
drwxr-xr-x 2 root root 4096 Jan 27 02:00 backups
drwxr-xr-x 3 root root 4096 Jan 19 17:23 encoded-video
drwxr-xr-x 2 root root 4096 Jan 19 17:03 library
drwxr-xr-x 2 root root 4096 Jan 19 17:03 profile
**-rw-r--r-- 1 root root 0 Jan 27 22:13 success**
-rw-r--r-- 1 root root 0 Jan 19 20:02 testfile
-rw-r--r-- 1 root root 0 Jan 22 02:31 testfile1
drwxr-xr-x 3 root root 4096 Jan 19 17:23 thumbs
drwxr-xr-x 3 root root 4096 Jan 19 17:22 upload
22 replies
IImmich
Created by vorpalveil on 1/27/2025 in #help-desk-support
Volume Binding Issue: Immich Using Container Space Instead of Host Directory. At my witts end...
Just to add extra information: docker ps -a Output: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 09f69b239370 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash s…" 5 days ago Up 43 hours (healthy) 0.0.0.0:2284->2283/tcp, [::]:2284->2283/tcp immich_server 1654907779b3 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 5 days ago Up 43 hours (healthy) 5432/tcp immich_postgres b11f4f748d7f redis:6.2-alpine "docker-entrypoint.s…" 5 days ago Up 43 hours (healthy) 6379/tcp immich_redis b0f16fd1d8d8 ghcr.io/immich-app/immich-machine-learning:release "tini -- ./start.sh" 5 days ago Up 43 hours (healthy) immich_machine_learning aa85ba022ca1 hello-world "/hello" 9 days ago Exited (0) 9 days ago stoic_wiles 3015369bd5f7 hello-world "/hello" 9 days ago Exited (0) 9 days ago pensive_hopper Docker inspect Immich Container elevant snippet:
"Mounts": [
{
"Type": "bind",
"Source": "/mnt/matkopool/ImmichUploads",
"Destination": "/usr/src/app/upload",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
}
]
"Mounts": [
{
"Type": "bind",
"Source": "/mnt/matkopool/ImmichUploads",
"Destination": "/usr/src/app/upload",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
}
]
System Details Host OS: Proxmox VE 7.4 Hardware: CPU: Intel Xeon Storage: 3x 14.6TB HDDs in ZFS pool, 3.6TB NVMe Filesystems: ZFS for /mnt/matkopool Ext4 for NVMe /mnt/immich-db Output of df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.1G 2.1M 3.1G 1% /run /dev/mapper/pve-root 94G 3.9G 86G 5% / tmpfs 16G 46M 16G 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock efivarfs 128K 35K 89K 29% /sys/firmware/efi/efivars /dev/nvme0n1p2 1022M 12M 1011M 2% /boot/efi /dev/mapper/pve-immich--db 147G 12K 140G 1% /mnt/immich-db matkopool/Immich 29T 256K 29T 1% /mnt/matkopool/Immich matkopool/ImmichUploads 29T 256K 29T 1% /mnt/matkopool/ImmichUploads matkopool 29T 256K 29T 1% /matkopool matkopool/Nextcloud 29T 1.1G 29T 1% /mnt/matkopool/Nextcloud matkopool/media/Music 29T 128K 29T 1% /mnt/matkopool/media/Music matkopool/Backups 29T 128K 29T 1% /matkopool/Backups matkopool/VMs 29T 128K 29T 1% /matkopool/VMs matkopool/media 29T 256K 29T 1% /matkopool/media matkopool/Photos 29T 128K 29T 1% /matkopool/Photos matkopool/Temp 29T 128K 29T 1% /matkopool/Temp matkopool/media/TVShows 29T 128K 29T 1% /matkopool/media/TVShows matkopool/media/movies 29T 128K 29T 1% /matkopool/media/movies /dev/fuse 128M 20K 128M 1% /etc/pve tmpfs 3.1G 0 3.1G 0% /run/user/0 Troubleshooting Steps Verified permissions: ls -ld /mnt/matkopool/ImmichUploads drwxrwxr-x 2 root root 7 Jan 26 16:23 /mnt/matkopool/ImmichUploads Tried creating test files on both the host and container: On host: /mnt/matkopool/ImmichUploads On container: /usr/src/app/upload Files don’t sync between host and container. Uninstalled AppArmor to rule out restrictions. Re-created the container with fresh mounts and configurations. Immich Version Server: v1.124.2 Mobile App: Latest as of 2025-01-26
22 replies