Paperless on TrueNAS

The Paperless Project is a way of reducing the amount of paper cluttering up your office. This post of my notes on getting it installed in a TrueNAS jail.

  1. Create the jail
  2. Assign storage by mounting a pool
  3. Log into the jail and start installing things...
pkg update
pkg upgrade

pkg install git
pkg install python3

ln -s /usr/local/bin/python3.7 /usr/local/bin/python

pkg install tesseract
pkg install ImageMagick7-7.0.10.24_2
pkg install unpaper
pg install poppler
pkg install optipng
pkg install py37-pip
pkg install postgresql96-server
pkg install py37-sqlite3

And now you can start installing Paperless itself, following the instructions...

mkdir /opt
cd /opt
git clone https://github.com/the-paperless-project/paperless.git
cd paperless
pip install -r requirements.txt