DB Schema and Database not connected

Librenms NMS down. error showing on gui page is (Whoops, looks like something went wrong. Check your librenms.log.)

here is the output of ./validate.php

In StreamHandler.php line 178:

fwrite(): Write of 3277 bytes failed with errno=28 No space left on device

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

Component Version
LibreNMS 22.10.0-113-gc26cbc9a4 (2022-11-14T21:19:08+05:00)
DB Schema Not Connected (0)
PHP 8.1.2-1ubuntu2.8
Python 3.10.6
Database Not Connected
RRDTool 1.7.2
SNMP 5.9.1

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

[OK] Composer Version: 2.4.4
[OK] Dependencies up-to-date.

Here’s your problem

1 Like

what is way around to fix it! as I am unable to access web gui access of the server!

  • Delete files
  • Add disk space and resize
  • Reinstall your server with more storage

I have added disk size and increase memory size in librenms proxmox vm. what files needed to be deleted so that I can retain minimum from previous data & configuration?

Some files you need to keep are:

/opt/librenms/.env
/opt/librenms/rrd
/opt/librenms/config.php

And your database.

You should have backups in case I missed anything.

Interesting to see you ran out of disk space now a days. I’m monitoring several hundred devices and I’m using just 9 GB in my /opt/librenms directory and my database is only 200 MB.

I’d assume OP has a million logs they’re not rotating, just based off experience. But don’t know.