You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have tried several times to install prometheus-paperless-ngx-exporter on Proxmox 9.1.2, but no matter which setup option I use, I either get a script error or with the Advanced Setup option the installation completes, but the service does not start.
# vi /etc/systemd/system/prometheus-paperless-ngx-exporter.service
--paperless_url=http://172.21.21.5:8000
# vi /etc/prometheus-paperless-ngx-exporter/paperless_auth_token_file
SECRET_AUTH_TOKEN xyzblabla123
reboot
Service does not start
journalctl -f
Dec 09 05:07:59 prometheus-paperless-ngx-exporter systemd[1]: Started prometheus-paperless-ngx-exporter.service - Prometheus Paperless NGX Exporter.
Dec 09 05:07:59 prometheus-paperless-ngx-exporter (exporter)[327]: prometheus-paperless-ngx-exporter.service: Unable to locate executable '/usr/local/bin/prometheus-paperless-exporter': No such file or directory
Dec 09 05:07:59 prometheus-paperless-ngx-exporter (exporter)[327]: prometheus-paperless-ngx-exporter.service: Failed at step EXEC spawning /usr/local/bin/prometheus-paperless-exporter: No such file or directory
Dec 09 05:07:59 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Main process exited, code=exited, status=203/EXEC
Dec 09 05:07:59 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Failed with result 'exit-code'.
Dec 09 05:07:59 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Scheduled restart job, restart counter is at 5.
Dec 09 05:07:59 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Start request repeated too quickly.
Dec 09 05:07:59 prometheus-paperless-ngx-exporter systemd[1]: prometheus-paperless-ngx-exporter.service: Failed with result 'exit-code'.
Dec 09 05:07:59 prometheus-paperless-ngx-exporter systemd[1]: Failed to start prometheus-paperless-ngx-exporter.service - Prometheus Paperless NGX Exporter.
edit:
I've made some progress, I've adjusted the path in the service file.
The correct path is "/usr/bin/prometheus-paperless-exporter"
Now I'm getting this error message.
root@prometheus-paperless-ngx-exporter:~# journalctl -f
Dec 09 05:48:53 prometheus-paperless-ngx-exporter postfix/master[287]: daemon started -- version 3.10.5, configuration /etc/postfix
Dec 09 05:48:53 prometheus-paperless-ngx-exporter systemd[1]: Started postfix.service - Postfix Mail Transport Agent (main/default instance).
Dec 09 05:48:53 prometheus-paperless-ngx-exporter systemd[1]: Reached target multi-user.target - Multi-User System.
Dec 09 05:48:53 prometheus-paperless-ngx-exporter systemd[1]: Reached target graphical.target - Graphical Interface.
Dec 09 05:48:53 prometheus-paperless-ngx-exporter systemd[1]: Finished networking.service - Network initialization.
Dec 09 05:48:53 prometheus-paperless-ngx-exporter systemd[1]: Startup finished in 563ms.
Dec 09 05:48:53 prometheus-paperless-ngx-exporter login[109]: pam_unix(login:session): session opened for user root(uid=0) by root(uid=0)
Dec 09 05:48:53 prometheus-paperless-ngx-exporter login[109]: pam_systemd(login:session): Failed to create session: Seat has no VTs but VT number not 0
Dec 09 05:48:53 prometheus-paperless-ngx-exporter login[109]: ROOT LOGIN ON tty1
Dec 09 05:48:54 prometheus-paperless-ngx-exporter systemd-networkd[194]: eth0: Gained IPv6LL
edit2:
Never mind, it's sorted now.
Knowing that the Paperless-ngx Secret Key is not the API key makes it easier ;)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have tried several times to install prometheus-paperless-ngx-exporter on Proxmox 9.1.2, but no matter which setup option I use, I either get a script error or with the Advanced Setup option the installation completes, but the service does not start.
Here's what I've done
proxmox shell
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/prometheus-paperless-ngx-exporter.sh)"Files edited
rebootService does not start
edit:
I've made some progress, I've adjusted the path in the service file.
The correct path is "/usr/bin/prometheus-paperless-exporter"
Now I'm getting this error message.
edit2:
Never mind, it's sorted now.
Knowing that the Paperless-ngx Secret Key is not the API key makes it easier ;)
Beta Was this translation helpful? Give feedback.
All reactions