Package Details: photoprism 250426-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
Conflicts: photoprism-facenet, photoprism-nasnet, photoprism-nsfw
Replaces: photoprism-facenet, photoprism-nasnet, photoprism-nsfw
Submitter: evine
Maintainer: shtrophic
Last Packager: shtrophic
Votes: 3
Popularity: 0.007089
First Submitted: 2024-06-18 05:57 (UTC)
Last Updated: 2025-04-26 16:58 (UTC)

Dependencies (14)

Required by (0)

Sources (11)

Pinned Comments

shtrophic commented on 2025-04-25 14:03 (UTC) (edited on 2025-04-25 14:04 (UTC) by shtrophic)

Please note: since upstream switched to tensorflow-2.x, there is no need anymore to vendor a compatible tensorflow version as the photoprism-tensorflow-* packages.

I also chose to vendor the model weights again, to simplify everything. (effectively un-doing the efforts of the previous maintainer, who chose to create a new package for every zip/tarball. It is definitely an opinionated change, but it should have no effect on end-users).

Therefore, this package now depends on tensorflow (which can be either -opt,-cuda and so on) and conflicts/replaces phoroprism-{nasnet,nsfw,facenet}.

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

« First ‹ Previous 1 2

evine commented on 2024-06-18 06:38 (UTC) (edited on 2024-07-28 02:24 (UTC) by evine)

PLEASE NOTE

The original maintainer Thomas Eizinger no longer maintains photoprism from June 2024. After I took over maintenance, I made some adjustments to it. I have split original photoprism into multiple packages, because except photoprism itself, the other dependency packages that were split almost do not need to be updated. And now it's dependent package photoprism-tensorflow will not conflict with tensorflow/tensorflow-cuda/tensorflow-opt/tensorflow-opt-cuda.


WHICH PACKAGE SHOULD I CHOOSE


UPGRADE FAILS

I have added replaces var in photoprism-tensorflow-avx2-bin, photoprism-tensorflow-avx-bin, photoprism-tensorflow-cpu-bin and photoprism-tensorflow-nvidia-jetson-bin, it will be automatically replaced tensorflow115 during the upgrade photoprism. If it still doesn't work, please uninstall old photoprism and tensorflow115 first.


WHICH SERVICE TO CHOOSE

  • /usr/lib/systemd/system/photoprism.service is run by system user photoprism, it can be enabled by running sudo systemctl enable --now photoprism.service. It's default config yaml file is /etc/photoprism/defaults.yml, and it's data is saved in /var/lib/photoprism.
  • /usr/lib/systemd/user/photoprism.service is run by current normal user, it can be enabled by running systemctl enable --user --now photoprism.service. It's default config yaml file is $XDG_CONFIG_HOME/photoprism/defaults.yml, but config need to set by youself.

HOW TO CONFIG

  • If you run photoprism using system user, please create /var/lib/photoprism/config/options.yml for configuaration according to https://docs.photoprism.app/getting-started/config-files. Settings in /var/lib/photoprism/config/options.yml will override settings in /etc/photoprism/defaults.yml, so please do not change /etc/photoprism/defaults.yml. And I have not set backup var in PKGBUILD.
  • If you run photoprism using current normal user, please set in $XDG_CONFIG_HOME/photoprism/defaults.yml or $XDG_CONFIG_HOME/photoprism/options.yml according to https://docs.photoprism.app/getting-started/config-files.