Dashboard not displaying widgets

Hi All,

I got into work this morning and found that my Dashboard is no longer being displayed.
I still have the menu bar at the top of the screen and most of that seems to still work, but where the widgets normally are is blank.
If i try to edit the dashboard and add a new one, I’m finding that the server name is then Prepended to the URL which results in an error 404.

e.g. https://sydnms01/ becomes https://sydnms01/https://sydnms01:443/

Validate config still works and I’m getting all OK’s on that screen, I’ve done a git pull/daily.sh.
The server itself has been rebooted too.

The problem is happening in Chrome and Firefox, and I’ve been poking around the syslogs and librenms logs for some indication of whats going on to no avail.
The only recent change to the config was to enable IP SLA, but I’ve gone back and commented that out.

librenms@SYD-NDC-NMS01:~$ ./validate.php

Component Version
LibreNMS 1.65-48-gb4d149b4a
DB Schema 2020_06_23_00522_alter_availability_perc_column (170)
PHP 7.2.24-0ubuntu0.18.04.6
Python 3.6.9
MySQL 10.1.44-MariaDB-0ubuntu0.18.04.1
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

====================================
[OK] Composer Version: 1.10.9
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Looks like I worked it out.

Under Global Settings -> System -> Server, there was “https://sydnms01:443/

I deleted that and now everything seems to be working fine again.
Strange, I have no idea how long that setting has been filled in that way or why it chose now to become an issue, but a fix is a fix.

Try to rollback commit a4c550206 (https://github.com/librenms/librenms/pull/11949) or as a workaround manually comment-out line 411 in LibreNMS/Config.php (self::set(‘base_url’, Str::finish(’/’, self::get(‘base_url’)));).

Fix was done and you can run ./validate.php to get patch 11955.

I can confirm, I’ve done the validate and its still working good (has been since I deleted the above)

$ ./validate.php

Component Version
LibreNMS 1.65-48-gb4d149b4a
DB Schema 2020_06_23_00522_alter_availability_perc_column (170)
PHP 7.2.24-0ubuntu0.18.04.6
Python 3.6.9
MySQL 10.1.44-MariaDB-0ubuntu0.18.04.1
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

====================================
[OK] Composer Version: 1.10.9
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Thanks

This morning my dashboard was also gone.
Adding a new one resulted in a failure message (without any text in it) and running validate.php does not seem to restore it.
So there’s for sure something broken here.

This was helping to get my dashboard to load again.

a fix was rolled out for this, so everything should be fine again