#Deploying Immich on TrueNAS Scale 24.10 with Dockge

1 messages · Page 1 of 1 (latest)

steel ruin
#

Hello everyone, I'm trying to deploy Immich on my TrueNAS server. I'm running into this error: "ERROR [Microservices:StorageService] Failed to read upload/encoded-video/.immich: Error: ENOENT: no such file or directory, open 'upload/encoded-video/.immich'"
I've read the documentation at https://immich.app/docs/administration/system-integrity/#folder-checks, but I'm not sure how to troubleshoot and figure out which is the cause out of the several potential causes listed.

Docker Compose: https://pastebin.com/HNR6ipgQ

.env: https://pastebin.com/y24fP7Fp

Thanks for any help in advance!

stiff mortarBOT
#

:wave: Hey @steel ruin,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
  7. :ballot_box_with_check: I have 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)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

steel ruin
fair lake
#

This would be due to changing your UPLOAD_LOCATION, or not having a persistent storage mapped to /usr/src/app/upload

#

did you try to move your data location at all?

steel ruin
#

I did change the UPLOAD_LOCATION, because I want to store photos on a different dataset than the one Immich is installed on

fair lake
#

ok, well you need to move everything from the old UPLOAD_LOCATION to the new one

steel ruin
#

This is a brand new container

fair lake
#

I'm certain it's not

#

are you using the old database?

steel ruin
#

I'm not sure how to find the answer to that question

fair lake
#

well either way, the immich_postgres still knows that it had the old mount points

#

so that is what you would need to reset

steel ruin
#

Ok, how would I do that?

fair lake
#

not sure, this would be a truenas question

#

you can google or ask in #truenas

steel ruin
#

I see

#

I'm not opposed to just deleting the stack and starting over, do you think that would help?

fair lake
#

I don't know what storage backing your database is using so I can't really answer that

#

you need to reset the volume that the database is using

#

however you change the UPLOAD_LOCATION, you should also be able to change the DB_DATA_LOCATION

steel ruin
#

Ok

#

Are you saying that I should change the DB_DATA_LOCATION?

#

sorry I'm very new to this

fair lake
#

yes, you should change that

steel ruin
#

Gotcha