[GH-ISSUE #9609] paperless-ngx - Management commands are not installed #2109

Closed
opened 2026-02-26 12:51:20 +03:00 by kerem · 4 comments
Owner

Originally created by @ReneNulschDE on GitHub (Dec 2, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/9609

🌟 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 2, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/9609 ### 🌟 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)
kerem 2026-02-26 12:51:20 +03:00
Author
Owner

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

uv run....

<!-- gh-comment-id:3605345093 --> @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?

<!-- gh-comment-id:3693177639 --> @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

<!-- gh-comment-id:3693183879 --> @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>
<!-- gh-comment-id:3693195997 --> @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.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2109
No description provided.