paperless-ngx script - error while installing Natural Language Toolkit #1761

Closed
opened 2025-11-20 05:16:56 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @Kuschi on GitHub (Aug 21, 2025).

Have you read and understood the above guidelines?

yes

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

paperless-ngx

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/paperless-ngx.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

I have selected Debian 12 as distribution because Debian 13 is not selectable.
I use Proxmox VE 9 based on Debian 13 .

The community script fails while installing the Natural Language Toolkit

🔄 Steps to reproduce the issue.

  1. enter bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/paperless-ngx.sh)"
  2. follow all steps until the installer starts creating the LXC container

Paste the full error output (if available).

[...]

/usr/bin/mkdir -p '/usr/local/bin'
/bin/sh ../libtool --mode=install /usr/bin/install -c jbig2 '/usr/local/bin'
libtool: install: /usr/bin/install -c jbig2 /usr/local/bin/jbig2
/usr/bin/mkdir -p '/usr/local/include'
/usr/bin/install -c -m 644 jbig2arith.h jbig2sym.h jbig2structs.h jbig2segments.h jbig2comparator.h '/usr/local/include'
make[2]: Leaving directory '/opt/jbig2enc/src'
make[1]: Leaving directory '/opt/jbig2enc/src'
Making install in doc
make[1]: Entering directory '/opt/jbig2enc/doc'
make[2]: Entering directory '/opt/jbig2enc/doc'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/usr/local/share/doc/jbig2enc-0.28'
/usr/bin/install -c -m 644 PATENTS jbig2enc.html '/usr/local/share/doc/jbig2enc-0.28'
make[2]: Leaving directory '/opt/jbig2enc/doc'
make[1]: Leaving directory '/opt/jbig2enc/doc'
make[1]: Entering directory '/opt/jbig2enc'
make[2]: Entering directory '/opt/jbig2enc'
/usr/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c pdf.py '/usr/local/bin'
/usr/bin/mkdir -p '/usr/local/share/doc/jbig2enc-0.28'
/usr/bin/install -c -m 644 AUTHORS ChangeLog COPYING INSTALL NEWS README.md '/usr/local/share/doc/jbig2enc-0.28'
make[2]: Leaving directory '/opt/jbig2enc'
make[1]: Leaving directory '/opt/jbig2enc'
✔️ Installed JBIG2
Setting up PostgreSQL databaseCREATE ROLE
CREATE DATABASE
ALTER ROLE
ALTER ROLE
ALTER ROLE
Installing Natural Language Toolkit (Patience)Current directory does not exist

[ERROR] in line 81: exit code 0: while executing command $STD uv run -- python -m nltk.downloader -d /usr/share/nltk_data all

[ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"

🖼️ Additional context (optional).

No response

Originally created by @Kuschi on GitHub (Aug 21, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? paperless-ngx ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/paperless-ngx.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. I have selected Debian 12 as distribution because Debian 13 is not selectable. I use **Proxmox VE 9** based on **Debian 13** . The community script fails while installing the Natural Language Toolkit ### 🔄 Steps to reproduce the issue. 1. enter bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/paperless-ngx.sh)" 2. follow all steps until the installer starts creating the LXC container ### ❌ Paste the full error output (if available). [...] /usr/bin/mkdir -p '/usr/local/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c jbig2 '/usr/local/bin' libtool: install: /usr/bin/install -c jbig2 /usr/local/bin/jbig2 /usr/bin/mkdir -p '/usr/local/include' /usr/bin/install -c -m 644 jbig2arith.h jbig2sym.h jbig2structs.h jbig2segments.h jbig2comparator.h '/usr/local/include' make[2]: Leaving directory '/opt/jbig2enc/src' make[1]: Leaving directory '/opt/jbig2enc/src' Making install in doc make[1]: Entering directory '/opt/jbig2enc/doc' make[2]: Entering directory '/opt/jbig2enc/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/local/share/doc/jbig2enc-0.28' /usr/bin/install -c -m 644 PATENTS jbig2enc.html '/usr/local/share/doc/jbig2enc-0.28' make[2]: Leaving directory '/opt/jbig2enc/doc' make[1]: Leaving directory '/opt/jbig2enc/doc' make[1]: Entering directory '/opt/jbig2enc' make[2]: Entering directory '/opt/jbig2enc' /usr/bin/mkdir -p '/usr/local/bin' /usr/bin/install -c pdf.py '/usr/local/bin' /usr/bin/mkdir -p '/usr/local/share/doc/jbig2enc-0.28' /usr/bin/install -c -m 644 AUTHORS ChangeLog COPYING INSTALL NEWS README.md '/usr/local/share/doc/jbig2enc-0.28' make[2]: Leaving directory '/opt/jbig2enc' make[1]: Leaving directory '/opt/jbig2enc' ✔️ Installed JBIG2 ⏳ Setting up PostgreSQL databaseCREATE ROLE CREATE DATABASE ALTER ROLE ALTER ROLE ALTER ROLE ⏳ Installing Natural Language Toolkit (Patience)Current directory does not exist [ERROR] in line 81: exit code 0: while executing command $STD uv run -- python -m nltk.downloader -d /usr/share/nltk_data all [ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)" ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:16:56 -05:00
Author
Owner

@MickLesk commented on GitHub (Aug 21, 2025):

Default. Advanced? What Settings?

@MickLesk commented on GitHub (Aug 21, 2025): Default. Advanced? What Settings?
Author
Owner

@MickLesk commented on GitHub (Aug 21, 2025):

i dont get the same issue, my install work fine, but i prepare an hardening fix - maybe this helps #7064

@MickLesk commented on GitHub (Aug 21, 2025): i dont get the same issue, my install work fine, but i prepare an hardening fix - maybe this helps #7064
Author
Owner

@Kuschi commented on GitHub (Aug 22, 2025):

Thank you for taking care of it so quickly. Unfortunately the fix does not work for me.

Here is the configuration file paperless-ngx.conf:

paperless-ngx Configuration File

Generated on Fri Aug 22 10:07:15 AM CEST 2025

CT_TYPE="1"
DISK_SIZE="40"
CORE_COUNT="2"
RAM_SIZE="4096"
VERBOSE="yes"
PW="***"
CT_ID=7003
HN="evju-paperless"
BRG="vmbr2"
NET="10.10.0.73/24"
IPV6_METHOD="none"

Set this only if using "IPV6_METHOD=static"

#IPV6STATIC="fd00::1234/64"

GATE="10.10.0.1"
APT_CACHER_IP="none"
MTU="1500"
SD="none"
NS="none"
MAC="none"
VLAN="none"
SSH="yes"
SSH_AUTHORIZED_KEY=""
TAGS=";"
ENABLE_FUSE="no"
ENABLE_TUN="no"

The host is a bare metal Proxmox VE 9.0.5 with ZFS Raid 1

Is there anything i can do to provide more necessary information?

@Kuschi commented on GitHub (Aug 22, 2025): Thank you for taking care of it so quickly. Unfortunately the fix does not work for me. Here is the configuration file paperless-ngx.conf: # paperless-ngx Configuration File # Generated on Fri Aug 22 10:07:15 AM CEST 2025 CT_TYPE="1" DISK_SIZE="40" CORE_COUNT="2" RAM_SIZE="4096" VERBOSE="yes" PW="***" CT_ID=7003 HN="evju-paperless" BRG="vmbr2" NET="10.10.0.73/24" IPV6_METHOD="none" # Set this only if using "IPV6_METHOD=static" #IPV6STATIC="fd00::1234/64" GATE="10.10.0.1" APT_CACHER_IP="none" MTU="1500" SD="none" NS="none" MAC="none" VLAN="none" SSH="yes" SSH_AUTHORIZED_KEY="" TAGS=";" ENABLE_FUSE="no" ENABLE_TUN="no" The host is a bare metal Proxmox VE 9.0.5 with ZFS Raid 1 Is there anything i can do to provide more necessary information?
Author
Owner

@MickLesk commented on GitHub (Aug 22, 2025):

The information is of no use to me, they are just config files. I need if then logs -> own issue please.

@MickLesk commented on GitHub (Aug 22, 2025): The information is of no use to me, they are just config files. I need if then logs -> own issue please.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1761