opn-repo icon indicating copy to clipboard operation
opn-repo copied to clipboard

Grafana package does not appear to be complete - missing rc.d script

Open bmorgenthaler opened this issue 3 years ago • 3 comments
trafficstars

OPNSense: 22.1.6

When trying to start Grafana 7 after installing the plugin os-grafana7-maxit the following errors shows up: [7154bdd8-488e-42ee-b8ed-5a914a09e346] Script action stderr returned "b'/bin/sh: /usr/local/etc/rc.d/grafana: not found'"

SSHing into the box and looking at the plugin, it appears to install the OPNsense GUI information but no actual program.

# pkg info -l os-grafana7-maxit-1.0
os-grafana7-maxit-1.0:
	/usr/local/etc/inc/plugins.inc.d/grafana.inc
	/usr/local/opnsense/mvc/app/controllers/OPNsense/Grafana/Api/GeneralController.php
	/usr/local/opnsense/mvc/app/controllers/OPNsense/Grafana/Api/ServiceController.php
	/usr/local/opnsense/mvc/app/controllers/OPNsense/Grafana/GeneralController.php
	/usr/local/opnsense/mvc/app/controllers/OPNsense/Grafana/forms/general.xml
	/usr/local/opnsense/mvc/app/models/OPNsense/Grafana/ACL/ACL.xml
	/usr/local/opnsense/mvc/app/models/OPNsense/Grafana/General.php
	/usr/local/opnsense/mvc/app/models/OPNsense/Grafana/General.xml
	/usr/local/opnsense/mvc/app/models/OPNsense/Grafana/Menu/Menu.xml
	/usr/local/opnsense/mvc/app/views/OPNsense/Grafana/general.volt
	/usr/local/opnsense/service/conf/actions.d/actions_grafana.conf
	/usr/local/opnsense/service/templates/OPNsense/Grafana/+TARGETS
	/usr/local/opnsense/service/templates/OPNsense/Grafana/grafana
	/usr/local/opnsense/version/grafana7-maxit
# ls -l /usr/local/etc/rc.d/graf*
ls: /usr/local/etc/rc.d/graf*: No such file or directory

bmorgenthaler avatar May 09 '22 20:05 bmorgenthaler

Seems I only build Grafana 8. Isnt there a plugin for 8?

mimugmail avatar May 09 '22 20:05 mimugmail

My latest update only has os-grafana7-maxit for a plugin from the GUI but I do see grafana8 available when doing a pkg search grafana from the console.

bmorgenthaler avatar May 09 '22 20:05 bmorgenthaler

I just updated to OPNSense - OPNsense 22.1.7-amd64 and noticed this in the output:

Updating mimugmail repository catalogue...
Fetching meta.conf: . done
pkg: https://opn-repo.routerperformance.net/repo/FreeBSD:13:amd64/packagesite.pkg: Not Found
Fetching packagesite.txz: ....... done
Processing entries: .......... done
mimugmail repository update completed. 176 packages processed.

bmorgenthaler avatar May 11 '22 01:05 bmorgenthaler