From d07affa3680993e47d77bc865e8d400f3e9b6c86 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 9 Oct 2025 19:43:23 +0200 Subject: [PATCH] bump various scripts to deb 13 (#8227) --- ct/tandoor.sh | 16 ++--- ct/tasmoadmin.sh | 26 ++++---- ct/tasmocompiler.sh | 77 +++++++++++----------- ct/tautulli.sh | 27 ++++---- ct/tdarr.sh | 14 ++-- ct/teamspeak-server.sh | 9 ++- ct/technitiumdns.sh | 8 +-- ct/teddycloud.sh | 13 ++-- ct/telegraf.sh | 20 +++--- ct/the-lounge.sh | 2 +- ct/threadfin.sh | 12 ++-- ct/tianji.sh | 2 +- ct/traccar.sh | 16 +++-- ct/traefik.sh | 12 ++-- ct/transmission.sh | 26 ++++---- ct/trilium.sh | 16 +++-- ct/tududi.sh | 8 +-- ct/typesense.sh | 8 +-- ct/uhf.sh | 15 +++-- ct/umami.sh | 16 ++--- ct/umlautadaptarr.sh | 2 +- ct/unbound.sh | 26 ++++---- ct/unifi.sh | 24 +++---- ct/unmanic.sh | 6 +- ct/uptimekuma.sh | 16 ++--- ct/urbackupserver.sh | 30 ++++----- frontend/public/json/tandoor.json | 2 +- frontend/public/json/tasmoadmin.json | 66 +++++++++---------- frontend/public/json/tasmocompiler.json | 2 +- frontend/public/json/tautulli.json | 2 +- frontend/public/json/tdarr.json | 2 +- frontend/public/json/teamspeak-server.json | 2 +- frontend/public/json/technitiumdns.json | 2 +- frontend/public/json/teddycloud.json | 2 +- frontend/public/json/telegraf.json | 2 +- frontend/public/json/threadfin.json | 2 +- frontend/public/json/tianji.json | 2 +- frontend/public/json/traccar.json | 2 +- frontend/public/json/traefik.json | 2 +- frontend/public/json/transmission.json | 2 +- frontend/public/json/trilium.json | 2 +- frontend/public/json/tududi.json | 2 +- frontend/public/json/typesense.json | 2 +- frontend/public/json/uhf.json | 2 +- frontend/public/json/umami.json | 2 +- frontend/public/json/umlautadaptarr.json | 2 +- frontend/public/json/unbound.json | 2 +- frontend/public/json/unifi.json | 2 +- frontend/public/json/unmanic.json | 2 +- frontend/public/json/uptimekuma.json | 2 +- frontend/public/json/urbackupserver.json | 74 ++++++++++----------- install/agentdvr-install.sh | 9 +-- install/tandoor-install.sh | 7 +- install/tasmoadmin-install.sh | 7 +- install/tasmocompiler-install.sh | 12 ++-- install/tautulli-install.sh | 16 ++--- install/tdarr-install.sh | 29 ++++++-- install/teamspeak-server-install.sh | 5 +- install/technitiumdns-install.sh | 11 ++-- install/teddycloud-install.sh | 7 +- install/telegraf-install.sh | 28 ++++---- install/the-lounge-install.sh | 5 +- install/threadfin-install.sh | 7 +- install/tianji-install.sh | 11 ++-- install/traccar-install.sh | 5 +- install/traefik-install.sh | 7 +- install/transmission-install.sh | 7 +- install/trilium-install.sh | 5 +- install/tududi-install.sh | 7 +- install/typesense-install.sh | 5 +- install/uhf-install.sh | 5 +- install/umami-install.sh | 7 +- install/umlautadaptarr-install.sh | 19 ++++-- install/unbound-install.sh | 7 +- install/unifi-install.sh | 65 ++++++++++++------ install/unmanic-install.sh | 36 ++++++---- install/uptimekuma-install.sh | 5 +- install/urbackupserver-install.sh | 22 ++++--- 78 files changed, 544 insertions(+), 445 deletions(-) diff --git a/ct/tandoor.sh b/ct/tandoor.sh index 6d6132d9a..5f9319ea3 100644 --- a/ct/tandoor.sh +++ b/ct/tandoor.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-4}" var_ram="${var_ram:-4096}" var_disk="${var_disk:-10}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -34,9 +34,9 @@ function update_script() { fi if check_for_gh_release "tandoor" "TandoorRecipes/recipes"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop tandoor - msg_ok "Stopped $APP" + msg_ok "Stopped Service" msg_info "Creating Backup" mv /opt/tandoor /opt/tandoor.bak @@ -46,7 +46,7 @@ function update_script() { PYTHON_VERSION="3.13" setup_uv fetch_and_deploy_gh_release "tandoor" "TandoorRecipes/recipes" "tarball" "latest" "/opt/tandoor" - msg_info "Updating $APP" + msg_info "Updating Tandoor" cp -r /opt/tandoor.bak/{config,api,mediafiles,staticfiles} /opt/tandoor/ mv /opt/tandoor.bak/.env /opt/tandoor/.env cd /opt/tandoor @@ -64,17 +64,17 @@ EOF cd /opt/tandoor $STD /opt/tandoor/.venv/bin/python manage.py migrate $STD /opt/tandoor/.venv/bin/python manage.py collectstatic --no-input - msg_ok "Updated $APP" + msg_ok "Updated Trandoor" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start tandoor systemctl reload nginx - msg_ok "Started $APP" + msg_ok "Started Service" msg_info "Cleaning Up" rm -rf /opt/tandoor.bak msg_ok "Cleanup Completed" - msg_ok "Update Successful" + msg_ok "Update Successfully!" fi exit } diff --git a/ct/tasmoadmin.sh b/ct/tasmoadmin.sh index b93afedaf..e0c975560 100644 --- a/ct/tasmoadmin.sh +++ b/ct/tasmoadmin.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -20,18 +20,18 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating TasmoAdmin" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated TasmoAdmin" + exit } start @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9999${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9999${CL}" diff --git a/ct/tasmocompiler.sh b/ct/tasmocompiler.sh index a791c3098..64fc87bad 100644 --- a/ct/tasmocompiler.sh +++ b/ct/tasmocompiler.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-10}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -20,43 +20,46 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/tasmocompiler ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - RELEASE=$(curl -fsSL https://api.github.com/repos/benzino77/tasmocompiler/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') - if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then - msg_info "Stopping $APP" - systemctl stop tasmocompiler - msg_ok "Stopped $APP" - msg_info "Updating $APP to v${RELEASE}" - cd /opt - rm -rf /opt/tasmocompiler - RELEASE=$(curl -fsSL https://api.github.com/repos/benzino77/tasmocompiler/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') - curl -fsSL "https://github.com/benzino77/tasmocompiler/archive/refs/tags/v${RELEASE}.tar.gz" -o $(basename "https://github.com/benzino77/tasmocompiler/archive/refs/tags/v${RELEASE}.tar.gz") - tar xzf v${RELEASE}.tar.gz - mv tasmocompiler-${RELEASE}/ /opt/tasmocompiler/ - cd /opt/tasmocompiler - $STD yarn install - export NODE_OPTIONS=--openssl-legacy-provider - $STD npm i - $STD yarn build - msg_ok "Updated $APP to v${RELEASE}" - msg_info "Starting $APP" - systemctl start tasmocompiler - msg_ok "Started $APP" - echo "${RELEASE}" >/opt/${APP}_version.txt - msg_info "Cleaning up" - rm -r "/opt/v${RELEASE}.tar.gz" - msg_ok "Cleaned" - msg_ok "Update Successful" - else - msg_ok "No update required. ${APP} is already at v${RELEASE}" - fi + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/tasmocompiler ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + RELEASE=$(curl -fsSL https://api.github.com/repos/benzino77/tasmocompiler/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') + if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then + msg_info "Stopping Service" + systemctl stop tasmocompiler + msg_ok "Stopped Service" + + msg_info "Updating TasmoCompiler" + cd /opt + rm -rf /opt/tasmocompiler + RELEASE=$(curl -fsSL https://api.github.com/repos/benzino77/tasmocompiler/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') + curl -fsSL "https://github.com/benzino77/tasmocompiler/archive/refs/tags/v${RELEASE}.tar.gz" -o $(basename "https://github.com/benzino77/tasmocompiler/archive/refs/tags/v${RELEASE}.tar.gz") + tar xzf v${RELEASE}.tar.gz + mv tasmocompiler-${RELEASE}/ /opt/tasmocompiler/ + cd /opt/tasmocompiler + $STD yarn install + export NODE_OPTIONS=--openssl-legacy-provider + $STD npm i + $STD yarn build + msg_ok "Updated TasmoCompiler" + + msg_info "Starting Service" + systemctl start tasmocompiler + msg_ok "Started Service" + + echo "${RELEASE}" >/opt/${APP}_version.txt + msg_info "Cleaning up" + rm -r "/opt/v${RELEASE}.tar.gz" + msg_ok "Cleaned" + msg_ok "Update Successfully!" + else + msg_ok "No update required. ${APP} is already at v${RELEASE}" + fi + exit } start diff --git a/ct/tautulli.sh b/ct/tautulli.sh index 263dc6193..eaca40bdb 100644 --- a/ct/tautulli.sh +++ b/ct/tautulli.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/Tautulli/ ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/Tautulli/ ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating Tautulli" + $STD apt update + $STD apt upgrade -y + msg_ok "Updated Tautulli" + msg_ok "Updated Successfully!" + exit } start @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8181${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8181${CL}" diff --git a/ct/tdarr.sh b/ct/tdarr.sh index 61f7cb042..aee753023 100644 --- a/ct/tdarr.sh +++ b/ct/tdarr.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -27,9 +27,9 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade + msg_info "Updating Tdarr" + $STD apt update + $STD apt upgrade -y rm -rf /opt/tdarr/Tdarr_Updater cd /opt/tdarr RELEASE=$(curl -fsSL https://f000.backblazeb2.com/file/tdarrs/versions.json | grep -oP '(?<="Tdarr_Updater": ")[^"]+' | grep linux_x64 | head -n 1) @@ -37,12 +37,12 @@ function update_script() { $STD unzip Tdarr_Updater.zip chmod +x Tdarr_Updater $STD ./Tdarr_Updater - msg_ok "Updated $APP LXC" + msg_ok "Updated Tdarr" msg_info "Cleaning up" rm -rf /opt/tdarr/Tdarr_Updater.zip - msg_ok "Cleaned" - msg_ok "$APP has been successfully updated!" + msg_ok "Cleaned up" + msg_ok "Updated Successfully!" exit } diff --git a/ct/teamspeak-server.sh b/ct/teamspeak-server.sh index d71aa8680..16238d85a 100644 --- a/ct/teamspeak-server.sh +++ b/ct/teamspeak-server.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -34,19 +34,18 @@ function update_script() { systemctl stop teamspeak-server msg_ok "Stopped Service" - msg_info "Updating ${APP}" + msg_info "Updating Teamspeak Server" curl -fsSL "https://files.teamspeak-services.com/releases/server/${RELEASE}/teamspeak3-server_linux_amd64-${RELEASE}.tar.bz2" -o ts3server.tar.bz2 tar -xf ./ts3server.tar.bz2 cp -ru teamspeak3-server_linux_amd64/* /opt/teamspeak-server/ rm -f ~/ts3server.tar.bz* echo "${RELEASE}" >~/.teamspeak-server - msg_ok "Updated $APP" + msg_ok "Updated Teamspeak Server" msg_info "Starting Service" systemctl start teamspeak-server msg_ok "Started Service" - - msg_ok "Updated Successfully" + msg_ok "Updated Successfully!" else msg_ok "Already up to date" fi diff --git a/ct/technitiumdns.sh b/ct/technitiumdns.sh index 9cdceffec..1a0eeb89b 100644 --- a/ct/technitiumdns.sh +++ b/ct/technitiumdns.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -30,16 +30,16 @@ function update_script() { RELEASE=$(curl -fsSL https://technitium.com/dns/ | grep -oP 'Version \K[\d.]+') if [[ ! -f ~/.technitium || "${RELEASE}" != "$(cat ~/.technitium)" ]]; then - msg_info "Updating ${APP}" + msg_info "Updating Technitium DNS" curl -fsSL "https://download.technitium.com/dns/DnsServerPortable.tar.gz" -o /opt/DnsServerPortable.tar.gz $STD tar zxvf /opt/DnsServerPortable.tar.gz -C /opt/technitium/dns/ - msg_ok "Updated Successfully" + msg_ok "Updated Technitium DNS" msg_info "Cleaning up" rm -f /opt/DnsServerPortable.tar.gz msg_ok "Cleaned up" else - msg_ok "No update required. ${APP} is already at v${RELEASE}." + msg_ok "No update required. Technitium DNS is already at v${RELEASE}." fi exit } diff --git a/ct/teddycloud.sh b/ct/teddycloud.sh index 231f69dde..140ef7840 100644 --- a/ct/teddycloud.sh +++ b/ct/teddycloud.sh @@ -11,7 +11,8 @@ var_cpu="${var_cpu:-2}" var_disk="${var_disk:-8}" var_ram="${var_ram:-1024}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" +var_unprivileged="${var_unprivileged:-1}" header_info "${APP}" variables @@ -28,23 +29,23 @@ function update_script() { fi if check_for_gh_release "teddycloud" "toniebox-reverse-engineering/teddycloud"; then - msg_info "Stopping ${APP}" + msg_info "Stopping Service" systemctl stop teddycloud - msg_ok "Stopped ${APP}" + msg_ok "Stopped Service" msg_info "Creating backup" mv /opt/teddycloud /opt/teddycloud_bak msg_ok "Backup created" - fetch_and_deploy_gh_release "teddycloud" "toniebox-reverse-engineering/teddycloud" "prebuild" "latest" "/opt/teddycloud" "teddycloud.amd64.release*.zip" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "teddycloud" "toniebox-reverse-engineering/teddycloud" "prebuild" "latest" "/opt/teddycloud" "teddycloud.amd64.release*.zip" msg_info "Restoring data" cp -R /opt/teddycloud_bak/certs /opt/teddycloud_bak/config /opt/teddycloud_bak/data /opt/teddycloud msg_ok "Data restored" - msg_info "Starting ${APP}" + msg_info "Starting Service" systemctl start teddycloud - msg_ok "Started ${APP}" + msg_ok "Started Service" msg_info "Cleaning up" rm -rf /opt/teddycloud_bak diff --git a/ct/telegraf.sh b/ct/telegraf.sh index 53b564e9e..796f03ef5 100644 --- a/ct/telegraf.sh +++ b/ct/telegraf.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -28,19 +28,19 @@ function update_script() { exit fi - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop telegraf - msg_ok "Stopped $APP" + msg_ok "Stopped Service" - msg_info "Updating $APP" - $STD apt-get update - $STD apt-get upgrade telegraf -y - msg_ok "Updated $APP" + msg_info "Updating Telegraf" + $STD apt update + $STD apt upgrade telegraf -y + msg_ok "Updated Telegraf" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start telegraf - msg_ok "Started $APP" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated Successfully!" exit } diff --git a/ct/the-lounge.sh b/ct/the-lounge.sh index 23f144f3e..d9e237b4f 100644 --- a/ct/the-lounge.sh +++ b/ct/the-lounge.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/threadfin.sh b/ct/threadfin.sh index 410b01d90..4f8f8fbb1 100644 --- a/ct/threadfin.sh +++ b/ct/threadfin.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -29,16 +29,16 @@ function update_script() { fi if check_for_gh_release "threadfin" "threadfin/threadfin"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop threadfin - msg_ok "Stopped $APP" + msg_ok "Stopped Service" fetch_and_deploy_gh_release "threadfin" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start threadfin - msg_ok "Started $APP" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated Successfully!" fi exit } diff --git a/ct/tianji.sh b/ct/tianji.sh index fff256ac0..a05a46ccc 100644 --- a/ct/tianji.sh +++ b/ct/tianji.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-4}" var_ram="${var_ram:-4096}" var_disk="${var_disk:-12}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/traccar.sh b/ct/traccar.sh index f007519e5..970f0e0b2 100644 --- a/ct/traccar.sh +++ b/ct/traccar.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -29,9 +29,9 @@ function update_script() { fi if check_for_gh_release "traccar" "traccar/traccar"; then - msg_info "Stopping service" + msg_info "Stopping Service" systemctl stop traccar - msg_ok "Service stopped" + msg_ok "Stopped Service" msg_info "Creating backup" mv /opt/traccar/conf/traccar.xml /opt @@ -39,8 +39,7 @@ function update_script() { [[ -d /opt/traccar/media ]] && mv /opt/traccar/media /opt msg_ok "Backup created" - rm -rf /opt/traccar - fetch_and_deploy_gh_release "traccar" "traccar/traccar" "prebuild" "latest" "/opt/traccar" "traccar-linux-64*.zip" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "traccar" "traccar/traccar" "prebuild" "latest" "/opt/traccar" "traccar-linux-64*.zip" msg_info "Perform Update" cd /opt/traccar @@ -53,12 +52,15 @@ function update_script() { [[ -d /opt/media ]] && mv /opt/media /opt/traccar msg_ok "Data restored" - msg_info "Starting ${APP}" + msg_info "Starting Service" systemctl start traccar - msg_ok "Started ${APP}" + msg_ok "Started Service" msg_info "Cleaning up" [ -f README.txt ] || [ -f traccar.run ] && rm -f README.txt traccar.run + $STD apt -y autoremove + $STD apt -y autoclean + $STD apt -y clean msg_ok "Cleaned up" msg_ok "Updated Successfully" fi diff --git a/ct/traefik.sh b/ct/traefik.sh index f3d441e8d..d897856d2 100644 --- a/ct/traefik.sh +++ b/ct/traefik.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -29,16 +29,16 @@ function update_script() { fi if check_for_gh_release "traefik" "traefik/traefik"; then - msg_info "Stopping service" + msg_info "Stopping Service" systemctl stop traefik - msg_ok "Service stopped" + msg_ok "Stopped Service" fetch_and_deploy_gh_release "traefik" "traefik/traefik" "prebuild" "latest" "/usr/bin" "traefik_v*_linux_amd64.tar.gz" - msg_info "Starting ${APP}" + msg_info "Starting Service" systemctl start traefik - msg_ok "Started ${APP}" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated Successfully!" fi exit } diff --git a/ct/transmission.sh b/ct/transmission.sh index 627942be8..869b25a75 100644 --- a/ct/transmission.sh +++ b/ct/transmission.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -20,18 +20,18 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /etc/transmission-daemon/settings.json ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated ${APP} LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -f /etc/transmission-daemon/settings.json ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating Transmission" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated Transmission" + exit } start @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9091/transmission${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9091/transmission${CL}" diff --git a/ct/trilium.sh b/ct/trilium.sh index 4957e9732..4289ab29d 100644 --- a/ct/trilium.sh +++ b/ct/trilium.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -39,10 +39,10 @@ function update_script() { exit 1 fi - msg_info "Stopping ${APP}" + msg_info "Stopping Service" systemctl stop trilium sleep 1 - msg_ok "Stopped ${APP}" + msg_ok "Stopped Service" msg_info "Backing up Database" mkdir -p /opt/trilium_backup @@ -59,13 +59,15 @@ function update_script() { msg_info "Cleaning up" rm -rf /opt/trilium_backup + $STD apt -y autoremove + $STD apt -y autoclean + $STD apt -y clean msg_ok "Cleaned" - msg_info "Starting ${APP}" + msg_info "Starting Service" systemctl start trilium - sleep 1 - msg_ok "Started ${APP}" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated Successfully!" fi exit } diff --git a/ct/tududi.sh b/ct/tududi.sh index ea577379c..8ddcd68b3 100644 --- a/ct/tududi.sh +++ b/ct/tududi.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -44,7 +44,7 @@ function update_script() { fetch_and_deploy_gh_release "tududi" "chrisvel/tududi" "tarball" "latest" "/opt/tududi" - msg_info "Updating ${APP}" + msg_info "Updating Tududi" cd /opt/tududi $STD npm install export NODE_ENV=production @@ -57,12 +57,12 @@ function update_script() { -e 's|npm run start|bash /opt/tududi/backend/cmd/start.sh|' \ /etc/systemd/system/tududi.service systemctl daemon-reload - msg_ok "Updated $APP" + msg_ok "Updated Tududi" msg_info "Starting Service" systemctl start tududi msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated Successfully!" fi exit } diff --git a/ct/typesense.sh b/ct/typesense.sh index 0d5aecc4c..6cd88d220 100644 --- a/ct/typesense.sh +++ b/ct/typesense.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -28,9 +28,9 @@ function update_script() { exit fi if check_for_gh_release "typesense" "typesense/typesense"; then - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade + msg_info "Updating Typesense" + $STD apt update + $STD apt -y upgrade msg_ok "Updated Successfully" fi exit diff --git a/ct/uhf.sh b/ct/uhf.sh index f3287a549..2528320e5 100644 --- a/ct/uhf.sh +++ b/ct/uhf.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -32,10 +32,10 @@ function update_script() { systemctl stop uhf-server msg_ok "Stopped Service" - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated ${APP} LXC" + msg_info "Updating LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated LXC" fetch_and_deploy_gh_release "comskip" "swapplications/comskip" "prebuild" "latest" "/opt/comskip" "comskip-x64-*.zip" fetch_and_deploy_gh_release "uhf-server" "swapplications/uhf-server-dist" "prebuild" "latest" "/opt/uhf-server" "UHF.Server-linux-x64-*.zip" @@ -45,8 +45,9 @@ function update_script() { msg_ok "Started Service" msg_info "Cleaning up" - $STD apt-get -y autoremove - $STD apt-get -y autoclean + $STD apt -y autoremove + $STD apt -y autoclean + $STD apt -y clean msg_ok "Cleaned" msg_ok "Updated Successfully" fi diff --git a/ct/umami.sh b/ct/umami.sh index 8610ead52..f90bdcc25 100644 --- a/ct/umami.sh +++ b/ct/umami.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-12}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -29,22 +29,22 @@ function update_script() { fi if check_for_gh_release "umami" "umami-software/umami"; then - msg_info "Stopping ${APP}" + msg_info "Stopping Service" systemctl stop umami - msg_ok "Stopped $APP" + msg_ok "Stopped Service" fetch_and_deploy_gh_release "umami" "umami-software/umami" "tarball" - msg_info "Updating ${APP}" + msg_info "Updating Umami" cd /opt/umami $STD yarn install $STD yarn run build - msg_ok "Updated ${APP}" + msg_ok "Updated Umami" - msg_info "Starting ${APP}" + msg_info "Starting Service" systemctl start umami - msg_ok "Started ${APP}" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated Successfully!" fi exit } diff --git a/ct/umlautadaptarr.sh b/ct/umlautadaptarr.sh index e30541844..41b0908c1 100644 --- a/ct/umlautadaptarr.sh +++ b/ct/umlautadaptarr.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/unbound.sh b/ct/unbound.sh index ddabf2e79..b38c74427 100644 --- a/ct/unbound.sh +++ b/ct/unbound.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -20,18 +20,18 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /etc/unbound ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -d /etc/unbound ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating Unbound" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated Unbound" + exit } start @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5335${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5335${CL}" diff --git a/ct/unifi.sh b/ct/unifi.sh index 3c7239c07..1cc948e49 100644 --- a/ct/unifi.sh +++ b/ct/unifi.sh @@ -20,18 +20,18 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /usr/lib/unifi ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP}" - $STD apt-get update --allow-releaseinfo-change - $STD apt-get install -y unifi - msg_ok "Updated Successfully" + header_info + check_container_storage + check_container_resources + if [[ ! -d /usr/lib/unifi ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating ${APP}" + $STD apt update --allow-releaseinfo-change + $STD apt install -y unifi + msg_ok "Updated Successfully" + exit } start @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8443${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8443${CL}" diff --git a/ct/unmanic.sh b/ct/unmanic.sh index b0329cb74..3b453db58 100644 --- a/ct/unmanic.sh +++ b/ct/unmanic.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-0}" header_info "$APP" @@ -29,7 +29,7 @@ function update_script() { fi msg_info "Updating $APP LXC" $STD pip3 install -U unmanic - $STD apt-get -y upgrade + $STD apt -y upgrade msg_ok "Updated $APP LXC" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8888${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8888${CL}" diff --git a/ct/uptimekuma.sh b/ct/uptimekuma.sh index 2b7b64466..db3cbd19a 100644 --- a/ct/uptimekuma.sh +++ b/ct/uptimekuma.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -31,22 +31,22 @@ function update_script() { NODE_VERSION="22" setup_nodejs if check_for_gh_release "uptime-kuma" "louislam/uptime-kuma"; then - msg_info "Stopping ${APP}" + msg_info "Stopping Service" systemctl stop uptime-kuma - msg_ok "Stopped ${APP}" + msg_ok "Stopped Service" fetch_and_deploy_gh_release "uptime-kuma" "louislam/uptime-kuma" "tarball" - msg_info "Updating ${APP}" + msg_info "Updating Uptime Kuma" cd /opt/uptime-kuma $STD npm install --omit dev $STD npm run download-dist - msg_ok "Updated ${APP}" + msg_ok "Updated Uptime Kuma" - msg_info "Starting ${APP}" + msg_info "Starting Service" systemctl start uptime-kuma - msg_ok "Started ${APP}" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated Successfully!" fi exit } diff --git a/ct/urbackupserver.sh b/ct/urbackupserver.sh index 8ff57885c..0ffe716c3 100644 --- a/ct/urbackupserver.sh +++ b/ct/urbackupserver.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-16}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-0}" header_info "$APP" @@ -20,28 +20,28 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var/urbackup ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated Successfully" + header_info + check_container_storage + check_container_resources + if [[ ! -d /var/urbackup ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating ${APP} LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated Successfully" + exit } start build_container description -pct set $CTID -features fuse=1,nesting=1 -pct reboot $CTID +pct set "$CTID" -features fuse=1,nesting=1 +pct reboot "$CTID" msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following IP:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}${IP}:55414${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}${IP}:55414${CL}" diff --git a/frontend/public/json/tandoor.json b/frontend/public/json/tandoor.json index 386da2a6a..36be268f2 100644 --- a/frontend/public/json/tandoor.json +++ b/frontend/public/json/tandoor.json @@ -23,7 +23,7 @@ "ram": 4096, "hdd": 10, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/tasmoadmin.json b/frontend/public/json/tasmoadmin.json index cc7513d8f..06eb1895d 100644 --- a/frontend/public/json/tasmoadmin.json +++ b/frontend/public/json/tasmoadmin.json @@ -1,35 +1,35 @@ { - "name": "TasmoAdmin", - "slug": "tasmoadmin", - "categories": [ - 16 - ], - "date_created": "2024-05-02", - "type": "ct", - "updateable": false, - "privileged": false, - "interface_port": 9999, - "documentation": null, - "website": "https://github.com/TasmoAdmin/TasmoAdmin#readme", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/tasmoadmin.webp", - "config_path": "", - "description": "TasmoAdmin is an administrative platform for devices flashed with Tasmota.", - "install_methods": [ - { - "type": "default", - "script": "ct/tasmoadmin.sh", - "resources": { - "cpu": 1, - "ram": 512, - "hdd": 2, - "os": "debian", - "version": "12" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [] + "name": "TasmoAdmin", + "slug": "tasmoadmin", + "categories": [ + 16 + ], + "date_created": "2024-05-02", + "type": "ct", + "updateable": false, + "privileged": false, + "interface_port": 9999, + "documentation": null, + "website": "https://github.com/TasmoAdmin/TasmoAdmin#readme", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/tasmoadmin.webp", + "config_path": "", + "description": "TasmoAdmin is an administrative platform for devices flashed with Tasmota.", + "install_methods": [ + { + "type": "default", + "script": "ct/tasmoadmin.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 2, + "os": "debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [] } diff --git a/frontend/public/json/tasmocompiler.json b/frontend/public/json/tasmocompiler.json index ccd906a00..17eed7366 100644 --- a/frontend/public/json/tasmocompiler.json +++ b/frontend/public/json/tasmocompiler.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 10, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/tautulli.json b/frontend/public/json/tautulli.json index b409b0f97..8648662cb 100644 --- a/frontend/public/json/tautulli.json +++ b/frontend/public/json/tautulli.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/tdarr.json b/frontend/public/json/tdarr.json index 88d8120bf..9aaa67d7e 100644 --- a/frontend/public/json/tdarr.json +++ b/frontend/public/json/tdarr.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/teamspeak-server.json b/frontend/public/json/teamspeak-server.json index 8944f2ff3..8395afa1f 100644 --- a/frontend/public/json/teamspeak-server.json +++ b/frontend/public/json/teamspeak-server.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } }, { diff --git a/frontend/public/json/technitiumdns.json b/frontend/public/json/technitiumdns.json index 57376feef..479a84801 100644 --- a/frontend/public/json/technitiumdns.json +++ b/frontend/public/json/technitiumdns.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/teddycloud.json b/frontend/public/json/teddycloud.json index ef8608b94..050666073 100644 --- a/frontend/public/json/teddycloud.json +++ b/frontend/public/json/teddycloud.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 8, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/telegraf.json b/frontend/public/json/telegraf.json index 64582ef12..011ecbf4f 100644 --- a/frontend/public/json/telegraf.json +++ b/frontend/public/json/telegraf.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "Debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/threadfin.json b/frontend/public/json/threadfin.json index 0f1eab455..edeffe4d0 100644 --- a/frontend/public/json/threadfin.json +++ b/frontend/public/json/threadfin.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/tianji.json b/frontend/public/json/tianji.json index b4a1504d6..1fe7ddda0 100644 --- a/frontend/public/json/tianji.json +++ b/frontend/public/json/tianji.json @@ -23,7 +23,7 @@ "ram": 4096, "hdd": 12, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/traccar.json b/frontend/public/json/traccar.json index 7db5617bd..fdb32d07f 100644 --- a/frontend/public/json/traccar.json +++ b/frontend/public/json/traccar.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/traefik.json b/frontend/public/json/traefik.json index b69d7df7d..f5ee88907 100644 --- a/frontend/public/json/traefik.json +++ b/frontend/public/json/traefik.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } }, { diff --git a/frontend/public/json/transmission.json b/frontend/public/json/transmission.json index 726813ac6..7b250f3be 100644 --- a/frontend/public/json/transmission.json +++ b/frontend/public/json/transmission.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "debian", - "version": "12" + "version": "13" } }, { diff --git a/frontend/public/json/trilium.json b/frontend/public/json/trilium.json index 2b42f1ae3..bda58d7de 100644 --- a/frontend/public/json/trilium.json +++ b/frontend/public/json/trilium.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/tududi.json b/frontend/public/json/tududi.json index 96ba075a8..bb48dea57 100644 --- a/frontend/public/json/tududi.json +++ b/frontend/public/json/tududi.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 4, "os": "Debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/typesense.json b/frontend/public/json/typesense.json index 1eddb84ef..fc6bcd8f1 100644 --- a/frontend/public/json/typesense.json +++ b/frontend/public/json/typesense.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/uhf.json b/frontend/public/json/uhf.json index 38f0aee8a..c2e17ddd5 100644 --- a/frontend/public/json/uhf.json +++ b/frontend/public/json/uhf.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "Debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/umami.json b/frontend/public/json/umami.json index a96cba053..a46f196dc 100644 --- a/frontend/public/json/umami.json +++ b/frontend/public/json/umami.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 12, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/umlautadaptarr.json b/frontend/public/json/umlautadaptarr.json index e59a4a0d5..d827c48ed 100644 --- a/frontend/public/json/umlautadaptarr.json +++ b/frontend/public/json/umlautadaptarr.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/unbound.json b/frontend/public/json/unbound.json index 293fe5464..8f4d22a92 100644 --- a/frontend/public/json/unbound.json +++ b/frontend/public/json/unbound.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/unifi.json b/frontend/public/json/unifi.json index ab1989fc2..ca834a6eb 100644 --- a/frontend/public/json/unifi.json +++ b/frontend/public/json/unifi.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/unmanic.json b/frontend/public/json/unmanic.json index 33fde24ac..98efe3aa5 100644 --- a/frontend/public/json/unmanic.json +++ b/frontend/public/json/unmanic.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/uptimekuma.json b/frontend/public/json/uptimekuma.json index 19d8c4a41..2760604fe 100644 --- a/frontend/public/json/uptimekuma.json +++ b/frontend/public/json/uptimekuma.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/urbackupserver.json b/frontend/public/json/urbackupserver.json index 6724195de..37341c969 100644 --- a/frontend/public/json/urbackupserver.json +++ b/frontend/public/json/urbackupserver.json @@ -1,40 +1,40 @@ { - "name": "UrBackup Server", - "slug": "urbackupserver", - "categories": [ - 7 - ], - "date_created": "2025-01-18", - "type": "ct", - "updateable": true, - "privileged": true, - "interface_port": 55414, - "documentation": "https://www.urbackup.org/documentation.html", - "website": "https://www.urbackup.org/", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/urbackup.webp", - "config_path": "", - "description": "URBackup is an open-source backup software designed for creating reliable and efficient backups of both files and system images. It supports client-server architecture, allowing you to back up multiple computers to a central server. It offers features such as incremental backups, real-time file backup, and scheduling, ensuring minimal data loss and quick recovery", - "install_methods": [ - { - "type": "default", - "script": "ct/urbackupserver.sh", - "resources": { - "cpu": 1, - "ram": 1024, - "hdd": 16, - "os": "debian", - "version": "12" - } + "name": "UrBackup Server", + "slug": "urbackupserver", + "categories": [ + 7 + ], + "date_created": "2025-01-18", + "type": "ct", + "updateable": true, + "privileged": true, + "interface_port": 55414, + "documentation": "https://www.urbackup.org/documentation.html", + "website": "https://www.urbackup.org/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/urbackup.webp", + "config_path": "", + "description": "URBackup is an open-source backup software designed for creating reliable and efficient backups of both files and system images. It supports client-server architecture, allowing you to back up multiple computers to a central server. It offers features such as incremental backups, real-time file backup, and scheduling, ensuring minimal data loss and quick recovery", + "install_methods": [ + { + "type": "default", + "script": "ct/urbackupserver.sh", + "resources": { + "cpu": 1, + "ram": 1024, + "hdd": 16, + "os": "debian", + "version": "13" } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "You probably want to drastically extend the storage space to fit whatever clients you want to back up", - "type": "info" - } - ] + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [ + { + "text": "You probably want to drastically extend the storage space to fit whatever clients you want to back up", + "type": "info" + } + ] } diff --git a/install/agentdvr-install.sh b/install/agentdvr-install.sh index 4468b5e36..23251a134 100644 --- a/install/agentdvr-install.sh +++ b/install/agentdvr-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ apt-transport-https \ alsa-utils \ libxext-dev \ @@ -29,7 +29,7 @@ cd /opt/agentdvr/agent curl -fsSL "$RELEASE" -o $(basename "$RELEASE") $STD unzip Agent_Linux64*.zip chmod +x ./Agent -echo $RELEASE > ~/.agentdvr +echo $RELEASE >~/.agentdvr msg_ok "Installed AgentDVR" msg_info "Creating Service" @@ -56,6 +56,7 @@ customize msg_info "Cleaning up" rm -rf Agent_Linux64*.zip -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/tandoor-install.sh b/install/tandoor-install.sh index 2e606b5c6..97afb05b1 100644 --- a/install/tandoor-install.sh +++ b/install/tandoor-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies (Patience)" -$STD apt-get install -y --no-install-recommends \ +$STD apt install -y \ build-essential \ python3 \ libpq-dev \ @@ -140,6 +140,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/tasmoadmin-install.sh b/install/tasmoadmin-install.sh index 4473a2576..731715120 100644 --- a/install/tasmoadmin-install.sh +++ b/install/tasmoadmin-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y git +$STD apt install -y git msg_ok "Installed Dependencies" PHP_VERSION="8.4" PHP_APACHE="YES" setup_php @@ -51,6 +51,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/tasmocompiler-install.sh b/install/tasmocompiler-install.sh index 128ea9b0f..a94cc2e30 100644 --- a/install/tasmocompiler-install.sh +++ b/install/tasmocompiler-install.sh @@ -15,13 +15,10 @@ update_os msg_info "Installing Dependencies. Patience" $STD apt-get install -y \ - git + git \ + python3-venv msg_ok "Installed Dependencies" -msg_info "Setup Python3" -$STD apt-get install -y python3-venv -msg_ok "Setup Python3" - NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs msg_info "Setup Platformio" @@ -70,6 +67,7 @@ customize msg_info "Cleaning up" rm -f /tmp/v${RELEASE}.tar.gz -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/tautulli-install.sh b/install/tautulli-install.sh index 63734ddd3..ee05815b8 100644 --- a/install/tautulli-install.sh +++ b/install/tautulli-install.sh @@ -14,17 +14,14 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y git -$STD apt-get install -y pip -msg_ok "Installed Dependencies" - -msg_info "Setup Python3" -$STD apt-get install -y \ +$STD apt install -y \ + git \ + pip \ python3 \ python3-dev \ python3-pip rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED -msg_ok "Setup Python3" +msg_ok "Installed Dependencies" msg_info "Installing Tautulli" cd /opt @@ -59,6 +56,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/tdarr-install.sh b/install/tdarr-install.sh index ff5e428cd..75e755ddb 100644 --- a/install/tdarr-install.sh +++ b/install/tdarr-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y handbrake-cli +$STD apt install -y handbrake-cli msg_ok "Installed Dependencies" msg_info "Installing Tdarr" @@ -27,20 +27,34 @@ chmod +x Tdarr_Updater $STD ./Tdarr_Updater msg_ok "Installed Tdarr" -msg_info "Setting Up Hardware Acceleration" -$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} +sg_info "Setting Up Hardware Acceleration" +$STD apt -y install \ + va-driver-all \ + ocl-icd-libopencl1 \ + vainfo \ + intel-gpu-tools \ + mesa-va-drivers \ + mesa-vdpau-drivers \ + intel-media-va-driver if [[ "$CTTYPE" == "0" ]]; then chgrp video /dev/dri chmod 755 /dev/dri chmod 660 /dev/dri/* $STD adduser $(id -u -n) video $STD adduser $(id -u -n) render - sed -i -e 's/^sgx:x:104:$/render:x:104:root/' -e 's/^render:x:106:root$/sgx:x:106:/' /etc/group + VIDEO_GID=$(getent group video | cut -d: -f3) + RENDER_GID=$(getent group render | cut -d: -f3) + if [[ -n "$VIDEO_GID" && -n "$RENDER_GID" ]]; then + sed -i "s/^video:x:[0-9]*:/video:x:$VIDEO_GID:/" /etc/group + sed -i "s/^render:x:[0-9]*:/render:x:$RENDER_GID:/" /etc/group + fi else - sed -i -e 's/^sgx:x:104:$/render:x:104:/' -e 's/^render:x:106:$/sgx:x:106:/' /etc/group + VIDEO_GID=$(getent group video | cut -d: -f3) + RENDER_GID=$(getent group render | cut -d: -f3) fi msg_ok "Set Up Hardware Acceleration" +msg_info "Creating Service" cat </etc/systemd/system/tdarr-server.service [Unit] Description=Tdarr Server Daemon @@ -90,6 +104,7 @@ customize msg_info "Cleaning up" rm -rf /opt/tdarr/Tdarr_Updater.zip -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/teamspeak-server-install.sh b/install/teamspeak-server-install.sh index bd280765f..1a7336906 100644 --- a/install/teamspeak-server-install.sh +++ b/install/teamspeak-server-install.sh @@ -51,6 +51,7 @@ customize msg_info "Cleaning up" rm -f ~/ts3server.tar.bz* -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/technitiumdns-install.sh b/install/technitiumdns-install.sh index f30893bb1..f15e7c925 100644 --- a/install/technitiumdns-install.sh +++ b/install/technitiumdns-install.sh @@ -17,8 +17,8 @@ msg_info "Installing ASP.NET Core Runtime" curl -fsSL "https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb" -o "packages-microsoft-prod.deb" $STD dpkg -i packages-microsoft-prod.deb rm -rf packages-microsoft-prod.deb -$STD apt-get update -$STD apt-get install -y aspnetcore-runtime-8.0 +$STD apt update +$STD apt install -y aspnetcore-runtime-8.0 msg_ok "Installed ASP.NET Core Runtime" RELEASE=$(curl -fsSL https://technitium.com/dns/ | grep -oP 'Version \K[\d.]+') @@ -26,7 +26,7 @@ msg_info "Installing Technitium DNS" mkdir -p /opt/technitium/dns curl -fsSL "https://download.technitium.com/dns/DnsServerPortable.tar.gz" -o /opt/DnsServerPortable.tar.gz $STD tar zxvf /opt/DnsServerPortable.tar.gz -C /opt/technitium/dns/ -echo "${RELEASE}" > ~/.technitium +echo "${RELEASE}" >~/.technitium msg_ok "Installed Technitium DNS" msg_info "Creating service" @@ -39,6 +39,7 @@ customize msg_info "Cleaning up" rm -f /opt/DnsServerPortable.tar.gz -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/teddycloud-install.sh b/install/teddycloud-install.sh index 99964a1af..1d0ef3738 100644 --- a/install/teddycloud-install.sh +++ b/install/teddycloud-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ libubsan1 \ ffmpeg \ ca-certificates @@ -45,6 +45,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/telegraf-install.sh b/install/telegraf-install.sh index d53b2e4f4..cf1b25c99 100644 --- a/install/telegraf-install.sh +++ b/install/telegraf-install.sh @@ -15,25 +15,31 @@ update_os msg_info "Adding Telegraf key and repository" curl -fsSL -O https://repos.influxdata.com/influxdata-archive.key -gpg --show-keys --with-fingerprint --with-colons ./influxdata-archive.key 2>&1 \ -| grep -q '^fpr:\+24C975CBA61A024EE1B631787C3D57159FC2F927:$' \ -&& cat influxdata-archive.key \ -| gpg --dearmor \ -| tee /etc/apt/keyrings/influxdata-archive.gpg > /dev/null \ -&& echo 'deb [signed-by=/etc/apt/keyrings/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main' \ -| tee /etc/apt/sources.list.d/influxdata.list > /dev/null +gpg --show-keys --with-fingerprint --with-colons ./influxdata-archive.key 2>&1 | + grep -q '^fpr:\+24C975CBA61A024EE1B631787C3D57159FC2F927:$' && + cat influxdata-archive.key | + gpg --dearmor | + tee /etc/apt/keyrings/influxdata-archive.gpg >/dev/null +cat </dev/null +Types: deb +URIs: https://repos.influxdata.com/debian +Suites: stable +Components: main +Signed-By: /etc/apt/keyrings/influxdata-archive.gpg +EOF msg_ok "Added Telegraf Repository" msg_info "Installing Telegraf" -$STD apt-get update -$STD apt-get install telegraf -y +$STD apt update +$STD apt install telegraf -y msg_ok "Installed Telegraf" motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean rm /influxdata-archive.key msg_ok "Cleaned" diff --git a/install/the-lounge-install.sh b/install/the-lounge-install.sh index 38683887d..73469fea1 100644 --- a/install/the-lounge-install.sh +++ b/install/the-lounge-install.sh @@ -19,6 +19,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/threadfin-install.sh b/install/threadfin-install.sh index a798bb7c1..96a50533f 100644 --- a/install/threadfin-install.sh +++ b/install/threadfin-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ ffmpeg \ vlc msg_ok "Installed Dependencies" @@ -45,6 +45,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/tianji-install.sh b/install/tianji-install.sh index 7ce81309d..527adb9bf 100644 --- a/install/tianji-install.sh +++ b/install/tianji-install.sh @@ -15,7 +15,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ python3 \ cmake \ g++ \ @@ -25,8 +25,8 @@ $STD apt-get install -y \ msg_ok "Installed Dependencies" NODE_VERSION="22" NODE_MODULE="pnpm@$(curl -s https://raw.githubusercontent.com/msgbyte/tianji/master/package.json | jq -r '.packageManager | split("@")[1]')" setup_nodejs -PG_VERSION="16" setup_postgresql -PYTHON_VERSION="3.12" setup_uv +PG_VERSION="17" setup_postgresql +PYTHON_VERSION="3.13" setup_uv msg_info "Setting up PostgreSQL" DB_NAME=tianji_db @@ -97,6 +97,7 @@ msg_info "Cleaning up" rm -rf /opt/tianji/src/client rm -rf /opt/tianji/website rm -rf /opt/tianji/reporter -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/traccar-install.sh b/install/traccar-install.sh index f3d61647e..a39a6d7dc 100644 --- a/install/traccar-install.sh +++ b/install/traccar-install.sh @@ -29,6 +29,7 @@ customize msg_info "Cleaning up" [ -f README.txt ] || [ -f traccar.run ] && rm -f README.txt traccar.run -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/traefik-install.sh b/install/traefik-install.sh index 665caf34b..db505469e 100644 --- a/install/traefik-install.sh +++ b/install/traefik-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y apt-transport-https +$STD apt install -y apt-transport-https msg_ok "Installed Dependencies" fetch_and_deploy_gh_release "traefik" "traefik/traefik" "prebuild" "latest" "/usr/bin" "traefik_v*_linux_amd64.tar.gz" @@ -97,6 +97,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/transmission-install.sh b/install/transmission-install.sh index 1eb9d770d..7653c2465 100644 --- a/install/transmission-install.sh +++ b/install/transmission-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Transmission" -$STD apt-get install -y transmission-daemon +$STD apt install -y transmission-daemon systemctl stop transmission-daemon sed -i '{s/"rpc-whitelist-enabled": true/"rpc-whitelist-enabled": false/g; s/"rpc-host-whitelist-enabled": true,/"rpc-host-whitelist-enabled": false,/g}' /etc/transmission-daemon/settings.json systemctl start transmission-daemon @@ -24,6 +24,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/trilium-install.sh b/install/trilium-install.sh index f5ddd0782..8a04169a9 100644 --- a/install/trilium-install.sh +++ b/install/trilium-install.sh @@ -39,6 +39,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/tududi-install.sh b/install/tududi-install.sh index 414dbbf7a..c9390492a 100644 --- a/install/tududi-install.sh +++ b/install/tududi-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ sqlite3 \ yq msg_ok "Installed Dependencies" @@ -72,6 +72,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/typesense-install.sh b/install/typesense-install.sh index cca4fdb7e..fbe1e877e 100644 --- a/install/typesense-install.sh +++ b/install/typesense-install.sh @@ -27,6 +27,7 @@ customize msg_info "Cleaning up" rm -rf /opt/typesense-server-${RELEASE}-amd64.deb -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/uhf-install.sh b/install/uhf-install.sh index e414878c1..c396acbbf 100644 --- a/install/uhf-install.sh +++ b/install/uhf-install.sh @@ -53,6 +53,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/umami-install.sh b/install/umami-install.sh index 10c91e648..e7c6e4cd4 100644 --- a/install/umami-install.sh +++ b/install/umami-install.sh @@ -14,7 +14,7 @@ network_check update_os NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs -PG_VERSION="16" setup_postgresql +PG_VERSION="17" setup_postgresql fetch_and_deploy_gh_release "umami" "umami-software/umami" "tarball" msg_info "Setting up postgresql" @@ -65,6 +65,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/umlautadaptarr-install.sh b/install/umlautadaptarr-install.sh index 40a8dfd72..e28b5a1f9 100644 --- a/install/umlautadaptarr-install.sh +++ b/install/umlautadaptarr-install.sh @@ -14,10 +14,16 @@ network_check update_os msg_info "Installing Dependencies" -$STD curl -fsSL https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -o packages-microsoft-prod.deb -$STD dpkg -i packages-microsoft-prod.deb -$STD apt-get update -$STD apt-get install -y \ +curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg +cat </dev/null +Types: deb +URIs: https://packages.microsoft.com/debian/13/prod/ +Suites: trixie +Components: main +Signed-By: /usr/share/keyrings/microsoft-prod.gpg +EOF +$STD apt update +$STD apt install -y \ dotnet-sdk-8.0 \ aspnetcore-runtime-8.0 msg_ok "Installed Dependencies" @@ -117,6 +123,7 @@ customize msg_info "Cleaning up" rm -f $temp_file -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/unbound-install.sh b/install/unbound-install.sh index faab1f1ff..77cb6990c 100644 --- a/install/unbound-install.sh +++ b/install/unbound-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Unbound" -$STD apt-get install -y \ +$STD apt install -y \ unbound \ unbound-host msg_info "Installed Unbound" @@ -82,6 +82,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/unifi-install.sh b/install/unifi-install.sh index 7a2b0db36..2ab1a6dd9 100644 --- a/install/unifi-install.sh +++ b/install/unifi-install.sh @@ -14,14 +14,21 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y apt-transport-https +$STD apt install -y apt-transport-https msg_ok "Installed Dependencies" msg_info "Installing Eclipse Temurin JRE" -curl -fsSL "https://packages.adoptium.net/artifactory/api/gpg/key/public" | gpg --dearmor >/etc/apt/trusted.gpg.d/adoptium.gpg -echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/adoptium.gpg] https://packages.adoptium.net/artifactory/deb bookworm main" >/etc/apt/sources.list.d/adoptium.list -$STD apt-get update -$STD apt-get install -y temurin-17-jre +curl -fsSL "https://packages.adoptium.net/artifactory/api/gpg/key/public" | gpg --dearmor -o /usr/share/keyrings/adoptium.gpg +cat </dev/null +Types: deb +URIs: https://packages.adoptium.net/artifactory/deb +Suites: trixie +Components: main +Architectures: amd64 +Signed-By: /usr/share/keyrings/adoptium.gpg +EOF +$STD apt update +$STD apt install -y temurin-17-jre msg_ok "Installed Eclipse Temurin JRE" if ! grep -q -m1 'avx[^ ]*' /proc/cpuinfo; then @@ -31,30 +38,50 @@ if ! grep -q -m1 'avx[^ ]*' /proc/cpuinfo; then curl -fsSL "https://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1w-0+deb11u3_amd64.deb" -o "libssl1.1_1.1.1w-0+deb11u3_amd64.deb" $STD dpkg -i libssl1.1_1.1.1w-0+deb11u3_amd64.deb fi - curl -fsSL "https://www.mongodb.org/static/pgp/server-4.4.asc" | gpg --dearmor >/usr/share/keyrings/mongodb-server-4.4.gpg - echo "deb [signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" >/etc/apt/sources.list.d/mongodb-org-4.4.list - $STD apt-get update - $STD apt-get install -y mongodb-org + curl -fsSL "https://www.mongodb.org/static/pgp/server-4.4.asc" | gpg --dearmor -o /usr/share/keyrings/mongodb-server-4.4.gpg + cat </dev/null +Types: deb +URIs: https://repo.mongodb.org/apt/debian +Suites: buster/mongodb-org/4.4 +Components: main +Signed-By: /usr/share/keyrings/mongodb-server-4.4.gpg +EOF + $STD apt update + $STD apt install -y mongodb-org else msg_info "Installing MongoDB 7.0" - curl -fsSL "https://www.mongodb.org/static/pgp/server-7.0.asc" | gpg --dearmor >/usr/share/keyrings/mongodb-server-7.0.gpg - echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] http://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 main" >/etc/apt/sources.list.d/mongodb-org-7.0.list - $STD apt-get update - $STD apt-get install -y mongodb-org + curl -fsSL "https://www.mongodb.org/static/pgp/server-7.0.asc" | gpg --dearmor -o /usr/share/keyrings/mongodb-server-7.0.gpg + cat </dev/null +Types: deb +URIs: http://repo.mongodb.org/apt/debian +Suites: trixie/mongodb-org/7.0 +Components: main +Signed-By: /usr/share/keyrings/mongodb-server-7.0.gpg +EOF + $STD apt update + $STD apt install -y mongodb-org fi msg_ok "Installed MongoDB" msg_info "Installing UniFi Network Server" -curl -fsSL "https://dl.ui.com/unifi/unifi-repo.gpg" -o "/etc/apt/trusted.gpg.d/unifi-repo.gpg" -echo "deb [ arch=amd64 signed-by=/etc/apt/trusted.gpg.d/unifi-repo.gpg] https://www.ui.com/downloads/unifi/debian stable ubiquiti" >/etc/apt/sources.list.d/100-ubnt-unifi.list -$STD apt-get update -$STD apt-get install -y unifi +curl -fsSL "https://dl.ui.com/unifi/unifi-repo.gpg" -o "/usr/share/keyrings/unifi-repo.gpg" +cat </dev/null +Types: deb +URIs: https://www.ui.com/downloads/unifi/debian +Suites: stable +Components: ubiquiti +Architectures: amd64 +Signed-By: /usr/share/keyrings/unifi-repo.gpg +EOF +$STD apt update +$STD apt install -y unifi msg_ok "Installed UniFi Network Server" motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/unmanic-install.sh b/install/unmanic-install.sh index 48d5da7d5..4ee4f4eab 100644 --- a/install/unmanic-install.sh +++ b/install/unmanic-install.sh @@ -14,27 +14,40 @@ network_check update_os msg_info "Installing Dependencies (Patience)" -$STD apt-get install -y ffmpeg -$STD apt-get install -y python3-pip +$STD apt install -y \ + ffmpeg \ + python3-pip msg_ok "Installed Dependencies" +msg_info "Setting Up Hardware Acceleration" +$STD apt -y install \ + va-driver-all \ + ocl-icd-libopencl1 \ + vainfo \ + intel-gpu-tools \ + mesa-va-drivers \ + mesa-vdpau-drivers \ + intel-media-va-driver if [[ "$CTTYPE" == "0" ]]; then - msg_info "Setting Up Hardware Acceleration" - $STD apt-get -y install \ - va-driver-all \ - ocl-icd-libopencl1 \ - intel-opencl-icd chgrp video /dev/dri chmod 755 /dev/dri chmod 660 /dev/dri/* $STD adduser $(id -u -n) video $STD adduser $(id -u -n) render - msg_ok "Set Up Hardware Acceleration" + VIDEO_GID=$(getent group video | cut -d: -f3) + RENDER_GID=$(getent group render | cut -d: -f3) + if [[ -n "$VIDEO_GID" && -n "$RENDER_GID" ]]; then + sed -i "s/^video:x:[0-9]*:/video:x:$VIDEO_GID:/" /etc/group + sed -i "s/^render:x:[0-9]*:/render:x:$RENDER_GID:/" /etc/group + fi +else + VIDEO_GID=$(getent group video | cut -d: -f3) + RENDER_GID=$(getent group render | cut -d: -f3) fi +msg_ok "Set Up Hardware Acceleration" msg_info "Installing Unmanic" $STD pip3 install unmanic -sed -i -e 's/^sgx:x:104:$/render:x:104:root/' -e 's/^render:x:106:root$/sgx:x:106:/' /etc/group msg_ok "Installed Unmanic" msg_info "Creating Service" @@ -61,6 +74,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/uptimekuma-install.sh b/install/uptimekuma-install.sh index c778ae116..20841a8d2 100644 --- a/install/uptimekuma-install.sh +++ b/install/uptimekuma-install.sh @@ -44,6 +44,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/urbackupserver-install.sh b/install/urbackupserver-install.sh index a0732561f..5d96f6122 100644 --- a/install/urbackupserver-install.sh +++ b/install/urbackupserver-install.sh @@ -14,21 +14,27 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ - coreutils +$STD apt install -y coreutils msg_ok "Installed Dependencies" msg_info "Installing UrBackup Server" -curl -fsSL https://download.opensuse.org/repositories/home:uroni/Debian_12/Release.key | gpg --dearmor >/etc/apt/trusted.gpg.d/home_uroni.gpg -echo 'deb [signed-by=/etc/apt/trusted.gpg.d/home_uroni.gpg] http://download.opensuse.org/repositories/home:/uroni/Debian_12/ /' >/etc/apt/sources.list.d/home:uroni.list -$STD apt-get update -y -apt-get install -y -qq urbackup-server +curl -fsSL https://download.opensuse.org/repositories/home:uroni/Debian_12/Release.key | gpg --dearmor -o /usr/share/keyrings/home-uroni.gpg +cat </dev/null +Types: deb +URIs: http://download.opensuse.org/repositories/home:/uroni/Debian_12/ +Suites: ./ +Components: +Signed-By: /usr/share/keyrings/home-uroni.gpg +EOF +$STD apt update +$STD apt install -y urbackup-server msg_ok "Installed UrBackup Server" motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned"