I
Immich•4mo ago
Ramonskie

ERROR [Microservices:StorageService] Failed to read upload/encoded-video/.immich

i have browsed to the many related questions but could not find a soultion. i'm currently seeing the error in the immich_machine_learning container. after upgradeing from 1.124.1to 1.125.1 (altough not sure if it happend before as did not check the logs for a while)
Starting microservices worker
[Nest] 7 - 01/24/2025, 2:13:58 PM LOG [Microservices:StorageService] Verifying system mount folder checks, current state: {"mountFiles":true,"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
[Nest] 7 - 01/24/2025, 2:13:58 PM ERROR [Microservices:StorageService] Failed to read upload/encoded-video/.immich: Error: ENOENT: no such file or directory, open 'upload/encoded-video/.immich'
microservices worker error: Error: Failed to read "<UPLOAD_LOCATION>/encoded-video/.immich - Please see https://immich.app/docs/administration/system-integrity#folder-checks for more information."
microservices worker exited with code 1
Starting microservices worker
[Nest] 7 - 01/24/2025, 2:13:58 PM LOG [Microservices:StorageService] Verifying system mount folder checks, current state: {"mountFiles":true,"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
[Nest] 7 - 01/24/2025, 2:13:58 PM ERROR [Microservices:StorageService] Failed to read upload/encoded-video/.immich: Error: ENOENT: no such file or directory, open 'upload/encoded-video/.immich'
microservices worker error: Error: Failed to read "<UPLOAD_LOCATION>/encoded-video/.immich - Please see https://immich.app/docs/administration/system-integrity#folder-checks for more information."
microservices worker exited with code 1
the strange thing is the file exists and i can open the immich website and see all my photos. what i tried is to delete /encoded-video/.immich file and then restart immich-server container. and i see it failling (this is expected ofcourse) so i did a touch /encoded-video/.immich and the image-server container started fine again. but the immich_machine_learning is still failing. any idea's or suggestions?
23 Replies
Immich
Immich•4mo ago
:wave: Hey @Ramonskie, 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
Immich
Immich•4mo ago
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.
GitHub
immich-app immich Ā· Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
GitHub
Issues Ā· immich-app/immich
High performance self-hosted photo and video management solution. - Issues Ā· immich-app/immich
Immich
Immich•4mo ago
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Tempest
Tempest•4mo ago
can you do an ls within the server container and ensure it sees all of your media?
Ramonskie
RamonskieOP•4mo ago
i can see all files and folders i just checked the thumb directory for example see the jpegs it created
Tempest
Tempest•4mo ago
can you share your compose and env files
Ramonskie
RamonskieOP•4mo ago
discord doesnt like me to send long messages. but there the exact same ones as the one in https://github.com/immich-app/immich/blob/main/docker/docker-compose.yml
Ramonskie
RamonskieOP•4mo ago
Pastebin
WARNING: Make sure to use the docker-compose.yml of the current ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Tempest
Tempest•4mo ago
you can also add them as an attachment or a github gist saw this after
Ramonskie
RamonskieOP•4mo ago
i just provided the pastebin link where i posted my compose file šŸ™‚
Tempest
Tempest•4mo ago
what os is this running on?
Ramonskie
RamonskieOP•4mo ago
this is hosted on a synology sa6400 which is basicly debian bookworm but as i mentioned the issue is strange as it does not happen with immich-server but only with the immich-machine-learning container.
Tempest
Tempest•4mo ago
ah, that's why you have it mapped the way you do
Ramonskie
RamonskieOP•4mo ago
ah yes. i get the confussion then šŸ™‚
Tempest
Tempest•4mo ago
can you share the full logs?
Ramonskie
RamonskieOP•4mo ago
from the machine learning container?
Tempest
Tempest•4mo ago
as stated here
Ramonskie
RamonskieOP•4mo ago
yeah i use portainer so i can get specific logs for each container. this is a snippit of the log file as it keeps repeating forever immich-machine-learning: https://pastebin.com/mZpcbjuk immich-server: https://pastebin.com/ET4KKia4
Tempest
Tempest•4mo ago
that's odd. I'd guess a permissions issue or the mount is failing. But the mount is local so it shouldn't be an issue. Can you try
cd /path/to/immich/compose.yml
docker-compose down
docker-compose pull
docker-compose up
cd /path/to/immich/compose.yml
docker-compose down
docker-compose pull
docker-compose up
Ramonskie
RamonskieOP•4mo ago
ah fuck i think i maby know whats wrong. i switched from container manager to portainer a while ago. i just tested and started it with container manger again (same freaking docker containers) and now the error is gone. i have absolutely no idea why as the permissions should be exactly the same. as it uses the same docker.sock to connect to the docker daemon. i will investigate a bit more myself. why it behaves like this. im sorry to have taken up your time. and i love the immich project šŸ™‚ amazing community
bo0tzz
bo0tzz•4mo ago
idk what container manager does but portainer uses stack.env instead of .env so it might not be mounting your volumes properly
Ramonskie
RamonskieOP•4mo ago
@bo0tzz yes thats why i hardcoded the paths in the compose file. to check if that was the case but this did not help its probably some permission issue for sure.
Immich
Immich•4mo ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?