Install Immich on TrueNAS in 2025
Installing Immich
Immich requires that we create three datasets (Immich, pgdata, data). A dataset is a file system that can be created within a storage pool, similar to a folder but with advanced features like individual permissions, encryption, and the ability to create snapshots.
Create Datasets on TrueNAS
First thing you want to do is create a dataset for Immich, it can be left as generic. We will then create two more datasets within that Immich folder (dataset).
- Login to TrueNAS and select Datasets on the left.
- Select your data pool
- Select add dataset from the top right.
We need to create a main Data Set for Immich like Shown Below:
We need to create another dataset WITHIN our Immich dataset like we just created. You will do this by selecting the Immich dataset FIRST, then selecting add a data set again on the top right.
For our first dataset, we will call it pgData you can keep the default preset Generic as permissions can be set during the installation of the Immich app (pgdata stands for postgre data).
Create a second data set UNDER the Immich dataset called data that will be given the data set preset of apps.
Install Immich app on TrueNAS
- To install Immich, select apps from the far right menu.
- Then select discover apps on the top right.
- Search Immich in the search bar.
- Select It.
- Then select Install Immich
Configure the Install Settings on TrueNAS for Immich
Here is a list of the setting we MUST change for Immich to work, if you miss some of these settings, it may fail to install and turn on.
Application Name
-
Name your applicaiton
Immich Configuration
-
Select your timezone
-
Select enable machine learning leave as default machine learning image unless you have an Nvidia GPU installed then you can select cuda machine learning iamge
-
Set a database password.
-
Set a redis password
-
Select SSD or HDD under database storage type+
Network Configuration
- Select add under Host IPs
Storage Configuration
make sure under type you select host path. 8. Select your dataset for uploads under Data Storage 9. Select your dataset pgdata under Postgres Data Storage 10. Select Automatic Permissions under PostGres Data Storage
Resource Configuration
Immich reccomends at least 8 threads and 6Gb of Ram. Set these below. As you can see 2 CPU threads and roughly 8 Gbs of RAM has been working fine for me. 11. Set CPUs 12. Set Memory.
Then when you are done select Install at the bottom.
Logining into Immich
To login to Immich you will go to the IP address of your TrueNAS Machine and the port 30041.
http://<ip address>:30041
Go ahead and create an account and login to your Immich cloud environment. If you would like to understand how to use Immich more, continue watching your videos linked at the top of this article where we will show you how to use it with your phone.
Using Immich on your phone
One last thing, if you want Immich to upload photos automatically from your sleected albums, you need to go into your phone settings, search for Immich, then go to the battery settings and turn it to unrestricted. If you do not do this, Immich will be closed by your phones operating system and be unable to run backups automatically.