Skip to content

Running PhotoPrism On FreeBSD

For FreeBSD / FreeNAS users, an unofficial PhotoPrism port is available.

The port will compile and install libtensorflow 1.15.2 and build photoprism from source on FreeBSD.

You are welcome to ask for help in our community chat. Sponsors receive direct technical support via email. Before submitting a support request, try to determine the cause of your problem.

Help improve these docs! You can contribute by clicking to send a pull request with your changes.

1. Clone or download the port:

git clone https://github.com/huo-ju/photoprism-freebsd-port

2. Build TensorFlow and PhotoPrism from source, then install:

cd photoprism-freebsd-port
make config
make && make install

When running the make config command, a CPU feature options dialog will be presented, and the default option is NONE.

3. Add entries to rc.conf:

photoprism_enable="YES"
photoprism_assetspath="/var/photoprism/assets"
photoprism_storagepath="/var/photoprism/storage"

You can add more command line parameters into photoprism_flags="" in the rc.conf

photoprism config shows all config parameters.

4. Start the service:

service photoprism start

Done!