Paperless-NGX, Part Two
Configure Paperless-NGX
I have been playing with Paperless-NGX a bunch over the last couple of weeks and it is absolutely wonderful! The one trouble I've been having is that it doesn't scan documents if they are already in my documents folder or if they are added to the documents folder from outside of the application.
Steps performed on PAPERLESS-01
sudo apt update
sudo apt upgrade -y
sudo reboot
So I see that Paperless-NGX's media is stored in paperless_media/_data/documents
. I want this to live on my fileserver. But I will need to have the directory empty to start with and add everything in through Paperless-NGX. So on my fileserver I move all my documents out of my documents folder into a temporary folder. There were a couple of images and media files that had gotten in there by accident that I never cleaned up. This seems like a good time to do so, so that my documents folder is nice and clean and just filled with documents for Paperless-NGX.
Steps performed on PAPERLESS-01
sudo apt install cifs-utils
Steps performed on DC-02 via Windows Admin Center
- I navigate to Active Directory
- I navigate to the Browse tab
- I navigate to my
Managed Service Acounts
OU. - I click on Create and create a basic service account
_service_paperless
Steps performed on PAPERLESS-01
nano /home/david/.paperlesscredentials
username=_service_paperless
password=
domain=domain.local
- I saved the
.paperlesscredentials
file mkdir /mnt/paperless
sudo nano /etc/fstab
//10.10.10.XXX/Data/Documents /mnt/paperless cifs credentials=/home/david/.paperlesscredentials,iocharset=utf8 0 0
- I saved the
fstab
file mount -t cifs -o rw,vers=3.0,credentials=/home/david/.paperlesscredentials /10.10.10.XXX/Data/Documents /mnt/paperless/
I quickly verified that the network share mounted correctly. Now I just need to update the docker volumes to point towards the mount. But when I make that change, the container won't even run, it just crashes and sits in a state of restarting. What a bummer. I can't look into it too much right now because I'm out of time to work on this. I'll have to come back to it tomorrow.