Package Details: photoprism-bin 240531-0

Git Clone URL: https://aur.archlinux.org/photoprism-bin.git (read-only, click to copy)
Package Base: photoprism-bin
Description: Personal Photo Management powered by Go and Google TensorFlow
Upstream URL: https://github.com/photoprism/photoprism
Keywords: photography private-cloud self-hosted tensorflow
Licenses: AGPL-3.0-only
Conflicts: photoprism
Provides: photoprism
Submitter: thomaseizinger
Maintainer: thomaseizinger
Last Packager: thomaseizinger
Votes: 12
Popularity: 0.000470
First Submitted: 2024-05-18 15:06 (UTC)
Last Updated: 2024-06-25 11:27 (UTC)

Pinned Comments

thomaseizinger commented on 2024-05-18 15:13 (UTC) (edited on 2024-05-19 11:56 (UTC) by thomaseizinger)

The photoprism package has been merged into this photoprism-bin package which uses the pre-built binaries supplied by the project: https://aur.archlinux.org/packages/photoprism-bin

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

thomaseizinger commented on 2022-05-07 07:56 (UTC)

Thanks for the report!

I'll add the dependency. Should find the time early next week!

czardien commented on 2022-05-05 16:28 (UTC) (edited on 2022-05-05 16:28 (UTC) by czardien)

Hi, from yay -Sy photoprism, I got:

[...]
# github.com/mattn/go-sqlite3
sqlite3-binding.c: In function ‘sqlite3SelectNew’:
sqlite3-binding.c:125801:10: warning: function may return address of local variable [-Wreturn-local-addr]
125801 |   return pNew;
       |          ^~~~
sqlite3-binding.c:125761:10: note: declared here
125761 |   Select standin;
       |          ^~~~~~~
39M     ./photoprism
Done.
node: error while loading shared libraries: libicui18n.so.71: cannot open shared object file: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: photoprism

... which seemed to indicate I was missing the icu package. I installed it with pacman -Sy icu and that got the installation working properly.

It sounds like icu should be a dependency?

Edit: removed useless log line

alienjust commented on 2022-01-21 15:03 (UTC) (edited on 2022-01-22 05:07 (UTC) by alienjust)

Hi, I cannot start service after installing package :-(

Got error in journal:

level=fatal msg="cannot create /.photoprism/storage: please check configuration and permissions"

Package version 220107

thomaseizinger commented on 2022-01-13 22:55 (UTC)

Also by default photoprism uses sqlite. Switching to mariadb should boost performance on instances with lots of photos

Yes. This can easily be enabled by editing the provided options.yml file:

DatabaseDriver: mysql

I agree that this is not particularly discoverable. I might add more keys to the config file and comment them out by default.

Patches welcome: https://github.com/thomaseizinger/pkgbuilds/tree/master/photoprism

Morelcia commented on 2022-01-13 22:39 (UTC)

Maybe it would be a good idea to make manpages with some config snippets? For example it's possible to enable AVX2 + intel graphics support for tensorflow by adding

PHOTOPRISM_INIT: "intel-graphics tensorflow-amd64-avx2"

to docker-compose. There are no instructions on how to do it by editing config files manually. Also by default photoprism uses sqlite. Switching to mariadb should boost performance on instances with lots of photos

gyurman commented on 2021-11-27 01:02 (UTC)

Please update

thomaseizinger commented on 2021-10-10 12:45 (UTC)

Latest update should fix permission issues within /var/lib/photoprism.

Anything in that directory is now set to be owned by the photoprism user.

thomaseizinger commented on 2021-10-01 09:03 (UTC)

Package is now updated to the latest release which includes face recognition!

thomaseizinger commented on 2021-10-01 04:29 (UTC)

I am working on updating the package to the latest release. I am doing some testing against my own instance to make sure face recognition works as expected before publishing the update here. Stay tuned!

benalexau commented on 2021-07-31 00:46 (UTC)

Thanks for maintaining this package.

FYI here is my /etc/photoprism/options.yml as it shows a few settings that others may find useful, particularly the configuration of other Arch Linux packages so that PhotoPrism can properly index and convert from raw files etc. It may be useful to modify PKGBUILD to depend on those packages and amend the default options.yml to help new users get started.

# Bound to localhost as reverse proxied by Traefik
HttpPort: 2342
HttpHost: 127.0.0.1

SiteUrl: https://photos.mydomain.com
SiteTitle: "Photos"

AdminPassword: redacted

AssetsPath: /var/lib/photoprism/assets
ConfigPath: /mnt/data_0/photoprism/config
StoragePath: /mnt/data_0/photoprism/storage

OriginalsPath: /mnt/data_0/photoprism/samba/originals
ImportPath: /mnt/data_0/photoprism/samba/import

# pacman -S --noconfirm darktable rawtherapee libheif ffmpeg perl-image-exiftool
DarktableBin: /usr/bin/darktable-cli
RawtherapeeBin: /usr/bin/rawtherapee-cli
HeifConvertBin: /usr/bin/heif-convert
FFmpegBin: /usr/bin/ffmpeg

Also hot backups of the database can be performed using a command such as /usr/bin/photoprism --config-file=/etc/photoprism/options.yml backup /mnt/data_0/photoprism/storage/backup.sql.