Weathermap "File not found"

Hi folks,

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.

root@librenms:~# 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

steve@librenms:/opt/librenms$ ./valid
-bash: ./valid: No such file or directory
steve@librenms:/opt/librenms$ ./validate.php

Component Version
LibreNMS 21.9.0-76-g16584d809
DB Schema 2021_09_07_094310_create_push_subscriptions_table (221)
PHP 7.4.3
Python 3.8.10
MySQL 10.3.31-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP NET-SNMP 5.8

====================================

[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)
[FIX]:
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.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
bootstrap/cache/.gitignore
logs/.gitignore
rrd/.gitignore
storage/app/.gitignore
storage/app/public/.gitignore
storage/debugbar/.gitignore
storage/framework/cache/.gitignore
storage/framework/cache/data/.gitignore
storage/framework/sessions/.gitignore
storage/framework/testing/.gitignore
storage/framework/views/.gitignore
storage/logs/.gitignore
[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

[Date]
; Defines the default timezone used by the date functions
; PHP: Runtime Configuration - Manual
date.timezone = Australia/Sydney

Thanks in advance, I really enjoy using LibreNMS and I’d love to get Weathermap working!

Is this typo? html.plugins

Missing all those .gitignore files always makes me nervous.

Apologies, yes it is a typo.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.