Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task queue service fails to process documents after upgrade to Yunohost 12 #136

Open
ebouaziz opened this issue Dec 19, 2024 · 0 comments
Open

Comments

@ebouaziz
Copy link

Describe the bug

The task queue service tries to invoke a gs binary that requires libidn.so.11, which is not available anymore on Debian 12. libidn.so.12 is present instead.

Context

  • Hardware: LXC container on local PC
  • YunoHost version: 12.0.9
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

  • Install paperless-ngx from Yunohost 11
  • upgrade to Yunohost 12
  • Add document
  • observe that the document processing fails
  • look at /var/log/paperless-ngx/paperless-ngx-task-queue.log

Logs

[ERROR] [celery.app.trace] Task documents.tasks.consume_file[<some uuid>] raised unexpected: ConsumeError("<somefile>.pdf: Error occured while consuming document <somefile>.pdf: MissinfDependencyError: Ran program 'gs' but it exited with an error:\ngs: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory\n")

Temporary workaround

Faulty gs binary is in /var/www/paperless-ngx/bin.

I don't know if the file is provided by Yunohost install process or by Paperless-ngx.

I replaced the file with a link to Debian provided ghostscript at /usr/bin/gs and it apparently works.

Side note

Another "Debian 11" gs binary was present in /usr/local/bin. I don't know if it was installed by paperless-ngx or some other service that run on my Yunohost installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant