Installing paperless on Debian Jessie

I wanted to test installation of, but the instructions are “somewhat” unclear.
Here I am trying to document the process, so it might be usefull for someone later on.

First, having a requirements.txt is all great and dandy, but saying I need GNU Privacy Guard does not translate to which package, and a link to GPG’s homepage isnt very helpful.
Also, “apt-cache search gpg | wc -l” returns 72 packages.

Alright, enough said – lets do this. 🙂

Start slow, apt-get all the requirements (hope I got them all….) :

# apt-get install –no-install-recommends git libtiff-tools python3-pip python3-dev libtiff5-dev libjpeg62-turbo-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk unpaper imagemagick tesseract-ocr tesseract-ocr-YOURLANGUAGE

Please note the YOURLANGUAGE there, to find your language do this:

$ apt-cache search tesseract-ocr-| sort

# git clone /usr/src/paperless/
# cd /usr/src/paperless/

Copy the example-config, then edit it.
# cp /usr/src/paperless/paperless.conf.example /etc/paperless.conf
You have to change some stuff in the config-file, so do:
# editor /etc/paperless.conf
And edit:
PAPERLESS_PASSPHRASE, just set and forget – this should never ever be changed.
PAPERLESS_CONSUMPTION_DIR, somewhere your service user have access, I just used a subfolder in $HOME.

Then do

# pip3 install –requirement /usr/src/paperless/requirements.txt

(and poff, there goes management via apt. The packages dont exist with the correct versions in Jessie repos anyway, so well… This wouldnt have been pretty anyway.)


After that, do the following:

# /usr/src/paperless/src/ migrate


# /usr/src/paperless/src/ createsuperuser


Finally you run the software by starting the webserver, and the consumer.
First the webserver:
# /usr/src/paperless/src/ runserver &
(Obviously, remember to open tcp/8000)
And the consumer:
# /usr/src/paperless/src/ document_consumer

Then put pdf-files into the consumer-dir and watch some kind of magic happen.

To be honest, I wasn’t that impressed so I ditched the software at this point.
Therefore I doubt this guide will be updated in the future.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s