Skip to content

Commit

Permalink
Update 02-fix-perms.sh for rrd folder
Browse files Browse the repository at this point in the history
Since Librenms 23.10.0 each poller needs to create a folder in /rrd. See librenms/librenms#15457.
Without this permission the eventlog creates message "Failed to create rrd directory: /opt/librenms/rrd/x.x.x.x/" with every device poll.
  • Loading branch information
bonzo81 authored Apr 16, 2024
1 parent fd34218 commit 93eb528
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rootfs/etc/cont-init.d/02-fix-perms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 93eb528

Please sign in to comment.