ImmichI
Immich5mo ago
12 replies
DasVekman

Hello everyone.

Running immich off lxc container in proxmox and I created a symlink to move the library to a NAS share but I'm getting an error when I upload a file.

[Nest] 124 - 08/24/2025, 8:35:55 PM DEBUG [Microservices:ApiKeyService] Attempting to rename file: /opt/immich/upload/upload/3308fee0-f6f1-43a9-a873-b87537318e62/54/20/5420e09a-e9b3-45e9-8f17-b61ee33f261e.jpg => /opt/immich/upload/library/admin/img_1458.jpg
[Nest] 124 - 08/24/2025, 8:35:55 PM DEBUG [Microservices:ApiKeyService] Unable to rename file. Falling back to copy, verify and delete
[Nest] 124 - 08/24/2025, 8:35:55 PM ERROR [Microservices:StorageTemplateService] Problem applying storage template
[Nest] 124 - 08/24/2025, 8:35:55 PM ERROR [Microservices:StorageTemplateService] Error: EPERM: operation not permitted, copyfile '/opt/immich/upload/upload/3308fee0-f6f1-43a9-a873-b87537318e62/54/20/5420e09a-e9b3-45e9-8f17-b61ee33f261e.jpg' -> '/opt/immich/upload/library/admin/img_1458.jpg'
at async Object.copyFile (node:internal/fs/promises:621:10)
at async StorageCore.moveFile (/opt/immich/app/dist/cores/storage.core.js:156:17)
at async /opt/immich/app/dist/services/storage-template.service.js:167:17
at async /opt/immich/app/dist/repositories/database.repository.js:379:27
at async /opt/immich/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:535:20
at async DefaultConnectionProvider.provideConnection (/opt/immich/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)
at async /opt/immich/app/dist/repositories/database.repository.js:376:13

I'm guessing it's a permissin thing but the NAS share is everyone full control and the permissions look good on the linux side:
root@immich:/opt/immich/upload/library# ls -l
total 0
lrwxrwxrwx 1 immich immich 23 Aug 24 15:56 admin -> /mnt/main/_photostorage

Thank you! I appreciate it.
image.png
image.png
Was this page helpful?