[GH-ISSUE #11409] Prometheus Paperless NGX Exporter ExecStart Error #2422

Closed
opened 2026-02-26 12:52:24 +03:00 by kerem · 2 comments
Owner

Originally created by @zenithar47 on GitHub (Feb 1, 2026).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/11409

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

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

Prometheus Paperless NGX Exporter

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

bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/prometheus-paperless-ngx-exporter.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/9.1.4/5ac30304265fbd8e (running kernel: 6.17.4-2-pve)

📝 Provide a clear and concise description of the issue.

The script does not put out any errors during installation, but causes the service to fail to start as a direct result of the script. When attempting to start the service, you will get a EXEC/203 error. There is no executable file at /usr/local/bin/, but there is at user/bin/.

Under the [Service] header in the script, if you change

ExecStart=/usr/local/bin/prometheus-paperless-exporter \

to

ExecStart=/usr//bin/prometheus-paperless-exporter \

it fixes the issue and one can start the service.

🔄 Steps to reproduce the issue.

Step 1: Run the installer script on your proxmox host using default settings

Step 2: Enter into newly created container and run systemctl status prometheus-paperless-ngx-exporter.service

Step 3: Run systemctl restart prometheus-paperless-ngx-exporter.service and see the service fail to start again

Step 4: Read EXEC/203 error and look for file location mentioned for ExecStart

Step 5: Navigate to /usr/local/bin and look for prometheus paperless ngx exporter executable

Step 6: Navigate to /usr/bin and look for the same executable, and find it

Step 7: Navigate back to /etc/systemd/system/prometheus-paperless-ngx-exporter.service and remove /local from ExecStart=/usr/local/bin/prometheus-paperless-exporter \

Step 8: Restart prometheus paperless ngx exporter service again with systemctl

Step 9: See that the service is now running

Paste the full error output (if available).

Before making change

Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: Started prometheus-paperless-ngx-exporter.service - Prometheus Paperless NGX Exporter.
Feb 01 02:02:40 prometheus-paperless-ngx-exporter (exporter)[810]: prometheus-paperless-ngx-exporter.service: Unable to locate executable '/usr/local/bin/prometheus-paperless-exporter': No such file or directory
Feb 01 02:02:40 prometheus-paperless-ngx-exporter (exporter)[810]: prometheus-paperless-ngx-exporter.service: Failed at step EXEC spawning /usr/local/bin/prometheus-paperless-exporter: No such file or directory
Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Main process exited, code=exited, status=203/EXEC
Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Failed with result 'exit-code'.
Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Scheduled restart job, restart counter is at 4.
Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: Started prometheus-paperless-ngx-exporter.service - Prometheus Paperless NGX Exporter.
Feb 01 02:02:40 prometheus-paperless-ngx-exporter (exporter)[812]: prometheus-paperless-ngx-exporter.service: Unable to locate executable '/usr/local/bin/prometheus-paperless-exporter': No such file or directory
Feb 01 02:02:40 prometheus-paperless-ngx-exporter (exporter)[812]: prometheus-paperless-ngx-exporter.service: Failed at step EXEC spawning /usr/local/bin/prometheus-paperless-exporter: No such file or directory
Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Main process exited, code=exited, status=203/EXEC
Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Failed with result 'exit-code'.
Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Scheduled restart job, restart counter is at 5.
Feb 01 02:02:41 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Start request repeated too quickly.
Feb 01 02:02:41 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Failed with result 'exit-code'.
Feb 01 02:02:41 prometheus-paperless-ngx-exporter systemd[1]: Failed to start prometheus-paperless-ngx-exporter.service - Prometheus Paperless NGX Exporter.
Feb 01 02:03:00 prometheus-paperless-ngx-exporter systemd[1]: Started prometheus-paperless-ngx-exporter.service - Prometheus Paperless NGX Exporter.
Feb 01 02:03:00 prometheus-paperless-ngx-exporter prometheus-paperless-exporter[836]: time=2026-02-01T02:03:00.041-07:00 level=INFO source=tls_config.go:354 msg="Listening on" address=[::]:8081
Feb 01 02:03:00 prometheus-paperless-ngx-exporter prometheus-paperless-exporter[836]: time=2026-02-01T02:03:00.042-07:00 level=INFO source=tls_config.go:357 msg="TLS is disabled." http2=false address=[::]:8081

🖼️ Additional context (optional).

'''#!/usr/bin/env bash

Copyright (c) 2021-2026 community-scripts ORG

Author: Andy Grunwald (andygrunwald)

License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE

Source: https://github.com/hansmi/prometheus-paperless-exporter

source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os

fetch_and_deploy_gh_release "prom-paperless-exp" "hansmi/prometheus-paperless-exporter" "binary"

msg_info "Configuring Prometheus Paperless NGX Exporter"
mkdir -p /etc/prometheus-paperless-ngx-exporter
echo "SECRET_AUTH_TOKEN" >/etc/prometheus-paperless-ngx-exporter/paperless_auth_token_file
msg_ok "Configured Prometheus Paperless NGX Exporter"

msg_info "Creating Service"
cat </etc/systemd/system/prometheus-paperless-ngx-exporter.service
[Unit]
Description=Prometheus Paperless NGX Exporter
Wants=network-online.target
After=network-online.target

[Service]
User=root
Restart=always
Type=simple
ExecStart=/usr/local/bin/prometheus-paperless-exporter
--paperless_url=http://paperless.example.org
--paperless_auth_token_file=/etc/prometheus-paperless-ngx-exporter/paperless_auth_token_file
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now prometheus-paperless-ngx-exporter
msg_ok "Created Service"

motd_ssh
customize
cleanup_lxc'''

Originally created by @zenithar47 on GitHub (Feb 1, 2026). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/11409 ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? Prometheus Paperless NGX Exporter ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/prometheus-paperless-ngx-exporter.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/9.1.4/5ac30304265fbd8e (running kernel: 6.17.4-2-pve) ### 📝 Provide a clear and concise description of the issue. The script does not put out any errors during installation, but causes the service to fail to start as a direct result of the script. When attempting to start the service, you will get a EXEC/203 error. There is no executable file at /usr/local/bin/, but there is at user/bin/. Under the [Service] header in the script, if you change `ExecStart=/usr/local/bin/prometheus-paperless-exporter \` to `ExecStart=/usr//bin/prometheus-paperless-exporter \` it fixes the issue and one can start the service. ### 🔄 Steps to reproduce the issue. Step 1: Run the installer script on your proxmox host using default settings Step 2: Enter into newly created container and run `systemctl status prometheus-paperless-ngx-exporter.service` Step 3: Run `systemctl restart prometheus-paperless-ngx-exporter.service` and see the service fail to start again Step 4: Read EXEC/203 error and look for file location mentioned for ExecStart Step 5: Navigate to /usr/local/bin and look for prometheus paperless ngx exporter executable Step 6: Navigate to /usr/bin and look for the same executable, and find it Step 7: Navigate back to /etc/systemd/system/prometheus-paperless-ngx-exporter.service and remove `/local` from `ExecStart=/usr/local/bin/prometheus-paperless-exporter \` Step 8: Restart prometheus paperless ngx exporter service again with systemctl Step 9: See that the service is now running ### ❌ Paste the full error output (if available). ``` Before making change Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: Started prometheus-paperless-ngx-exporter.service - Prometheus Paperless NGX Exporter. Feb 01 02:02:40 prometheus-paperless-ngx-exporter (exporter)[810]: prometheus-paperless-ngx-exporter.service: Unable to locate executable '/usr/local/bin/prometheus-paperless-exporter': No such file or directory Feb 01 02:02:40 prometheus-paperless-ngx-exporter (exporter)[810]: prometheus-paperless-ngx-exporter.service: Failed at step EXEC spawning /usr/local/bin/prometheus-paperless-exporter: No such file or directory Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Main process exited, code=exited, status=203/EXEC Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Failed with result 'exit-code'. Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Scheduled restart job, restart counter is at 4. Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: Started prometheus-paperless-ngx-exporter.service - Prometheus Paperless NGX Exporter. Feb 01 02:02:40 prometheus-paperless-ngx-exporter (exporter)[812]: prometheus-paperless-ngx-exporter.service: Unable to locate executable '/usr/local/bin/prometheus-paperless-exporter': No such file or directory Feb 01 02:02:40 prometheus-paperless-ngx-exporter (exporter)[812]: prometheus-paperless-ngx-exporter.service: Failed at step EXEC spawning /usr/local/bin/prometheus-paperless-exporter: No such file or directory Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Main process exited, code=exited, status=203/EXEC Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Failed with result 'exit-code'. Feb 01 02:02:40 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Scheduled restart job, restart counter is at 5. Feb 01 02:02:41 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Start request repeated too quickly. Feb 01 02:02:41 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Failed with result 'exit-code'. Feb 01 02:02:41 prometheus-paperless-ngx-exporter systemd[1]: Failed to start prometheus-paperless-ngx-exporter.service - Prometheus Paperless NGX Exporter. Feb 01 02:03:00 prometheus-paperless-ngx-exporter systemd[1]: Started prometheus-paperless-ngx-exporter.service - Prometheus Paperless NGX Exporter. Feb 01 02:03:00 prometheus-paperless-ngx-exporter prometheus-paperless-exporter[836]: time=2026-02-01T02:03:00.041-07:00 level=INFO source=tls_config.go:354 msg="Listening on" address=[::]:8081 Feb 01 02:03:00 prometheus-paperless-ngx-exporter prometheus-paperless-exporter[836]: time=2026-02-01T02:03:00.042-07:00 level=INFO source=tls_config.go:357 msg="TLS is disabled." http2=false address=[::]:8081 ``` ### 🖼️ Additional context (optional). '''#!/usr/bin/env bash # Copyright (c) 2021-2026 community-scripts ORG # Author: Andy Grunwald (andygrunwald) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/hansmi/prometheus-paperless-exporter source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color verb_ip6 catch_errors setting_up_container network_check update_os fetch_and_deploy_gh_release "prom-paperless-exp" "hansmi/prometheus-paperless-exporter" "binary" msg_info "Configuring Prometheus Paperless NGX Exporter" mkdir -p /etc/prometheus-paperless-ngx-exporter echo "SECRET_AUTH_TOKEN" >/etc/prometheus-paperless-ngx-exporter/paperless_auth_token_file msg_ok "Configured Prometheus Paperless NGX Exporter" msg_info "Creating Service" cat <<EOF >/etc/systemd/system/prometheus-paperless-ngx-exporter.service [Unit] Description=Prometheus Paperless NGX Exporter Wants=network-online.target After=network-online.target [Service] User=root Restart=always Type=simple ExecStart=/usr/local/bin/prometheus-paperless-exporter \ --paperless_url=http://paperless.example.org \ --paperless_auth_token_file=/etc/prometheus-paperless-ngx-exporter/paperless_auth_token_file ExecReload=/bin/kill -HUP \$MAINPID [Install] WantedBy=multi-user.target EOF systemctl enable -q --now prometheus-paperless-ngx-exporter msg_ok "Created Service" motd_ssh customize cleanup_lxc'''
kerem 2026-02-26 12:52:24 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MickLesk commented on GitHub (Feb 1, 2026):

@andygrunwald

<!-- gh-comment-id:3830775730 --> @MickLesk commented on GitHub (Feb 1, 2026): @andygrunwald
Author
Owner

@andygrunwald commented on GitHub (Feb 1, 2026):

I am at a conference right now, but I will have a look later when I am back and confirm what I see on my installation.

<!-- gh-comment-id:3830784596 --> @andygrunwald commented on GitHub (Feb 1, 2026): I am at a conference right now, but I will have a look later when I am back and confirm what I see on my installation.
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#2422
No description provided.