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.1
to 1.125.1
(altough not sure if it happend before as did not check the logs for a while)
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
: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_01GY0DAKGXDEHE263BCAYEGFJAChecklist
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.
FAQ | Immich
User
GitHub
Issues Ā· immich-app/immich
High performance self-hosted photo and video management solution. - Issues Ā· immich-app/immich
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
can you do an ls within the server container and ensure it sees all of your media?
i can see all files and folders
i just checked the thumb directory for example see the jpegs it created
can you share your compose and env files
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
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.
you can also add them as an attachment
or a github gist
saw this after
i just provided the pastebin link where i posted my compose file
š
what os is this running on?
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.
ah, that's why you have it mapped the way you do
ah yes. i get the confussion then š
can you share the full logs?
from the machine learning container?
as stated here
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
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
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
idk what container manager does but portainer uses
stack.env
instead of .env
so it might not be mounting your volumes properly@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.
This thread has been closed. To re-open, use the button below.