URGENT - LibreNMS returns Invalid Credentials when tryin to web login

Hi Guys,

We are facing a web login issue with all our LibreNMS servers.
We have 4 LibreNMS instances, two of them authenticate with LDAP, and two authenticate locally via MySQL.
3 of those instances are installed on Ubuntu 18.04, and only one is installed on Ubuntu 16.04.

Today, all of them started returning “Invalid credentials” error when trying to login into the GUI.
We were able to login properly yesterday, but NOT today.

Were there any updates released between yesterday and today that might have caused the issue ?
Kindly investigate urgently.

If anybody is suffering from the same issue, kindly share.

Thanks to all

Hello,
which version you have installed. I had the same issue but after latest git pull now it seems fine on 1.56-34-g25e8de30c - Thu Oct 17 2019 04:46:44 GMT+0200

Hi,

I have just run the latest git pull :slight_smile:

From https://github.com/librenms/librenms
2a8f9ca..25e8de3  master     -> composer/master
Updating 2a8f9ca..25e8de3

After Reboot:

librenms@librenms:~$ git pull
Already up-to-date.

Still won’t authenticate.

Hi,
did you run the ./daily.sh command after git pull?
Which version you have installed (displayed in About LibreNMS).

Thanks Petr.
It seems I have forgotten to run ./daily.sh after git pull , my bad.
Now I can authenticate via LDAP.
will update the other two remote pollers and test local MySQL auth.

However, it seems that I have lost some preconfigured dashboards. Have you noticed such issue ? Below is what I see from that lost dashboard

here is the version now:

1.56-34-g25e8de30c - Thu Oct 17 2019 04:46:44 GMT+0200](http://www.librenms.org/changelog.html)

Hi,
I have configured only one dashoboard and the dashoard seems fine.

Alright no worries.
configuring the dashboard again is no big deal.
But I just wonder if there is still some lingering bug that caused the dashboards to break.

many thanks Petr.

Hi Petr,

Have you noticed broken icons when you click on “Ports” tab under any host, or if you hover on the host’s name ?
See attached please:

Hi,
yes, I have the same issue.

Alright, so it’s a bug.

LibreNMS team,

would you kindly investigate the latest updates as they seems to have a bug affecting the graphs thumbnails, as mentioned/shown above.

Thanks

Hi Petr,

There seems to be another update. It solved the issue with both the missing dashboard, and the broken thumbnails.

Please see my latest update (done 5 minutes ago):

====================================
Component | Version
--------- | -------
 LibreNMS  | 1.56-36-**gbc6dda75b**
 DB Schema | 2019_02_05_140857_remove_config_definition_from_db (145)
 PHP       | 7.2.19-0ubuntu0.18.04.2
 MySQL     | 10.1.41-MariaDB-0ubuntu0.18.04.1
 RRDTool   | 1.7.0
 SNMP      | NET-SNMP 5.7.3
 ====================================

so version gbc6dda75b

Great, it seems fine.

However, My two instances that use local MySQL authentication still won’t login in the GUI with “Invalid Credentials” error.

Petr, what do you use for authentication, LDAP or MySQL ?