Package Details: immich-cli 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
Submitter: wabi
Maintainer: aliu
Last Packager: aliu
Votes: 23
Popularity: 1.97
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 .. 6 7 8 9 10 11 12 13 14 15 16 .. 32 Next › Last »

aliu commented on 2025-10-31 13:31 (UTC)

Oops, that's a testing thing I forgot to revert. I'll fix it when I get home (within twelve hours)

Wkennington commented on 2025-10-31 06:18 (UTC)

==> Making package: immich 2.2.0-1 (Thu 30 Oct 2025 11:16:24 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found immich-2.2.0.tar.gz
  -> Found backup.service.ts.patch
  -> Updating base-images git repo...
  -> Found immich-server.service
  -> Found immich.sysusers
  -> Found immich.tmpfiles
  -> Found immich.conf
  -> Found nginx.immich.conf
  -> Found cities500.zip
  -> Found admin1CodesASCII.txt
  -> Found admin2Codes.txt
  -> Downloading ne_10m_admin_0_countries.geojson...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://raw.githubusercontent.com/nvkelso/natural-earth-vector/latest/geojson/ne_10m_admin_0_countries.geojson
    Aborting...
 -> error making: immich-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
immich-server - exit status 1

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-10-22 01:04 (UTC)

@Terrence You're correct! Should be fixed now. Sorry for the remiss.

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.