Skip to content

Paperless-ngx Installation on Debian 12


Overview

Paperless-ngx is a self-hosted document management system that indexes, OCRs, and organizes scanned documents and PDFs. This guide explains how to install Paperless-ngx on Debian 12 using the official installation script with Docker Compose.

Paperless-ngx provides an interactive setup script that automates configuration. The script collects your preferences, generates the necessary Docker Compose files, pulls images, starts the application, and sets up your superuser account.

1. Install Docker & Docker Compose

Before proceeding, ensure that Docker and Docker Compose are installed on your Debian 12 system. Please follow the detailed Docker Installation Guide in this documentation to set up Docker and Docker Compose correctly.

2. Run the Official Paperless-ngx Installation Script

Download and execute the setup script directly from the Paperless-ngx project:

bash -c "$(curl --location --silent --show-error https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/install-paperless-ngx.sh)"

Follow the interactive prompts to complete the configuration. The script will: - Ask for your configuration options (e.g., installation path, admin email/password) - Download all required Docker images - Set up configuration files and environment variables - Start Paperless-ngx and perform initial setup

3. Access the Paperless-ngx Web Interface

Once the script finishes, open your browser and visit:

* http://<your-server-ip>:8000

Log in with the superuser credentials you defined during setup.

Adapt this guide if your directory structure or environment differs. For advanced configuration (backups, environment files, custom compose options), see the official documentation.

References