Project

General

Profile

Actions

Bug #11515

open

node_exporter 0.18.1_1 - Unable to interact or start the service from web ui

Added by dff dff over 1 year ago. Updated 12 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Viktor Gurov
Category:
node_exporter
Target version:
-
Start date:
02/23/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

This bug can be reproduced on my Netgate XG-7100 running 21.02-RELEASE

After installing the package for the first time i was able to interact with the service from the web ui, however i could not start node exporter due to this error

Feb 19 11:19:35 firewall php-fpm[58710]: /pkg_edit.php: ERROR: Could not open {/usr/local/etc/rc.conf.d/node_exporter} for writing

Next deinstall

Loading package instructions...
Custom commands...
Executing custom_php_install_command()...=====
Message from node_exporter-1.0.1:

--
If upgrading from a version of node_exporter <0.15.0 you'll need to update any
custom command line flags that you may have set as it now requires a
double-dash (--flag) instead of a single dash (-flag).
The collector flags in 0.15.0 have now been replaced with individual boolean
flags and the -collector.procfs` and -collector.sysfs` flags have been renamed
to --path.procfs and --path.sysfs respectively.
>>> Cleaning up cache... done.
Success

Meanwhile in system.log (during the install)

Feb 19 12:01:32 firewall php[70253]: /etc/rc.packages: Beginning package installation for node_exporter .
Feb 19 12:01:32 firewall check_reload_status[387]: Syncing firewall
Feb 19 12:01:32 firewall check_reload_status[387]: Syncing firewall
Feb 19 12:01:32 firewall php[70253]: /etc/rc.packages: ERROR: Could not open {/usr/local/etc/rc.conf.d/node_exporter} for writing

The package will now not show under the services menu in the webui, however it can be started from the command line.

More users with the same problem

https://forum.netgate.com/topic/161071/error-node_exporter-0-18-1_1?_=1614104363709

https://www.reddit.com/r/PFSENSE/comments/ln0yzy/node_exporter_on_pfsense_25/

There is no category for this package, tagged ACME as placeholder.

Actions

Also available in: Atom PDF