Drax
IImmich
•Created by Drax on 1/21/2025 in #help-desk-support
Storage template job fails everytime

8 replies
IImmich
•Created by Drax on 1/21/2025 in #help-desk-support
Storage template job fails everytime
For every picture, I get this error in the logs :
[Nest] 7 - 01/21/2025, 1:43:33 PM LOG [Microservices:APIKeyService] Attempting to finish incomplete move: upload/upload/632019b6-7cce-44c5-ace1-eb1c9207514e/4f/50/4f50436e-421b-4c30-9e7b-7c1b50d262c0.JPG => upload/library/admin/2021/06/IMG_4469_Original.JPG
[Nest] 7 - 01/21/2025, 1:43:33 PM LOG [Microservices:APIKeyService] Found file at old location
[Nest] 7 - 01/21/2025, 1:43:33 PM ERROR [Microservices:StorageTemplateService] Problem applying storage template
[Nest] 7 - 01/21/2025, 1:43:33 PM ERROR [Microservices:StorageTemplateService] Error: EPERM: operation not permitted, copyfile 'upload/upload/632019b6-7cce-44c5-ace1-eb1c9207514e/4f/50/4f50436e-421b-4c30-9e7b-7c1b50d262c0.JPG' -> 'upload/library/admin/2021/Jun/IMG_4469_Original.JPG'
at async Object.copyFile (node:internal/fs/promises:620:10)
at async StorageCore.moveFile (/usr/src/app/dist/cores/storage.core.js:148:17)
at async /usr/src/app/dist/services/storage-template.service.js:161:17
at async /usr/src/app/dist/repositories/database.repository.js:197:23
[Nest] 7 - 01/21/2025, 1:43:33 PM ERROR [Microservices:StorageTemplateService] Object:
{
"id": "cb3d6904-b49b-4c58-82c1-2ff4e072dcc4",
"oldPath": "upload/upload/632019b6-7cce-44c5-ace1-eb1c9207514e/4f/50/4f50436e-421b-4c30-9e7b-7c1b50d262c0.JPG",
"newPath": "upload/library/admin/2021/Jun/IMG_4469_Original.JPG"
}
8 replies