Package Details: immich-cli 3.0.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 (command-line client)
Upstream URL: https://github.com/immich-app/immich
Keywords: backup photos
Licenses: AGPL-3.0-only
Submitter: wabi
Maintainer: aliu
Last Packager: aliu
Votes: 25
Popularity: 2.29
First Submitted: 2022-12-30 11:41 (UTC)
Last Updated: 2026-07-23 00:26 (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 .. 8 9 10 11 12 13 14 15 16 17 18 .. 33 Next › Last »

Terrance commented on 2025-10-21 18:21 (UTC)

While the server seems to build and run fine, the CLI doesn't seem to be built (i.e. no dist folder is generated or included in the package), which leads to:

$ immich
node:internal/modules/esm/resolve:274
    throw new ERR_MODULE_NOT_FOUND(
          ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/usr/lib/immich/cli/dist/index.js' imported from /usr/lib/immich/cli/bin/immich
    at ...
  code: 'ERR_MODULE_NOT_FOUND',
  url: 'file:///usr/lib/immich/cli/dist/index.js'
}

Node.js v24.9.0

The missing build step (to be done before deploy):

pnpm --filter @immich/cli build

jettscythe commented on 2025-10-20 17:00 (UTC)

If anybody like me has issues building the webui, try increasing the heap size node can use when building.

NODE_OPTIONS="--max-old-space-size=4096" yay -S immich-server

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.