I managed to install Photoprism using the pre built package and some dependencies. (No need to wait hours for it to build, yay)
In the jail do make sure your on the latest pkg branch in
/etc/pkg/FreeBSD.conf
pkg update
pkg install ffmpeg openjdk p5-Image-ExifTool py38-tensorflow
fetch https://github.com/psa/photoprism-freebsd-port/releases/download/2021-05-23/photoprism-g20210523-FreeBSD-12.2-noAVX.txz
pkg add photoprism-g20210523-FreeBSD-12.2-noAVX.txz
Its installed, to configure add these lines to
/etc/rc.conf
Code:
photoprism_enable="YES"
photoprism_assetspath="/var/db/photoprism/assets"
photoprism_storagepath="/var/db/photoprism/storage"
#photoprism_logfilename="/var/log/prism.log"
photoprism_originalspath="/var/db/photoprism/storage/originals"
photoprism_importpath="/var/db/photoprism/storage/import"
Then set the initial password with this command
Code:
photoprism --assets-path=/var/db/photoprism/assets --storage-path=/var/db/photoprism/storage --originals-path=/var/db/photoprism/storage/originals --import-path=/var/db/photoprism/storage/import passwd
And run photoprism with this command:
Code:
photoprism --assets-path=/var/db/photoprism/assets --storage-path=/var/db/photoprism/storage --originals-path=/var/db/photoprism/storage/originals --import-path=/var/db/photoprism/storage/import --log-filename /var/log/prism.log start
Done.
For some reason starting photoprism with service photoprism start does not work, the rc file looks like it imports all the flags properly so idk. Till someone can help with that we need to use the command above to start it.
Photoprism seems like an ALMOST perfect google photos replacement, its got a really nice UI and Object detection which is really good and hard to find in other self hosted projects BUT its missing a huge feature for me which makes it unusable, no multi user support.
I've been toying with piwigo and its UI is ok, not object detection but has multi user support so, guess ill stick with it. Also Piwigo has some weird bugs when running behind caddy, had to use apache for it which takes a lot longer to setup.
Anyone else have thoughts on google photo self hosted replacements ?