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.54
First Submitted: 2022-12-30 11:41 (UTC)
Last Updated: 2025-04-03 19:10 (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 2 3 4 5 6 7 8 9 10 .. 12 Next › Last »

bjo commented on 2024-10-14 13:01 (UTC) (edited on 2024-10-14 13:01 (UTC) by bjo)

Is redis necessary or could be valkey also used?

==> Making package: immich 1.117.0-1 (Mon 14 Oct 2024 03:00:02 PM CEST)
==> Checking runtime dependencies...                                                                                                                                                          
==> Installing missing dependencies...                                                                                                                                                        
resolving dependencies...                                                                                                                                                                     
looking for conflicting packages...                                                                                                                                                           
:: redis-7.2.5-1 and valkey-8.0.1-1 are in conflict. Remove valkey? [y/N]                                                                                                                     
error: unresolvable package conflicts detected                        

jwh commented on 2024-10-13 18:06 (UTC)

Any chance https://github.com/immich-app/immich/commit/9bdfb41e9c00e0053994fbfe9f46f377016656d3 can be included before the next release?

gehidore commented on 2024-09-23 22:14 (UTC)

It would be helpful if there was a mention of manually creating the immich database on install of immich-server.

AlexBocken commented on 2024-09-13 10:51 (UTC)

Is there a way to get hardware acceleration working for the machine-learning service? Obviously the instructions for the docker container do not apply here.

zynex commented on 2024-09-07 12:53 (UTC) (edited on 2024-09-07 14:52 (UTC) by zynex)

I'm not sure what I'm doing wrong, can't reach the site after installing the package and enabling the services. Nothing is listening on http://192.168.x.x:2283. I tried install nginx, but same issue (reached the default page, so know it's running).

Just noticed that it seems to restart after 5-6 seconds, so think that's why. Not sure why it does tho. The only thing I see in the logs is DeprecationWarning: The util._extend API is deprecated. Please use Object.assign() instead.

[EDIT] Finally got it to run after running it in terminal and got all the errors there. Had to manually editing the database, added user and added pgvecto.rs to extensions thru psql, and updated pgvecto.rs in postgre. Isn't really install and run.

AlD commented on 2024-08-18 21:50 (UTC) (edited on 2024-08-18 22:04 (UTC) by AlD)

Could you please remove the Postgres dependency from the services? Databases usually run on separate hosts. It currently requires editing the .service files, as overrides can't clear out dependency settings such as Requires. Thank you!

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

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

tbh commented on 2024-06-25 17:19 (UTC)

I saw the release notes for v1.106.4 mention immich-microservices can now be run by immich-server so wonder whether its service file could be dropped?

pikl commented on 2024-06-21 10:47 (UTC) (edited on 2024-06-21 10:48 (UTC) by pikl)

v1.106-4 bump and re-enabled usage of python 3.12 (thanks @sorz)

sorz commented on 2024-06-19 07:26 (UTC) (edited on 2024-06-20 01:33 (UTC) by sorz)

Upstream maintainer say it's safe to use Python 3.12 now *. We may simply patch pyproject.toml to use Python 3.12 before them remove the constraint.

edit: python version constraint has been removed on main branch