Compare commits

..

No commits in common. "bd7c1ee7dbdefc7c4edff8f3c6932a6bcb532c2e" and "5d7da7e83390a660c2996b9297fe275620e4d1bd" have entirely different histories.

47 changed files with 77 additions and 48 deletions

View File

@ -54,12 +54,12 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/AdGuardHome ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
wget -qL https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz
msg_info "Stopping AdguardHome"
systemctl stop AdGuardHome
msg_ok "Stopped AdguardHome"
msg_info "Updating AdguardHome"
wget -qL https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz
tar -xvf AdGuardHome_linux_amd64.tar.gz &>/dev/null
mkdir -p adguard-backup
cp -r /opt/AdGuardHome/AdGuardHome.yaml /opt/AdGuardHome/data adguard-backup/
@ -74,7 +74,7 @@ msg_ok "Started AdguardHome"
msg_info "Cleaning Up"
rm -rf AdGuardHome_linux_amd64.tar.gz AdGuardHome adguard-backup
msg_ok "Cleaned"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -356,7 +356,7 @@ msg_info "Updating ${APP} LXC"
pacman-key --init
pacman-key --populate archlinux
pacman -Sy archlinux-keyring && pacman -Su
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -67,7 +67,7 @@ msg_ok "Updated ${APP} LXC"
msg_info "Starting ${APP} LXC"
systemctl start autobrr.service
msg_ok "Started ${APP} LXC"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -55,7 +55,8 @@ header_info
if [[ ! -f /etc/systemd/system/changedetection.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC"
pip3 install changedetection.io --upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -82,7 +82,7 @@ msg_ok "Cleaned"
msg_info "Starting Dashy"
systemctl start dashy
msg_ok "Started Dashy"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -67,7 +67,7 @@ msg_ok "Updated ${APP}"
msg_info "Starting ${APP}"
systemctl start emby-server
msg_ok "Started ${APP}"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -64,7 +64,7 @@ msg_ok "Updated ESPHome"
msg_info "Starting ESPHome"
systemctl start esphomeDashboard
msg_ok "Started ESPHome"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -59,7 +59,8 @@ wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | tee /etc/apt/sources.list.d/grafana.list
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP}"
msg_ok "Update Successfull"
exit
}

View File

@ -55,7 +55,8 @@ header_info
if [[ ! -f /etc/apache2/sites-available/grocy.conf ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP}"
bash /var/www/html/update.sh
msg_ok "Updated Successfully"
msg_ok "Updated ${APP}"
msg_ok "Update Successfull"
exit
}

View File

@ -136,7 +136,7 @@ msg_info "Starting ${APP}"
systemctl enable --now heimdall.service &>/dev/null
sleep 2
msg_ok "Started ${APP}"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -63,7 +63,7 @@ git pull --force &>/dev/null
pnpm install &>/dev/null
pnpm build &>/dev/null
systemctl start homepage
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -80,7 +80,7 @@ msg_ok "Cleaned"
msg_info "Starting ${APP}"
systemctl start homer
msg_ok "Started ${APP}"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -57,7 +57,8 @@ if [[ ! -f /etc/apt/sources.list.d/hyperion.list ]]; then msg_error "No ${APP} I
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get install -y hyperion &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -60,7 +60,8 @@ echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https
rm -f /etc/apt/trusted.gpg.d/influxdb.gpg
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP}"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -d /opt/iobroker ]]; then msg_error "No ${APP} Installation Found!"; exi
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -f /etc/k0s/k0s.yaml ]]; then msg_error "No ${APP} Installation Found!";
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -57,7 +57,8 @@ if [[ ! -f /etc/systemd/system/keycloak.service ]]; then msg_error "No ${APP} In
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -58,7 +58,8 @@ msg_info "Updating ${APP} LXC"
cd /opt/magicmirror
git pull &>/dev/null
npm install --only=prod --omit=dev &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -f /etc/apt/sources.list.d/mariadb.list ]]; then msg_error "No ${APP} In
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -d /opt/meshcentral ]]; then msg_error "No ${APP} Installation Found!";
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -55,7 +55,8 @@ header_info
if [[ ! -f /etc/systemd/system/motioneye.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC"
pip install motioneye --upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -f /etc/apt/sources.list.d/mosquitto-bullseye.list ]]; then msg_error "N
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ header_info
if [[ ! -f /etc/systemd/system/n8n.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC"
npm update -g n8n &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -67,7 +67,7 @@ rm Navidrome.tar.gz
msg_info "${GN} Starting ${APP}"
systemctl start navidrome.service
msg_ok "Started ${APP}"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -f /lib/systemd/system/nextcloud-domain.service ]]; then msg_error "No $
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -174,7 +174,7 @@ EOF
rm -rf ~/nginx-proxy-manager-* s6-overlay-noarch.tar.xz s6-overlay-x86_64.tar.xz
msg_ok "Cleaned"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -58,7 +58,8 @@ cd /opt/nocodb
npm uninstall -s --save nocodb &>/dev/null
npm install -s --save nocodb &>/dev/null
systemctl restart nocodb.service
msg_ok "Updated Successfully"
msg_ok "Updated ${APP}"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -d /opt/tplink ]]; then msg_error "No ${APP} Installation Found!"; exit;
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -57,7 +57,8 @@ if [[ ! -f /etc/apt/sources.list.d/openmediavault.list ]]; then msg_error "No ${
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -57,7 +57,8 @@ if [[ ! -f /etc/apt/sources.list.d/openhab.list ]]; then msg_error "No ${APP} In
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -d /etc/pihole ]]; then msg_error "No ${APP} Installation Found!"; exit;
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -67,7 +67,8 @@ if [ "$UPD" == "1" ]; then
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update os system Successfull"
msg_info "Updating All Containers\n"
CONTAINER_LIST="${1:-$(podman ps -q)}"

View File

@ -56,7 +56,8 @@ if [[ ! -f /etc/containers/registries.conf ]]; then msg_error "No ${APP} Install
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -f /etc/apt/sources.list.d/pgdg.list ]]; then msg_error "No ${APP} Insta
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -f /etc/systemd/system/prometheus.service ]]; then msg_error "No ${APP}
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -57,7 +57,7 @@ if [[ ! -d /etc/pacman.d ]]; then msg_error "No ${APP} Installation Found!"; exi
msg_info "Updating ${APP} LXC"
dnf -y update
dnf -y upgrade
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -57,7 +57,8 @@ if [[ ! -f /etc/systemd/system/scrypted.service ]]; then msg_error "No ${APP} In
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -57,7 +57,8 @@ if [[ ! -f /etc/apt/sources.list.d/syncthing.list ]]; then msg_error "No ${APP}
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -66,7 +66,7 @@ wget -q https://download.technitium.com/dns/DnsServerPortable.tar.gz
tar -zxf DnsServerPortable.tar.gz -C /etc/dns/ &>/dev/null
rm -rf DnsServerPortable.tar.gz
systemctl restart dns.service
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -76,7 +76,7 @@ msg_info "Starting ${APP}"
systemctl start trilium.service
sleep 1
msg_ok "Started ${APP}"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -56,7 +56,8 @@ if [[ ! -d /usr/lib/unifi ]]; then msg_error "No ${APP} Installation Found!"; ex
msg_info "Updating ${APP}"
wget -qL https://get.glennr.nl/unifi/update/unifi-update.sh
bash unifi-update.sh
msg_ok "Updated Successfully"
msg_ok "Updated ${APP}"
msg_ok "Update Successfull"
exit
}

View File

@ -74,7 +74,7 @@ msg_ok "Updated ${APP}"
msg_info "Starting ${APP}"
sudo systemctl start uptime-kuma &>/dev/null
msg_ok "Started ${APP}"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -55,7 +55,8 @@ header_info
if [[ ! -f /usr/local/bin/whoogle-search ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC"
pip3 install whoogle-search --upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
}

View File

@ -79,7 +79,7 @@ msg_ok "Restored Data"
msg_info "Starting ${APP}"
systemctl start wikijs
msg_ok "Started ${APP}"
msg_ok "Updated Successfully"
msg_ok "Update Successfull"
exit
}

View File

@ -61,7 +61,8 @@ if [ "$UPD" == "1" ]; then
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated Successfully"
msg_ok "Updated ${APP} LXC"
msg_ok "Update Successfull"
exit
fi
if [ "$UPD" == "2" ]; then

View File

@ -23,7 +23,6 @@ msg_info "Installing NextCloudPi (Patience)"
$STD bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh)
sed -i "s/3 => 'nextcloudpi.lan',/3 => '0.0.0.0',/g" /var/www/nextcloud/config/config.php
sed -i '{s|root:/usr/sbin/nologin|root:/bin/bash|g}' /etc/passwd
sed -i 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.1/fpm/php.ini /etc/php/8.1/cli/php.ini
service apache2 restart
msg_ok "Installed NextCloudPi"