Replies: 7 comments 4 replies
|
Are you checking the |
|
Both the Maybe I misconfigured something on my side. |
That doesn't sound right. You should probably just use the default mounts from the docker-compose setup we supply. |
I use Truenas Scale and if I use the PVC I cannot access them easily outside the container. This is why I set this like that. But I did notice something weird where both of the data are in my PVC and on my disk. I think I did something wrong and I will try to set it again following the folder structure you mentioned. |
|
I have investigated a bit more and I came across these errors for all the files: ERROR [StorageTemplateService] Problem applying storage template
ERROR [StorageTemplateService] Error: EPERM: operation not permitted, copyfile 'upload/upload/beff4a59-92c7-4aff-b450-32d126e5c155/c5/3b/c53b0510-aff8-4062-bcb8-58bba026bb65.mp4' -> 'upload/library/thomas/2024/02/25/VID20240225013642.mp4'
ERROR [StorageTemplateService] Object:
{
"id": "976e81f3-994b-41b3-9d55-2ef971333e5d",
"oldPath": "upload/upload/beff4a59-92c7-4aff-b450-32d126e5c155/c5/3b/c53b0510-aff8-4062-bcb8-58bba026bb65.mp4",
"newPath": "upload/library/thomas/2024/02/25/VID20240225013642.mp4"
}So it does not take into account the custom path actually and sticks with the one by default. I think this was not the behavior in the previous version because, with the same config, I did my files were in the right location. |
|
Any plan to add/fix this behavior? |
|
This must be what's happening for me - I am also on TrueNAS SCALE, using the TrueCharts version of Immich. Uploaded files don't seem to actually show up in the folder designated as uploads, and no amount of time or job runs seems to make anything move to the folder designated as library. I have both mapped as NFS paths (internally to folders designated as dual NFS/SMB shares) instead of PVC stuff, which is largely inaccessible on TrueNAS SCALE. |
Uh oh!
There was an error while loading. Please reload this page.
The bug
When using the storage template and the hash verification the folder structure set in the storage template is not taken into account. Instead, the folder structure is UUID-based. I try to run the storage template migration but it does not do anything.
I have attached some pictures of my problem.
Here is my settings:

This is inside my profile folder (that uses my profile ID):

Inside the folder

00:Inside the folder

3c:This is the same folder structure across all my files with only one file per folder (but since it is a UUID it makes sense, I have only ~3000 files).
The OS that Immich Server is running on
Docker
Version of Immich Server
v1.100.0
Version of Immich Mobile App
v1.100.0
Platform with the issue
Your docker-compose.yml content
default settingsYour .env content
Reproduction steps
1. Use the mobile application to upload some pictures and videos 2. Use storage template option with hash verification enabled 3. Click on the storage migration buttonAdditional information
No response
All reactions