Package Details: paperless-ngx-venv 2.13.5-2

Git Clone URL: https://aur.archlinux.org/paperless-ngx-venv.git (read-only, click to copy)
Package Base: paperless-ngx-venv
Description: A supercharged version of paperless: scan, index and archive all your physical documents (version with bundled dependencies)
Upstream URL: https://docs.paperless-ngx.com/
Licenses: GPL-3.0-or-later
Conflicts: paperless, paperless-ng, paperless-ngx
Provides: paperless, paperless-ngx-venv
Replaces: paperless-ngx
Submitter: AlphaJack
Maintainer: AlphaJack (atomicfs, shtrophic)
Last Packager: shtrophic
Votes: 27
Popularity: 1.14
First Submitted: 2024-11-02 15:19 (UTC)
Last Updated: 2024-11-28 09:30 (UTC)

Required by (0)

Sources (12)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 12 Next › Last »

StefanT commented on 2024-02-14 07:23 (UTC)

Latest version requires the python-django-allauth package.

AlphaJack commented on 2024-02-13 09:04 (UTC)

@cotsuka thank you for the report!

amo commented on 2024-02-12 18:52 (UTC)

Yes, The release notes mention the integration of single-sign-on methods and django allauth seems to be the default and standard implementation.

cotsuka commented on 2024-02-12 17:49 (UTC)

Looks like this now requires python-django-allauth as well. As soon as I install it, error messages related to migrating the database go away.

AlphaJack commented on 2023-12-14 10:25 (UTC)

@pipep Did you read any warning during the update process, like:

To complete the update process of paperless, you should run new migrations with

    sudo -u paperless paperless-manage migrate

This process can be automated by running once

    sudo mkdir -p /etc/pacman.d/hooks/
    sudo ln -s /usr/share/paperless/docs/paperless.hook /etc/pacman.d/hooks/

If not, does the file "/etc/pacman.d/hooks/paperless.hook" exist in your system?

pipep commented on 2023-12-02 08:54 (UTC) (edited on 2023-12-02 09:08 (UTC) by pipep)

After upgrading from 1.17.4 to 2.0.1 I am unable to open any view (documents, inbox, etc.). I get this error:

[WARNING] [paperless.api] An error occurred listing search results: no such table: documents_customfieldinstance

Edit: solved by running

sudo -u paperless paperless-manage migrate

StefanT commented on 2023-11-27 06:33 (UTC)

Until paperless-ngx is updated it helps to downgrade python-ipware to the previous version 0.9.0

bjo commented on 2023-11-26 20:26 (UTC) (edited on 2023-11-26 20:48 (UTC) by bjo)

Seems like something wrong with ipware:

Traceback (most recent call last):
  File "/usr/bin/paperless-manage", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python3.11/site-packages/django/core/management/__init__.py", line 416, in execute
    django.setup()
  File "/usr/lib/python3.11/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/lib/python3.11/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
                 ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/django/apps/config.py", line 123, in create
    mod = import_module(mod_path)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/share/paperless/src/paperless/apps.py", line 4, in <module>
    from paperless.signals import handle_failed_login
  File "/usr/share/paperless/src/paperless/signals.py", line 4, in <module>
    from ipware import IpWare
ModuleNotFoundError: No module named 'ipware'

Fix in https://github.com/paperless-ngx/paperless-ngx/pull/4446

amo commented on 2023-11-21 22:44 (UTC)

@MarsSeed: Thank you for your remarks. I don't think the onboarding experience for paperless-ngx on archlinux is any bad. Just read carefully what is written on the paperless archwiki. The highlighted note in the Configuration section clearly states that there is no need to run paperless-manage as root. You are meant to run it as the paperless user, which is reasonable as @hashworks already pointed out. Having dedicated system users for separate applications is standard security practice.

MarsSeed commented on 2023-11-21 20:39 (UTC)

+1 remark: I came here after trying to build its alternatives, the legacy papermerge, and the successor, papermerge-core.

But both failed, disappointingly. Their upstream project apparently does not support the current Python version and environment that is available on Arch.

So I've recommended this package for users of the old papermerge. The fact alone that this complex build was a full success was in itself very encouraging!

The idea about the privilege checking wrapper that I've recommended would lead to a much better "onboarding" experience for new people trying this one out for the first time, instead of the long exception stack trace.

Btw, I think that /etc/paperless.conf does not contain any sensitive data, so it might not be harmful to give read access to that at least, to all users.