Package Details: immich-server 1.102.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
Conflicts: immich
Replaces: immich
Submitter: wabi
Maintainer: wabi (pikl)
Last Packager: pikl
Votes: 7
Popularity: 1.26
First Submitted: 2022-12-30 11:41 (UTC)
Last Updated: 2024-04-23 08:38 (UTC)

Pinned Comments

pikl commented on 2023-12-17 11:58 (UTC) (edited on 2023-12-17 12:06 (UTC) by pikl)

>=v1.91.0 requires pgvecto.rs extension of postgresql for search. For new and existing databases, the library needs to be loaded by adding the following to your /var/lib/postgresql/data/postgresql.conf:

shared_preload_libraries = 'vectors.so'

Or running the following command:

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

See upstream docs.

Latest Comments

1 2 3 4 5 6 Next › Last »

pikl commented on 2024-04-14 10:25 (UTC)

pgvecto.rs-immich exists for the occurrence when the required version for immich is different to the latest release from upstream. At the moment both are at the same version but this hasn't been the case in the past. The dependency is defined with a version pgvecto.rs=0.2.0, both pgvecto.rs and pgvecto.rs-immich can provide that dependency at the moment.

ksj commented on 2024-04-14 09:55 (UTC)

And is there needed pgvecto.rs or pgvecto.rs-immich package as dependency? If pgvecto.rs-immich, why it is not as dependency? I'm using build from docker too and this is confusing, what to install. It always choose pgvecto.rs as it is in dependency.

pikl commented on 2024-04-14 09:44 (UTC)

@ksj orc is included as dependency due to liborc dep in the upstream Dockerfile. I've removed it completely in 1.101.0-2 and it builds and runs OK.

ksj commented on 2024-04-13 12:37 (UTC) (edited on 2024-04-13 19:27 (UTC) by ksj)

I was checking security of my server and I have found that immich-server is dependent on orc package (compiler). Is it necessary to have it as dependency or can it be moved under make dependency?

Also, is there needed pgvecto.rs or pgvecto.rs-immich package as dependency?

simona commented on 2024-04-04 13:25 (UTC)

yes... fixed. thx

Senventise commented on 2024-04-04 12:54 (UTC)

@simona Same here, installing clang16 and adding /usr/lib/llvm16/bin/ to PATH fixed it for me.

simona commented on 2024-03-29 13:53 (UTC)

error occurred: Failed to find tool. Is clang-16 installed?

pikl commented on 2024-03-13 19:03 (UTC) (edited on 2024-03-13 21:59 (UTC) by pikl)

@ksj sorry the nginx optional dependency was silly mistake - will fix with a bump to v1.98.2-4.

I also recommend overriding the systemd service in /etc/systemd/system as the best option to modifying the BindsTo= dependency. Unfortunately drop-in service files cannot modify dependencies so going for the full override is the only option. I think best to rely on the flexibility of overriding systemd service files for your use-case and keep the provided service file as-is for the convenience of bringing-up/taking-down all services together.

ksj commented on 2024-03-13 10:15 (UTC)

@hrdl because there can be something more useful in service in future, I don't like disable updates on that with pacman. Also, I have found out, systemctl edit --full is writing the corrected file to /etc/systemd/system, not to /usr/lib/systemd/system, so it will not be rewritten and it takes the file from /etc. Override immich-machine-learning seems to be working. Thanks for that. I will go with this way.

So only remaining thing is the nginx dependency, which is still in required instead of optional.

ksj commented on 2024-03-13 09:52 (UTC)

@Mars160 I wanted to avoid these solutions. In that case I would need patch file for systemd service, pacman hook script for postinstall and it still can make trouble in some cases. That's why I choose ask for a edit of the package itself. In case systemctl edit would somehow disable the other services, maybe by editing them, I'm ok with that. It seems to be nice solution, which persist and don't make any troubles, but I still don't know how to write correct drop file.