Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/install_influxdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ echo 'deb [signed-by=/etc/apt/keyrings/influxdata-archive.gpg] https://repos.inf
DEBIAN_FRONTEND=noninteractive apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y influxdb

if [ -d /var/lib/influxdb ]; then
chown -R influxdb:influxdb /var/lib/influxdb
find /var/lib/influxdb -type d -exec chmod 755 {} ;
find /var/lib/influxdb -type f -exec chmod 644 {} ;
fi

INFLUXDB_CONFIG="/etc/influxdb/influxdb.conf"
# Disable InfluxDB logging to avoid cluttering the logs
Expand Down