The document starts with 2 tags uppon consumption Status:AI_OCR and Status:Inbox
Docling runs successful and p-gpt updates the content successful
The tag 'Status:AI_OCR' is removed successfully
Than i see this message
time="2026-01-07T17:45:21Z" level=info msg="Adding OCR complete tag 'Status:AI_PDF'" document_id=94
But the tagStatus:AI_PDF is not added as the complete tag.
So the documents ends with only 'Status:Inbox' and do not get added to the Auto OCR processing
Variables
OCR_PROVIDER=docling
DOCLING_URL=http://127.0.0.1:5001
DOCLING_IMAGE_EXPORT_MODE=placeholder
DOCLING_OCR_PIPELINE=standard
DOCLING_OCR_ENGINE=auto
OCR_LIMIT_PAGES=5
LOG_LEVEL=debug
# Tagging
AUTO_TAG=Status:AI_PDF
AUTO_OCR_TAG=Status:AI_OCR
AUTO_GENERATE_TAGS=true
PDF_OCR_TAGGING=true
PDF_OCR_COMPLETE_TAG=Status:AI_PDF
MANUAL_TAG=Status:AI_Manual
Logs
╔═══════════════════════════════════════╗
║ Paperless GPT ║
╚═══════════════════════════════════════╝
Version: 387e9033f8ec731d82dd6d4af76cf5628d6026ce
Commit: 387e9033f8ec731d82dd6d4af76cf5628d6026ce
Build Date: 2026-01-06T21:31:51Z
Platform: linux/amd64
Go Version: go1.25.5
Started: Wed, 07 Jan 2026 17:43:26 UTC
time="2026-01-07T17:43:26Z" level=info msg="Refreshing custom fields cache..."
time="2026-01-07T17:43:26Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/custom_fields/"
time="2026-01-07T17:43:26Z" level=error msg="HTTP request failed" error="Get \"http://127.0.0.1:8000/api/custom_fields/\": dial tcp 127.0.0.1:8000: connect: connection refused" method=GET url="http://127.0.0.1:8000/api/custom_fields/"
time="2026-01-07T17:43:26Z" level=error msg="Error refreshing custom fields cache: HTTP request failed: Get \"http://127.0.0.1:8000/api/custom_fields/\": dial tcp 127.0.0.1:8000: connect: connection refused"
time="2026-01-07T17:43:26Z" level=info msg="Vision LLM not enabled"
time="2026-01-07T17:43:26Z" level=info msg="Initializing OCR provider: docling"
time="2026-01-07T17:43:26Z" level=info msg="Using Docling provider" url="http://127.0.0.1:5001"
time="2026-01-07T17:43:26Z" level=info msg="Creating new Docling provider" url="http://127.0.0.1:5001"
time="2026-01-07T17:43:26Z" level=info msg="Successfully initialized Docling provider" url="http://127.0.0.1:5001"
time="2026-01-07T17:43:26Z" level=info msg="Validating OCR provider 'docling' with processing mode 'image'"
time="2026-01-07T17:43:26Z" level=info msg="✅ OCR provider and processing mode configuration is valid"
Using paperless-gpt-ocr as manual OCR tag
Using Status:AI_OCR as auto OCR tag
time="2026-01-07T17:43:26Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/documents/?tags__name__iexact=Status:AI_OCR&page_size=25"
time="2026-01-07T17:43:26Z" level=info msg="Serving frontend files from embedded assets"
time="2026-01-07T17:43:26Z" level=info msg="Server started on interface :8080"
time="2026-01-07T17:43:26Z" level=info msg="Worker 0 started"
time="2026-01-07T17:43:26Z" level=error msg="HTTP request failed" error="Get \"http://127.0.0.1:8000/api/documents/?tags__name__iexact=Status:AI_OCR&page_size=25\": dial tcp 127.0.0.1:8000: connect: connection refused" method=GET url="http://127.0.0.1:8000/api/documents/?tags__name__iexact=Status:AI_OCR&page_size=25"
time="2026-01-07T17:43:26Z" level=error msg="Error in background tagging: error in processAutoOcrTagDocuments: error fetching documents with autoOcrTag: HTTP request failed in GetDocumentsByTags: HTTP request failed: Get \"http://127.0.0.1:8000/api/documents/?tags__name__iexact=Status:AI_OCR&page_size=25\": dial tcp 127.0.0.1:8000: connect: connection refused"
time="2026-01-07T17:43:46Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/documents/?tags__name__iexact=Status:AI_OCR&page_size=25"
time="2026-01-07T17:43:46Z" level=error msg="HTTP request failed" error="Get \"http://127.0.0.1:8000/api/documents/?tags__name__iexact=Status:AI_OCR&page_size=25\": dial tcp 127.0.0.1:8000: connect: connection refused" method=GET url="http://127.0.0.1:8000/api/documents/?tags__name__iexact=Status:AI_OCR&page_size=25"
time="2026-01-07T17:43:46Z" level=error msg="Error in background tagging: error in processAutoOcrTagDocuments: error fetching documents with autoOcrTag: HTTP request failed in GetDocumentsByTags: HTTP request failed: Get \"http://127.0.0.1:8000/api/documents/?tags__name__iexact=Status:AI_OCR&page_size=25\": dial tcp 127.0.0.1:8000: connect: connection refused"
time="2026-01-07T17:44:16Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/documents/?tags__name__iexact=Status:AI_OCR&page_size=25"
time="2026-01-07T17:44:16Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/tags/"
time="2026-01-07T17:44:16Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/tags/?page=2"
time="2026-01-07T17:44:17Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/tags/?page=3"
time="2026-01-07T17:44:17Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/correspondents/?page_size=9999"
time="2026-01-07T17:44:17Z" level=debug msg="Found 2 documents with tag Status:AI_OCR"
time="2026-01-07T17:44:17Z" level=info msg="Processing document for OCR" document_id=94
time="2026-01-07T17:44:17Z" level=info msg="Starting OCR processing" document_id=94
time="2026-01-07T17:44:17Z" level=debug msg="OCR provider does not support hOCR" document_id=94
time="2026-01-07T17:44:17Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/documents/94/download/"
time="2026-01-07T17:44:19Z" level=debug msg="Downloaded document images" document_id=94 limit_pages=5 processed_page_count=2 total_page_count=2
time="2026-01-07T17:44:19Z" level=debug msg="Processing page" document_id=94 page=1
time="2026-01-07T17:44:19Z" level=info msg="[DEBUG] POST http://127.0.0.1:5001/v1/convert/file" url="http://127.0.0.1:5001"
time="2026-01-07T17:44:57Z" level=info msg="Successfully processed image with Docling" content_length=659 provider=docling url="http://127.0.0.1:5001"
time="2026-01-07T17:44:57Z" level=debug msg="OCR completed for page" document_id=94 has_hocr_page=false metadata="map[has_content:true provider:docling]" page=1
2026/01/07 17:44:57 /app/local_db.go:118 record not found
[0.232ms] [rows:0] SELECT * FROM `ocr_page_results` WHERE document_id = 94 AND page_index = 0 ORDER BY `ocr_page_results`.`id` LIMIT 1
time="2026-01-07T17:44:57Z" level=debug msg="SaveSingleOcrPageResult: db.First error: record not found (is gorm.ErrRecordNotFound: true)"
time="2026-01-07T17:44:57Z" level=debug msg="Processing page" document_id=94 page=2
time="2026-01-07T17:44:57Z" level=info msg="[DEBUG] POST http://127.0.0.1:5001/v1/convert/file" url="http://127.0.0.1:5001"
time="2026-01-07T17:45:21Z" level=info msg="Successfully processed image with Docling" content_length=89 provider=docling url="http://127.0.0.1:5001"
time="2026-01-07T17:45:21Z" level=debug msg="OCR completed for page" document_id=94 has_hocr_page=false metadata="map[has_content:true provider:docling]" page=2
2026/01/07 17:45:21 /app/local_db.go:118 record not found
[0.244ms] [rows:0] SELECT * FROM `ocr_page_results` WHERE document_id = 94 AND page_index = 1 ORDER BY `ocr_page_results`.`id` LIMIT 1
time="2026-01-07T17:45:21Z" level=debug msg="SaveSingleOcrPageResult: db.First error: record not found (is gorm.ErrRecordNotFound: true)"
time="2026-01-07T17:45:21Z" level=info msg="OCR processing completed successfully" document_id=94
time="2026-01-07T17:45:21Z" level=debug msg="OCR processing completed" document_id=94
time="2026-01-07T17:45:21Z" level=info msg="Adding OCR complete tag 'Status:AI_PDF'" document_id=94
time="2026-01-07T17:45:21Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/tags/"
time="2026-01-07T17:45:21Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/tags/?page=2"
time="2026-01-07T17:45:21Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/tags/?page=3"
time="2026-01-07T17:45:22Z" level=debug msg="Making HTTP request" method=GET url="http://127.0.0.1:8000/api/correspondents/?page_size=9999"
The document starts with 2 tags uppon consumption
Status:AI_OCRandStatus:InboxDocling runs successful and p-gpt updates the content successful
The tag 'Status:AI_OCR' is removed successfully
Than i see this message
time="2026-01-07T17:45:21Z" level=info msg="Adding OCR complete tag 'Status:AI_PDF'" document_id=94But the tag
Status:AI_PDFis not added as the complete tag.So the documents ends with only 'Status:Inbox' and do not get added to the Auto OCR processing
Variables
Logs