From 8fd491460a1f7e4df9529319c1567c94762fe675 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 24 Jun 2025 18:34:20 +0200 Subject: [PATCH] bump scripts (Installer) from Ubuntu 22.04 to Ubuntu 24.04 (agentdvr, emby, jellyfin, plex, shinobi) (#5434) --- ct/agentdvr.sh | 20 ++++++++++---------- ct/emby.sh | 2 +- ct/jellyfin.sh | 30 +++++++++++++++--------------- ct/plex.sh | 2 +- ct/shinobi.sh | 4 ++-- frontend/public/json/agentdvr.json | 2 +- frontend/public/json/emby.json | 2 +- frontend/public/json/jellyfin.json | 2 +- frontend/public/json/plex.json | 2 +- frontend/public/json/shinobi.json | 2 +- frontend/public/json/ubuntu.json | 2 +- 11 files changed, 35 insertions(+), 35 deletions(-) diff --git a/ct/agentdvr.sh b/ct/agentdvr.sh index 9f7a500df..ed7afd51d 100644 --- a/ct/agentdvr.sh +++ b/ct/agentdvr.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-ubuntu}" -var_version="${var_version:-22.04}" +var_version="${var_version:-24.04}" var_unprivileged="${var_unprivileged:-0}" header_info "$APP" @@ -20,15 +20,15 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/agentdvr ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_error "Currently we don't provide an update function for this ${APP}." + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/agentdvr ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_error "Currently we don't provide an update function for this ${APP}." + exit } start @@ -38,4 +38,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}:8090${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8090${CL}" diff --git a/ct/emby.sh b/ct/emby.sh index 65139c4fd..ad9ca562d 100644 --- a/ct/emby.sh +++ b/ct/emby.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-ubuntu}" -var_version="${var_version:-22.04}" +var_version="${var_version:-24.04}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/jellyfin.sh b/ct/jellyfin.sh index 2b631373a..34f35799a 100644 --- a/ct/jellyfin.sh +++ b/ct/jellyfin.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-ubuntu}" -var_version="${var_version:-22.04}" +var_version="${var_version:-24.04}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -20,19 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /usr/lib/jellyfin ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade - $STD apt-get -y --with-new-pkgs upgrade jellyfin jellyfin-server - msg_ok "Updated ${APP} LXC" - exit + header_info + check_container_storage + check_container_resources + if [[ ! -d /usr/lib/jellyfin ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating ${APP} LXC" + $STD apt-get update + $STD apt-get -y upgrade + $STD apt-get -y --with-new-pkgs upgrade jellyfin jellyfin-server + msg_ok "Updated ${APP} LXC" + exit } start @@ -42,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}:8096${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8096${CL}" diff --git a/ct/plex.sh b/ct/plex.sh index cf9510e91..6f6c19573 100644 --- a/ct/plex.sh +++ b/ct/plex.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-ubuntu}" -var_version="${var_version:-22.04}" +var_version="${var_version:-24.04}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/shinobi.sh b/ct/shinobi.sh index 53be7d186..03078cf46 100644 --- a/ct/shinobi.sh +++ b/ct/shinobi.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-ubuntu}" -var_version="${var_version:-22.04}" +var_version="${var_version:-24.04}" var_unprivileged="${var_unprivileged:-0}" header_info "$APP" @@ -44,4 +44,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}:8080/super${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/super${CL}" diff --git a/frontend/public/json/agentdvr.json b/frontend/public/json/agentdvr.json index 573cca081..b94e69187 100644 --- a/frontend/public/json/agentdvr.json +++ b/frontend/public/json/agentdvr.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "ubuntu", - "version": "22.04" + "version": "24.04" } } ], diff --git a/frontend/public/json/emby.json b/frontend/public/json/emby.json index c7b985a02..7a9e64cea 100644 --- a/frontend/public/json/emby.json +++ b/frontend/public/json/emby.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "ubuntu", - "version": "22.04" + "version": "24.04" } } ], diff --git a/frontend/public/json/jellyfin.json b/frontend/public/json/jellyfin.json index 1e6c4e331..8c0429c16 100644 --- a/frontend/public/json/jellyfin.json +++ b/frontend/public/json/jellyfin.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "ubuntu", - "version": "22.04" + "version": "24.04" } } ], diff --git a/frontend/public/json/plex.json b/frontend/public/json/plex.json index 9e9c2336f..1821318b7 100644 --- a/frontend/public/json/plex.json +++ b/frontend/public/json/plex.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "ubuntu", - "version": "22.04" + "version": "24.04" } } ], diff --git a/frontend/public/json/shinobi.json b/frontend/public/json/shinobi.json index 45a02304c..8c94c5c3b 100644 --- a/frontend/public/json/shinobi.json +++ b/frontend/public/json/shinobi.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "ubuntu", - "version": "22.04" + "version": "24.04" } } ], diff --git a/frontend/public/json/ubuntu.json b/frontend/public/json/ubuntu.json index 3f4c31105..5b6505198 100644 --- a/frontend/public/json/ubuntu.json +++ b/frontend/public/json/ubuntu.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "ubuntu", - "version": "22.04" + "version": "24.04" } } ],