Paperless-ngx Using Docker With A Shared Consume Folder
HTML-код
- Опубликовано: 15 июл 2024
- Paperless-ngx Using Docker With A Shared Consume Folder
Welcome back to our channel, tech enthusiasts! In today's episode, we're venturing into the realm of document management by setting up Paperless-ngx on an Ubuntu server using Docker. Paperless-ngx is an exceptional tool designed to help you manage and archive your digital documents with ease. But that's not all - we're also going to install Samba and create a shared folder. This will allow users to effortlessly import their documents into Paperless-ngx. So, if you're ready to streamline your document management process, let's dive right in!
#PaperlessNgx #Docker #DocumentManagement #SelfHosted #DigitalArchive
Curl commands to download the necessary files:
curl -O -L --insecure github.com/paperless-ngx/pape...
curl -O -L --insecure github.com/paperless-ngx/pape...
curl -O -L --insecure github.com/paperless-ngx/pape...
Move command to rename the docker-compose file:
mv docker-compose.mariadb-tika.yml docker-compose.yml
Create the superuser:
docker-compose run --rm webserver createsuperuser
Install samba:
sudo apt-get install samba -y
Confirm service is running:
sudo systemctl restart smbd.service
Add new user:
sudo adduser paperless
Add the user to samba:
sudo smbpasswd -a paperless
Set permissions:
sudo apt-get install acl
sudo setfacl -R -m "u:paperless:rwx" /path/to/paperless/consumption/directory
Samba.conf to add share folder to:
sudo nano /etc/samba/smb.conf
Sample Samba share:
[paperless]
comment = paperless consumption
path = /path/to/paperless/consumption/directory
read only = no
writable = yes
browseable = yes
guest ok = no
valid users = @paperless
###################################################################################################################################################################################################
The below links are affiliate links. If you use one of the these links to make a purchase. My channel makes a small commission at no cost to you:
Ensure your online privacy and security with ExpressVPN, my trusted VPN service. Click here to get started: stevestechstuff.net/recommend...
Keep your passwords safe and accessible with NordPass, my go-to password manager. Start your secure journey here: stevestechstuff.net/recommend...
Host your applications with ease on DigitalOcean, my preferred cloud infrastructure provider. Click here to get started: stevestechstuff.net/recommend... Хобби
Finally I can import and scan documents directly into paperless. Thank you a thousand times!
love this style of tutorial making-thanks and please keep up the good work
I had so many issues with getting samba to work. Your ACL step fixed it all. Thank you!
Best guide so far by a mile... Thnak you so much!
Short, precise and to the point! Thanks for this perfekt video.
perfect tutorial, just when i needed it. thank you!
Glad it helped!
Great Video! keep doing this
Excellent. Doing this now.
This is GREAT STUFF. I have my paperless-ngx docker container running and now thanks to you i have the share created. Now my only issue is that I have a Documents folder created on my QNAP NAS that I would like to pull over to my paperless-ngx container. I am a little fuzzy on how to do this part? Thanks again for the great video!!
thank you!
You're welcome!
This is great
Thanks!
Nice. Lite and easy
Thanks!
Nicely organized content, thx. (As a minor aside, for *me* the background music makes the narration harder to follow)
Noted!
Awesome video! On my end in place of "Samba" I'm using "Davos" for remote sync (for the love of GUI :) )
Keep making the 'Paperless-ngx' videos when you can, not many of them here on RUclips - Thanks!
That is awesome!
7:54 What program is this for storing your copied texts?
I have troubles with it. I can see the paperless folder in my windows explorer after entering paperless and my password. when i try to access it, i get a permission denied. What am i doing wrong? followed your guide until this point.
Didn't see you setting up the samba drive local IP? How did you get your IP set up? I'm unable to access the Samba drive from the Run window... Please help.
The share drive I created was on the same server that was running paperless NGX. At the very beginning. When I SSH into my server, you can see the IP address. another way to find the IP address is to ping the host name of your device. Hope this helps!
I just ried this and it is working, but paperless has problems working with it.
Do yourself a favour and run sudo snap list before apt install docker-compose. I didn't realise I was running the snap version of Docker, and now I have a right mess of an installation. Half the time docker ps returns an empty list because I'm running the wrong docker, or it's talking to the wrong daemon, or something. At one point I removed the snap version but that removed all my containers as well! I managed to restore them with sudo snap restore 1 and now I'm trying to figure out how to get my containers out so I can switch to using the official Docker release instead of whatever this snap version is.
You should be able to back up your container volumes, remove snap docker, and install docker.
Ubuntu gotcha!!! I hate snap. Got rid of it all on my version of 20.04.....Cheers.
Pleaaaaaaaaaaaaase do silence the anoying background music.....
i add this line to - /home/myuser/docker/paperless-ngx/consume:/usr/src/paperless/consume
fragment of code
volumes:
- data:/usr/src/paperless/data
- ./media:/usr/src/paperless/media
- ./export:/usr/src/paperless/export
- /home/myuser/docker/paperless-ngx/consume:/usr/src/paperless/consume
env_file: docker-compose.env
logs still say : Using inotify to watch directory for changes: /usr/src/paperless/consume
i add to this to env but the folder still default ...
PAPERLESS_MEDIA_ROOT=/usr/src/paperless/media
PAPERLESS_CONSUMPTION_DIR=/home/myuser/docker/paperless-ngx/consume
PAPERLESS_EXPORT_DIR= /usr/src/paperless/export
PAPERLESS_DATA_DIR=/usr/src/paperless/config