Open AlexKalopsia opened 4 years ago
So far it seems that if I restart the entire container, then there is a chance some new docs get picked up, but it always ends with a "database is locked" situation.
If I check the consumer log, it seems to be stuck here
Processing sheet #1: /tmp/paperless/paperless-j8xqi972/convert-0001.pnm -> /tmp/paperless/paperless-j8xqi972/convert-0001.unpaper.pnm
Processing sheet #1: /tmp/paperless/paperless-j8xqi972/convert-0003.pnm -> /tmp/paperless/paperless-j8xqi972/convert-0003.unpaper.pnm
Processing sheet #1: /tmp/paperless/paperless-j8xqi972/convert-0002.pnm -> /tmp/paperless/paperless-j8xqi972/convert-0002.unpaper.pnm
Processing sheet #1: /tmp/paperless/paperless-j8xqi972/convert-0000.pnm -> /tmp/paperless/paperless-j8xqi972/convert-0000.unpaper.pnm
[pgm_pipe @ 0x561f845d7cc0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[pgm_pipe @ 0x55f85ec59cc0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[pgm_pipe @ 0x5578b197fcc0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[pgm_pipe @ 0x55912a95fcc0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[image2 @ 0x561f845d9100] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ 0x561f845d9100] Encoder did not produce proper pts, making some up.
[image2 @ 0x55f85ec5b100] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ 0x55f85ec5b100] Encoder did not produce proper pts, making some up.
out of deviation range - NO ROTATING
[image2 @ 0x5578b1981100] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ 0x5578b1981100] Encoder did not produce proper pts, making some up.
[image2 @ 0x55912a961100] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ 0x55912a961100] Encoder did not produce proper pts, making some up.
OCRing the document
Parsing for eng
Parsing for nld
Hey,
sorry if it's a dumb question but are you sure that there was no other consumer process running when you started the consumer manually?
Especially, are you sure, you didn't start your docker-compose file with docker-compose up ? Because that would automatically start to consume (and lock the db)
@bauerj not a dumb question, this is literally the first time I run this and the documentation has not been super clear for me. The answer is "I don't know, but probably yes". This is basically connected to @totti4ever 's post. I did use docker-compose up, I did not read in the documentation that putting the container up would automatically start to consume (and lock the db).
Tried to restart the containers but that didn't help. In the end I just removed the container and created new ones, and everything seemed to work just fine.
I am assuming from now on I should just dump the documents in the consumer folder and Paperless should pick them up automatically (with consume running all the time in the background) ?
(with consume running all the time in the background) ?
That is what is configured in the docker-compose.yaml.example: one container is started as consumer and one for the web ui
Im glad you figured it out!
I took a look at the documentation and could not immediately find the command (docker-compose run --rm paperless-consumer document_consumer
) you ran. Where exactly did this occur to you?
Pointers on how to further improve the documentation would be great.
I thought it was just missing information in the documentation, so I sorta took the command from the Exporter, and adapted it for the consumer.
I suggest adding a Docker paragraph (like in the Exporter and the Importer) and just mention that after starting the consumer container, consumption will automatically start in the background.
Thanks for the help, I'll see if I stumble on more issue and maybe I'll try and contribute to the documentation to make the onboarding a bit clearer
I am running Paperless on docker (webserver and consumer containers). I can reach the WEB UI. Now I'm at the stage of trying to import some documents. From the documentation I seem to understand that I have to run
document_consumer
, but whenever I rundocker-compose run --rm paperless-consumer document_consumer
I get
Note that I also get an error whenever I try and edit a document from the UI
Any idea what's causing this issue?