Troubles after updating immich topology

i have immich running in truenas as a oficial app, recently it asked me to change the app topology to the new one (all the seprate datasets go to one data dataset). after doing that and fixing the promissions immich sucsessfuly started, but on some videos i get a no video with suported format or mime type found. i have allready tryed re transcoding everything but it didnt help. is there a way i can save these media? or at least filter it out and delite it if its gone.
No description
20 Replies
Immich
Immich4d ago
:wave: Hey @//Andrej, 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.
//Andrej
//AndrejOP4d ago
server.log:
//Andrej
//AndrejOP4d ago
pgvecto log:
//Andrej
//AndrejOP4d ago
mchine learning log:
//Andrej
//AndrejOP4d ago
redis log:
//Andrej
//AndrejOP4d ago
promissions:
//Andrej
//AndrejOP4d ago
container status:
No description
//Andrej
//AndrejOP4d ago
Trubelshotting allready done: - reboot - update - retranscoding averything
//Andrej
//AndrejOP4d ago
Posible problem i am not sure but i might have badly copied the files over from /pool/config/immich/uploads -> /pool/config/immich/data/uploads (or sone others) when i was migrating to the new file structure, mybe i lost sone data before it properly finished copying over 😭 . here are the files: (i allso copied the .immich files)
No description
Immich
Immich4d ago
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
//Andrej
//AndrejOP4d ago
if these ones are not recoverable is thare i way to filter them out so i can delite them from immich i have brocken the golden rule of 3's
Xiticks
Xiticks3d ago
Will have a look at it tomorrow !
//Andrej
//AndrejOP3d ago
tnx ❤️
Xiticks
Xiticks3d ago
1) That is only on some videos, correct? 2) Did you use the rsync command to mmigrate the data? (if so could you share them) 3) Do you still have the old config? Btw, when you click on the video, are you able to download it? Like upper right there is a 3dots menu, click on it, then "download" This would be an "easy" way to verify if the issue is due to some files not transferred or if that would be another issue
//Andrej
//AndrejOP2d ago
1) yes only some 2) no i didnt use rsync i used popy party (a relatively new web file manager) 3) no, i ctrl + x the files (ops) and no i am not able to download them (probably axualy lost the files)
//Andrej
//AndrejOP2d ago
No description
//Andrej
//AndrejOP2d ago
is there any way to filter these out? so i can remove them from the library
Xiticks
Xiticks2d ago
Previously there was a repair page, but it's been in rework for a while, so I don't think so: https://v1.120.2.archive.immich.app/docs/administration/repair-page/ Maybe there could be a way with the api, but I'm not sure
Repair Page | Immich
This feature is currently disabled and will be reworked in the near future.
Xiticks
Xiticks2d ago
@Sergey Katsubo may know a bit more about me on that I'm not sure, but I see that he often deals with database stuff
Sergey Katsubo
hey! To begin with, could you run the command below? It gets 10 records from Postgres and checks if corresponding files are present on disk
docker exec ix-immich-pgvecto-1 psql -U immich -d postgres -At0 -c 'select "originalPath" from asset limit 10' | docker exec -i ix-immich-server-1 xargs -0 stat -t -c '%.19y %10s %n'
docker exec ix-immich-pgvecto-1 psql -U immich -d postgres -At0 -c 'select "originalPath" from asset limit 10' | docker exec -i ix-immich-server-1 xargs -0 stat -t -c '%.19y %10s %n'
Example output (3 last lines are files missing on disk but present in the database)
2015-12-30 20:16:29 432373 /data/library/5025c03b-e991-464a-bb53-998a94b6dce3/2015/2015-12/img copy.jpg
2025-06-27 21:22:56 460204 /data/library/admin/2020/2020-07/mk-2020-9ffc-2020-06-28-v2.jpg
stat: cannot statx '/data/library/admin/2021/2021-03/20210313_210321.jpg': No such file or directory
stat: cannot statx '/data/library/admin/2021/2021-05/20210502_230939.jpg': No such file or directory
stat: cannot statx '/data/library/admin/2021/2021-05/IMG_20210501_173816.jpg': No such file or directory
2015-12-30 20:16:29 432373 /data/library/5025c03b-e991-464a-bb53-998a94b6dce3/2015/2015-12/img copy.jpg
2025-06-27 21:22:56 460204 /data/library/admin/2020/2020-07/mk-2020-9ffc-2020-06-28-v2.jpg
stat: cannot statx '/data/library/admin/2021/2021-03/20210313_210321.jpg': No such file or directory
stat: cannot statx '/data/library/admin/2021/2021-05/20210502_230939.jpg': No such file or directory
stat: cannot statx '/data/library/admin/2021/2021-05/IMG_20210501_173816.jpg': No such file or directory

Did you find this page helpful?