Installing Immich in TrueNas
Hi this is the first time I install Immich, Im following the TrueNAS Community guide but the Storage Configuration says that the Old Storage Configuration (The one showed in the guide) is deprecated. How should I setup the Storage Configuration then?
Thanks in advance and sorry if this has been already asked.
23 Replies
:wave: Hey @Gorpax,
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
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.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:@Gorpax I have the same question...
I have been looking for some info but found nothing for now... If you find something pls tell me ^^
We don’t really know. Truenas has changed some stuff, we don’t control their deployment setup
Best to ask in their forums
@Zeus Btw, your https://immich.app/docs/install/truenas community page have old link to repo. New one is https://github.com/truenas/apps/tree/master/trains/community/immich
Thanks for catching that feel free to submit a PR to update
Asked this as question here: https://github.com/truenas/apps/discussions/2577
@GlebKh I manage to make it work, I will try to explain the best I can:
1 - Create the datasets I show in the first image (data is for all your stuff, database for the database and ml for machine learning cache)
2 - I add how I setup the storage configuration
3 - If server fails to run using this changes probably is because permissions, I used root user and it worked perfectly (I dont know if there is a better solution)



@Gorpax I wanted to keep the upload folder on SSD and library on HDD... I don't see how to do this using "new" configuration...
Hmm Im not sure about that, I have the app installed on SSD and all the media on HDD but you are right now that you point that I think database should be on SSD too
I'm newbie here but I've decided to split this way: first dataset is HDDs raid and hot-share is just SSD with no redundancy. I've planed to use backups storage to keep the backup of DB and other setting? Not sure I'll work that way... Hmm maybe the thumbs is also worth to keep on SSD.

Well... actually looking at the files the "old" datasets are created in data folder, so maybe you can manage to do what you need

Yeah they probably just merged the "old" folders into one but keeping it separated inside because this required by immich. I guess the purpose is attempt to simplify the installation but it sacrifice flexibility
is the new "encoded-video" folder the same as the old "video" folder?
think it is based on this (unless im wrong)

Im not sure sorry, this is my first time using immich
@Zeus could you step in here? They want to remove this option completely https://github.com/truenas/apps/discussions/2577
Why do we need to step in? From our POV truenas can do whatever they want. Its their product
If they do weird stuff causing issues we will just direct them to truenas and decline to provide support. This does not seem that strange though
Good. Just want to make sure it's reasonable change
where can i find the updated installation steps for truenas?
There's no doc for that yet