[GH-ISSUE #118] Email Import does not reach INBOX #90

Closed
opened 2026-02-25 21:31:10 +03:00 by kerem · 21 comments
Owner

Originally created by @cbirkenbeul on GitHub (Sep 10, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/118

Hi,
I just setup papermerge via docker and setup my Email Import. In the logs I can see, that the worker is finding new emails. But after that nothing happen.
In the next trigger the log says no unseen messages. In the INBOX of papermerge no file will appear.

Uploading a new document by the website works perfectly fine.

First I thought its just the missing secret, so I configure that, restarted completely my docker container, send a new mail with the secret in subject and message body, but still no document in papermerge inbox.

Did I miss something in the documentation?

Thanks in advance.

Originally created by @cbirkenbeul on GitHub (Sep 10, 2020). Original GitHub issue: https://github.com/ciur/papermerge/issues/118 Hi, I just setup papermerge via docker and setup my Email Import. In the logs I can see, that the worker is finding new emails. But after that nothing happen. In the next trigger the log says no unseen messages. In the INBOX of papermerge no file will appear. Uploading a new document by the website works perfectly fine. First I thought its just the missing secret, so I configure that, restarted completely my docker container, send a new mail with the secret in subject and message body, but still no document in papermerge inbox. Did I miss something in the documentation? Thanks in advance.
kerem 2026-02-25 21:31:10 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ciur commented on GitHub (Sep 10, 2020):

Hi @cbirkenbeul, thank you for opening the ticket.

I will have a look at the issue and I will come back tomorrow with updates.

<!-- gh-comment-id:690234654 --> @ciur commented on GitHub (Sep 10, 2020): Hi @cbirkenbeul, thank you for opening the ticket. I will have a look at the issue and I will come back tomorrow with updates.
Author
Owner

@ciur commented on GitHub (Sep 11, 2020):

Hi @cbirkenbeul,
I had a look into the issue. I was unable to reproduce it -> means it worked in my case.

Here is what you can do:

  1. make sure you are using 1.4.2 version - which is latest.Version is displayed in lower right corner (see screenshot below)
  2. Another thing to double check is that you added email related changes to papermerge.conf.py configuration file in docker-worker container. Many times people overlook that some settings are worker only. Email related settings are worker only -> need to be available in worker container.
  3. Unfortunately UI Logs won't report if your IMAP configuration is invalid or credentials are wrong. Just double check they all IMAP settings are correct.
  4. Another thing to check is that you are using admin user (the one provided by default) AND you did not add any other superuser. In case there are two superusers (a possible scenario) - IMAP part of the application will get confused and will associate documents with first superuser only.

Screenshot from 2020-09-11 10-55-06

<!-- gh-comment-id:690975564 --> @ciur commented on GitHub (Sep 11, 2020): Hi @cbirkenbeul, I had a look into the issue. I was unable to reproduce it -> means it worked in my case. Here is what you can do: 1. make sure you are using 1.4.2 version - which is latest.Version is displayed in lower right corner (see screenshot below) 2. Another thing to double check is that you added email related changes to _papermerge.conf.py_ configuration file in docker-worker container. [Many times people overlook that some settings are worker only](https://papermerge.readthedocs.io/en/latest/settings.html#main-app-worker-or-both). [Email related settings](https://papermerge.readthedocs.io/en/latest/settings.html#email) are worker only -> need to be available in worker container. 3. Unfortunately UI Logs won't report if your IMAP configuration is invalid or credentials are wrong. Just double check they all IMAP settings are correct. 4. Another thing to check is that you are using admin user (the one provided by default) AND you did not add any other superuser. In case there are two superusers (a possible scenario) - IMAP part of the application will get confused and will associate documents with first superuser only. ![Screenshot from 2020-09-11 10-55-06](https://user-images.githubusercontent.com/24827601/92899047-c89ab600-f41e-11ea-808a-3b2c2cf47349.png)
Author
Owner

@ciur commented on GitHub (Sep 11, 2020):

Here is my papermerge.conf.py from worker container

DBUSER = "***"
DBPASS = "***"
DBHOST = "***"
DBNAME = "***"

MEDIA_DIR = "/opt/media"
STATIC_DIR = "/opt/static"
MEDIA_URL = "/media/"
STATIC_URL = "/static/"

IMPORT_MAIL_HOST="*****"
IMPORT_MAIL_USER="*****"
IMPORT_MAIL_PASS="*****"
IMPORT_MAIL_SECRET="PAPERMERGE"

OCR_DEFAULT_LANGUAGE = "deu"

OCR_LANGUAGES = {
    "deu": "Deutsch",
    "spa": "Spanish",
}

Which I got using:

$ docker ps

CONTAINER ID        IMAGE                             COMMAND                  CREATED             STATUS              PORTS                    NAMES
c92d7cc497e6        eugenci/papermerge:1.4.2          "/opt/app/startup.sh"    23 minutes ago      Up 23 minutes       0.0.0.0:8000->8000/tcp   papermerge_app
915df3cb1700        eugenci/papermerge-worker:1.4.2   "/opt/app/startup.sh"    23 minutes ago      Up 23 minutes                                papermerge_worker
d608988780eb        postgres:12.3                     "docker-entrypoint.s…"   5 days ago          Up 23 minutes       5432/tcp                 postgres_db

Then I entered into worker container with:

$ docker exec -it  915df3cb1700 /bin/bash

And then:

cat papermerge.conf.py

In my case IMPORT_MAIL_USER was specified in username@example.com format. Just sayin' it, maybe is relevant for your context.

<!-- gh-comment-id:690979340 --> @ciur commented on GitHub (Sep 11, 2020): Here is my _papermerge.conf.py_ from **worker container** ``` DBUSER = "***" DBPASS = "***" DBHOST = "***" DBNAME = "***" MEDIA_DIR = "/opt/media" STATIC_DIR = "/opt/static" MEDIA_URL = "/media/" STATIC_URL = "/static/" IMPORT_MAIL_HOST="*****" IMPORT_MAIL_USER="*****" IMPORT_MAIL_PASS="*****" IMPORT_MAIL_SECRET="PAPERMERGE" OCR_DEFAULT_LANGUAGE = "deu" OCR_LANGUAGES = { "deu": "Deutsch", "spa": "Spanish", } ``` Which I got using: ``` $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES c92d7cc497e6 eugenci/papermerge:1.4.2 "/opt/app/startup.sh" 23 minutes ago Up 23 minutes 0.0.0.0:8000->8000/tcp papermerge_app 915df3cb1700 eugenci/papermerge-worker:1.4.2 "/opt/app/startup.sh" 23 minutes ago Up 23 minutes papermerge_worker d608988780eb postgres:12.3 "docker-entrypoint.s…" 5 days ago Up 23 minutes 5432/tcp postgres_db ``` Then I entered into worker container with: ``` $ docker exec -it 915df3cb1700 /bin/bash ``` And then: ``` cat papermerge.conf.py ``` In my case IMPORT_MAIL_USER was specified in username@example.com format. Just sayin' it, maybe is relevant for your context.
Author
Owner

@cbirkenbeul commented on GitHub (Sep 11, 2020):

Hi,
thanks for your help.
My papermerge version wasn't the latest, so I upgraded. The prebuild container still have issues with hard coded database-host so I build it by myself. (docker-compose build) So I have the 1.4.2 running.

My IMAP Settings are correct. In the logs of the docker container you can see, that the worker process try to do something with the mail:

papermerge-worker    | [2020-09-11 09:46:38,061: INFO/Beat] Scheduler: Sending due task import_from_email (papermerge.core.management.commands.worker.import_from_email)   
papermerge-worker    | [2020-09-11 09:46:38,269: INFO/MainProcess] Received task: papermerge.core.management.commands.worker.import_from_email[4b8f78b1-8a16-4a8b-9b77-a059438e302e]  
papermerge-worker    | [2020-09-11 09:46:38,271: DEBUG/ForkPoolWorker-2] Celery beat: import_from_email  
papermerge-worker    | [2020-09-11 09:46:38,584: DEBUG/ForkPoolWorker-2] IMAP UNSEEN messages 1 for dms@domain.de  
papermerge-worker    | [2020-09-11 09:46:39,478: INFO/ForkPoolWorker-2] Task papermerge.core.management.commands.worker.import_from_email[4b8f78b1-8a16-4a8b-9b77-a059438e302e] succeeded in 1.20713766902918s: None  
papermerge-worker    | [2020-09-11 09:47:08,069: INFO/Beat] Scheduler: Sending due task import_from_email (papermerge.core.management.commands.worker.import_from_email)
papermerge-worker    | [2020-09-11 09:47:08,504: INFO/MainProcess] Received task: papermerge.core.management.commands.worker.import_from_email[87d6327f-27dc-4365-8ec7-fbd6dcf0cae8]
papermerge-worker    | [2020-09-11 09:47:08,505: DEBUG/ForkPoolWorker-2] Celery beat: import_from_email
papermerge-worker    | [2020-09-11 09:47:08,804: DEBUG/ForkPoolWorker-2] IMAP UNSEEN messages 0 for dms@domain.de
papermerge-worker    | [2020-09-11 09:47:08,821: INFO/ForkPoolWorker-2] Task papermerge.core.management.commands.worker.import_from_email[87d6327f-27dc-4365-8ec7-fbd6dcf0cae8] succeeded in 0.3161302980151959s: None
papermerge-worker    | [2020-09-11 09:47:12,043: INFO/Beat] Scheduler: Sending due task txt2db (papermerge.core.management.commands.worker.txt2db)
papermerge-worker    | [2020-09-11 09:47:12,536: INFO/MainProcess] Received task: papermerge.core.management.commands.worker.txt2db[0161f8bb-a7af-463b-a03b-56073f787000]
papermerge-worker    | [2020-09-11 09:47:12,537: DEBUG/ForkPoolWorker-2] Celery beat: txt2db
papermerge-worker    | [2020-09-11 09:47:12,559: DEBUG/ForkPoolWorker-2] document_log  username=admin doc_id=2 page_num=1 text_len=1653
papermerge-worker    | [2020-09-11 09:47:12,560: DEBUG/ForkPoolWorker-2] document_log  username=admin doc_id=2 page_num=2 text_len=1338
papermerge-worker    | [2020-09-11 09:47:12,561: DEBUG/ForkPoolWorker-2] document_log  username=admin doc_id=2 page_num=3 text_len=1101
papermerge-worker    | [2020-09-11 09:47:12,562: DEBUG/ForkPoolWorker-2] document_log  username=admin doc_id=2 page_num=4 text_len=1969
papermerge-worker    | [2020-09-11 09:47:12,563: DEBUG/ForkPoolWorker-2] document_log  username=admin doc_id=2 page_num=5 text_len=3634
papermerge-worker    | [2020-09-11 09:47:12,564: DEBUG/ForkPoolWorker-2] document_log  username=admin doc_id=2 page_num=6 text_len=532
papermerge-worker    | [2020-09-11 09:47:12,566: DEBUG/ForkPoolWorker-2] document_log  username=admin doc_id=14 page_num=1 text_len=2313
papermerge-worker    | [2020-09-11 09:47:12,567: DEBUG/ForkPoolWorker-2] document_log  username=admin doc_id=14 page_num=2 text_len=780
papermerge-worker    | [2020-09-11 09:47:12,569: DEBUG/ForkPoolWorker-2] document_log  username=admin doc_id=13 page_num=1 text_len=2160
papermerge-worker    | [2020-09-11 09:47:12,570: DEBUG/ForkPoolWorker-2] document_log  username=admin doc_id=13 page_num=2 text_len=2454
papermerge-worker    | [2020-09-11 09:47:12,571: INFO/ForkPoolWorker-2] Task papermerge.core.management.commands.worker.txt2db[0161f8bb-a7af-463b-a03b-56073f787000] succeeded in 0.034062250051647425s: None`

At the moment I just using the pre configured "admin" user. No additional user are setup. My worker config is read correct, so my map settings are in the right config file. Otherwise, I would guess, I don't have a successful connection to my server.

The Test email just contain one pdf file, just created with the iOS "Scanner Pro" App. Maybe you know them. But also try a pdf just from a vendor.

I also double check, that the inbox folder is named "inbox", because its a self hosted mail server. If I setup the mailbox in a email client I can see that the mail is switched from unread to read. So the worker do something, but not extracting the file.

Are there more detailed logs anywhere, that I can have a look? For testing I've masked the queue and media folder with 777 rights, so that is nothing happen there.

<!-- gh-comment-id:690995959 --> @cbirkenbeul commented on GitHub (Sep 11, 2020): Hi, thanks for your help. My papermerge version wasn't the latest, so I upgraded. The prebuild container still have issues with hard coded database-host so I build it by myself. (docker-compose build) So I have the 1.4.2 running. My IMAP Settings are correct. In the logs of the docker container you can see, that the worker process try to do something with the mail: papermerge-worker | [2020-09-11 09:46:38,061: INFO/Beat] Scheduler: Sending due task import_from_email (papermerge.core.management.commands.worker.import_from_email) papermerge-worker | [2020-09-11 09:46:38,269: INFO/MainProcess] Received task: papermerge.core.management.commands.worker.import_from_email[4b8f78b1-8a16-4a8b-9b77-a059438e302e] papermerge-worker | [2020-09-11 09:46:38,271: DEBUG/ForkPoolWorker-2] Celery beat: import_from_email papermerge-worker | [2020-09-11 09:46:38,584: DEBUG/ForkPoolWorker-2] IMAP UNSEEN messages 1 for dms@domain.de papermerge-worker | [2020-09-11 09:46:39,478: INFO/ForkPoolWorker-2] Task papermerge.core.management.commands.worker.import_from_email[4b8f78b1-8a16-4a8b-9b77-a059438e302e] succeeded in 1.20713766902918s: None papermerge-worker | [2020-09-11 09:47:08,069: INFO/Beat] Scheduler: Sending due task import_from_email (papermerge.core.management.commands.worker.import_from_email) papermerge-worker | [2020-09-11 09:47:08,504: INFO/MainProcess] Received task: papermerge.core.management.commands.worker.import_from_email[87d6327f-27dc-4365-8ec7-fbd6dcf0cae8] papermerge-worker | [2020-09-11 09:47:08,505: DEBUG/ForkPoolWorker-2] Celery beat: import_from_email papermerge-worker | [2020-09-11 09:47:08,804: DEBUG/ForkPoolWorker-2] IMAP UNSEEN messages 0 for dms@domain.de papermerge-worker | [2020-09-11 09:47:08,821: INFO/ForkPoolWorker-2] Task papermerge.core.management.commands.worker.import_from_email[87d6327f-27dc-4365-8ec7-fbd6dcf0cae8] succeeded in 0.3161302980151959s: None papermerge-worker | [2020-09-11 09:47:12,043: INFO/Beat] Scheduler: Sending due task txt2db (papermerge.core.management.commands.worker.txt2db) papermerge-worker | [2020-09-11 09:47:12,536: INFO/MainProcess] Received task: papermerge.core.management.commands.worker.txt2db[0161f8bb-a7af-463b-a03b-56073f787000] papermerge-worker | [2020-09-11 09:47:12,537: DEBUG/ForkPoolWorker-2] Celery beat: txt2db papermerge-worker | [2020-09-11 09:47:12,559: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=2 page_num=1 text_len=1653 papermerge-worker | [2020-09-11 09:47:12,560: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=2 page_num=2 text_len=1338 papermerge-worker | [2020-09-11 09:47:12,561: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=2 page_num=3 text_len=1101 papermerge-worker | [2020-09-11 09:47:12,562: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=2 page_num=4 text_len=1969 papermerge-worker | [2020-09-11 09:47:12,563: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=2 page_num=5 text_len=3634 papermerge-worker | [2020-09-11 09:47:12,564: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=2 page_num=6 text_len=532 papermerge-worker | [2020-09-11 09:47:12,566: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=14 page_num=1 text_len=2313 papermerge-worker | [2020-09-11 09:47:12,567: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=14 page_num=2 text_len=780 papermerge-worker | [2020-09-11 09:47:12,569: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=13 page_num=1 text_len=2160 papermerge-worker | [2020-09-11 09:47:12,570: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=13 page_num=2 text_len=2454 papermerge-worker | [2020-09-11 09:47:12,571: INFO/ForkPoolWorker-2] Task papermerge.core.management.commands.worker.txt2db[0161f8bb-a7af-463b-a03b-56073f787000] succeeded in 0.034062250051647425s: None` At the moment I just using the pre configured "admin" user. No additional user are setup. My worker config is read correct, so my map settings are in the right config file. Otherwise, I would guess, I don't have a successful connection to my server. The Test email just contain one pdf file, just created with the iOS "Scanner Pro" App. Maybe you know them. But also try a pdf just from a vendor. I also double check, that the inbox folder is named "inbox", because its a self hosted mail server. If I setup the mailbox in a email client I can see that the mail is switched from unread to read. So the worker do something, but not extracting the file. Are there more detailed logs anywhere, that I can have a look? For testing I've masked the queue and media folder with 777 rights, so that is nothing happen there.
Author
Owner

@cbirkenbeul commented on GitHub (Sep 11, 2020):

Next info: The worker seems to do something. I have a lot of msg files in my queue folder. Keep in mind, that's just one email in my inbox of this mailbox!

root@docker:/mnt/docker/dms/queue# ls -l
total 36
-rw-r--r-- 1 1001 1002 538 Sep 11 17:17 332840164_6e598a93-3a79-44e2-9614-920534a6cb2a.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg
-rw-r--r-- 1 1001 1002 538 Sep 11 17:17 332843455_ed90f332-990c-4e60-ba5a-0f3d352ade24.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg
-rw-r--r-- 1 1001 1002 538 Sep 11 17:17 332873509_424e876f-9b08-4c8a-8b7e-4374a256cb55.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg
-rw-r--r-- 1 1001 1002 538 Sep 11 17:18 332903547_8a5e8665-d06f-43c3-83f2-803a36086975.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg
-rw-r--r-- 1 1001 1002 538 Sep 11 17:18 332904263_cda81c68-2379-4993-b0e1-ad462c5ca156.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg
-rw-r--r-- 1 1001 1002 538 Sep 11 17:18 332934409_3401d213-838f-457a-b134-66d1c54224e3.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg
-rw-r--r-- 1 1001 1002 538 Sep 11 17:19 332963635_c5735f26-e103-400d-b428-76aefec68979.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg
-rw-r--r-- 1 1001 1002 538 Sep 11 17:19 332968364_94977383-2328-4788-b8fc-742ab970ae66.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg
-rw-r--r-- 1 1001 1002 538 Sep 11 17:19 332993673_7ec78d1c-4ab0-4d78-b7a6-d298e866d25d.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg

In the Files itself I cannot inspect some problems.

root@docker:/mnt/docker/dms/queue# cat 332840164_6e598a93-3a79-44e2-9614-920534a6cb2a.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg
{"body": "eyJ0YXNrX2lkIjogIjhkZDU3NDE4LTc0ODktNDNmNC05YjZlLTU1MGU0ZWU5ODA4OSIsICJzdGF0dXMiOiAiU1VDQ0VTUyIsICJyZXN1bHQiOiBudWxsLCAidHJhY2ViYWNrIjogbnVsbCwgImNoaWxkcmVuIjogW119", "content-encoding": "utf-8", "content-type": "application/json", "headers": {}, "properties": {"correlation_id": "8dd57418-7489-43f4-9b6e-550e4ee98089", "delivery_mode": 1, "delivery_info": {"exchange": "", "routing_key": "196e3bb3-3df6-31f4-a2fe-9963d3e619f8"}, "priority": 0, "body_encoding": "base64", "delivery_tag": "fefdfce3-3841-4994-a0ed-0a7008efd1ed"}}

Maybe this would help.

<!-- gh-comment-id:691158976 --> @cbirkenbeul commented on GitHub (Sep 11, 2020): Next info: The worker seems to do something. I have a lot of msg files in my queue folder. Keep in mind, that's just one email in my inbox of this mailbox! ``` root@docker:/mnt/docker/dms/queue# ls -l total 36 -rw-r--r-- 1 1001 1002 538 Sep 11 17:17 332840164_6e598a93-3a79-44e2-9614-920534a6cb2a.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg -rw-r--r-- 1 1001 1002 538 Sep 11 17:17 332843455_ed90f332-990c-4e60-ba5a-0f3d352ade24.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg -rw-r--r-- 1 1001 1002 538 Sep 11 17:17 332873509_424e876f-9b08-4c8a-8b7e-4374a256cb55.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg -rw-r--r-- 1 1001 1002 538 Sep 11 17:18 332903547_8a5e8665-d06f-43c3-83f2-803a36086975.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg -rw-r--r-- 1 1001 1002 538 Sep 11 17:18 332904263_cda81c68-2379-4993-b0e1-ad462c5ca156.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg -rw-r--r-- 1 1001 1002 538 Sep 11 17:18 332934409_3401d213-838f-457a-b134-66d1c54224e3.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg -rw-r--r-- 1 1001 1002 538 Sep 11 17:19 332963635_c5735f26-e103-400d-b428-76aefec68979.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg -rw-r--r-- 1 1001 1002 538 Sep 11 17:19 332968364_94977383-2328-4788-b8fc-742ab970ae66.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg -rw-r--r-- 1 1001 1002 538 Sep 11 17:19 332993673_7ec78d1c-4ab0-4d78-b7a6-d298e866d25d.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg ``` In the Files itself I cannot inspect some problems. ``` root@docker:/mnt/docker/dms/queue# cat 332840164_6e598a93-3a79-44e2-9614-920534a6cb2a.196e3bb3-3df6-31f4-a2fe-9963d3e619f8.msg {"body": "eyJ0YXNrX2lkIjogIjhkZDU3NDE4LTc0ODktNDNmNC05YjZlLTU1MGU0ZWU5ODA4OSIsICJzdGF0dXMiOiAiU1VDQ0VTUyIsICJyZXN1bHQiOiBudWxsLCAidHJhY2ViYWNrIjogbnVsbCwgImNoaWxkcmVuIjogW119", "content-encoding": "utf-8", "content-type": "application/json", "headers": {}, "properties": {"correlation_id": "8dd57418-7489-43f4-9b6e-550e4ee98089", "delivery_mode": 1, "delivery_info": {"exchange": "", "routing_key": "196e3bb3-3df6-31f4-a2fe-9963d3e619f8"}, "priority": 0, "body_encoding": "base64", "delivery_tag": "fefdfce3-3841-4994-a0ed-0a7008efd1ed"}} ``` Maybe this would help.
Author
Owner

@ciur commented on GitHub (Sep 11, 2020):

Those messages, in queue folder are saved by "period tasks", you can safely delete all content in that folder.

Your use case is very interesting :)

This log message "IMAP UNSEEN messages 1 for..." clearly indicates that email message was read/imported from IMAP account. This definitely means that you configuration/setup is correct.

Here is another troubleshooting idea.
Can you please try to upload manually (via user interface, i.e upload button) exactly that/those document(s) which fail to appear in Inbox?
I am thinking, maybe there is an error during processing of your document, an error which escapes log messages.
If a document is successfully uploaded and OCRed - you will 1. see UI Log message with "OCR completed" 2. after a minute or so, it will be searchable (periodic tasks saves extracted text into database).

Ah, another idea. In this documentation page it is described how documents are stored. Notice that part which details about .txt and .hocr files.
In case of documents imported via IMAP which do not appear in Inbox - is there a new entry created in media storage ?
i.e. is there a new entry <media_dir>/results/user_/document_ created ?

I am very curious what may be the problem in your case.
Thank you very much for helping to improve Papermerge!

<!-- gh-comment-id:691188841 --> @ciur commented on GitHub (Sep 11, 2020): Those messages, in _queue_ folder are saved by "period tasks", you can safely delete all content in that folder. Your use case is very interesting :) This log message "IMAP UNSEEN messages 1 for..." clearly indicates that email message was read/imported from IMAP account. This definitely means that you configuration/setup is correct. Here is another troubleshooting idea. Can you please try to **upload manually** (via user interface, i.e upload button) **exactly that/those document(s)** which fail to appear in Inbox? I am thinking, maybe there is an error during processing of your document, an error which escapes log messages. If a document is successfully uploaded and OCRed - you will 1. see UI Log message with "OCR completed" 2. after a minute or so, it will be searchable (periodic tasks saves extracted text into database). Ah, another idea. In [this documentation page](https://papermerge.readthedocs.io/en/latest/developers_guide/storage_structure.html) it is described how documents are stored. Notice that part which details about .txt and .hocr files. In case of documents imported via IMAP which do not appear in Inbox - is there a new entry created in media storage ? i.e. is there a new entry <media_dir>/results/user_<id>/document_<id> created ? I am very curious what may be the problem in your case. Thank you very much for helping to improve Papermerge!
Author
Owner

@cbirkenbeul commented on GitHub (Sep 11, 2020):

Of course, i'll try to help as much as i can.

Upload of the exact same document. (of course without renaming, because i allready thought of special characters, but that does not matter)

[2020-09-11 19:44:08,306: DEBUG/ForkPoolWorker-2]  ocr_page user_id=1 doc_id=15 page_num=1
[2020-09-11 19:44:08,306: DEBUG/ForkPoolWorker-2] subprocess: /usr/bin/file --mime-type -b /opt/media/docs/user_1/document_15/Willkommenschreiben.pdf
[2020-09-11 19:44:08,313: DEBUG/ForkPoolWorker-2] Mime Type = Mime(/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf, application/pdf)
[2020-09-11 19:44:08,314: DEBUG/ForkPoolWorker-2] subprocess: /usr/bin/file --mime-type -b /opt/media/docs/user_1/document_15/Willkommenschreiben.pdf
[2020-09-11 19:44:08,319: DEBUG/ForkPoolWorker-2] OCR PDF document
[2020-09-11 19:44:08,329: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_1/125/page-1.jpg
[2020-09-11 19:44:08,330: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_1/125 does not exists. Creating.
[2020-09-11 19:44:08,330: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|1|-l|1|-scale-to-x|1550|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_1/125/page
[2020-09-11 19:44:08,494: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_1/100/page-1.jpg
[2020-09-11 19:44:08,495: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_1/100 does not exists. Creating.
[2020-09-11 19:44:08,495: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|1|-l|1|-scale-to-x|1240|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_1/100/page
[2020-09-11 19:44:08,604: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_1/75/page-1.jpg
[2020-09-11 19:44:08,605: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_1/75 does not exists. Creating.
[2020-09-11 19:44:08,605: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|1|-l|1|-scale-to-x|930|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_1/75/page
[2020-09-11 19:44:08,693: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_1/50/page-1.jpg
[2020-09-11 19:44:08,694: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_1/50 does not exists. Creating.
[2020-09-11 19:44:08,694: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|1|-l|1|-scale-to-x|620|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_1/50/page
[2020-09-11 19:44:08,767: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_1/10/page-1.jpg
[2020-09-11 19:44:08,768: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_1/10 does not exists. Creating.
[2020-09-11 19:44:08,768: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|1|-l|1|-scale-to-x|124|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_1/10/page
[2020-09-11 19:44:08,830: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_1/100/page-1.jpg|/opt/media/results/user_1/document_15/pages/page_1
[2020-09-11 19:44:09,341: INFO/Beat] Scheduler: Sending due task import_from_email (papermerge.core.management.commands.worker.import_from_email)
[2020-09-11 19:44:16,063: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_1/125/page-1.jpg|/opt/media/results/user_1/document_15/pages/page_1/125/page-1|hocr
[2020-09-11 19:44:25,736: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_1/125/page-1.jpg - Complete.
[2020-09-11 19:44:25,737: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_1/125/page-1.hocr.
[2020-09-11 19:44:25,737: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_1/100/page-1.jpg|/opt/media/results/user_1/document_15/pages/page_1/100/page-1|hocr
[2020-09-11 19:44:33,200: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_1/100/page-1.jpg - Complete.
[2020-09-11 19:44:33,200: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_1/100/page-1.hocr.
[2020-09-11 19:44:33,201: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_1/75/page-1.jpg|/opt/media/results/user_1/document_15/pages/page_1/75/page-1|hocr
[2020-09-11 19:44:39,356: INFO/Beat] Scheduler: Sending due task import_from_email (papermerge.core.management.commands.worker.import_from_email)
[2020-09-11 19:44:40,758: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_1/75/page-1.jpg - Complete.
[2020-09-11 19:44:40,758: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_1/75/page-1.hocr.
[2020-09-11 19:44:40,759: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_1/50/page-1.jpg|/opt/media/results/user_1/document_15/pages/page_1/50/page-1|hocr
[2020-09-11 19:44:45,457: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_1/50/page-1.jpg - Complete.
[2020-09-11 19:44:45,458: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_1/50/page-1.hocr.
[2020-09-11 19:44:45,458: DEBUG/ForkPoolWorker-2]  user_id=1 doc_id=15 page_num=1 page_type=pdf total_exec_time=37.15
[2020-09-11 19:44:45,459: DEBUG/ForkPoolWorker-2] Page hocr ready: document_id=15 page_num=1
[2020-09-11 19:44:45,459: DEBUG/ForkPoolWorker-2] apply_automates: Begin.
[2020-09-11 19:44:45,479: DEBUG/ForkPoolWorker-2] No match for automate=Sparkassen-Direktversicherung doc_id=15 page_num=1
[2020-09-11 19:44:45,480: DEBUG/ForkPoolWorker-2] Automate naturstrom matched document=Willkommenschreiben.pdf
[2020-09-11 19:44:45,480: DEBUG/ForkPoolWorker-2] automate.Apply begin
[2020-09-11 19:44:45,481: DEBUG/ForkPoolWorker-2] Automate not applicable. Quit.
[2020-09-11 19:44:45,491: INFO/ForkPoolWorker-2] Task papermerge.core.tasks.ocr_page[3463012a-04bb-4c8c-b8e6-bd9c97379f66] succeeded in 37.19571820501005s: True
[2020-09-11 19:44:45,496: INFO/MainProcess] Received task: papermerge.core.management.commands.worker.import_from_email[443d5516-97e7-435e-ab7f-99d0a8604a19]
[2020-09-11 19:44:45,497: INFO/ForkPoolWorker-2] task_id=183b7fc3-cdb6-4116-b48f-63f7b501823e
[2020-09-11 19:44:45,508: DEBUG/ForkPoolWorker-2]  ocr_page user_id=1 doc_id=15 page_num=2
[2020-09-11 19:44:45,509: DEBUG/ForkPoolWorker-2] subprocess: /usr/bin/file --mime-type -b /opt/media/docs/user_1/document_15/Willkommenschreiben.pdf
[2020-09-11 19:44:45,515: DEBUG/ForkPoolWorker-2] Mime Type = Mime(/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf, application/pdf)
[2020-09-11 19:44:45,515: DEBUG/ForkPoolWorker-2] subprocess: /usr/bin/file --mime-type -b /opt/media/docs/user_1/document_15/Willkommenschreiben.pdf
[2020-09-11 19:44:45,521: DEBUG/ForkPoolWorker-2] OCR PDF document
[2020-09-11 19:44:45,530: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_2/125/page-2.jpg
[2020-09-11 19:44:45,531: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_2/125 does not exists. Creating.
[2020-09-11 19:44:45,531: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|2|-l|2|-scale-to-x|1550|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_2/125/page
[2020-09-11 19:44:45,712: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_2/100/page-2.jpg
[2020-09-11 19:44:45,713: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_2/100 does not exists. Creating.
[2020-09-11 19:44:45,713: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|2|-l|2|-scale-to-x|1240|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_2/100/page
[2020-09-11 19:44:45,837: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_2/75/page-2.jpg
[2020-09-11 19:44:45,837: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_2/75 does not exists. Creating.
[2020-09-11 19:44:45,837: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|2|-l|2|-scale-to-x|930|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_2/75/page
[2020-09-11 19:44:45,936: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_2/50/page-2.jpg
[2020-09-11 19:44:45,936: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_2/50 does not exists. Creating.
[2020-09-11 19:44:45,937: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|2|-l|2|-scale-to-x|620|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_2/50/page
[2020-09-11 19:44:46,022: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_2/10/page-2.jpg
[2020-09-11 19:44:46,023: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_2/10 does not exists. Creating.
[2020-09-11 19:44:46,023: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|2|-l|2|-scale-to-x|124|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_2/10/page
[2020-09-11 19:44:46,095: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_2/100/page-2.jpg|/opt/media/results/user_1/document_15/pages/page_2
[2020-09-11 19:44:47,102: INFO/Beat] Scheduler: Sending due task txt2db (papermerge.core.management.commands.worker.txt2db)
[2020-09-11 19:44:51,459: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_2/125/page-2.jpg|/opt/media/results/user_1/document_15/pages/page_2/125/page-2|hocr
[2020-09-11 19:44:56,975: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_2/125/page-2.jpg - Complete.
[2020-09-11 19:44:56,975: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_2/125/page-2.hocr.
[2020-09-11 19:44:56,976: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_2/100/page-2.jpg|/opt/media/results/user_1/document_15/pages/page_2/100/page-2|hocr
[2020-09-11 19:45:02,397: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_2/100/page-2.jpg - Complete.
[2020-09-11 19:45:02,397: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_2/100/page-2.hocr.
[2020-09-11 19:45:02,397: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_2/75/page-2.jpg|/opt/media/results/user_1/document_15/pages/page_2/75/page-2|hocr
[2020-09-11 19:45:06,866: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_2/75/page-2.jpg - Complete.
[2020-09-11 19:45:06,867: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_2/75/page-2.hocr.
[2020-09-11 19:45:06,867: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_2/50/page-2.jpg|/opt/media/results/user_1/document_15/pages/page_2/50/page-2|hocr
[2020-09-11 19:45:09,365: INFO/Beat] Scheduler: Sending due task import_from_email (papermerge.core.management.commands.worker.import_from_email)
[2020-09-11 19:45:10,623: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_2/50/page-2.jpg - Complete.
[2020-09-11 19:45:10,624: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_2/50/page-2.hocr.
[2020-09-11 19:45:10,624: DEBUG/ForkPoolWorker-2]  user_id=1 doc_id=15 page_num=2 page_type=pdf total_exec_time=25.12
[2020-09-11 19:45:10,625: DEBUG/ForkPoolWorker-2] Page hocr ready: document_id=15 page_num=2
[2020-09-11 19:45:10,625: DEBUG/ForkPoolWorker-2] apply_automates: Begin.
[2020-09-11 19:45:10,641: DEBUG/ForkPoolWorker-2] No match for automate=Sparkassen-Direktversicherung doc_id=15 page_num=2
[2020-09-11 19:45:10,642: DEBUG/ForkPoolWorker-2] Automate naturstrom matched document=Willkommenschreiben.pdf
[2020-09-11 19:45:10,643: DEBUG/ForkPoolWorker-2] automate.Apply begin
[2020-09-11 19:45:10,643: DEBUG/ForkPoolWorker-2] Automate not applicable. Quit.

In the results folder there does not appear a new document. I allready checked this some time ago, but double check that now.

<!-- gh-comment-id:691283671 --> @cbirkenbeul commented on GitHub (Sep 11, 2020): Of course, i'll try to help as much as i can. Upload of the exact same document. (of course without renaming, because i allready thought of special characters, but that does not matter) ``` [2020-09-11 19:44:08,306: DEBUG/ForkPoolWorker-2] ocr_page user_id=1 doc_id=15 page_num=1 [2020-09-11 19:44:08,306: DEBUG/ForkPoolWorker-2] subprocess: /usr/bin/file --mime-type -b /opt/media/docs/user_1/document_15/Willkommenschreiben.pdf [2020-09-11 19:44:08,313: DEBUG/ForkPoolWorker-2] Mime Type = Mime(/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf, application/pdf) [2020-09-11 19:44:08,314: DEBUG/ForkPoolWorker-2] subprocess: /usr/bin/file --mime-type -b /opt/media/docs/user_1/document_15/Willkommenschreiben.pdf [2020-09-11 19:44:08,319: DEBUG/ForkPoolWorker-2] OCR PDF document [2020-09-11 19:44:08,329: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_1/125/page-1.jpg [2020-09-11 19:44:08,330: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_1/125 does not exists. Creating. [2020-09-11 19:44:08,330: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|1|-l|1|-scale-to-x|1550|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_1/125/page [2020-09-11 19:44:08,494: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_1/100/page-1.jpg [2020-09-11 19:44:08,495: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_1/100 does not exists. Creating. [2020-09-11 19:44:08,495: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|1|-l|1|-scale-to-x|1240|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_1/100/page [2020-09-11 19:44:08,604: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_1/75/page-1.jpg [2020-09-11 19:44:08,605: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_1/75 does not exists. Creating. [2020-09-11 19:44:08,605: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|1|-l|1|-scale-to-x|930|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_1/75/page [2020-09-11 19:44:08,693: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_1/50/page-1.jpg [2020-09-11 19:44:08,694: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_1/50 does not exists. Creating. [2020-09-11 19:44:08,694: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|1|-l|1|-scale-to-x|620|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_1/50/page [2020-09-11 19:44:08,767: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_1/10/page-1.jpg [2020-09-11 19:44:08,768: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_1/10 does not exists. Creating. [2020-09-11 19:44:08,768: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|1|-l|1|-scale-to-x|124|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_1/10/page [2020-09-11 19:44:08,830: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_1/100/page-1.jpg|/opt/media/results/user_1/document_15/pages/page_1 [2020-09-11 19:44:09,341: INFO/Beat] Scheduler: Sending due task import_from_email (papermerge.core.management.commands.worker.import_from_email) [2020-09-11 19:44:16,063: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_1/125/page-1.jpg|/opt/media/results/user_1/document_15/pages/page_1/125/page-1|hocr [2020-09-11 19:44:25,736: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_1/125/page-1.jpg - Complete. [2020-09-11 19:44:25,737: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_1/125/page-1.hocr. [2020-09-11 19:44:25,737: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_1/100/page-1.jpg|/opt/media/results/user_1/document_15/pages/page_1/100/page-1|hocr [2020-09-11 19:44:33,200: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_1/100/page-1.jpg - Complete. [2020-09-11 19:44:33,200: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_1/100/page-1.hocr. [2020-09-11 19:44:33,201: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_1/75/page-1.jpg|/opt/media/results/user_1/document_15/pages/page_1/75/page-1|hocr [2020-09-11 19:44:39,356: INFO/Beat] Scheduler: Sending due task import_from_email (papermerge.core.management.commands.worker.import_from_email) [2020-09-11 19:44:40,758: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_1/75/page-1.jpg - Complete. [2020-09-11 19:44:40,758: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_1/75/page-1.hocr. [2020-09-11 19:44:40,759: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_1/50/page-1.jpg|/opt/media/results/user_1/document_15/pages/page_1/50/page-1|hocr [2020-09-11 19:44:45,457: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_1/50/page-1.jpg - Complete. [2020-09-11 19:44:45,458: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_1/50/page-1.hocr. [2020-09-11 19:44:45,458: DEBUG/ForkPoolWorker-2] user_id=1 doc_id=15 page_num=1 page_type=pdf total_exec_time=37.15 [2020-09-11 19:44:45,459: DEBUG/ForkPoolWorker-2] Page hocr ready: document_id=15 page_num=1 [2020-09-11 19:44:45,459: DEBUG/ForkPoolWorker-2] apply_automates: Begin. [2020-09-11 19:44:45,479: DEBUG/ForkPoolWorker-2] No match for automate=Sparkassen-Direktversicherung doc_id=15 page_num=1 [2020-09-11 19:44:45,480: DEBUG/ForkPoolWorker-2] Automate naturstrom matched document=Willkommenschreiben.pdf [2020-09-11 19:44:45,480: DEBUG/ForkPoolWorker-2] automate.Apply begin [2020-09-11 19:44:45,481: DEBUG/ForkPoolWorker-2] Automate not applicable. Quit. [2020-09-11 19:44:45,491: INFO/ForkPoolWorker-2] Task papermerge.core.tasks.ocr_page[3463012a-04bb-4c8c-b8e6-bd9c97379f66] succeeded in 37.19571820501005s: True [2020-09-11 19:44:45,496: INFO/MainProcess] Received task: papermerge.core.management.commands.worker.import_from_email[443d5516-97e7-435e-ab7f-99d0a8604a19] [2020-09-11 19:44:45,497: INFO/ForkPoolWorker-2] task_id=183b7fc3-cdb6-4116-b48f-63f7b501823e [2020-09-11 19:44:45,508: DEBUG/ForkPoolWorker-2] ocr_page user_id=1 doc_id=15 page_num=2 [2020-09-11 19:44:45,509: DEBUG/ForkPoolWorker-2] subprocess: /usr/bin/file --mime-type -b /opt/media/docs/user_1/document_15/Willkommenschreiben.pdf [2020-09-11 19:44:45,515: DEBUG/ForkPoolWorker-2] Mime Type = Mime(/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf, application/pdf) [2020-09-11 19:44:45,515: DEBUG/ForkPoolWorker-2] subprocess: /usr/bin/file --mime-type -b /opt/media/docs/user_1/document_15/Willkommenschreiben.pdf [2020-09-11 19:44:45,521: DEBUG/ForkPoolWorker-2] OCR PDF document [2020-09-11 19:44:45,530: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_2/125/page-2.jpg [2020-09-11 19:44:45,531: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_2/125 does not exists. Creating. [2020-09-11 19:44:45,531: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|2|-l|2|-scale-to-x|1550|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_2/125/page [2020-09-11 19:44:45,712: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_2/100/page-2.jpg [2020-09-11 19:44:45,713: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_2/100 does not exists. Creating. [2020-09-11 19:44:45,713: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|2|-l|2|-scale-to-x|1240|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_2/100/page [2020-09-11 19:44:45,837: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_2/75/page-2.jpg [2020-09-11 19:44:45,837: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_2/75 does not exists. Creating. [2020-09-11 19:44:45,837: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|2|-l|2|-scale-to-x|930|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_2/75/page [2020-09-11 19:44:45,936: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_2/50/page-2.jpg [2020-09-11 19:44:45,936: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_2/50 does not exists. Creating. [2020-09-11 19:44:45,937: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|2|-l|2|-scale-to-x|620|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_2/50/page [2020-09-11 19:44:46,022: DEBUG/ForkPoolWorker-2] Extracing image for results/user_1/document_15/pages/page_2/10/page-2.jpg [2020-09-11 19:44:46,023: DEBUG/ForkPoolWorker-2] PPMROOT /opt/media/results/user_1/document_15/pages/page_2/10 does not exists. Creating. [2020-09-11 19:44:46,023: DEBUG/ForkPoolWorker-2] Run:/usr/bin/pdftoppm|-jpeg|-f|2|-l|2|-scale-to-x|124|-scale-to-y|-1|/opt/media/docs/user_1/document_15/Willkommenschreiben.pdf|/opt/media/results/user_1/document_15/pages/page_2/10/page [2020-09-11 19:44:46,095: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_2/100/page-2.jpg|/opt/media/results/user_1/document_15/pages/page_2 [2020-09-11 19:44:47,102: INFO/Beat] Scheduler: Sending due task txt2db (papermerge.core.management.commands.worker.txt2db) [2020-09-11 19:44:51,459: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_2/125/page-2.jpg|/opt/media/results/user_1/document_15/pages/page_2/125/page-2|hocr [2020-09-11 19:44:56,975: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_2/125/page-2.jpg - Complete. [2020-09-11 19:44:56,975: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_2/125/page-2.hocr. [2020-09-11 19:44:56,976: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_2/100/page-2.jpg|/opt/media/results/user_1/document_15/pages/page_2/100/page-2|hocr [2020-09-11 19:45:02,397: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_2/100/page-2.jpg - Complete. [2020-09-11 19:45:02,397: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_2/100/page-2.hocr. [2020-09-11 19:45:02,397: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_2/75/page-2.jpg|/opt/media/results/user_1/document_15/pages/page_2/75/page-2|hocr [2020-09-11 19:45:06,866: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_2/75/page-2.jpg - Complete. [2020-09-11 19:45:06,867: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_2/75/page-2.hocr. [2020-09-11 19:45:06,867: DEBUG/ForkPoolWorker-2] Run:/usr/bin/tesseract|-l|deu|/opt/media/results/user_1/document_15/pages/page_2/50/page-2.jpg|/opt/media/results/user_1/document_15/pages/page_2/50/page-2|hocr [2020-09-11 19:45:09,365: INFO/Beat] Scheduler: Sending due task import_from_email (papermerge.core.management.commands.worker.import_from_email) [2020-09-11 19:45:10,623: DEBUG/ForkPoolWorker-2] OCR for results/user_1/document_15/pages/page_2/50/page-2.jpg - Complete. [2020-09-11 19:45:10,624: DEBUG/ForkPoolWorker-2] OCR Result results/user_1/document_15/pages/page_2/50/page-2.hocr. [2020-09-11 19:45:10,624: DEBUG/ForkPoolWorker-2] user_id=1 doc_id=15 page_num=2 page_type=pdf total_exec_time=25.12 [2020-09-11 19:45:10,625: DEBUG/ForkPoolWorker-2] Page hocr ready: document_id=15 page_num=2 [2020-09-11 19:45:10,625: DEBUG/ForkPoolWorker-2] apply_automates: Begin. [2020-09-11 19:45:10,641: DEBUG/ForkPoolWorker-2] No match for automate=Sparkassen-Direktversicherung doc_id=15 page_num=2 [2020-09-11 19:45:10,642: DEBUG/ForkPoolWorker-2] Automate naturstrom matched document=Willkommenschreiben.pdf [2020-09-11 19:45:10,643: DEBUG/ForkPoolWorker-2] automate.Apply begin [2020-09-11 19:45:10,643: DEBUG/ForkPoolWorker-2] Automate not applicable. Quit. ``` In the results folder there does not appear a new document. I allready checked this some time ago, but double check that now.
Author
Owner

@ciur commented on GitHub (Sep 14, 2020):

From log above I see that your instance is working as expected.
I will add UI Logs messages for IMAP import activity in 1.4.3 version. I kindly ask you to try that version with docker (and same papermerge.conf.py configuration) so that we can troubleshoot further your issue.
I will release version 1.4.3 on 16th of September 2020.

<!-- gh-comment-id:691805364 --> @ciur commented on GitHub (Sep 14, 2020): From log above I see that your instance is working as expected. I will add UI Logs messages for IMAP import activity in 1.4.3 version. I kindly ask you to try that version with docker (and same papermerge.conf.py configuration) so that we can troubleshoot further your issue. I will release version 1.4.3 on 16th of September 2020.
Author
Owner

@cbirkenbeul commented on GitHub (Sep 14, 2020):

Of course i will to. In the meantime i will try a full installation on a new vm. Just to be sure, that there is no problem with the docker container.
I just choose the docker installation, because it looked easier and i was to lazy to do a full installation.

<!-- gh-comment-id:691859968 --> @cbirkenbeul commented on GitHub (Sep 14, 2020): Of course i will to. In the meantime i will try a full installation on a new vm. Just to be sure, that there is no problem with the docker container. I just choose the docker installation, because it looked easier and i was to lazy to do a full installation.
Author
Owner

@ciur commented on GitHub (Sep 16, 2020):

Hi @cbirkenbeul,

I know where might be the problem. It might be Papermerge application bug. When importing email attachment, application ignores any payload which is not of 'application/pdf' type.. My fault :(. For testing I use ADS 2800W scanner which basically sends all scans to an IMAP account as "application/pdf" mime types attachments.

In your case, it might be that attachments mime type is different. (e.g. application/octet-stream, just guessing...).

Updates will follow...

<!-- gh-comment-id:693188850 --> @ciur commented on GitHub (Sep 16, 2020): Hi @cbirkenbeul, I know where might be the problem. It might be Papermerge application bug. [When importing email attachment, application ignores any payload which is not of 'application/pdf' type.](https://github.com/ciur/papermerge/blob/master/papermerge/core/importers/imap.py#L20). My fault :(. For testing I use [ADS 2800W](https://www.brother-usa.com/products/ads2800w) scanner which basically sends all scans to an IMAP account as "application/pdf" mime types attachments. In your case, it might be that attachments mime type is different. (e.g. application/octet-stream, just guessing...). Updates will follow...
Author
Owner

@ciur commented on GitHub (Sep 16, 2020):

@cbirkenbeul,
please try again email import with Papermerge version 1.4.3 docker image AND add following LOGGING settings to /opt/app/config/settings/production.py file:

LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'handlers': {
        'imap_importer': {
            'class': 'logging.FileHandler',
            'filename': 'imap_importer.log',
            'level': 'DEBUG'
        },
    },
    'loggers': {
        'papermerge.core.importers': {
            'handlers': ['imap_importer'],
            'level': 'DEBUG'
        },
        'papermerge.core.document_importer': {
            'handlers': ['imap_importer'],
            'level': 'DEBUG'
        },
    },
}

this will add IMAP related debug messages to /opt/app/imap_importer.log
Please paste imap_importer.log messages here for further investigation. What is important for me to learn is what is mime type of imported attachment.

<!-- gh-comment-id:693249651 --> @ciur commented on GitHub (Sep 16, 2020): @cbirkenbeul, please try again email import with Papermerge version 1.4.3 docker image AND add following LOGGING settings to /opt/app/config/settings/production.py file: ``` LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'handlers': { 'imap_importer': { 'class': 'logging.FileHandler', 'filename': 'imap_importer.log', 'level': 'DEBUG' }, }, 'loggers': { 'papermerge.core.importers': { 'handlers': ['imap_importer'], 'level': 'DEBUG' }, 'papermerge.core.document_importer': { 'handlers': ['imap_importer'], 'level': 'DEBUG' }, }, } ``` this will add IMAP related debug messages to /opt/app/imap_importer.log Please paste imap_importer.log messages here for further investigation. What is important for me to learn is what is mime type of imported attachment.
Author
Owner

@cbirkenbeul commented on GitHub (Sep 16, 2020):

Hey. Thanks for your work. I've updated the container and see something in the log files. I'm at work atm and will have some deeper looks into it this evening and reporting back.

<!-- gh-comment-id:693258628 --> @cbirkenbeul commented on GitHub (Sep 16, 2020): Hey. Thanks for your work. I've updated the container and see something in the log files. I'm at work atm and will have some deeper looks into it this evening and reporting back.
Author
Owner

@cbirkenbeul commented on GitHub (Sep 16, 2020):

Okay, now I've setup the logging part, but there will no imap_importer.log created in worker or app container. But in the app.log there is now more output. Maybe this is the same that you expected:

Celery beat: import_from_email
IMAP Import: UNSEEN messages 1 count
IMAP import: payload 0 maintype=multipart subtype=mixed.
IMAP import: ignoring payload.
IMAP import: payload 1 maintype=multipart subtype=alternative.
IMAP import: ignoring payload.
IMAP import: payload 2 maintype=text subtype=plain.
IMAP import: ignoring payload.
IMAP import: payload 3 maintype=text subtype=html.
IMAP import: ignoring payload.
IMAP import: payload 4 maintype=application subtype=octet-stream.
IMAP import: ignoring payload.
<!-- gh-comment-id:693588673 --> @cbirkenbeul commented on GitHub (Sep 16, 2020): Okay, now I've setup the logging part, but there will no imap_importer.log created in worker or app container. But in the app.log there is now more output. Maybe this is the same that you expected: ``` Celery beat: import_from_email IMAP Import: UNSEEN messages 1 count IMAP import: payload 0 maintype=multipart subtype=mixed. IMAP import: ignoring payload. IMAP import: payload 1 maintype=multipart subtype=alternative. IMAP import: ignoring payload. IMAP import: payload 2 maintype=text subtype=plain. IMAP import: ignoring payload. IMAP import: payload 3 maintype=text subtype=html. IMAP import: ignoring payload. IMAP import: payload 4 maintype=application subtype=octet-stream. IMAP import: ignoring payload. ```
Author
Owner

@ciur commented on GitHub (Sep 17, 2020):

Yes! This is exactly what I was looking for! Now I know the problem - it is because of mime types!
Here is the fix..

@cbirkenbeul, it will take 2 weeks until the fix will make it to official 1.4.4 release.
Thank you for your patience and help!

<!-- gh-comment-id:693854203 --> @ciur commented on GitHub (Sep 17, 2020): Yes! This is exactly what I was looking for! Now I know the problem - it is because of mime types! [Here is the fix.](https://github.com/ciur/papermerge/commit/9faa7007ed5741fdafe2a7b82ad99337f97de98a). @cbirkenbeul, it will take 2 weeks until the fix will make it to official 1.4.4 release. Thank you for your patience and help!
Author
Owner

@ciur commented on GitHub (Sep 28, 2020):

Hi @cbirkenbeul, as I promised, new 1.4.4 version is out.

1.4.4 contains the fix for Email import issue. Also I pushed new docker image tagged with 1.4.4.

I would be very happy to learn if solution fixed Email import issue.

<!-- gh-comment-id:699822835 --> @ciur commented on GitHub (Sep 28, 2020): Hi @cbirkenbeul, as I promised, [new 1.4.4 version is out.](https://github.com/ciur/papermerge/releases/tag/v1.4.4) 1.4.4 contains the fix for Email import issue. [Also I pushed new docker image tagged with 1.4.4.](https://hub.docker.com/repository/docker/eugenci/papermerge) I would be very happy to learn if solution fixed Email import issue.
Author
Owner

@cbirkenbeul commented on GitHub (Sep 28, 2020):

First, thank you very much for your work.
I just setup a quick test environment to be sure to start from scratch and no other issues are involved.

I just took your docker-compse.yaml file, pulled the container and started it.
To be sure, that all other works fine, I upload a regular pdf and papermerge process is fast and successful.

Now I edit the papermerge.conf.py like in your comment above. Connection to my mail server works. I send a regular scanned pdf but no luck.

[2020-09-28 13:43:37,206: INFO/MainProcess] Received task: papermerge.core.management.commands.worker.import_from_email[bb32a30f-3e79-45aa-a467-381247373774]
[2020-09-28 13:43:37,207: DEBUG/ForkPoolWorker-2] Celery beat: import_from_email
[2020-09-28 13:43:37,507: DEBUG/ForkPoolWorker-2] IMAP Import: UNSEEN messages 1 count
[2020-09-28 13:43:37,715: DEBUG/ForkPoolWorker-2] IMAP import: payload 0 maintype=multipart subtype=mixed.
[2020-09-28 13:43:37,716: DEBUG/ForkPoolWorker-2] IMAP import: ignoring payload.
[2020-09-28 13:43:37,716: DEBUG/ForkPoolWorker-2] IMAP import: payload 1 maintype=multipart subtype=alternative.
[2020-09-28 13:43:37,717: DEBUG/ForkPoolWorker-2] IMAP import: ignoring payload.
[2020-09-28 13:43:37,717: DEBUG/ForkPoolWorker-2] IMAP import: payload 2 maintype=text subtype=plain.
[2020-09-28 13:43:37,717: DEBUG/ForkPoolWorker-2] IMAP import: ignoring payload.
[2020-09-28 13:43:37,718: DEBUG/ForkPoolWorker-2] IMAP import: payload 3 maintype=text subtype=html.
[2020-09-28 13:43:37,718: DEBUG/ForkPoolWorker-2] IMAP import: ignoring payload.
[2020-09-28 13:43:37,719: DEBUG/ForkPoolWorker-2] IMAP import: payload 4 maintype=application subtype=octet-stream.
[2020-09-28 13:43:37,719: DEBUG/ForkPoolWorker-2] IMAP import: ignoring payload.
[2020-09-28 13:43:37,720: INFO/ForkPoolWorker-2] Task papermerge.core.management.commands.worker.import_from_email[bb32a30f-3e79-45aa-a467-381247373774] succeeded in 0.5136224700036109s: None

I uploaded the Document to my SharePoint, so you can inspect this by yourself.

I also tried it with a pdf that I got as an invoice from a company. Same behavior.

<!-- gh-comment-id:700018626 --> @cbirkenbeul commented on GitHub (Sep 28, 2020): First, thank you very much for your work. I just setup a quick test environment to be sure to start from scratch and no other issues are involved. I just took your docker-compse.yaml file, pulled the container and started it. To be sure, that all other works fine, I upload a regular pdf and papermerge process is fast and successful. Now I edit the papermerge.conf.py like in your comment above. Connection to my mail server works. I send a regular scanned pdf but no luck. ``` [2020-09-28 13:43:37,206: INFO/MainProcess] Received task: papermerge.core.management.commands.worker.import_from_email[bb32a30f-3e79-45aa-a467-381247373774] [2020-09-28 13:43:37,207: DEBUG/ForkPoolWorker-2] Celery beat: import_from_email [2020-09-28 13:43:37,507: DEBUG/ForkPoolWorker-2] IMAP Import: UNSEEN messages 1 count [2020-09-28 13:43:37,715: DEBUG/ForkPoolWorker-2] IMAP import: payload 0 maintype=multipart subtype=mixed. [2020-09-28 13:43:37,716: DEBUG/ForkPoolWorker-2] IMAP import: ignoring payload. [2020-09-28 13:43:37,716: DEBUG/ForkPoolWorker-2] IMAP import: payload 1 maintype=multipart subtype=alternative. [2020-09-28 13:43:37,717: DEBUG/ForkPoolWorker-2] IMAP import: ignoring payload. [2020-09-28 13:43:37,717: DEBUG/ForkPoolWorker-2] IMAP import: payload 2 maintype=text subtype=plain. [2020-09-28 13:43:37,717: DEBUG/ForkPoolWorker-2] IMAP import: ignoring payload. [2020-09-28 13:43:37,718: DEBUG/ForkPoolWorker-2] IMAP import: payload 3 maintype=text subtype=html. [2020-09-28 13:43:37,718: DEBUG/ForkPoolWorker-2] IMAP import: ignoring payload. [2020-09-28 13:43:37,719: DEBUG/ForkPoolWorker-2] IMAP import: payload 4 maintype=application subtype=octet-stream. [2020-09-28 13:43:37,719: DEBUG/ForkPoolWorker-2] IMAP import: ignoring payload. [2020-09-28 13:43:37,720: INFO/ForkPoolWorker-2] Task papermerge.core.management.commands.worker.import_from_email[bb32a30f-3e79-45aa-a467-381247373774] succeeded in 0.5136224700036109s: None ``` I uploaded the Document to my [SharePoint](https://tektoria-my.sharepoint.com/:b:/g/personal/christian_birkenbeul_tektoria_de/EQDBASZVEDpGvehSrF5lC_IBWBIQGycu2Ss-iBgDpihRxg?e=MO4M6j), so you can inspect this by yourself. I also tried it with a pdf that I got as an invoice from a company. Same behavior.
Author
Owner

@ciur commented on GitHub (Sep 28, 2020):

@cbirkenbeul, I am really sorry! I did a stupid mistake, one letter typo in code. I will fix it and release tomorrow the version 1.4.5. That will be the smallest release in history of software (just because of one single typo)!
lol

<!-- gh-comment-id:700211174 --> @ciur commented on GitHub (Sep 28, 2020): @cbirkenbeul, I am really sorry! I did a stupid mistake, one letter typo in code. I will fix it and release tomorrow the version 1.4.5. That will be the smallest release in history of software (just because of one single typo)! ![lol](https://user-images.githubusercontent.com/24827601/94472037-71d8fe80-01ca-11eb-9544-1d4f4f22a71d.png)
Author
Owner

@cbirkenbeul commented on GitHub (Sep 28, 2020):

All fine. I will check it tomorrow evening and report back.

<!-- gh-comment-id:700239373 --> @cbirkenbeul commented on GitHub (Sep 28, 2020): All fine. I will check it tomorrow evening and report back.
Author
Owner

@ciur commented on GitHub (Sep 29, 2020):

Hi @cbirkenbeul, I pushed version 1.4.5. Hopefully this time it will work 🙏

<!-- gh-comment-id:700751592 --> @ciur commented on GitHub (Sep 29, 2020): Hi @cbirkenbeul, I pushed version 1.4.5. Hopefully this time it will work :pray:
Author
Owner

@cbirkenbeul commented on GitHub (Sep 29, 2020):

First quick and dirty test seems fine. But just with view on the log files. I will try it later in detail and came back with complete feedback.

<!-- gh-comment-id:700757836 --> @cbirkenbeul commented on GitHub (Sep 29, 2020): First quick and dirty test seems fine. But just with view on the log files. I will try it later in detail and came back with complete feedback.
Author
Owner

@cbirkenbeul commented on GitHub (Sep 29, 2020):

Okay, I've tried it with multiple documents and now it works perfectly fine! Thank you very much for your fast help.

<!-- gh-comment-id:700852123 --> @cbirkenbeul commented on GitHub (Sep 29, 2020): Okay, I've tried it with multiple documents and now it works perfectly fine! Thank you very much for your fast help.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#90
No description provided.