[GH-ISSUE #3441] Paperless-ngx: 2 versions of ghostscript installed #700

Closed
opened 2026-02-26 12:46:22 +03:00 by kerem · 6 comments
Owner

Originally created by @webmogul1 on GitHub (Mar 27, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/3441

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). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/3441 ### ✅ 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_
kerem 2026-02-26 12:46:22 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

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

<!-- gh-comment-id:2758170366 --> @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?

<!-- gh-comment-id:2758177766 --> @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.

<!-- gh-comment-id:2758248983 --> @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

<!-- gh-comment-id:2758260851 --> @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 ?

<!-- gh-comment-id:2758270120 --> @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.

<!-- gh-comment-id:2758311848 --> @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.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#700
No description provided.