Hello,
I tried logging into Libre yesterday and was met with the “whoops” message. Got onto PUTTY and pulled this for ./validate.php. My first attempt is to upgrade the MariaDB but the documented password for librenms does not work. How can I reset that password? I think once I get that upgraded I can continue to use the WebGUI.
-bash-4.2$ ./daily.sh
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Caching Mac OUI data OK
-bash-4.2$ ./validate.php
Component | Version |
---|---|
LibreNMS | 21.5.1-34-g0489382 |
DB Schema | 2020_12_14_091314_create_port_group_port_table (205) |
PHP | 7.4.11 |
Python | 3.6.8 |
MySQL | 5.5.65-MariaDB |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 2.1.3
[OK] Dependencies up-to-date.
[OK] Database connection successful
[FAIL] MariaDB version 10.2.2 is the minimum supported version as of March, 202 1.
[FIX]:
Update MariaDB to a supported version, 10.5 suggested.
[FAIL] Your database is out of date!
[FIX]:
./lnms migrate
[WARN] Global lnms shortcut not installed. lnms command must be run with full p ath
[FIX]:
sudo ln -s /opt/librenms/lnms /usr/bin/lnms
[WARN] Bash completion not installed. lnms command tab completion unavailable.
[FIX]:
sudo cp /opt/librenms/misc/lnms-completion.bash /etc/bash_completion.d/