Paperless-ngx: 2 versions of ghostscript installed #787

Closed
opened 2025-11-20 04:54:01 -05:00 by saavagebueno · 6 comments
Owner

Originally created by @webmogul1 on GitHub (Mar 27, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Paperless-ngx LXC

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/paperless-ngx.sh)"

📝 Provide a clear and concise description of the issue.

After successfully installing paperless-ngx, it seems that I have two versions of ghostscript installed.

Is that how it is supposed to look?

root@DOCVAULT:/# ghostscript
GPL Ghostscript 10.0.0 (2022-09-21)
Copyright (C) 2022 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 10.00.0: Cannot open X display `(null)'.
**** Unable to open the initial device, quitting.

root@DOCVAULT:/# gs
GPL Ghostscript 10.04.0 (2024-09-18)
Copyright (C) 2024 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GS>

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Clean install

Paste the full error output (if available).

no error in script

🖼️ Additional context (optional).

No response

Originally created by @webmogul1 on GitHub (Mar 27, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Paperless-ngx LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/paperless-ngx.sh)" ### 📝 Provide a clear and concise description of the issue. After successfully installing paperless-ngx, it seems that I have two versions of ghostscript installed. Is that how it is supposed to look? ``` root@DOCVAULT:/# ghostscript GPL Ghostscript 10.0.0 (2022-09-21) Copyright (C) 2022 Artifex Software, Inc. All rights reserved. This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: see the file COPYING for details. GPL Ghostscript 10.00.0: Cannot open X display `(null)'. **** Unable to open the initial device, quitting. ``` ``` root@DOCVAULT:/# gs GPL Ghostscript 10.04.0 (2024-09-18) Copyright (C) 2024 Artifex Software, Inc. All rights reserved. This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: see the file COPYING for details. GS> ``` ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Clean install ### ❌ Paste the full error output (if available). no error in script ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 04:54:01 -05:00
Author
Owner

@MickLesk commented on GitHub (Mar 27, 2025):

when installed? the gs 10.4 is the right one, the other is disabled

@MickLesk commented on GitHub (Mar 27, 2025): when installed? the gs 10.4 is the right one, the other is disabled
Author
Owner

@webmogul1 commented on GitHub (Mar 27, 2025):

It was just installed. So, paperless should be using 10.4 is that it?

@webmogul1 commented on GitHub (Mar 27, 2025): It was just installed. So, paperless should be using 10.4 is that it?
Author
Owner

@MickLesk commented on GitHub (Mar 27, 2025):

yes, paperless use 10.4, maybe the other gs comes with another dependency.

@MickLesk commented on GitHub (Mar 27, 2025): yes, paperless use 10.4, maybe the other gs comes with another dependency.
Author
Owner

@webmogul1 commented on GitHub (Mar 27, 2025):

I am asking because I am getting the same issue of garbage text as mentioned here.

https://github.com/ocrmypdf/OCRmyPDF/issues/1118#issue-1766962594

@webmogul1 commented on GitHub (Mar 27, 2025): I am asking because I am getting the same issue of garbage text as mentioned here. https://github.com/ocrmypdf/OCRmyPDF/issues/1118#issue-1766962594
Author
Owner

@MickLesk commented on GitHub (Mar 27, 2025):

and if you remove gs 10.0.0 ?

@MickLesk commented on GitHub (Mar 27, 2025): and if you remove gs 10.0.0 ?
Author
Owner

@webmogul1 commented on GitHub (Mar 27, 2025):

and if you remove gs 10.0.0 ?

Paperless still works with the same issue.
But thanks anyway, I don't think it has to do with the script.

@webmogul1 commented on GitHub (Mar 27, 2025): > and if you remove gs 10.0.0 ? Paperless still works with the same issue. But thanks anyway, I don't think it has to do with the script.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#787