LibreNMS 26.6.0 & itable cache directories vntl/var/db/

I updated my version of LibreNMS to 26.6.0 and there are “decent sized refactor to the rrd processes” – I’m seeing the following:

LibreNMS font-cache problem
LibreNMS font-cache problem

This is an issue with fontconfig

The advice I was given: “XDG_CACHE_HOME might help, but I’m not sure if that is the right fix…”

I first created a new directory (I’ve since discovered creating the directory is not necessary, adding the configuration item is sufficient):

[12:45 besser dvl /var/db/librenms] % sudo mkdir font-cache
[12:45 besser dvl /var/db/librenms] % sudo chown www font-cache 
[12:51 besser dvl /var/db/librenms] % ls -l
total 18
drwxr-xr-x    2 www www   2 2024.12.13 00:00 cache/
drwxr-xr-x    3 www www   3 2026.06.16 12:47 font-cache/
drwxrwxr-x  101 www www 101 2026.06.04 11:41 rrd/
drwxrwxr-x    6 www www   6 2026.01.24 16:22 storage/

The existing cache directory was empty. I’m not sure if that is a now-deprecated setting or not. I decided to create a new location outside that directory.

I added the following line to /usr/local/etc/librenms.env:

XDG_CACHE_HOME=/var/db/librenms/font-cache

Now I see:

LibreNMS 26.6.0 with font cache specified
LibreNMS 26.6.0 with font cache specified

I’ll put something into the FreeBSD port before I release it.

What’s in there? Not much.

[12:57 besser dvl /var/db/librenms] % find font-cache
font-cache
font-cache/fontconfig
font-cache/fontconfig/4c599c202bc5c08e2d34565a40eac3b2-le64.cache-9
font-cache/fontconfig/CACHEDIR.TAG
Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Comment

Scroll to Top