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

1 messages · Page 1 of 1 (latest)

elder sun
#

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

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?

dark charmBOT
#

:wave: Hey @elder sun,

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

#

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

Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.

GitHub

High performance self-hosted photo and video management solution. - Issues · immich-app/immich

dark charmBOT
rain atlas
elder sun
#

i can see all files and folders

#

i just checked the thumb directory for example see the jpegs it created

rain atlas
#

can you share your compose and env files

elder sun
rain atlas
#

you can also add them as an attachment

#

or a github gist

rain atlas
elder sun
#

i just provided the pastebin link where i posted my compose file

#

🙂

rain atlas
#

what os is this running on?

elder sun
#

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.

rain atlas
#

ah, that's why you have it mapped the way you do

elder sun
#

ah yes. i get the confussion then 🙂

rain atlas
#

can you share the full logs?

elder sun
#

from the machine learning container?

elder sun
rain atlas
#

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

elder sun
#

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

radiant fjord
#

idk what container manager does but portainer uses stack.env instead of .env so it might not be mounting your volumes properly

elder sun
#

@radiant fjord 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.