Package Details: photoprism 260728-1

Git Clone URL: https://aur.archlinux.org/photoprism.git (read-only, click to copy)
Package Base: photoprism
Description: AI-Powered Photos App for the Decentralized Web
Upstream URL: https://github.com/photoprism/photoprism
Keywords: ai cloud golang photography
Licenses: AGPL-3.0-or-later
Submitter: evine
Maintainer: shtrophic
Last Packager: shtrophic
Votes: 3
Popularity: 0.000989
First Submitted: 2024-06-18 05:57 (UTC)
Last Updated: 2026-07-29 16:46 (UTC)

Dependencies (16)

Required by (0)

Sources (15)

Pinned Comments

shtrophic commented on 2026-04-12 18:40 (UTC) (edited on 2026-04-12 18:42 (UTC) by shtrophic)

Hi fellow photo-selfhosting enjoyers, were back with split packages for tensorflow (and now, also onnxruntime), since photoprism won't work with updated libraries from extra.

To upgrade to 260305-3:

  • install photoprism-onnxruntime-bin and photoprism-tensorflow-bin
  • to pick the best version, you can refer to https://github.com/photoprism/photoprism/blob/df13ea9e024f815b8182d4e236f8e3e8ce6a722e/scripts/dist/install-tensorflow.sh#L67
  • if installation fails because packages exist in the filesystem, try the pacman flag --override='*'.
  • now update photoprism to 260305-3.
  • if you had to use --override='*' for onnxruntime, you might need to reinstall photoprism-onnxruntime-bin for the files to actually be present.

Now everything should be in place for facedetection with onnx to run properly.

evine commented on 2024-09-04 01:58 (UTC) (edited on 2024-09-24 04:22 (UTC) by evine)

Do not use nodejs 22.7.0/22.8.0 to make.

Latest Comments

1 2 3 Next › Last »

shtrophic commented on 2026-06-29 16:02 (UTC)

@kekonyan okay, well, all I can say is that "it works on my machine". can you repro in a chroot? paru --chroot?

About exiftool, you can also configure that using PHOTOPRISM_EXIFTOOL_BIN (alternatively in options.yml).

kekonyan commented on 2026-06-29 13:05 (UTC)

also photoprism by default cant find exiftool, because it's not on unit PATH, so I had to sudo ln -s /usr/bin/vendor_perl/exiftool /usr/local/bin/exiftool

or more likely i fucked up my installation trying to solve css styling issue

kekonyan commented on 2026-06-29 09:58 (UTC) (edited on 2026-06-29 11:21 (UTC) by kekonyan)

i think i'm going insane, but for whatever reason package started to produce incomplete css and i'm out of ideas how to fix it. node 26/22, complete nuking of all files, rebuilding clean million times - some styles still missing. public demo serves ~900kb css, my build serves ~700kb

upd: fixed by removing --prefix=frontend from pkgbuild

aqua_rium commented on 2026-04-12 20:59 (UTC)

@sthropic seems like I was too slow and you solved it already! Your solution worked fine for me. Great job! For the sake of completeness: I used "photoprism faces reset --engine=pigo" or the environment variable "PHOTOPRISM_FACE_ENGINE=pigo".

shtrophic commented on 2026-04-12 18:40 (UTC) (edited on 2026-04-12 18:42 (UTC) by shtrophic)

Hi fellow photo-selfhosting enjoyers, were back with split packages for tensorflow (and now, also onnxruntime), since photoprism won't work with updated libraries from extra.

To upgrade to 260305-3:

  • install photoprism-onnxruntime-bin and photoprism-tensorflow-bin
  • to pick the best version, you can refer to https://github.com/photoprism/photoprism/blob/df13ea9e024f815b8182d4e236f8e3e8ce6a722e/scripts/dist/install-tensorflow.sh#L67
  • if installation fails because packages exist in the filesystem, try the pacman flag --override='*'.
  • now update photoprism to 260305-3.
  • if you had to use --override='*' for onnxruntime, you might need to reinstall photoprism-onnxruntime-bin for the files to actually be present.

Now everything should be in place for facedetection with onnx to run properly.

shtrophic commented on 2026-04-10 17:04 (UTC)

@aqua_rium care to share what you changed to make it work with pigo? I have had the issue with face detection as well but have not found the time to investigate...

aqua_rium commented on 2026-04-10 07:06 (UTC)

@shtrophic Face Recognition does not work out of the box with your build as PHOTOPRISM_FACE_ENGINE=auto defaults to onnx instead of pigo. Setting it to the latter works, but the needed resources for onnx (=auto) are missing. I found no clue how to add them, do you have an idea?

deepsea22 commented on 2025-12-04 09:22 (UTC)

@shtrophic Thank you! I didn't realize I needed to manually replace the config. It all works after removing the diff, specifically: 1a2

ModelsPath: /usr/share/photoprism 5a7 VisionYaml: /var/lib/photoprism/config/vision.yml

shtrophic commented on 2025-12-04 07:28 (UTC)

@deepsea22 please diff /etc/photoprism/defaults.yml{,.pacnew}

deepsea22 commented on 2025-12-03 14:21 (UTC)

After updating to latest, photoprism throws this error on startup: ERRO[2025-12-03T15:20:05+01:00] config: invalid models path, check configuration and permissions What am I doing wrong? I have not customized anything but the storage path, which worked fine previously.