Closed Moredread closed 2 years ago
It looks like it's an issue specific to using the unstable package on the stable release. My guess is that the service config invokes the webserver with stable gunicorn (with gunicorn) but with the unstable paperless package environment, which doesn't mix well (esp. when they both use different Python versions).
See https://github.com/NixOS/nixpkgs/blob/3a0710d12a9cf4dc07812b54f8d9f3a344445ee5/nixos/modules/services/misc/paperless.nix#L285 and https://github.com/NixOS/nixpkgs/blob/3a0710d12a9cf4dc07812b54f8d9f3a344445ee5/nixos/modules/services/misc/paperless.nix#L300
Does #190888 fix this?
Describe the bug
I'm using paperless 1.8.0 from unstable on a nixos-22.05 system. (via the services.paperless.package option) The paperless 1.6.0 in 22.05. does work without issue.
When editing a document in the web interface the preview is missing. The Firefox Web Developer Tools shows a 500 error for requests to /metadata URLs.
In the server log Django shows import error for PIL:
Steps To Reproduce
Steps to reproduce the behavior:
journalctl
Expected behavior
See the PDF document while editing.
Notify maintainers
@Flakebi @erikarvstedt @lukegb @gador
Metadata