Test, Test, Test, Test
Paperless runs on linux only. The following procedure has been tested on a minimal installation of Debian/Buster, which is the current stable release at the time of writing. Windows is not and will never be supported.
Paperless requires Python 3. At this time, 3.9 - 3.11 are tested versions. Newer versions may work, but some dependencies may not fully support newer versions. Support for older Python versions may be dropped as they reach end of life or as newer versions are released, dependency support is confirmed, etc.
Install dependencies. Paperless requires the following packages.
python3python3-pippython3-devdefault-libmysqlclient-dev for MariaDBpkg-config for mysqlclient (python dependency)fonts-liberation for generating thumbnails for plain text
filesimagemagick >= 6 for PDF conversiongnupg for handling encrypted documentslibpq-dev for PostgreSQLlibmagic-dev for mime type detectionmariadb-client for MariaDB compile timemime-support for mime type detectionlibzbar0 for barcode detectionpoppler-utils for barcode detectionwhateverCreate a system user with a new home folder under which you wish to run paperless.
adduser paperless --system --home /opt/paperless --group
Get the release archive from https://github.com/paperless-ngx/paperless-ngx/releases for example with
curl -O -L https://github.com/paperless-ngx/paperless-ngx/releases/download/v1.10.2/paperless-ngx-v1.10.2.tar.xz
Extract the archive with
tar -xf paperless-ngx-v1.10.2.tar.xz
and copy the contents to the
home folder of the user you created before (/opt/paperless).
Paperless-ngx Dokumentation https://docs.paperless-ngx.com/setup/#bare_metal
Tutorial Paperless-ngx Discussion https://github.com/paperless-ngx/paperless-ngx/discussions/5822
Update Tutorial https://nerdig.es/paperless-baremetal-update/