From 908ae0503a27b66c3f1e933b0ff2c2a0d9c475f0 Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Wed, 10 Apr 2024 17:43:40 +1000 Subject: [PATCH] Ported all O-named apps to ARM64 --- README.md | 8 ++++++++ ct/octoprint.sh | 2 +- ct/omada.sh | 4 ++-- ct/ombi.sh | 8 ++++---- ct/omv.sh | 2 +- ct/openhab.sh | 2 +- ct/openobserve.sh | 4 ++-- ct/overseerr.sh | 2 +- ct/owncast.sh | 2 +- install/octoprint-install.sh | 1 + install/omada-install.sh | 12 ++++++------ install/ombi-install.sh | 7 ++++--- install/omv-install.sh | 1 + install/openhab-install.sh | 1 + install/openobserve-install.sh | 3 ++- install/overseerr-install.sh | 1 + install/owncast-install.sh | 3 ++- 17 files changed, 39 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 206eba3a1..1f966e70e 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,14 @@ Any applications not in ported or unsupported need to be tested for whether they
  • ⭕ NocoDB
  • ⭕ Node-Red
  • ⭕ ntfy
  • +
  • ⭕ OctoPrint
  • +
  • ⭕ Omada
  • +
  • ⭕ Ombi
  • +
  • ⭕ OMV
  • +
  • ⭕ openHAB
  • +
  • ⭕ OpenObserve
  • +
  • ⭕ Overseerr
  • +
  • ⭕ Owncast
  • ⭕ Prowlarr
  • ✅ Radarr
  • ✅ Sonarr
  • diff --git a/ct/octoprint.sh b/ct/octoprint.sh index 75c2ccd91..5365acd30 100644 --- a/ct/octoprint.sh +++ b/ct/octoprint.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/omada.sh b/ct/omada.sh index c664953ea..0f359136a 100644 --- a/ct/omada.sh +++ b/ct/omada.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -63,7 +63,7 @@ if [ -z "${latest_version}" ]; then fi echo -e "Updating Omada Controller" wget -qL ${latest_url} -dpkg -i ${latest_version} +dpkg -i --ignore-depends=jsvc,mongodb-server ${latest_version} rm -rf ${latest_version} echo -e "Updated Omada Controller" exit diff --git a/ct/ombi.sh b/ct/ombi.sh index 4e53aa6b5..4b23c799c 100644 --- a/ct/ombi.sh +++ b/ct/ombi.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -62,9 +62,9 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP} msg_ok "Stopped ${APP}" msg_info "Updating ${APP} to ${RELEASE}" - wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-x64.tar.gz - tar -xzf linux-x64.tar.gz -C /opt/ombi - rm -rf linux-x64.tar.gz + wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-arm64.tar.gz + tar -xzf linux-arm64.tar.gz -C /opt/ombi + rm -rf linux-arm64.tar.gz echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated ${APP} to ${RELEASE}" diff --git a/ct/omv.sh b/ct/omv.sh index 318a16997..2e4297aaa 100644 --- a/ct/omv.sh +++ b/ct/omv.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/openhab.sh b/ct/openhab.sh index 9546085af..a5dd7f7b0 100644 --- a/ct/openhab.sh +++ b/ct/openhab.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/openobserve.sh b/ct/openobserve.sh index cea4c29a8..c7e400813 100644 --- a/ct/openobserve.sh +++ b/ct/openobserve.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -60,7 +60,7 @@ if [[ ! -d /opt/openobserve/ ]]; then msg_error "No ${APP} Installation Found!"; msg_info "Updating $APP" systemctl stop openobserve LATEST=$(curl -sL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) -tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve +tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-arm64.tar.gz) -C /opt/openobserve systemctl start openobserve msg_ok "Updated $APP" exit diff --git a/ct/overseerr.sh b/ct/overseerr.sh index a4a76bfc8..edcf53bd2 100644 --- a/ct/overseerr.sh +++ b/ct/overseerr.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/ct/owncast.sh b/ct/owncast.sh index c06ccfbb9..47eff116f 100644 --- a/ct/owncast.sh +++ b/ct/owncast.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/install/octoprint-install.sh b/install/octoprint-install.sh index fd0937347..de0381807 100644 --- a/install/octoprint-install.sh +++ b/install/octoprint-install.sh @@ -20,6 +20,7 @@ $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y libyaml-dev $STD apt-get install -y build-essential +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Updating Python3" diff --git a/install/omada-install.sh b/install/omada-install.sh index d3768a986..9ba499091 100644 --- a/install/omada-install.sh +++ b/install/omada-install.sh @@ -19,6 +19,7 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y gnupg $STD apt-get install -y jsvc +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Azul Zulu" @@ -30,11 +31,10 @@ $STD apt-get -y install zulu8-jdk msg_ok "Installed Azul Zulu" msg_info "Installing MongoDB" -libssl=$(curl -fsSL "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/" | grep -o 'libssl1\.1_1\.1\.1f-1ubuntu2\.2[^"]*amd64\.deb' | head -n1) -wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/$libssl +wget -qL http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_arm64.deb $STD dpkg -i $libssl -wget -qL https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/3.6/multiverse/binary-amd64/mongodb-org-server_3.6.23_amd64.deb -$STD dpkg -i mongodb-org-server_3.6.23_amd64.deb +wget -qL https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/4.4/multiverse/binary-arm64/mongodb-org-server_4.4.29_arm64.deb +$STD dpkg -i mongodb-org-server_4.4.29_arm64.deb msg_ok "Installed MongoDB" latest_url=$(curl -fsSL "https://www.tp-link.com/en/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1) @@ -42,14 +42,14 @@ latest_version=$(basename "$latest_url") msg_info "Installing Omada Controller" wget -qL ${latest_url} -$STD dpkg -i ${latest_version} +$STD dpkg -i --ignore-depends=jsvc,mongodb-server ${latest_version} msg_ok "Installed Omada Controller" motd_ssh customize msg_info "Cleaning up" -rm -rf ${latest_version} mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb $libssl +rm -rf ${latest_version} mongodb-org-server_4.4.29_arm64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2_arm64.deb $STD apt-get autoremove $STD apt-get autoclean msg_ok "Cleaned" diff --git a/install/ombi-install.sh b/install/ombi-install.sh index ff3135048..5861f88f1 100644 --- a/install/ombi-install.sh +++ b/install/ombi-install.sh @@ -17,15 +17,16 @@ msg_info "Installing Dependencies" $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Ombi" RELEASE=$(curl -sL https://api.github.com/repos/Ombi-app/Ombi/releases/latest | grep '"tag_name":' | cut -d'"' -f4) -wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-x64.tar.gz +wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-arm64.tar.gz echo "${RELEASE}" >/opt/${APPLICATION}_version.txt mkdir -p /opt/ombi -tar -xzf linux-x64.tar.gz -C /opt/ombi -rm -rf linux-x64.tar.gz +tar -xzf linux-arm64.tar.gz -C /opt/ombi +rm -rf linux-arm64.tar.gz msg_ok "Installed Ombi" msg_info "Creating Service" diff --git a/install/omv-install.sh b/install/omv-install.sh index 9ea469314..7815f5c5a 100644 --- a/install/omv-install.sh +++ b/install/omv-install.sh @@ -18,6 +18,7 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y gnupg +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing OpenMediaVault (Patience)" diff --git a/install/openhab-install.sh b/install/openhab-install.sh index d21657e82..a83028e39 100644 --- a/install/openhab-install.sh +++ b/install/openhab-install.sh @@ -19,6 +19,7 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y gnupg $STD apt-get install -y apt-transport-https +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Azul Zulu" diff --git a/install/openobserve-install.sh b/install/openobserve-install.sh index 7a52415dc..5c31f142c 100644 --- a/install/openobserve-install.sh +++ b/install/openobserve-install.sh @@ -17,12 +17,13 @@ msg_info "Installing Dependencies" $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing OpenObserve" mkdir -p /opt/openobserve/data LATEST=$(curl -sL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) -$STD tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve +$STD tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-arm64.tar.gz) -C /opt/openobserve cat </opt/openobserve/data/.env ZO_ROOT_USER_EMAIL = "admin@example.com" diff --git a/install/overseerr-install.sh b/install/overseerr-install.sh index 8d7520445..2ed765a4f 100644 --- a/install/overseerr-install.sh +++ b/install/overseerr-install.sh @@ -20,6 +20,7 @@ $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y ca-certificates $STD apt-get install -y gnupg +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" diff --git a/install/owncast-install.sh b/install/owncast-install.sh index d03683e32..ac29bc00f 100644 --- a/install/owncast-install.sh +++ b/install/owncast-install.sh @@ -18,12 +18,13 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y ffmpeg +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Owncast" mkdir /opt/owncast cd /opt/owncast -wget -q $(curl -s https://api.github.com/repos/owncast/owncast/releases/latest | grep download | grep linux-64bit | cut -d\" -f4) +wget -q $(curl -s https://api.github.com/repos/owncast/owncast/releases/latest | grep download | grep linux-arm64 | cut -d\" -f4) $STD unzip owncast*.zip rm owncast*.zip msg_ok "Installed Owncast"