[Bug 282808] deskutils/py-paperless-ngx: Missing required django migration

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 17 Nov 2024 08:00:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282808

            Bug ID: 282808
           Summary: deskutils/py-paperless-ngx: Missing required django
                    migration
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: grembo@FreeBSD.org
          Reporter: delphij@FreeBSD.org
             Flags: maintainer-feedback?(grembo@FreeBSD.org)
          Assignee: grembo@FreeBSD.org

When uploading documents to paperless-ngx I am seeing the following errors from
log:

[WARNING] [paperless.tasks] Classifier error: column
documents_document.transaction_id does not exist

The problem is that migration
src/documents/migrations/1052_document_transaction_id.py was not applied.

If the port was intentionally held at v2.11.0, the solution would be to add
https://github.com/paperless-ngx/paperless-ngx/blob/dev/src/documents/migrations/1052_document_transaction_id.py
to the tree.  Otherwise, update to at least v2.11.6 should fix it.

(This is likely to affect all existing installations upgraded from an earlier
version).

-- 
You are receiving this mail because:
You are the assignee for the bug.