From 93eb528cbb6ff4dce04c3128311a332f8fe6c4cc Mon Sep 17 00:00:00 2001 From: Andy Norwood <2754635+bonzo81@users.noreply.github.com> Date: Tue, 16 Apr 2024 10:10:56 +0100 Subject: [PATCH] Update 02-fix-perms.sh for rrd folder Since Librenms 23.10.0 each poller needs to create a folder in /rrd. See https://github.com/librenms/librenms/pull/15457. Without this permission the eventlog creates message "Failed to create rrd directory: /opt/librenms/rrd/x.x.x.x/" with every device poll. --- rootfs/etc/cont-init.d/02-fix-perms.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootfs/etc/cont-init.d/02-fix-perms.sh b/rootfs/etc/cont-init.d/02-fix-perms.sh index 4f43ab61..07858f2f 100644 --- a/rootfs/etc/cont-init.d/02-fix-perms.sh +++ b/rootfs/etc/cont-init.d/02-fix-perms.sh @@ -10,7 +10,8 @@ chown librenms:librenms \ /data \ "${LIBRENMS_PATH}" \ "${LIBRENMS_PATH}/.env" \ - "${LIBRENMS_PATH}/cache" + "${LIBRENMS_PATH}/cache" \ + "${LIBRENMS_PATH}/rrd" chown -R librenms:librenms \ /home/librenms \ /tpls \