Unable to install Immich on Scale

I upgraded my server from Core to Scale about 6 months ago. Can’t recall what the Scale version was at the time. I installed Plex from the app section and have been running it fine ever since.
Yesterday I decided I wanted to play around with Immich, so I followed all the instructions on the immich website specific for truenas and it failed to install. The web page sits at app.create - 60% App installation in progress, pulling images. It eventually times out with error
[EFAULT] Failed ‘up’ action for ‘immich’ app. Please check /var/log/app_lifecycle.log for more details

If you look in the lifecycle log it just says the same thing… failed ‘up’ action.
I tried again just hitting install and not pointing anything away from the defaults. Gave it the required passwords and thats it. Did the same thing.
So I’m wondering if its not able to actually fetch the immich image to install.

Currently on TrueNAS-25.04.0. I tried upgrading last night to the lastest stable - TrueNAS-25.04.2.4, but after that, the app discovery wouldn’t even finish and give me a list of apps.
Catalog.sync kept failing.
I then did a fresh reinstall and restored configs to get back to 25.04.0.

Is anyone aware of the truenas app immich installer is bad?
Anyone recommend another way/better way to install immich.
I see their “Recommend” way to install immich is Docker Compose, but I don’t even know how to start that on my Truenas system.

1 Like

I am having the same issue, follow the guide and steps on Uni of Youtube and get to 60% and it fails.
I also had issues updating before I did an update on the TrueNas OS.
Anyone have any workarounds?

Are you using hostpaths for storage and did you set the correct permissions for the postgres database on the dataset you want to use? Postgres is one of the apps that don’t run as root or apps, but need specific permissions for uid 999, which in truenas correlates to the netdata user.
My guess is that it tries to set up the postgres container and fails due to lack of permissions.

When you click on discover apps, click on the the dots next to the custom app button, there you will find the option to install a custom app via yaml. Just paste in the whole compose file there, adjust the storage paths, add the code below to add a portal button for the truenas gui and it should start (again assuming you’ve set the correct permissions and adjusted the mount pahts for storage correctly)

x-portals:
  - host: 0.0.0.0
    name: "Web UI"
    path: /
    port: XXXX #replace XXXX with the actual port of the immich webui
    scheme: http

I hat to register to simply thank you Lars, that was the issue. Setting the permissions for the postgress folder to netdata:netdata allowed me to finally install immich again.
I don’t remember dealing with that around a year ago, but nontheless I finally can now move on!

THANKS!

1 Like