Compare commits

...

3 Commits

Author SHA1 Message Date
tteckster 00f7e0b287
Update tautulli-install.sh
tweak
2024-06-27 22:41:46 -04:00
tteckster 2ec2831d5f
Update influxdb-install.sh
tweak
2024-06-27 20:32:13 -04:00
Sam Heinz eb9bff22c3
Fix Scrutiny service start failure (#3278) 2024-06-27 20:25:08 -04:00
3 changed files with 18 additions and 5 deletions

View File

@ -23,9 +23,8 @@ $STD apt-get install -y gnupg2
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up InfluxDB Repository" msg_info "Setting up InfluxDB Repository"
wget -q https://repos.influxdata.com/influxdata-archive_compat.key wget -qO- https://repos.influxdata.com/influxdata-archive_compat.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg
cat influxdata-archive_compat.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main" > /etc/apt/sources.list.d/influxdata.list
sh -c 'echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main" > /etc/apt/sources.list.d/influxdata.list'
msg_ok "Set up InfluxDB Repository" msg_ok "Set up InfluxDB Repository"
read -r -p "Which version of InfluxDB to install? (1 or 2) " prompt read -r -p "Which version of InfluxDB to install? (1 or 2) " prompt

View File

@ -21,9 +21,23 @@ $STD apt-get install -y \
curl \ curl \
smartmontools \ smartmontools \
make \ make \
mc mc \
lsb-base \
lsb-release \
gnupg2
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up InfluxDB Repository"
wget -qO- https://repos.influxdata.com/influxdata-archive_compat.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg
echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main" > /etc/apt/sources.list.d/influxdata.list
msg_ok "Set up InfluxDB Repository"
msg_info "Installing InfluxDB"
$STD apt-get update
$STD apt-get install -y influxdb2
systemctl enable -q --now influxdb
msg_ok "Installed InfluxDB"
msg_info "Installing Scrutiny WebApp" msg_info "Installing Scrutiny WebApp"
mkdir -p /opt/scrutiny/{config,web,bin} mkdir -p /opt/scrutiny/{config,web,bin}
RELEASE=$(curl -s https://api.github.com/repos/analogj/scrutiny/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') RELEASE=$(curl -s https://api.github.com/repos/analogj/scrutiny/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')

View File

@ -31,7 +31,7 @@ msg_ok "Updated Python3"
msg_info "Installing Tautulli" msg_info "Installing Tautulli"
cd /opt cd /opt
$STD git clone https://github.com/Tautulli/Tautulli.git $STD git clone https://github.com/Tautulli/Tautulli.git
python3 -m pip install -q -r /opt/Tautulli/requirements.txt $STD pip install -q -r /opt/Tautulli/requirements.txt
$STD pip install pyopenssl $STD pip install pyopenssl
msg_ok "Installed Tautulli" msg_ok "Installed Tautulli"