Problem with global map

Hi

today I all of a sudden have problems with front page not containing global map.

when i look in the logs (/opt/librenms/logs/error.log). I see the following errors:
AH01276: Cannot serve directory /opt/librenms/html/js/maps/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive

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

Component Version
LibreNMS 6a79d4495f1a5d91d476021b7fb3ab58889e6f80
DB Schema 192
PHP 7.0.15-0ubuntu0.16.04.4
MySQL 5.7.18-0ubuntu0.16.04.1
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3

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

[WARN] Your install is out of date, last update: Sun, 28 May 2017 21:54:20 +0000
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your local git branch is not master, this will prevent automatic updates.

Thanks for a fantastic system.

Problem solved, it was my own version of includes/common/mvow_worldmap.inc.php, whaich hadn’t been updated, with these lines.

        $temp_output .= "var title = '<a href=\"" . generate_device_url($map_devices) . "\"><img src=\"".getIcon($map_devices)."\" width=\"32\" height=\"32\" alt=\"\"> ".format_hostname($map_devices)."</a>';

var tooltip = ‘".format_hostname($map_devices)."’;

problems solved

1 Like