User Tools

This is an old revision of the document!


Immich

Installation

on bare metal now.

ref: https://github.com/immich-app/immich/discussions/1657

As immich user create ~/.config/pip/pip.conf:

pip.conf
[global]
break-system-packages = true
user = true

you need poetry for machine learning:

 > pip install poetry

Add in .bashrc:

export PATH=/data/daemons/immich/.local/bin:$PATH
useradd -d /data/daemons/immich -m immich 
su - immich
mkdir build
cd build
 git clone https://github.com/immich-app/immich
cd immich
git checkout v1.92.1
(cd server && npm ci && npm run build && npm prune --production && mkdir app && cp -a package.json package-lock.json node_modules dist app)
(cd web && npm ci && npm run build ) #&& npm prune --production && mkdir app && cp -a package.json package-lock.json node_modules dist app)
#(cd machine-learning && npm ci && npm rebuild @tensorflow/tfjs-node --build-from-source && npm run build && npm prune --production && mkdir app && cp -a package.json package-lock.json node_modules dist app)

ignore the following docker stuff:

Create folder:

 > mkdir /data/daemons/immich
 > cd /data/daemons/immich
 > wget https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
 > wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
 > wget https://github.com/immich-app/immich/releases/latest/download/hwaccel.yml

edit .env file

update:

docker compose pull && docker compose up -d

Immoich does not support bas_url, so:

immich.conf
location /immich {
        auth_pam off;
         return      301 http://$host:2283/;
}

Immich has a CLI qhich requires NPM:

 > emerge nodejs

as root: npm i -g @immich/cli

as une user: immich login-key http://127.0.0.1:2283/api [apiKey]

immich upload –recursive directory/

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information