v1.124.1-1 includes a dependency for python312 and should fix build problems since Arch went to Python 3.13
Search Criteria
Package Details: immich-server 2.7.5-1
Package Actions
| 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: | 23 |
| Popularity: | 1.97 |
| First Submitted: | 2022-12-30 11:41 (UTC) |
| Last Updated: | 2026-04-16 23:52 (UTC) |
Dependencies (38)
- brotli (brotli-gitAUR)
- dav1d (dav1d-gitAUR)
- expat (expat-gitAUR)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR)
- highway (highway-gitAUR)
- imagemagick (imagemagick-full-gitAUR, imagemagick-gitAUR, imagemagick-essentials-gitAUR, imagemagick-fullAUR)
- jellyfin-ffmpeg (jellyfin-ffmpeg-binAUR)
- lcms2 (lcms2-ff-gitAUR, lcms2-gitAUR, lcms2-ffAUR)
- libde265 (libde265-gitAUR)
- libexif (libexif-gitAUR)
- libgsf (libgsf-gitAUR)
- libheif (libheif-gitAUR, libheif-highmemAUR, libheif-noglycinAUR)
- libjpeg-turbo (mozjpeg-gitAUR, mozjpegAUR, libjpeg-turbo-gitAUR)
- liblqr
- libpng (libpng-gitAUR, libpng-apngAUR)
- libraw (libraw-gitAUR)
- librsvg (librsvg-gitAUR, librsvg-noglycinAUR)
- libtool (libtool-gitAUR)
- libvips (libvips-gitAUR, libvips-notiffAUR)
- libwebp (libwebp-gitAUR)
- Show 18 more dependencies...
Required by (3)
- immich-machine-learning (optional)
- immich-runit
- reitti (optional)
Sources (13)
- https://download.geonames.org/export/dump/admin1CodesASCII.txt
- https://download.geonames.org/export/dump/admin2Codes.txt
- https://download.geonames.org/export/dump/cities500.zip
- https://raw.githubusercontent.com/nvkelso/natural-earth-vector/v5.1.2/geojson/ne_10m_admin_0_countries.geojson
- immich-2.7.5.tar.gz
- immich-server.service
- immich.conf
- immich.sysusers
- immich.tmpfiles
- nginx.immich.conf
- postgres-path.patch
- sh-serverhome.patch
- sharp.patch
Latest Comments
« First ‹ Previous 1 .. 17 18 19 20 21 22 23 24 25 26 27 .. 32 Next › Last »
pikl commented on 2025-01-08 21:16 (UTC)
tbh commented on 2025-01-05 15:44 (UTC)
There's a python-onnx package I'm using
Weby commented on 2025-01-05 11:57 (UTC)
I'll try that as well then, thank you. Still python-onnx that is not compiling with python 3.13, is that needed? Is it installed on your system?
tbh commented on 2025-01-05 11:43 (UTC)
That's an option as well. Any clue how to do that properly without breaking everything?
I've installed at least python-insightface, python-opencv, python-tokenizers, onnxruntime, python-aiocache, python-python-multipart although I have a lot of python stuff installed already and haven't tried in a clean environment - check machine-learning/pyproject.toml - I think everything is packaged other than opencv-python-headless which I think python-opencv can be used instead.
I've modified the machine-learning.service file to run /usr/bin/gunicorn rather than /opt/immich-machine-learning/venv/bin/gunicorn and the PKGBUILD to not run poetry install. I then changed SUPPORTED_PROVIDERS to ["CPUExecutionProvider"] in /opt/immich-machine-learning/app/models/constants.py as the arch packaged one has cuda support and I only have CPU.
Weby commented on 2025-01-05 10:43 (UTC)
So to have 1.123 built correctly temporarily, you will need to : - install python312 from AUR (in parallel to whichever version of python you use)
- upgrade the pgvecto.rs-immich-bin package
- follow the instructions on https://docs.vectorchord.ai/admin/upgrading.html to finish the upgrade.
Note that SELECT pgvectors_upgrade(); returned an error to me (function not found) but the upgrade seemed to work anyway. If you don't do the upgrade, immich-server will fail with the pgvectors not up to date message in your syslog.
After this, change line 108 of the PKGBUILD to
python3.12 -m venv "${srcdir}/venv"
instead of
python -m venv "${srcdir}/venv"
It should then compile and be installable. Install the immich-server package that's created.
Weby commented on 2025-01-05 09:32 (UTC) (edited on 2025-01-05 09:54 (UTC) by Weby)
That's an option as well. Any clue how to do that properly without breaking everything?
The python-onnx upstream maintainers don't seem to be in a rush to get their 1.18 version out (which supports python 3.13) despite the fact that 3.13 is out since october, replacing the onnx with onnx-weekly through poetry is a massive pain, and we basically can't upgrade python if we have immich installed because the machine-learning hardlinks to libpython3.12.so.1.0.
I'm trying to get python312 from AUR installed as well, not sure it will help much.
EDIT: installing python312 from AUR in parallel does allow immich-machine-learning to run for version 1.121. Trying to upgrade to v1.123 to see what's what. EDIT2: yeah forgot that you can't build v1.123 because of the python-onnx dep. Trying to update the pkgbuild to temporarily link to python312.
tbh commented on 2025-01-04 07:54 (UTC)
there are existing packages for the machine learning dependencies like python-insightface, python-opencv, python-tokenizers, onnxruntime - these seems to work ok for me so perhaps can be considered instead of the poetry install
Weby commented on 2025-01-02 14:54 (UTC)
I've tried a compilation of immich after uprading all packages of immich-machine-learning to their latest revision.
With scipy 1.14.1, it compiles but there's still python-onnx that currently fails (v1.18 is unreleased but will support python 3.13).
This is a waiting game for now. However, and I know this is not the right place to say this... Don't upgrade your python. Immich-machine-learning will fail if you install python-3.13.
riaqn commented on 2025-01-02 11:03 (UTC)
system-wide downgrade to 2024-11-15 works fine for me. FWIW, you can use https://aur.archlinux.org/packages/pacdate to do that.
zynex commented on 2024-12-31 13:30 (UTC)
Did a system wide downgrade to 2024-11-15, and everything compiled and working as it should now. Gonna leave it there for now.
Pinned Comments
aliu commented on 2026-01-17 21:44 (UTC) (edited on 2026-01-17 21:46 (UTC) by aliu)
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:
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.1or 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.