Install Docker

Update the repo to get latest versions

sudo apt update

Install the latest version

sudo apt install docker.io

Set Docker to start on startup

sudo systemctl enable --now docker

Give your user permissions to docker, replacing user with your username

sudo usermod -aG docker user

Test it has installed correctly by getting the docker version

docker --version

Installing Paperless-ng

Download the install script

wget https://raw.githubusercontent.com/jonaswinkler/paperless-ng/master/install-paperless-ng.sh

Set permissions on the downloaded file

chmod +x install-paperless-ng.sh

Install the script

./install-paperless-ng.sh

This will prompt you for some settings. The prompts I modified are Port, Paperless password and Paperless email

Target folder [/home/user/paperless-ng]:

Consume folder [/home/user/paperless-ng/consume]:

Media folder []:

Data folder []:

Port [8000]: 8187

Current time zone [Etc/UTC]:

Database backend (postgres sqlite) [postgres]:

Enable Apache Tika? (yes no) [no]:

OCR language [eng]:

User ID [1000]:

Group ID [1000]:

Paperless username [user]:

Paperless password:

Paperless password (again):

Paperless email: user@local

Press any key to install.

Running Paperless-ng

Open a browser and run to http://serverip:8187 or whatever port you specified in the above config.