#Moved files. Immich not starting

1 messages ยท Page 1 of 1 (latest)

mystic moat
#

[Nest] 7 - 01/29/2026, 11:52:08 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for face_index of 114906 rows
[Nest] 7 - 01/29/2026, 11:52:08 PM LOG [Microservices:StorageService] Verifying system mount folder checks, current state: {"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
[Nest] 7 - 01/29/2026, 11:52:08 PM ERROR [Microservices:StorageService] Failed to read (/data/encoded-video/.immich): Error: ENOENT: no such file or directory, open '/data/encoded-video/.immich'
microservices worker error: Error: Failed to read: "<UPLOAD_LOCATION>/encoded-video/.immich (/data/encoded-video/.immich) - Please see https://docs.immich.app/administration/system-integrity#folder-checks for more information.", stack: Error: Failed

I have moved everything from /immich-app to mnt/networkmount
mnt/networkmount is all chmodded to be readable by the user.
.env is updated to reflect the network mount - The error message indicates that it might not be.

This is running on a docker on a lubuntu server.

worldly mangoBOT
#

:wave: Hey @mystic moat,

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.

amber basin
#

show your exact env/compose please

mystic moat
#

pw changed for obv reasons..

#

so its not accurate, but otherwise is

amber basin
#

and ls -la /mnt/immichdata ?

mystic moat
amber basin
#

Seems about right

#

Does this reflect with docker exec -t immich_server ls -la /data ?

mystic moat
#

not sure I can get it to fire up enough to where it will respond. I will give it a shot

#

promising..

amber basin
#

What are you hosting this on?

mystic moat
#

Docker. This is portainer. overview of containers

amber basin
#

Docker isn't a host ๐Ÿ˜› I mean ubuntu, synology, truenas ...

mystic moat
#

apologies

#

Lubuntu

amber basin
#

ah right you've said so in the OP

#

is that docker desktop then?

#

Does lubuntu use snap packages?

mystic moat
#

Not afaik. I have used apt for all installations

amber basin
#

You could set IMMICH_IGNORE_MOUNT_CHECK_ERRORS=true in the env to temporarily allow the immich_server to start up

#

Purely for debugging of course

mystic moat
amber basin
#

just wondering about the gui ๐Ÿ™‚

mystic moat
#

ah

#

no gui, really

#

running portainer to have gui-ish

amber basin
#

ah of course

mystic moat
amber basin
#

minor nitpick: your env has the TZ indented, it shouldn't be

mystic moat
#

I love a good nitpick

#

i'll fix it

amber basin
#

I sure hope this isn't the cause of trouble but you never know

mystic moat
#

is there a code snippet pre/postfix for discord?

amber basin
#

yes, three backticks start and finish

mystic moat
amber basin
#

1 backtick start/finish for inline: code

mystic moat
#

alas the indent did not work

amber basin
#

you can even highlight if you put the language right after the first three, on the same line:

name: immich
services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    volumes:
      # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
      - ${UPLOAD_LOCATION}:/data
      - immich_upload:/data/library
      - immich_library:/data/upload
      - /etc/localtime:/etc/localtime:ro
      - external_nas_pictures:/external-library/Nas-pildid:ro
    env_file:
      - .env
    ports:
      - 2283:2283
    depends_on:
      - redis
      - database
    restart: always
    healthcheck:
      disable: false
amber basin
mystic moat
#

not to nitpick but disable is one too many levels indented

amber basin
#

no it's not lol

mystic moat
#

not its not ๐Ÿ˜„

#

but I made you look!

amber basin
mystic moat
#

thusly?

amber basin
#

yarp

mystic moat
#

Hm. It still will not ignore the missing mount

#

does the same

amber basin
#

weird

#

You're not confusing .env with stack.env are you

mystic moat
#

I don't think so

#

could this be some cache-problem?

amber basin
#

Seems unlikely to me

#

I have to go sleep ๐Ÿ‘€

mystic moat
#

docker-compose

amber basin
#

try disable:true for the healthcheck

mystic moat
#

[Nest] 7 - 01/30/2026, 12:57:20 AM ERROR [Microservices:StorageService] Failed to read (/data/encoded-video/.immich): Error: ENOENT: no such file or directory, open '/data/encoded-video/.immich'
[Nest] 7 - 01/30/2026, 12:57:25 AM ERROR [Microservices:StorageService] Failed to read (/data/encoded-video/.immich): Error: ENOENT: no such file or directory, open '/data/encoded-video/.immich'

#

also a fair representation of how I feel right now.

amber basin
#

ok just to be clear here

#

readable by the user you mean the docker user right ๐Ÿ‘€

mystic moat
#

correct

amber basin
#

out of ideas then

#

also it's 1 am ๐Ÿ™ƒ

mystic moat
#

same

#

time for bed

#

thank you for your helpo

#

I appreciated it still

amber basin
#

๐Ÿค

mystic moat
#

@amber basin I'm, hoping you have had an epiphany

amber basin
mystic moat
#

That's even worse than computer says no

amber basin
#

It is it is

#

Anything special about the new folders

mystic moat
#

No. Sadly

#

Idk. Might be time for a nuke of the server and reinstall

#

pulled out the big guns to ensure that the rights were in place as well

amber basin
#

uh yeah don't uh do that ๐Ÿ˜„

mystic moat
#

dude, I know.

#

or dudette

amber basin
#

lubuntu doesn't use any ACLs or hidden attributes right?

#

Dudette?

#

Did you see my beard

mystic moat
#

I'm not sure of that

#

Fellow beardian I haven't seen your beard

amber basin
#

last thing I can think of

mystic moat
amber basin
#

skill issue

#

anyway

mystic moat
#

it ain't as majestic as yours

#

but it's there!

amber basin
#

Shutdown the containers
Rename the folders to .old or whatever
start up again, they should be recreated with a fresh instance

#

See what the difference is or shut down and move the contents?

mystic moat
#

allright

#

Step 1- All is down

#

By "the folders" you mean the contents of immich-app/immich?

#

left side is local, right side is network mount

amber basin
#

I meant the whole of immichdata but both will work

mystic moat
#

I have already tried moving them to a different folder

#

but I can move them back and rename them

amber basin
#

yeah but also the database this time

#

So it will start fresh

#

and you can see where it all ends up ๐Ÿ‘€

mystic moat
#

lord have mercy

#

sounds scary as all hell

amber basin
#

I'm just saying it's an idea, you choose

amber basin
#

I wouldn't put the ignore mount check errors this time

mystic moat
#

it's now commented out

#

it's pondering life at this point

#

created a new folder

#

unable to get any further than that it seems

amber basin
#

So it created a folder?

mystic moat
#

it did

amber basin
#

๐Ÿค”

mystic moat
#

lemme try the same for the network mount then

amber basin
#

It's 100% a permissions issue but which one tho

#

I also notice you never actually posted a compose ๐Ÿ‘€

mystic moat
mystic moat
amber basin
#

It can't give these errors if you use new folders

#

i.e. it is not using those folders at all, at the very least not for the database

mystic moat
#

that is correct. Database is local

#

I have to go pollard my maple trees now. Will look at this some more later.

#

at this point I am considering abandoning it and redoing the entire thing

#

Making sure that from the first moment it will store uploads in the network drive

#

(and thumbs and converted videos etc)

amber basin
#

That'd sure be less nerve wracking ๐Ÿ˜›

mystic moat
#

@amber basin I removed the .env while redeploying in portainer and listed under volumes -/mnt/immichdata:/data and then it worked

amber basin
#

You sure they are ending up in the right spot now @mystic moat?

amber basin
#

Please make your own thread

mystic moat
#

main storage shows volume size of /mnt/immichdata and I have thumbs and encoded videos still on the Docker server

#

volumes:
# Main storage on NAS
- /mnt/immichdata:/data
# Performance Cache on Local SSD (Overrides subfolders in /data)
- /home/docker/immich-app/cache/thumbs:/data/thumbs
- /home/docker/immich-app/cache/encoded-video:/data/encoded-video
# External Library & System mounts
- /etc/localtime:/etc/localtime:ro
- /mnt/furtephoto:/mnt/furtephoto:ro

mystic moat
amber basin
mystic moat
#

Ah.

amber basin
#

If everything works as expected and you see the images appear on disk where they should then all's good I'd say ๐Ÿ™‚

mystic moat
#

I would say the same. I am still churning through thumb generations and the poor thing is suffering.. Considering upgrading my NAS irregardless of what happens.

amber basin
#

Be aware that after the initial churn you'll have much less load

#

It's mostly the memory requirements that are high for the sporadic uploads

#

As in, they stay the same whether you upload 1 or 1000 images

mystic moat
#

I will close this thread when all is well but for future searchers:
I redeployed Immich as a stack in Portainer, while also removing .env and listing the volumes under a volume section in the compose file
After that I tweaked the volumes to where I had thumbnails and encoded video locally on the docker server for performance.
I used google AI for parts of the YAML generation, hwoever it made just as many problems as it helped. The main benefit was that for each mistake it made, I understood better the code it screwed up

mystic moat
#

As a final follow up to this. I misconfigured WUD and nuked the entire service. After spending a couple days trying to get it back up, I gave up and thought to reinstall. I will close this, but the crux is still the same;
Storing thumbs and DB locally and uploads in a NAS is tricky. Docker has to cooperate with the underlying OS, if CIFS is involved you have a very particular road ahead. The documentation around this is terrible and AI agents will by all means help you, but you will break more things than you fix along the way.

#

I will create a new thread to ensure that the stack I now deploy will be configured correctly from day 1

#

!resolved