Scripted Photoprism Installation (TrueNAS CORE)

Scripted Installation of Photoprism and Caddy with options to run behind a reverse proxy, self-signed cert, or completely independent and managing/renewing its own certs automatically using Caddy.

Unfortunately, the newer versions of Photoprism are compiled using AVX instructions, which my CPU doesn’t currently support. Therefore this script will only work with 12.x jails.

This script will create a jail, install photoprism and caddy using a $FQDN of your choosing, and mount the data outside the jail. This makes it easy to rebuild the jail without losing your data. It will also acquire a valid Let’s Encrypt certificate and keep it renewed using Caddy.

Reinstall is supported without having to move or backup your data.

Instructions and downloads are at

1 Like