Package Details: immich-server 2.7.5-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: 22
Popularity: 1.00
First Submitted: 2022-12-30 11:41 (UTC)
Last Updated: 2026-04-16 23:52 (UTC)

Pinned Comments

aliu commented on 2026-01-17 21:44 (UTC) (edited on 2026-01-17 21:46 (UTC) by aliu)

is it possible to ship pre-built package?

Upstream recommends using docker, for which they have pre-built images (that might also work with podman).

aliu commented on 2025-10-25 02:49 (UTC)

PostgreSQL 18 is coming to the Arch repos. Before upgrading, backup the files for vectorchord and pgvector somewhere, and then follow https://wiki.archlinux.org/title/PostgreSQL#Upgrading_PostgreSQL instructions. (In the next release, I'll also update the postinstall message to recommend changing postgresql.conf instead of doing ALTER SYSTEM SET.)

Also, you may find yourself updating VectorChord in this process. When doing so, remember to follow the migration steps at https://docs.immich.app/administration/postgres-standalone/#updating-vectorchord .

aliu commented on 2025-08-21 15:21 (UTC)

immich-web (localhost/immich-server:2283) used to be broken for some users of this package.

As @yparitcher also noticed, this was most likely caused by the following additions to .gitignore from f4e0aad2c495, which have since be reverted:

src/
pkg/
*.pkg.tar.zst
LICENSES/

The reason—for both this change sometimes and unpredictably breaking the build, and builds under a clean chroot still working—is unknown. I meant to investigate this on 2025-08-19 while updating the package but called it a day due to the unpredictability and long time of building. Help with figuring out why this happened would be greatly appreciated.

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.

Latest Comments

« First ‹ Previous 1 .. 24 25 26 27 28 29 30 31 32 Next › Last »

pikl commented on 2023-12-21 18:51 (UTC)

Thanks @hardl for doing the work upstream to figure this one out. I'd had symptoms of it too - single tab at /photos and hitting reload in the browser resulted in a white screen. v1.91.4-2 now includes this config parameter.

hrdl commented on 2023-12-20 13:10 (UTC) (edited on 2023-12-21 18:13 (UTC) by hrdl)

Since v1.91.1 immich.conf should contain IMMICH_WEB_ROOT=/usr/lib/immich/app/server/www. See https://github.com/immich-app/immich/issues/5856#issuecomment-1864425572 for details.

hrdl commented on 2023-12-18 20:02 (UTC)

Yes, 1.90.3-2 seems to be working more robustly.

pikl commented on 2023-12-18 19:47 (UTC)

@hrdl new version v1.91.3-2 should help - let me know if it works.

pikl commented on 2023-12-18 18:58 (UTC) (edited on 2023-12-18 18:59 (UTC) by pikl)

@hrdl, although nothing has changed in this area at v1.91.3 the path .../@img/@img/... is wrong - there should only be one @img. Starting with v1.91.0 there's a bit of a hack where the PKGBUILD copies some modules after building to avoid them being pruned at the next step. They are then copied back into place once the prune is done. The commands to do this aren't very robust so I can see you could end up with a problem if your $srcdir is not clean. Try re-cloning and building in a clean directory. I test using a clean chroot so would unlikely spot this kind of thing.

In the meantime I look at making the commands for this hack to be more robust.

hrdl commented on 2023-12-17 23:26 (UTC)

v1.91.2 was building and running fine, but with v1.91.3 I get paths like pkg/immich-server/usr/lib/immich/app/server/node_modules/@img/@img/sharp-libvips-linux-x64, which are also reflected in src/immich-1.91.3/server/node_modules/@img/@img/sharp-libvips-linux-x64. I haven't investigated yet as to why this happens.

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.

pikl commented on 2023-12-10 09:55 (UTC)

1.90.2-6 combines AUR packages immich and immich-cli packages, reflecting the approach now taken up-stream. immich (pkgbase) is now a split package with components immich-server and immich-cli - allowing each to be installed separately.

For those with immich-cli installed, it should be straight upgrade after building this package.

For those with immich installed, a normal system upgrade should automatically replace this with immich-server.

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.