I have recently started using umbrelOS and was delighted to find out that Paperless is now available there. I have been using Paperless on a Raspberry Pi for a long time and always create a backup using the export function. I now have two questions:
How can I use the export function for Paperless in umbrelOS?
You can execute commands inside the Paperless-ngx app on umbrelOS by going to “Settings” → “Advanced settings” → “Terminal” → Choose “App” and select “Paperless-ngx”. This will launch the terminal session in the same environment as the app where you should be able to perform the commands to export/import your documents.
Hey @473x31
Thank you very much for your answer. I have tried it, but unfortunately it doesn’t seem to work.
root@ecb720a24efb:/data# docker-compose exec webserver document_exporter ../export
bash: docker-compose: command not found
root@ecb720a24efb:/data# exec webserver document_exporter ../export
bash: exec: webserver: not found
root@ecb720a24efb:/data# document_exporter
bash: document_exporter: command not found
root@ecb720a24efb:/data#
Thanks for being patient. I’ve had a closer look and it turns out when using the app terminal, umbrelOS is opening up the wrong container (it’s trying to launch the Redis container shell instead of Paperless).
If you follow the steps below you should be able to execute the document_ commands:
Launch the umbrelOS terminal. (go to “Settings” → “Advanced settings” → “Terminal” → Choose “umbrelOS”)
Run sudo docker exec -it paperless_webserver_1 /bin/bash
Then run cd /usr/local/bin
From this point, you should be able to run the commands.