-
-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Batch processing with OCRmyPDF using Synology NAS (DS216+II) and docker #180
Comments
According to Docker documentation it looks you can do
to avoid hardcoding uids. |
This would also require an x86 based Synology. I'll make a note in docs that some people may need to specify a user for docker. |
I tested the -u="docker:docker" but it didn't work while -u="uid:gid" worked perfectly fine. The x86 based Synologys are the only ones that offer docker via the internal app store. |
For the test my Synology DS216 was used. So other Linux distributions might work fine. |
Added this script to documentation and notes on implementation |
Two things (since I tried to do something like that too for QNAP NAS Systems): |
I'm not able to get this working on my DS918plus with latest updates. I created group docker and user docker in DSM, after this checked id's with SSH: Log output is: Is the script still working on your diskstation? |
Hi. This is the Output Log on My DS918+ When i delete the space and comma in your Code after the jbarlow83/ocrmypdf it starts without Fault Proms.
Now Your Logfile says: But nothing is done. This is the way i start the script in the Task Scheduler
The uid:guid is changed to my inviroment. Maybe you have a solution for this. @mckar |
Hi, |
OK Perfect. Now it is doing something. So easy and it takes 2 days to find it out. One Question the Narker for German is I have used -L deu but it doesn´t know deu. So I search for it |
issue #180, fix reported by @Atredis76
thank you for your great work. After 9 Months of trial and error (sorry I am a newbie) I managed to alter the script you already provided and adopted it whilst only using the tools provided by Synology.
Basically this should work for any platforms that uses docker.
Now you can scan your document to a NAS folder (1st argument). The script creates an OCRed PDF and moves original PDF and OCRed PDF to an archive folder (2nd argument)
The biggest obstacle was the permission concept.
I hope this script works for you (Synology +) docker people.
Feel free to optimize the script.
The text was updated successfully, but these errors were encountered: