1
0
Fork 0
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:
CrazyMax 2022-08-13 02:10:41 +02:00 committed by GitHub
parent 0af72265d4
commit 2516b309d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -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/*

View file

@ -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}