Package Details: immich-cli 1.132.3-1

Git Clone URL: https://aur.archlinux.org/immich.git (read-only, click to copy)
Package Base: immich
Description: Self-hosted photos and videos backup tool
Upstream URL: https://github.com/immich-app/immich
Licenses: MIT
Submitter: wabi
Maintainer: wabi (pikl)
Last Packager: pikl
Votes: 15
Popularity: 0.90
First Submitted: 2022-12-30 11:41 (UTC)
Last Updated: 2025-05-03 21:09 (UTC)

Pinned Comments

pikl commented on 2025-01-25 21:54 (UTC) (edited on 2025-01-26 08:23 (UTC) by pikl)

Upgrading to postgresql-17 is awkward because of pgvecto.rs if you have been using 0.2.0 as provided by AUR package pgvecto.rs-immich. If you have been using 0.3.0 as provided by AUR package pgvecto.rs-immich-bin then these extra steps are likely not required and I suggest the wiki instructions for upgrades for major version increments of postgresql are followed.

If you would like to stick at postgresql-16 please add the following to pacman.conf:

IgnorePkgs = postgresql postgresql-libs

Following the manual dump and reload in the wiki does appear to work, with a few extra steps to consider the pgvecto.rs upgrade.

Starting point is postgresql-old-upgrade installed with pgvector.rs-0.2.0. Symlink the installation outputs of pgvecto.rs into the directories used by the parallel installation of postgresql-old-upgrade.

ln -s /usr/share/postgresql/extension/vectors.control /opt/pgsql-16/share/extension/vectors.control
ln -s /usr/share/postgresql/extension/vectors--0.2.0.sql /opt/pgsql-16/share/extension/vectors--0.2.0.sql
ln -s /usr/lib/postgresql/vectors.so /opt/pgsql-16/lib/vectors.so

Then perform the database start (/opt/psql-16/bin/pg_ctl .. start), "dump" (pg_dumpall...) and database stop (/opt/psql-16/bin/pg_ctl .. start) steps in the wiki.

Upgrade to postgresql-17 and pgvecto.rs-0.3.0 (provided by pgvector.rs-immich-bin). Clear out /var/lib/postgresql/data then initialise the database (initdb...) as per the wiki.

Start the service using systemctl start postgresql and install the pgvecto.rs using the following command:

psql -c 'ALTER SYSTEM SET shared_preload_libraries = "vectors.so"'

Finally restart the postgresql service and perform the reload (psql...) steps in the wiki.

EDITED: Various clarifications

pikl commented on 2024-08-05 09:52 (UTC)

From v1.111.0, this package does not build with nodejs < v20.

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 Next › Last »

ksj commented on 2024-03-13 08:46 (UTC)

@Mars160, Interesting. I thought systemctl edit is just other way to edit files without knowledge of their location. But as I now understand, this is just for adding something to service file, not removing, isn't it?

Mars160 commented on 2024-03-13 08:18 (UTC)

@ksj

Maybe you want to use

# systemctl edit immich-server

to create an override file to disable the immich-machine-learning.service?

ksj commented on 2024-03-13 08:14 (UTC)

you still haven't removed nginx from package_immich-server() required dependencies.

Also, I understand for someone can have convenience run other services too: BindsTo=immich-microservices.service immich-machine-learning.service After=immich-microservices.service immich-machine-learning.service But I don't use machine learning in immich (disable in config and web), so I don't even run them. They take only more ram, when used. So, after every new installed package I have to stop them, because they are useless for me. Can you remove this systemd dependency too?

pikl commented on 2024-03-12 19:01 (UTC)

@ksj of course - it was the intention only to provide nginx config as an example so it should be an optional dependency. Bumped to v1.98.2-2 for this.

ksj commented on 2024-03-12 09:08 (UTC)

Can you put nginx to optional dependencies? It is not needed. In my case I'm using nginx on separate server and using ssh forwarding from other private server, where is immich running.

simona commented on 2024-03-10 12:04 (UTC)

use rustup and not rust :-(

pikl commented on 2024-01-30 21:40 (UTC)

Apologies I haven’t been able to look at packaging v1.93.3 due to combination of failed home broadband and work commitments. Thanks @hrdl for the patch - should have time later this week to look into it.

hrdl commented on 2024-01-30 12:28 (UTC)

I'm testing 1.93.3. Here's my patch: https://paste.debian.net/hidden/bc63f6ed/

Mars160 commented on 2024-01-04 03:37 (UTC)

How to change the that immich-server run with? I want immich to manage the pictures in my nextcloud.

My nextcloud is running with ‘nextcloud’. So how can I run immich with nextcloud?

I tried to override the service file to change User and Group to nextcloud, and change ReadWritePaths to 755 directory. But It said that Immich have no permission to create upload/library.

After chmod to 777, I found immich created all directories with immich not nextcloud.

wabi commented on 2023-12-29 17:20 (UTC)

Anybody experiencing issues with photo previews (thumbnails and the smaller version served when clicked on) are black and white? https://github.com/immich-app/immich/issues/6046