From b3007ccc830b415e20e4dbabe5a190ffca2275f5 Mon Sep 17 00:00:00 2001
From: Sam Heinz <54530346+asylumexp@users.noreply.github.com>
Date: Wed, 10 Apr 2024 15:19:57 +1000
Subject: [PATCH] Port rest of N-named apps to ARM64
n8n
Navidrome
NextCloudPi
NocoDB
Node-Red
ntfy
---
README.md | 7 ++++++-
ct/n8n.sh | 2 +-
ct/navidrome.sh | 4 ++--
ct/nextcloudpi.sh | 2 +-
ct/nocodb.sh | 4 ++--
ct/node-red.sh | 2 +-
ct/ntfy.sh | 2 +-
install/n8n-install.sh | 1 +
install/navidrome-install.sh | 3 ++-
install/nextcloudpi-install.sh | 1 +
install/nocodb-install.sh | 3 ++-
install/node-red-install.sh | 1 +
install/ntfy-install.sh | 3 ++-
13 files changed, 23 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index bfd737d79..206eba3a1 100644
--- a/README.md
+++ b/README.md
@@ -97,10 +97,15 @@ Any applications not in ported or unsupported need to be tested for whether they
⭕ MediaMTX
⭕ Medusa
⭕ MeshCentral
- ⭕ MagicMirror
⭕ Motioneye
⭕ MQTT
+ ⭕ n8n
+ ⭕ Navidrome
+ ⭕ NextCloudPi
⭕ Nginx Proxy Manager
+ ⭕ NocoDB
+ ⭕ Node-Red
+ ⭕ ntfy
⭕ Prowlarr
✅ Radarr
✅ Sonarr
diff --git a/ct/n8n.sh b/ct/n8n.sh
index 3abc73281..6e1722e32 100644
--- a/ct/n8n.sh
+++ b/ct/n8n.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/navidrome.sh b/ct/navidrome.sh
index b9af1d6f0..de84e241f 100644
--- a/ct/navidrome.sh
+++ b/ct/navidrome.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
@@ -61,7 +61,7 @@ systemctl stop navidrome.service
msg_ok "Stopped Navidrome"
msg_info "Updating to v${RELEASE}"
-wget https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_amd64.tar.gz -O Navidrome.tar.gz &>/dev/null
+wget https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_arm64.tar.gz -O Navidrome.tar.gz &>/dev/null
tar -xvzf Navidrome.tar.gz -C /opt/navidrome/ &>/dev/null
msg_ok "Updated ${APP}"
rm Navidrome.tar.gz
diff --git a/ct/nextcloudpi.sh b/ct/nextcloudpi.sh
index e4312b20d..fd59aef00 100644
--- a/ct/nextcloudpi.sh
+++ b/ct/nextcloudpi.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/nocodb.sh b/ct/nocodb.sh
index 4f8ff0b77..193c59ce1 100644
--- a/ct/nocodb.sh
+++ b/ct/nocodb.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
@@ -59,7 +59,7 @@ msg_info "Updating ${APP}"
systemctl stop nocodb.service
cd /opt/nocodb
rm -rf nocodb
-curl -s http://get.nocodb.com/linux-x64 -o nocodb -L
+curl -s http://get.nocodb.com/linux-arm64 -o nocodb -L
chmod +x nocodb
systemctl start nocodb.service
msg_ok "Updated Successfully"
diff --git a/ct/node-red.sh b/ct/node-red.sh
index 1f68dc09c..f2c73789b 100644
--- a/ct/node-red.sh
+++ b/ct/node-red.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/ntfy.sh b/ct/ntfy.sh
index d12e4b3de..f319b483a 100644
--- a/ct/ntfy.sh
+++ b/ct/ntfy.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/n8n-install.sh b/install/n8n-install.sh
index 32298692c..f939816a6 100644
--- a/install/n8n-install.sh
+++ b/install/n8n-install.sh
@@ -19,6 +19,7 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc
$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/navidrome-install.sh b/install/navidrome-install.sh
index 50f68d5be..d94fcb5b1 100644
--- a/install/navidrome-install.sh
+++ b/install/navidrome-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 ffmpeg
+$STD apt-get install -y wget
msg_ok "Installed Dependencies"
RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
@@ -25,7 +26,7 @@ RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/late
msg_info "Installing Navidrome"
install -d -o root -g root /opt/navidrome
install -d -o root -g root /var/lib/navidrome
-wget -q https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_amd64.tar.gz -O Navidrome.tar.gz
+wget -q https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_arm64.tar.gz -O Navidrome.tar.gz
$STD tar -xvzf Navidrome.tar.gz -C /opt/navidrome/
chown -R root:root /opt/navidrome
mkdir -p /music
diff --git a/install/nextcloudpi-install.sh b/install/nextcloudpi-install.sh
index 9a53a2879..881e7e087 100644
--- a/install/nextcloudpi-install.sh
+++ b/install/nextcloudpi-install.sh
@@ -17,6 +17,7 @@ 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 NextCloudPi (Patience)"
diff --git a/install/nocodb-install.sh b/install/nocodb-install.sh
index 3040f6389..927b1ef0b 100644
--- a/install/nocodb-install.sh
+++ b/install/nocodb-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 NocoDB"
mkdir -p /opt/nocodb
cd /opt/nocodb
-curl -s http://get.nocodb.com/linux-x64 -o nocodb -L
+curl -s http://get.nocodb.com/linux-arm64 -o nocodb -L
chmod +x nocodb
msg_ok "Installed NocoDB"
diff --git a/install/node-red-install.sh b/install/node-red-install.sh
index 6da4981ff..2ec47af65 100644
--- a/install/node-red-install.sh
+++ b/install/node-red-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/ntfy-install.sh b/install/ntfy-install.sh
index 2cdd985d8..b6a39058c 100644
--- a/install/ntfy-install.sh
+++ b/install/ntfy-install.sh
@@ -19,12 +19,13 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y gpg
$STD apt-get install -y apt-transport-https
+$STD apt-get install -y wget
msg_ok "Installed Dependencies"
msg_info "Installing ntfy"
mkdir -p /etc/apt/keyrings
curl -fsSL https://archive.heckel.io/apt/pubkey.txt | gpg --dearmor -o /etc/apt/keyrings/archive.heckel.io.gpg
-echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/archive.heckel.io.gpg] https://archive.heckel.io/apt debian main" >/etc/apt/sources.list.d/archive.heckel.io.list
+echo "deb [arch=arm64 signed-by=/etc/apt/keyrings/archive.heckel.io.gpg] https://archive.heckel.io/apt debian main" >/etc/apt/sources.list.d/archive.heckel.io.list
$STD apt-get update
$STD apt-get install -y ntfy
systemctl enable -q --now ntfy