paperless-ngx - Management commands are not installed #2110

Closed
opened 2026-02-05 03:47:18 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @ReneNulschDE on GitHub (Dec 3, 2025).

🌟 Briefly describe the feature

Add support for the standard paperless-ngx management commands

📝 Detailed description

The current Paperless-ngx installation script successfully deploys a working instance of Paperless-ngx. However, after installation, users cannot easily execute Paperless-ngx management commands (like document_importer, document_exporter, etc.) without manually navigating to the correct directory and using the full Python command syntax.

💡 Why is this useful?

The official Paperless-ngx documentation assumes easy access to management commands:
https://docs.paperless-ngx.com/administration/#management-commands

For Docker installations, this is straightforward (docker compose exec webserver ), but for bare-metal LXC installations via the helper script, users need guidance or tooling to access these commands efficiently. Currently, you have to use python3 manage.py document-exporter ... instead of document-exporter ...

The installation of the shell shortcuts in a docker context is maintained here with this helper script

Originally created by @ReneNulschDE on GitHub (Dec 3, 2025). ### 🌟 Briefly describe the feature Add support for the standard paperless-ngx management commands ### 📝 Detailed description The current Paperless-ngx installation script successfully deploys a working instance of Paperless-ngx. However, after installation, users cannot easily execute Paperless-ngx management commands (like document_importer, document_exporter, etc.) without manually navigating to the correct directory and using the full Python command syntax. ### 💡 Why is this useful? The official Paperless-ngx documentation assumes easy access to management commands: https://docs.paperless-ngx.com/administration/#management-commands For Docker installations, this is straightforward (docker compose exec webserver <command>), but for bare-metal LXC installations via the helper script, users need guidance or tooling to access these commands efficiently. Currently, you have to use `python3 manage.py document-exporter ...` instead of `document-exporter ...` The installation of the shell shortcuts in a docker context is maintained [here](https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/refs/heads/dev/docker/install_management_commands.sh) with this [helper script](https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/refs/heads/dev/docker/management_script.sh)
OVERLORD added the enhancement label 2026-02-05 03:47:18 +03:00
Author
Owner

@MickLesk commented on GitHub (Dec 3, 2025):

uv run....

@MickLesk commented on GitHub (Dec 3, 2025): uv run....
Author
Owner

@ChrisLasar commented on GitHub (Dec 26, 2025):

I understand and like the uv approach. However with my new installation uv is missing in the 'container' . What did I do wrong?

@ChrisLasar commented on GitHub (Dec 26, 2025): I understand and like the `uv` approach. However with my new installation `uv` is missing in the 'container' . What did I do wrong?
Author
Owner

@MickLesk commented on GitHub (Dec 26, 2025):

You enter it with pct and pct never use bashrc

@MickLesk commented on GitHub (Dec 26, 2025): You enter it with pct and pct never use bashrc
Author
Owner

@ChrisLasar commented on GitHub (Dec 26, 2025):

tnx for the extremely fast reply, my fault. Learned something new. For those entering with pct

root@paperless-ngx:/opt/paperless/src# cd /opt/paperless/src
root@paperless-ngx:/opt/paperless/src# /usr/local/bin/uv run python3 manage.py document_exporter <target>
@ChrisLasar commented on GitHub (Dec 26, 2025): tnx for the extremely fast reply, my fault. Learned something new. For those entering with pct ```bash root@paperless-ngx:/opt/paperless/src# cd /opt/paperless/src root@paperless-ngx:/opt/paperless/src# /usr/local/bin/uv run python3 manage.py document_exporter <target> ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2110