Open stepanov1975 opened 3 years ago
+1 I have the same issue, I was just wondering if it was a deployment specific issue since no one else seemed to have the problem.
I'm running paperless on a hybrid arm64/amd64 k3s cluster.
Another observation I had that may be related is that, unless paperless is restarted it does not consume anymore documents.
Also after paperless restarts, it seems like the workers will work through all historical jobs (even completed ones), possibly related to this issue.
00:04:08 [Q] INFO recycled worker Process-1:119
00:04:08 [Q] INFO Process-1:121 ready for work at 436
00:04:08 [Q] INFO Process-1:121 processing [double-lima-island-vermont]
00:04:08 [Q] INFO Process-1:121 stopped doing work
00:04:08 [Q] INFO Processed [double-lima-island-vermont]
00:04:08 [Q] INFO recycled worker Process-1:120
00:04:08 [Q] INFO Process-1:122 ready for work at 438
00:04:08 [Q] INFO Process-1:122 processing [november-princess-magnesium-four]
00:04:08 [Q] INFO Process-1:122 stopped doing work
I'm seeing the same thing- If I restart the container, all is well. Dead within the day (hours maybe). with no notification I can find that the consumer isn't working. Documents added to the queue- that's the end of the log. If I upload a document via the web interface/dashboard it will be uploaded, but then just sits at "waiting." Not sure how in a docker environment to check for running processes (no top or ps). To add: docker using the latest image (1.5.0), modified to use my existing postgres and redis servers and persistent storage via SMB using portainer. Not a permissions issue- again, restart and all works as expected.
I have same the issue with version 1.50 and docker installation on synology It looks like it's related the job queue processing After after a few hours, new documents are not processed anymore and a restart of the container restart the job queues. I just restarted the container now (after 2 months) and hundreds of jobs are running (sequentially)
[...]
16:07:37 [Q] INFO Process-1:794 processing [sixteen-louisiana-bacon-louisiana]
16:07:38 [Q] INFO Processed [king-winner-aspen-romeo]
16:07:42 [Q] INFO Process-1:794 stopped doing work
16:07:42 [Q] INFO Process-1:793 stopped doing work
16:07:42 [Q] INFO recycled worker Process-1:793
16:07:42 [Q] INFO Process-1:795 ready for work at 2429
16:07:42 [Q] INFO Process-1:795 processing [sad-bacon-jig-network]
16:07:42 [Q] INFO recycled worker Process-1:794
16:07:42 [Q] INFO Process-1:796 ready for work at 2430
16:07:42 [Q] INFO Process-1:796 processing [arkansas-quebec-early-skylark]
16:07:43 [Q] INFO Processed [sixteen-louisiana-bacon-louisiana]
16:07:44 [Q] INFO Processed [salami-november-eleven-lemon]
16:07:47 [Q] INFO Process-1:796 stopped doing work
16:07:47 [Q] INFO recycled worker Process-1:796
16:07:47 [Q] INFO Process-1:797 ready for work at 2432
16:07:47 [Q] INFO Process-1:797 processing [tango-pennsylvania-neptune-montana]
16:07:47 [Q] INFO Process-1:795 stopped doing work
16:07:48 [Q] INFO recycled worker Process-1:795
16:07:48 [Q] INFO Process-1:798 ready for work at 2434
16:07:48 [Q] INFO Process-1:798 processing [shade-delta-nebraska-sierra]
16:07:48 [Q] INFO Processed [arkansas-quebec-early-skylark]
16:07:48 [Q] INFO Processed [sad-bacon-jig-network]
[...]
I also am running paperless-ng on a Synology NAS in docker. I've noticed that, when I add documents via the UI, it seems to be stuck in the "Upload complete, waiting ..." state. But for me this happens only at the UI level. If I look at the logs (with docker-compose logs -f), it is processing the documents and, eventually, if I refresh the browser I see them. But the UI stays in that bad state.
I can confirm this for Raspi 4 installation. Consuming doesn't start again after a while. I scheduled a cron job to restart paperless container every hour until this is fixed .
Describe the bug All worked fine for a while, but today I am unable to add new documents. Documents in consume directory not consumed and also documents uploaded via GUI not added.
To Reproduce Documents added to the consume directory not consumed Documents uploaded via "Upload new documents" are not added. Stuck at "Upload complete, waiting..."
Screenshots
Webserver logs
Relevant information