Package Details: immich-server 1.136.0-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
Keywords: backup photos
Licenses: AGPL-3.0-only
Conflicts: immich
Replaces: immich
Submitter: wabi
Maintainer: aliu
Last Packager: aliu
Votes: 16
Popularity: 0.50
First Submitted: 2022-12-30 11:41 (UTC)
Last Updated: 2025-07-25 02:54 (UTC)

Dependencies (43)

Required by (1)

Sources (12)

Pinned Comments

aliu commented on 2025-06-30 02:49 (UTC) (edited on 2025-07-01 16:35 (UTC) by aliu)

You may notice pacman refuse to upgrade this package, saying warning: cannot resolve "vectorchord", a dependency of "immich-server".

This is due to required manual intervention within the immich server database.

Newer versions of immich server have deprecated pgvecto.rs in favor of vectorchord.

Before updating from 1.133.1 or older, please follow steps 1 and 2 of the manual migration steps (should be the second dropdown) at https://immich.app/docs/administration/postgres-standalone/#migrating-to-vectorchord and uninstall pgvecto.rs.

Remember to remove references to "vectors.so" (which is shipped by pgvecto.rs) in shared_preload_libraries before pgvecto.rs in uninstalled. (For vectorchord to work, you'll need to add "vchord.so" to shared_preload_libraries after the upgrade as well.)

After that, you may upgrade this package. Please remember to follow steps 4 and 5 of the manual migration steps after the upgrade is finished to prevent data loss.

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

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13

dp20eic commented on 2023-07-11 17:18 (UTC)

@wabi: thanks for the hint, I read it, but as I see it right now, I over read it :( I will do the next try, after it is not too hot, I also wait for my new hardware :(

Thanks Bernd

wabi commented on 2023-07-08 09:01 (UTC)

@dp20eic: did you add the immich domain names to the /etc/hosts file as localhosts? They are hard coded in immich thus they are required. See https://github.com/immich-app/immich/discussions/1657

wabi commented on 2023-06-21 19:12 (UTC)

this package no longer contains the service immich-machine-learning, due to growing difficulties with the arch python packages. Luckily immich-machine-learning can be now (as of immich 1.62) accessed via network, allowing it (and typesense) to be installed via docker and utilized via network.

dp20eic commented on 2023-06-07 18:26 (UTC) (edited on 2023-06-08 11:29 (UTC) by dp20eic)

Hi, I tried to get immich running in an LXC container under Proxmox, the installation with all dependencies was no problem so far, on the one hand two directories were missing, which I created later, but the services still don't start.

This is what I see at journal

Jun 07 18:32:45 arch-immich systemd[1]: Started immich server.
Jun 07 18:32:45 arch-immich (node)[115275]: immich-server.service: Failed to set up mount namespacing: /run/systemd/unit-root/var/lib/immich/upload: No such file or directory
Jun 07 18:32:45 arch-immich (node)[115275]: immich-server.service: Failed at step NAMESPACE spawning node: No such file or directory
Jun 07 18:32:45 arch-immich systemd[1]: immich-server.service: Main process exited, code=exited, status=226/NAMESPACE
Jun 07 18:32:45 arch-immich systemd[1]: immich-server.service: Failed with result 'exit-code'.
Jun 07 18:32:45 arch-immich systemd[1]: immich-server.service: Scheduled restart job, restart counter is at 1.
Jun 07 18:32:45 arch-immich systemd[1]: Stopped immich server.

After create missing Directory

Jun 07 18:33:43 arch-immich systemd[1]: immich-server.service: Main process exited, code=killed, status=4/ILL
Jun 07 18:33:43 arch-immich systemd[1]: immich-server.service: Failed with result 'signal'.
Jun 07 18:33:43 arch-immich systemd[1]: immich-server.service: Scheduled restart job, restart counter is at 1.
Jun 07 18:33:43 arch-immich systemd[1]: Stopped immich server.
Jun 07 18:33:43 arch-immich systemd[1]: Started immich server.
Jun 07 18:33:45 arch-immich sudo[115407]:  dp20eic : TTY=pts/1 ; PWD=/home/dp20eic ; USER=root ; COMMAND=/usr/bin/systemctl status immich-server.service
Jun 07 18:33:45 arch-immich systemd[1]: immich-server.service: Main process exited, code=killed, status=4/ILL
Jun 07 18:33:45 arch-immich systemd[1]: immich-server.service: Failed with result 'signal'.
Jun 07 18:33:46 arch-immich systemd[1]: immich-server.service: Scheduled restart job, restart counter is at 2.
Jun 07 18:33:46 arch-immich systemd[1]: Stopped immich server.
Jun 07 18:33:46 arch-immich systemd[1]: Started immich server.
Jun 07 18:33:47 arch-immich sudo[115433]:  dp20eic : TTY=pts/1 ; PWD=/home/dp20eic ; USER=root ; COMMAND=/usr/bin/systemctl status immich-server.service
Jun 07 18:33:48 arch-immich systemd[1]: immich-server.service: Main process exited, code=killed, status=4/ILL
Jun 07 18:33:48 arch-immich systemd[1]: immich-server.service: Failed with result 'signal'

Same with immich-microservice.service

Jun 07 18:37:07 arch-immich (node)[116212]: immich-microservices.service: Failed to set up mount namespacing: /run/systemd/unit-root/var/lib/immich/app/server/.reverse-geocoding-dump: No such file or directory
Jun 07 18:37:07 arch-immich (node)[116212]: immich-microservices.service: Failed at step NAMESPACE spawning node: No such file or directory
Jun 07 18:37:07 arch-immich systemd[1]: immich-microservices.service: Main process exited, code=exited, status=226/NAMESPACE
Jun 07 18:37:07 arch-immich systemd[1]: immich-microservices.service: Failed with result 'exit-code'.
Jun 07 18:37:07 arch-immich systemd[1]: immich-microservices.service: Scheduled restart job, restart counter is at 5.

After create directory

Jun 07 18:38:18 arch-immich systemd[1]: Started immich microservices.
Jun 07 18:38:20 arch-immich systemd[1]: immich-microservices.service: Main process exited, code=killed, status=4/ILL
Jun 07 18:38:20 arch-immich systemd[1]: immich-microservices.service: Failed with result 'signal'.
Jun 07 18:38:21 arch-immich systemd[1]: immich-microservices.service: Scheduled restart job, restart counter is at 1.
Jun 07 18:38:21 arch-immich systemd[1]: Stopped immich microservices.
Jun 07 18:38:21 arch-immich systemd[1]: Started immich microservices.
Jun 07 18:38:23 arch-immich systemd[1]: immich-microservices.service: Main process exited, code=killed, status=4/ILL
Jun 07 18:38:23 arch-immich systemd[1]: immich-microservices.service: Failed with result 'signal'.
Jun 07 18:38:23 arch-immich systemd[1]: immich-microservices.service: Scheduled restart job, restart counter is at 2.
Jun 07 18:38:23 arch-immich systemd[1]: Stopped immich microservices.
Jun 07 18:38:23 arch-immich systemd[1]: Started immich microservices.
Jun 07 18:38:26 arch-immich systemd[1]: immich-microservices.service: Main process exited, code=killed, status=4/ILL
Jun 07 18:38:26 arch-immich systemd[1]: immich-microservices.service: Failed with result 'signal'.
Jun 07 18:38:26 arch-immich systemd[1]: immich-microservices.service: Scheduled restart job, restart counter is at 3.
Jun 07 18:38:26 arch-immich systemd[1]: Stopped immich microservices.

Redis and postgresql are up and running, immich-web.service started but without running server :(

What is the meaning of status=4/ILL?

With kind regards Bernd

P.S.: the same with immich V1.60.0

wabi commented on 2023-04-02 15:35 (UTC)

there currently is not typesense package for archlinux. if you want to run typesense in a container you can use immich with typesense until there is a package available.

micwoj92 commented on 2023-02-02 19:17 (UTC)

pkgrel should be set to 1.