-
Notifications
You must be signed in to change notification settings - Fork 6
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
Problem on CentOS Stream 9 - OCRmyPDF succeeded with warning(s): sh: line 1: ocrmypdf: command not found, #203
Comments
Hi @mrojrti, I can't immediately tell you what's wrong but I'd suggest you try the following steps to get closer to a solution:
Hope this helps! |
Hi @R0Wi ! All right, I redo some tests and the user apache on terminal can't run the commando So I do: When I run the sudo -u apache ocrmypdf the command returns ok (I change a security configuration on sudoers to get this work) But still not working on Nextcloud, command not found =( ![]() I managed to get the command work on apacher user, but I don't know how to proceed now, can you help? Thank you so much. |
That really sounds like a taff one 😄 To get closer to a solution I'd not work with the crontab but instead call
It would also be interesting to know where exactly the docker@489f65697e04:/var/www/html$ whereis ocrmypdf
ocrmypdf: /usr/bin/ocrmypdf So you see it's below Good luck! |
Hi, @R0Wi Finally, it works!!! 1 - The cron config was ok. Executing Resolution: Now it's working like a charm. Thank you so much for your attention! |
Happy to hear things are working now. Sounds to me indeed like in some situations the |
When I try to install ocrmypdf via dnf/yum the packet was not found on the repository even epel installed.
Tried via Snap and Pip but I get the same error above on Nextlocu log:
![Screenshot 2023-05-16 at 22 09 30](https://private-user-images.githubusercontent.com/14860931/238804674-2f3433d9-3798-4db7-a5bc-80c858249d09.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA5ODk0NTAsIm5iZiI6MTcyMDk4OTE1MCwicGF0aCI6Ii8xNDg2MDkzMS8yMzg4MDQ2NzQtMmYzNDMzZDktMzc5OC00ZGI3LWE1YmMtODBjODU4MjQ5ZDA5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE0VDIwMzIzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk4ZjQ0ODQ5MmM2MTBmZDFhZThmMWUyNDYwMTk3MDMyM2ZiMDA2ZjVjNjhkODBmYWE4OTIwYjRmYWE4ZjYxNGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.P5fOZ2kyMUt_ZscNvGAE4fl2NY5B204fVVXMTK1Y9o0)
Can you help me, please?
Thank you
The text was updated successfully, but these errors were encountered: