I was forced to redo my immich setup and while re-uploading all the images I noticed the storage template isnt working. It's creating the folders but not moving the files over to the new location.
[Nest] 7 - 09/24/2024, 2:16:36 PM LOG [Microservices:MediaService] Attempting to finish incomplete move: upload/upload/594a75ee-2d69-4ebd-b7c2-f6d8315453e0/d9/f4/d9f4cbaa-dcf4-4525-a98a-9562d681ae06.mp4 => upload/library/admin/2023/10/ffda3ecd-e969-4329-b40b-436021bd7c7b.mp4 [Nest] 7 - 09/24/2024, 2:16:36 PM LOG [Microservices:MediaService] Found file at old location [Nest] 7 - 09/24/2024, 2:16:36 PM ERROR [Microservices:StorageTemplateService] Problem applying storage template [Nest] 7 - 09/24/2024, 2:16:36 PM ERROR [Microservices:StorageTemplateService] Error: EPERM: operation not permitted, copyfile 'upload/upload/594a75ee-2d69-4ebd-b7c2-f6d8315453e0/d9/f4/d9f4cbaa-dcf4-4525-a98a-9562d681ae06.mp4' -> 'upload/library/admin/2023/10/ffda3ecd-e969-4329-b40b-436021bd7c7b.mp4' at async Object.copyFile (node:internal/fs/promises:623:10) at async StorageCore.moveFile (/usr/src/app/dist/cores/storage.core.js:160:17) at async /usr/src/app/dist/services/storage-template.service.js:153:17 at async /usr/src/app/dist/repositories/database.repository.js:199:23 [Nest] 7 - 09/24/2024, 2:16:36 PM ERROR [Microservices:StorageTemplateService] Object: { "id": "7affac8b-319a-4dcc-af42-802037ce9fd1", "oldPath": "upload/upload/594a75ee-2d69-4ebd-b7c2-f6d8315453e0/d9/f4/d9f4cbaa-dcf4-4525-a98a-9562d681ae06.mp4", "newPath": "upload/library/admin/2023/10/ffda3ecd-e969-4329-b40b-436021bd7c7b.mp4" } [Nest] 7 - 09/24/2024, 2:16:41 PM LOG [Microservices:StorageTemplateService] Finished storage template migration
.