I’ve setup LibreNMS now on a few Ubuntu servers, then installed Weathermap and I’ve created a map but whenever I go to Overview ->Plugins → Weathermap ->map.conf I then get sent off to a 404 error page. I’ve noticed in the address bar it references “librenms.mydomain.com/plugins/index.php” I am not sure if this relates to the Linux folder structure or not but the index.php file lives in /opt/librenms/html.plugins/Weathermap/configs
I have Googled a lot for this and yes I do have Pear installed.
[email protected]:~# sudo apt-get install php-pear
Reading package lists… Done
Building dependency tree
Reading state information… Done
php-pear is already the newest version (1:1.10.9+submodules+notgz-1ubuntu0.20.04.3).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
OUTPUT OF VALIDATE
[email protected]:/opt/librenms$ ./valid
-bash: ./valid: No such file or directory
[email protected]:/opt/librenms$ ./validate.php
|DB Schema||2021_09_07_094310_create_push_subscriptions_table (221)|
[OK] Composer Version: 2.1.9
[OK] Dependencies up-to-date.
[OK] Database connection successful
[FAIL] Time between this server and the mysql database is off
Mysql time 2021-10-12 02:43:50
PHP time 2021-10-12 13:43:50
[OK] Database schema correct
[FAIL] You have a different system timezone (UTC) than the php configured timezone (AEDT)
Please correct either your system timezone or your timezone set in /etc/php/7.4/cli/php.ini.
[WARN] Your local git contains modified files, this could prevent automatic updates.
You can fix this with ./scripts/github-remove
[FAIL] You need to run this script as ‘librenms’ or root
I don’t feel like the time is an issue, but I did check.
I have checked my /etc/php/7.4/cli/php.ini file which looks like the timezone is correct
; Defines the default timezone used by the date functions
date.timezone = Australia/Sydney
Thanks in advance, I really enjoy using LibreNMS and I’d love to get Weathermap working!