mirror of
https://github.com/librenms/docker.git
synced 2026-01-23 02:14:48 +00:00
Remove Weathermap plugin while waiting for a fix upstream (#302)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
0af72265d4
commit
2516b309d9
2 changed files with 7 additions and 0 deletions
|
|
@ -103,6 +103,10 @@ if [ -L "/data/weathermap/weathermap" ]; then
|
|||
rm /data/weathermap/weathermap
|
||||
fi
|
||||
|
||||
# FIXME: bring back when weathermap plugin compatible with PHP 8
|
||||
# https://github.com/librenms/docker/issues/296
|
||||
rm -rf ${LIBRENMS_PATH}/html/plugins/Weathermap
|
||||
|
||||
touch /data/logs/librenms.log
|
||||
rm -rf ${LIBRENMS_PATH}/logs
|
||||
rm -f ${LIBRENMS_PATH}/config.d/*
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@ if [ "$SIDECAR_DISPATCHER" = "1" ] || [ "$SIDECAR_SYSLOGNG" = "1" ] || [ "$SIDEC
|
|||
exit 0
|
||||
fi
|
||||
|
||||
# FIXME: remove this line when weathermap plugin compatible with PHP 8
|
||||
LIBRENMS_WEATHERMAP=false
|
||||
|
||||
# Init
|
||||
rm -rf ${CRONTAB_PATH}
|
||||
mkdir -m 0644 -p ${CRONTAB_PATH}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue