TrueNAS - Immich Installation Issue

Product: Immich
Related Product: TrueNAS

Overview

This post is regarding Immich installation in TrueNAS by using its build-in "Apps" menu.

TrueNAS provides OOTB Immich application which can be installed.

The installation used existing dataset, which has ACL and username configured.  This leads to subsequent Immich installation failed to create files within the datasets due to user permission issue

Error Message

Log file: /var/log/app_lifecycle.log

Container ix-immich-pgvecto_upgrade-1 service "pgvecto_upgrade" didn't complete successfully: exit 1

Resolution

Possible Cause #1: Dataset has ACL enabled.  Therefore Immich installer (Docker) failed to create new directories inside one of the dataset

Resolution:

1. Edit the dataset

2. Edit Permission

3. Edit ACL

4. Removes ACL - Clicks on "Strip ACL" button at the end of the screen

Possible Cause #2: Dataset has different UNIX user assigned, and not using ACL.  Therefore Immich installer (Docker) failed to create new directories inside one of the dataset

1. If ACL is configured (it will show in the screen), removes ACL first, so there is less use privilege issue involved

2. Edit the dataset

3. Edit Permission

4. In "Unix Permission Editor, set the user which you will used in Immich installer
5. Optionally, when installing Immich, under "Postgre Data Storage," select checkbox "Automatic Permissions."  This checkbox only visible if you select "Host Path" to store PostgreSQL database.  The effective UNIX user will be "netdata" with user ID 999

Comments

Popular posts from this blog

Oracle ORA-0600 on 17090 - When login with wrong password

Windows 10: Converting MBT to GPT+EFI Partition Type

AMD Custom Resolution Setting for BenQ EX3501R Ultra Wide Monitor