Package Details: photoprism 240915_e1280b2fb-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
Licenses: AGPL-3.0-or-later
Conflicts: photoprism
Provides: photoprism
Submitter: devome
Maintainer: devome
Last Packager: devome
Votes: 3
Popularity: 0.100024
First Submitted: 2024-06-18 05:57 (UTC)
Last Updated: 2024-09-15 23:15 (UTC)

Dependencies (15)

Required by (0)

Sources (8)

Pinned Comments

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

Do not use nodejs 22.7.0/22.8.0 to make.

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

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.

Latest Comments

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

Do not use nodejs 22.7.0/22.8.0 to make.

tzhuang commented on 2024-08-08 20:40 (UTC)

Thank you!

devome commented on 2024-08-08 01:05 (UTC)

@tzhuang photoprism-import.service and photoprism-import.timer has been added just now.

tzhuang commented on 2024-08-07 19:11 (UTC)

Did the photoprism-import service/timer get removed?

devome commented on 2024-06-18 14:42 (UTC) (edited on 2024-06-18 14:44 (UTC) by devome)

@bphil I made a mistake, but it has been corrected now. Please try again.

bphil commented on 2024-06-18 14:38 (UTC)

Thanks, it now asks whether I want tensorflow removed. But when I answer in the affirmative, I get a checksum error:

==> Validating source files with sha256sums... photoprism-240531-60b3a4628.tar.gz ... Passed photoprism-import.service ... Passed photoprism-import.timer ... Passed photoprism.service ... Passed photoprism.sysusers ... Passed photoprism.tmpfiles ... FAILED defaults.yml ... Passed ==> ERROR: One or more files did not pass the validity check! -> error making: photoprism-exit status 1 -> Failed to install the following packages. Manual intervention is required

devome commented on 2024-06-18 12:38 (UTC) (edited on 2024-06-18 12:44 (UTC) by devome)

@bphil I have added replaces var in photoprism-tensorflow-avx2-bin, photoprism-tensorflow-avx-bin and photoprism-tensorflow-cpu-bin, please cleanup old PKGBUILD and try again. If it still doesn't work, please uninstall old photoprism and tensorflow115 first.

bphil commented on 2024-06-18 12:19 (UTC) (edited on 2024-06-18 12:20 (UTC) by bphil)

When I choose photoprism-tensorflow-cpu-bin, I get a conflict:

photoprism-tensorflow-cpu-bin: /usr/include/tensorflow/c/c_api.h already exists in filesystem (owned by tensorflow115)

But I can't uninstall tensorflow115 because it is a requirement of photoprism. What to do?

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

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.