Package Details: immich-server 2.0.1-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
Keywords: backup photos
Licenses: AGPL-3.0-only
Conflicts: immich
Replaces: immich
Submitter: wabi
Maintainer: aliu
Last Packager: aliu
Votes: 19
Popularity: 1.41
First Submitted: 2022-12-30 11:41 (UTC)
Last Updated: 2025-10-05 03:51 (UTC)

Pinned Comments

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

1 2 3 4 5 6 .. 21 Next › Last »

aliu commented on 2025-10-08 02:35 (UTC)

@pescepalla Vectorchord is listed as a dependency of this package that exists in the AUR, though?

pescepalla commented on 2025-10-07 19:39 (UTC)

The package won't pull vectorchord. It is necessary to install it separately.

caoticofanegas commented on 2025-10-07 11:49 (UTC)

@aliu confirmed. My immich-server.service is targeting redis.service, I didn't have any alias set up for redis, and I can start immich-server with no issue.

musta_ruhtinas commented on 2025-10-07 11:10 (UTC)

@aliu Working fine here. Updated without even noticing, thought I had an override in place :)

aliu commented on 2025-10-06 23:12 (UTC)

@musta_ruhtinas @caoticofanegas Valkey 8.1.4 has now been shipped. Can you confirm that immich starts correctly without manual intervention now?

aliu commented on 2025-10-04 19:35 (UTC)

While we're at it, I've decided that moving immich-machine-learning to a different PKGBASE was a bad idea. It's still gonna be a separate package but it'll use the same build steps after this package is accepted into Chaotic AUR where build times should no longer be an issue.

aliu commented on 2025-10-04 19:31 (UTC)

My fault: I split out the machine-learning package and mentioned it needed enabling but never made the relevant systemd adjustments to the PKGBUILDs. I'll fix this soon.

caoticofanegas commented on 2025-10-04 17:28 (UTC)

Hi @kakkun, can you edit /usr/lib/systemd/system/immich-server.service and remove lines 10 to 12 to remove the reference to immich-machine-learning?

Looks like it's just referenced in the .service file for convenience, even though it's not required. Don't forget to systemctl daemon-reload after the changes.

If that works, we'll see how to fix it.

kakkun commented on 2025-10-04 14:16 (UTC)

Seems that it tries to start the immich-machine-learning.service. It fails since I never installed it (my understanding was, it was optional), which stops the immich-server.

kakkun commented on 2025-10-03 14:16 (UTC)

Thanks, @caoticofanegas.

Unfortunately, nothing really revealing there, at least to me:

Oct 03 09:45:13 systemd[1]: Started Immich server.
░░ Subject: A start job for unit immich-server.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit immich-server.service has finished successfully.
░░ 
░░ The job identifier is 5020.
Oct 03 09:45:13 systemd[1]: Stopping Immich server...
░░ Subject: A stop job for unit immich-server.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit immich-server.service has begun execution.
░░ 
░░ The job identifier is 5156.
Oct 03 09:45:13 systemd[1]: immich-server.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit immich-server.service has successfully entered the 'dead' state.
Oct 03 09:45:13 systemd[1]: Stopped Immich server.
░░ Subject: A stop job for unit immich-server.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit immich-server.service has finished.
░░ 
░░ The job identifier is 5156 and the job result is done.