-
Notifications
You must be signed in to change notification settings - Fork 352
Please help me test the new multiarch docker images #322
Comments
One thing I've already spotted with OCRmyPDF
|
Nice! :-)
It starts, no obvious problems. Logging in works fine. My workflow is using the paperless android app mostly. On occasion I get a pdf by email that I add, but not often. An initial attempt to scan a document using the app results in a Python PIL related error on paperless-ng.
|
Thank you. Is that the 32bit or 64bit variant of ubuntu? |
64-bit |
@mvdkleijn new build is up on the hub, does that resolve the issue? |
Hi Jonas, I tested the new ARM64 Image on Raspberry Pi 4 4GB on latest Raspbian (now called Rasppery Pi OS) 64 Bit.
I encountered the following:
By the way, I'm using an arm64 image for about a week now in "production". I extended the Dockerfile by another stage to download the sources (so I dont have to checkout the sources every time a new release is ready) and used python:3.9-slim as base image. Works without any errors so far. Best regards, |
@jonaswinkler The latest image consumes the document just fine. I do get the samr DPI warning that @niarbx got but other than that it looks fine. |
That shouldn't be a warning, I'll lower the severity. Some images have DPI information in their metadata, and paperless uses that. That's important for PDF generation (how big should the pages be?). If none is available, paperless will produce A4-sized PDF documents.
Should be fixed in the image from a couple minutes ago
Thank you, good to know. |
|
Testing the docker build with Unraid and consumed a couple of files with no problem. I threw a selection of scanned pdf's at it (15) and I've lost the gui, not reachable .... no obvious errors in the log, in fact it appears to be still consuming. Only just found your NG version of paperless today so will take a better look at my config tomorrow to see if it needs tuning. Cool NG version btw :) |
What platform? It might take up all resources while consuming (this takes a long time on Pi), and the web server might not get enough cpu time to provide a response in time. Consider the option TASK_WORKERS and THREADS_PER_WORKER (https://paperless-ng.readthedocs.io/en/latest/configuration.html#software-tweaks). Pi3/4 have a quad core, therefore settings WORKERS=2, THREADS=1 will always leave some resources available for other tasks. See also https://paperless-ng.readthedocs.io/en/latest/setup.html#considerations-for-less-powerful-devices |
Thanks for the info, Unraid machine is a Xeon with 32g of memory running multiple dockers .. |
Uhm, yeah. That should not have any issues running this. |
It's running on armv7 (Banana Pi M2U) OS: Armbian (Ubuntu 20.04.1 LTS) No errors so far. |
Alright, thank you very much. Multi arch images are coming soon. |
Fix minor sphinx errors
I've got the CI pipeline (see #151) pretty much ready, and it has successfully built docker images for amd64, armhf and aarch64.
Image is available at Docker Hub. For anyone interested, the workflow that produced these images is here: https://github.com/jonaswinkler/paperless-ng/actions/runs/476333808.
I don't have aarch64 hardware and would love to hear from people who do if this works. Feedback on the arm/v7 image is also welcome.
These images are based on the latest
dev
branch, which is identical to the current release + a couple bug fixes. But as with all pre-release things, I wouldn't advise to run that with your actual database.These images can be used with any of the docker-compose files in the docker/hub/ folder. Just replace the version, and pull.
Things I'd like to see tested:
Consume digital PDF documents with embedded text
Consume scanned PDF documents without embedded text
Consume JPG documents
Add some "Auto" matching metadata to documents and inspect whether the "Train the classifier" scheduled task executes successfully. You can schedule that to run immediately by going into the admin, editing that scheduled task, and clicking Today / Now further down, then save. To make sure that it's working, you should evenutally see something like this in the logs with the filter set to DEBUG:
Try to find some documents with the full text search.
Thank you!
The text was updated successfully, but these errors were encountered: