Comments (3)
got same problem and I active debug mode to find out that the output dir did not have similar permissions as input and over directories for ocr.
chmod +777 /output resolved this issue.
@cmccambridge : can you please correct the container image? thanks.
from ocrmypdf-auto.
Hi @stsch83, @DJGauthier: apologies for missing this issue go by. I'm not familiar with OMV 4 and how it incorporates and configures Docker, but I can try and provide a few tips.
The ocrmypdf-auto
container image does include an empty folder at /output
, but if I understand Docker correctly, the content and permissions of a volume properly mounted to this path will override the container's content entirely, so we are tracking down a configuration problem on your system, rather than anything I can assist with from within the container.
Some things to check would be:
- Confirm that your container has a volume properly mounted at
/output
, e.g. by looking at the output ofdocker inspect -f "{{ .Mounts }}" your-container-id
- Verify the permissions of your mounted path outside the container. This includes both access mask and owner/group.
- This container by default runs with UID and GID both set to 1000. You may override these settings to match the owner of your output path using the
USERMAP_UID
andUSERMAP_GID
environment variables when starting the container. (See the readme for details). In another "managed Docker" environment that I am familiar with called Unraid, I setUSERMAP_UID=99
andUSERMAP_GID=100
to be compatible with Unraid's default file ownership structure. Perhaps OMV4 has a similar well-known UID or GID that you can provide?
Let me know if you continue to encounter issues.
from ocrmypdf-auto.
Not having seen any updates in some time, I will close this issue out. Please reopen if you're still looking for help!
from ocrmypdf-auto.
Related Issues (20)
- `OCR_LANGUAGES` is converted incorrectly to `--language` parameters to `ocrmypdf`
- Feature Request: Option to move non PDF to Output Folder HOT 2
- Update to the latest version of `ocrmypdf` HOT 2
- Evaluate Alpine Linux base image HOT 5
- Not starting processing of files HOT 3
- Feature request: Processing of non-PDF sources HOT 2
- Not processing files (Status 3) HOT 4
- Fails when using OCRmyPDF options HOT 5
- Feature Request: Setting resize / compression levels HOT 3
- New Files dont get recognized on Docker SMB-Volume HOT 12
- Feature request: Add prefix/suffix to filename with timestamp and/or unique number before moving to archive folder HOT 2
- No output file - Status 5 HOT 2
- "ocrtemp" folder not used
- Input files don't get recognized HOT 4
- Install on Raspberry Pi HOT 3
- issue on chi-tra and chi-sim
- Please replace self.input_path.move(self.archive_path) by copying and deleting
- OCR_NOTIFY_URL for MS Teams Webhook HOT 1
- working again??
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocrmypdf-auto.