Hello folks,
I had some trouble getting Weathermap to run properly in the ova deployment, turns out it was missing php-pear. I found the issues by running:
[email protected]:~/html/plugins/Weathermap$ ./weathermap.php --config config/test.conf --output output/test.png --htmloutput output/test.html
And I got back:
PHP Warning: require_once(Console/Getopt.php): failed to open stream: No such file or directory in /opt/librenms/html/plugins/Weathermap/weathermap.php on line 8
PHP Fatal error: require_once(): Failed opening required 'Console/Getopt.php' (include_path='.:/usr/share/php') in /opt/librenms/html/plugins/Weathermap/weathermap.php on line 8
A bit of googling led to it looking like php-pear was missing. I added it back in with sudo apt install php-pear
and it’s running smoothly now.
Hope that helps someone.
Best, Chap