Package Details: photoprism 260601-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.005582
First Submitted: 2024-06-18 05:57 (UTC)
Last Updated: 2026-06-05 15:23 (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 »

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.

krutoileshii commented on 2025-09-07 22:36 (UTC)

@AlynxZhou you know you can just overwrite the settings in the defaults.yml inside of the options.yml Since this package doesn't provide options.yml it should keep your settings between updates.

shtrophic commented on 2025-08-08 20:38 (UTC)

Thanks for noticing @Alynx/hou

AlynxZhou commented on 2025-08-08 13:22 (UTC)

@deepsea22 First install MariaDB and setup it (just follow Arch Wiki), and then create an user for PhotoPrism (I'll just use photoprism), set a password for it, then create a database for PhotoPrism (I'll call it photoprism too), and grant all permission for this user in this database.

And then you need to set following in options.yml to make PhotoPrism use MariaDB:

DatabaseDriver: mysql
DatabaseName: photoprism
DatabasePassword: your_database_user_password
DatabaseServer: /run/mysqld/mysqld.sock
DatabaseUser: photoprism

If your are using different machine for PhotoPrism and MariaDB, use IP:port for DatabaseServer instead of UNIX socket.