Package Details: immich-server 1.131.3-2

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
Conflicts: immich
Replaces: immich
Submitter: wabi
Maintainer: wabi (pikl)
Last Packager: pikl
Votes: 14
Popularity: 0.44
First Submitted: 2022-12-30 11:41 (UTC)
Last Updated: 2025-04-03 19:10 (UTC)

Dependencies (43)

Required by (1)

Sources (12)

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 .. 5 6 7 8 9 10 11 12 Next › Last »

pikl commented on 2023-12-09 09:22 (UTC)

@hrdl thanks - should be sorted in 1.90.2-4

hrdl commented on 2023-12-08 21:01 (UTC)

immich.conf mentions localhost:3003, which on IPv6-capable systems can resolve to ::1. This is not compatible with 0.0.0.0, which immich-machine-learning / gunicorn listens on.

pikl commented on 2023-12-08 15:53 (UTC) (edited on 2023-12-08 15:54 (UTC) by pikl)

Hi @DominikJasiok, I also maintain immich-cli as a separate package but haven't updated it since the CLI was brought into the main repository at v1.88.0. I'll look at either updating the separate package or bringing it into this one (as a split package). I'm keen to cater for the use-case where someone just wants to install the CLI without the server, i.e. to bulk upload photos from a desktop/laptop to a separate server.

I'll have a look at this after I've updated the package to the latest version v1.90.x released in the last 24hrs.

DominikJasiok commented on 2023-12-07 09:27 (UTC)

Hi, the latest AUR doesn't include the cli. It is possible to install it after with: npm i -g @immich/cli but maybe we could include it in the PKGBUILD

pvagner commented on 2023-12-01 13:30 (UTC) (edited on 2023-12-01 13:33 (UTC) by pvagner)

@pikl I've figured out what's my issue. I am not building in a chroot but on my desktop machine connecting remotelly over SSH. Poetry tries to use my gnome keyring because I am occassionally running gnome on that machine. I have worked it around by adding this just before poetry install. If it might be a good idea to also add it into the package, I don't really know. I guess for people not using clear chroot and not using poetry for their daily work this might be common.

export PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring

I have found out about it here: https://github.com/python-poetry/poetry/issues/5250

pikl commented on 2023-12-01 09:04 (UTC)

@pvagner I don't think I've ever seen that. If you are not already, try building in a clean chroot? I use aurutils for this.

pvagner commented on 2023-11-30 19:54 (UTC)

When building the package it hangs while installing python dependencies with poetry. Can you reproduce that or think about a possible fix / workaround?

pikl commented on 2023-11-26 22:09 (UTC)

@wabi now added these

wabi commented on 2023-11-25 14:44 (UTC)

libvips requires additional optional packages to run for immich-microservices: poppler-glib openslide

wabi commented on 2023-11-19 18:28 (UTC)

@pikl: thank you for your participation. I've added you as co-maintainer. Currently I'm blocked from pushing updates as my personal gitlab server is down. Let's see with the big 1.88 update what changes.