Open JasonSanDiego opened 2 years ago
yeah, it seems, you need to use docker exec -it paperless-ng_webserver_1 python manage.py decrypt_documents
or docker-compose exec -T webserver python manage.py decrypt_documents
.
There seems to be a flaw in the documentation because all "commands" listed there are actually parameters to the command python manage.py
Looking through the code base, it seems like install_management_commands sets up a number of the management utilities as direct command line commands, but it doesn’t include decrypt_documents.
See https://github.com/jonaswinkler/paperless-ng/blob/master/docker/install_management_commands.sh
This isn't my first rodeo with paperless nor docker, but I'm having trouble getting the management utilities to work by following the documentation at https://paperless-ng.readthedocs.io/en/latest/administration.html#management-utilities
I'm running via docker-compose, but whether I try docker-compose or docker, or running bash to get a console, all I get is "executable file not found".
Am I supposed to be executing python manage.py or something else instead?