Closed jsdwei closed 1 year ago
Could this be related to how your PI manages the USB mount or the Docker version manages the mount on your system? Do you have fstab setup to mount the USB on rebooting/starting up?
Hello, has fstab to get usb auto mounted on boot help resolve the issue?
Could this be related to how your PI manages the USB mount or the Docker version manages the mount on your system? Do you have fstab setup to mount the USB on rebooting/starting up?
I don't know how the operating system automatically mounts the USB drive, I checked the /etc/fstab file, there is no UUID of the USB disk, I checked the /etc/rc.local file, there is no mount command.
Hello, has fstab to get usb auto mounted on boot help resolve the issue?
I haven't tested it yet
The bug
After rebooting the system, immich causes the USB hard drive to be mounted to the wrong path The Raspberry Pi 4b, 64-bit OS, The mount path of the USB hard disk is /media/pi/e65abf9a-0e03-46d1-84b5-b0bd7b19012e7, and the upload path of immich is /media/pi/e65abf9a-0e03-46d1-84b5-b0bd7b19012e7/pub/photos/immich, but after rebooting the operating system, /media/pi/e65abf9a-0e03-46d1-84b5-b0bd7b19012e7/pub/photos/immich became an empty directory, and the usb hard disk mount path became /media/pi/e65abf9a-0e03-46d1-84b5-b0bd7b19012e71 (with the "1" character), causing my samba shared folder to be wrong.
The OS that Immich Server is running on
Linux raspi 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux
Version of Immich Server
v1.53.0
Version of Immich Mobile App
v1.53.0 build.93
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response