Do not use nodejs 22.7.0/22.8.0 to make.
Search Criteria
Package Details: photoprism 240915_e1280b2fb-1
Package Actions
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)
- libvips (libvips-gitAUR, libvips-notiffAUR)
- openjpeg2 (openjpeg-gitAUR)
- photoprism-facenetAUR
- photoprism-nasnetAUR
- photoprism-nsfwAUR
- photoprism-tensorflow (photoprism-tensorflow-avx-binAUR, photoprism-tensorflow-avx2-binAUR, photoprism-tensorflow-cpu-binAUR, photoprism-tensorflow-nvidia-jetson-binAUR)
- go (go-gitAUR, gcc-go-gitAUR, gcc-go-snapshotAUR, gcc-go) (make)
- npm (corepackerAUR, python-nodejs-wheelAUR) (make)
- darktable (darktable-gitAUR) (optional) – for RAW to JPEG conversion
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR) (optional) – for video transcoding and thumbnail extraction
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (optional) – for image conversion
- libheif (libheif-gitAUR, libheif-highmemAUR) (optional) – for HEIC/HEIF image conversion
- mariadb (mysql55AUR, mysql56AUR, mytop-gitAUR, mysql81AUR, mysql57AUR, mysqlAUR, mysql80AUR, mariadb-lts, percona-server) (optional) – for MySQL database driver
- perl-image-exiftool (optional) – for extracting metadata
- rawtherapee (rawtherapee-gitAUR) (optional) – for RAW to JPEG conversion
Required by (0)
Sources (8)
Latest Comments
devome commented on 2024-09-04 01:58 (UTC) (edited on 2024-09-24 04:22 (UTC) by devome)
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
-
x86_64: There are 3 packages to provide
photoprism-tensorflow
. As long as your CPU supports it, the recommended order of selection is: photoprism-tensorflow-avx2-bin > photoprism-tensorflow-avx-bin > photoprism-tensorflow-cpu-bin. Runlscpu | grep avx2
to detect whether your CPU supports AVX2. If the previous command has output, it means CPU supports AVX2. Runlscpu | grep 'avx '
to detect whether your CPU supports AVX. If the previous command has output, it means CPU supports AVX. -
aarch64: There are 2 packages to provide
photoprism-tensorflow
. If your graphics card is NVIDIA Jetson Nano, you can choose photoprism-tensorflow-nvidia-jetson-bin, otherwise choose photoprism-tensorflow-cpu-bin. -
armv7h: You can only choose photoprism-tensorflow-cpu-bin.
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 userphotoprism
, it can be enabled by runningsudo 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 runningsystemctl 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 setbackup
var inPKGBUILD
. - 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.
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
x86_64: There are 3 packages to provide
photoprism-tensorflow
. As long as your CPU supports it, the recommended order of selection is: photoprism-tensorflow-avx2-bin > photoprism-tensorflow-avx-bin > photoprism-tensorflow-cpu-bin. Runlscpu | grep avx2
to detect whether your CPU supports AVX2. If the previous command has output, it means CPU supports AVX2. Runlscpu | grep 'avx '
to detect whether your CPU supports AVX. If the previous command has output, it means CPU supports AVX.aarch64: There are 2 packages to provide
photoprism-tensorflow
. If your graphics card is NVIDIA Jetson Nano, you can choose photoprism-tensorflow-nvidia-jetson-bin, otherwise choose photoprism-tensorflow-cpu-bin.armv7h: You can only choose photoprism-tensorflow-cpu-bin.
UPGRADE FAILS
I have added
replaces
var inphotoprism-tensorflow-avx2-bin
,photoprism-tensorflow-avx-bin
,photoprism-tensorflow-cpu-bin
andphotoprism-tensorflow-nvidia-jetson-bin
, it will be automatically replacedtensorflow115
during the upgradephotoprism
. If it still doesn't work, please uninstall oldphotoprism
andtensorflow115
first.WHICH SERVICE TO CHOOSE
/usr/lib/systemd/system/photoprism.service
is run by system userphotoprism
, it can be enabled by runningsudo 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 runningsystemctl 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
/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 setbackup
var inPKGBUILD
.$XDG_CONFIG_HOME/photoprism/defaults.yml
or$XDG_CONFIG_HOME/photoprism/options.yml
according to https://docs.photoprism.app/getting-started/config-files.