Permission error after sync to new dataset
Hi,
I migrated from ixVolumes on truenas to datasets with this guide(https://docs.immich.app/install/truenas). But I have problem with videos.
Videos are "inacessable" and completely stopped working even downloading them is a problem. Problem is the videos are there but in log it says they are not there. Photos are completly fine and live photos too.
2025-10-05 16:20:29.989017+00:00/data/upload/84bda21c-e054-49ce-b2d8-f7623812f89b/0d/3a/0d3aa101-d29d-48df-a33e-baf8f3890441.mp4: No such file or directory
2025-10-05 16:20:29.989023+00:00[39m
2025-10-05 16:20:29.989031+00:00Error: ffprobe exited with code 1
How can I fix this?
33 Replies
:wave: Hey @GordonRamsayCZ,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker ps -a
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA
Checklist
I have...
1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :ballot_box_with_check: reviewed Github for known issues.
5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like fdisk -l
and df -h
).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:Maybe videos from ix volumes should be in "video" folder right?
also there is this in the log
Error: ENOENT: no such file or directory, access '/data/upload/3cafed85-0964-4b76-9c23-9858e8eed981/06/82/06822382-6c4b-4a1e-8577-4a8fdd96e081.MP4'
at async access (node:internal/fs/promises:606:10)
at async sendFile (/usr/src/app/server/dist/utils/file.js:49:9)
at async AssetMediaController.playAssetVideo (/usr/src/app/server/dist/controllers/asset-media.controller.js:83:9)
[31m[Nest] 34 - [39m10/05/2025, 6:39:53 PM [31m ERROR[39m [33m[Api:GlobalExceptionFilter~xnrnvakq][39m [31mUnknown error: Error: ENOENT: no such file or directory, access '/data/upload/3cafed85-0964-4b76-9c23-9858e8eed981/06/82/06822382-6c4b-4a1e-8577-4a8fdd96e081.MP4'
So folder name is right
I used theese commands
rsync -av /mnt/.ix-apps/app_mounts/immich/library/ /mnt/Disky/Immich/data/library/
rsync -av /mnt/.ix-apps/app_mounts/immich/uploads/ /mnt/Disky/Immich/data/uploads/
rsync -av /mnt/.ix-apps/app_mounts/immich/thumbs/ /mnt/Disky/Immich/data/thumbs/
rsync -av /mnt/.ix-apps/app_mounts/immich/profile/ /mnt/Disky/Immich/data/profile/
rsync -av /mnt/.ix-apps/app_mounts/immich/video/ /mnt/Disky/Immich/data/encoded-video/
rsync -av /mnt/.ix-apps/app_mounts/immich/backups/ /mnt/Disky/Immich/data/backups/
ERROR[39m [33m[Api:GlobalExceptionFilter~2i79flbg][39m [31mUnknown error: Error: ENOENT: no such file or directory, access '/data/upload/3cafed85-0964-4b76-9c23-9858e8eed981/85/d8/85d87f46-7c09-4483-84e8-b465ad1d2430.JPEG'[39m
So when I want to download immage I get error
Can you show
1) The datasets you created
2) Permissions on such dataset



But I got error when downloading photos
From web UI
Can you, using truenas shell
cd into /data
sure
do a ls -la there
then cd into /data/upload and also do a ls -la ther



I have everything in uploads folder
from prevorious verison
I rsynced from IX volume
by guide
well that explains the issue
inside this the
Hmm what exactly
then
do
and then
immich expect upload folder not uploads
I will do that
but
Interesting is that photos are all visible
even in clicked
I mean in "full" format
Im going to do that right now
thank you
DUDE IT WORKS
YOU ARE A LIFE SAVER
@Xiticks How can I repay you
It's not full format
Immich always show thumbnails
only when you download them it show the "real" one
Glad I could help you 🙂
Oh thanks. Do you think that putting cache to 1 non mirror ssd is good idea?
For?
Speeding up Immich?
Machine learning and yes
machine learning? So speed up things when you search something ?
Yeah maybe I meant for complete speed up
Becouse I have immich on HDD
Everytrhing
Only for the first search, right ?
And do you have an SSD Pool already somewhere?
Because cache won't be used that much
My current setup is having the database and the thumbs folder on my SSD pool
ANd to also keep the machine learning for the search in my RAM
But you have it in mirror right?
I have one extra M2 and Don’t know what to do with it
Definitely
And LV2 arc is almost useless
Do you have any idea
Well you could use it as a non mirror
But then I wouldn't put any risky data on it
Maybe you could use it for vms or stuff like that
Otherwise don't you have a spare sata also? So you could do mirror of nvme and sata ssd
while you'll loose some speed, i'll anyway be faster than HDD pool
Hmm you are right. But that would be expensive. Thank you so much for your help
well it would require 2 SSDs, don't need to be 10tb ssd though
pair of 500gb or 1tb, shoud do fine especially if it's only for Immich
Hmmm I will think about that so you basicaly recommend putting thumbnails to ssd.
For faster loading
This thread has been closed. To re-open, use the button below.