forked from forkanization/Proxmox-arm64
Update statuses to needs testing
Update statuses for scripts: Pulse Radicale Rclone Recyclarr Redis Revealjs Searxng Seelf Semaphore Silverbullet
This commit is contained in:
@@ -37,7 +37,7 @@ function update_script() {
|
|||||||
msg_info "Updating ${APP} to v${RELEASE}"
|
msg_info "Updating ${APP} to v${RELEASE}"
|
||||||
temp_file=$(mktemp)
|
temp_file=$(mktemp)
|
||||||
rm -rf /opt/rclone/*
|
rm -rf /opt/rclone/*
|
||||||
curl -fsSL "https://github.com/rclone/rclone/releases/download/v${RELEASE}/rclone-v${RELEASE}-linux-amd64.zip" -o "$temp_file"
|
curl -fsSL "https://github.com/rclone/rclone/releases/download/v${RELEASE}/rclone-v${RELEASE}-linux-arm64.zip" -o "$temp_file"
|
||||||
$STD unzip -j "$temp_file" '*/**' -d /opt/rclone
|
$STD unzip -j "$temp_file" '*/**' -d /opt/rclone
|
||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
echo "${RELEASE}" >/opt/${APP}_version.txt
|
||||||
msg_ok "Updated $APP to v${RELEASE}"
|
msg_ok "Updated $APP to v${RELEASE}"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Updating ${APP}"
|
msg_info "Updating ${APP}"
|
||||||
curl -fsSL "$(curl -fsSL https://api.github.com/repos/recyclarr/recyclarr/releases/latest | grep download | grep linux-x64 | cut -d\" -f4)" -o $(basename "$(curl -fsSL https://api.github.com/repos/recyclarr/recyclarr/releases/latest | grep download | grep linux-x64 | cut -d\" -f4)")
|
curl -fsSL "$(curl -fsSL https://api.github.com/repos/recyclarr/recyclarr/releases/latest | grep download | grep linux-arm64 | cut -d\" -f4)" -o $(basename "$(curl -fsSL https://api.github.com/repos/recyclarr/recyclarr/releases/latest | grep download | grep linux-x64 | cut -d\" -f4)")
|
||||||
tar -C /usr/local/bin -xJf recyclarr*.tar.xz
|
tar -C /usr/local/bin -xJf recyclarr*.tar.xz
|
||||||
rm -rf recyclarr*.tar.xz
|
rm -rf recyclarr*.tar.xz
|
||||||
msg_ok "Updated ${APP}"
|
msg_ok "Updated ${APP}"
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Updating ${APP} to v${RELEASE}"
|
msg_info "Updating ${APP} to v${RELEASE}"
|
||||||
cd /opt
|
cd /opt
|
||||||
curl -fsSL "https://github.com/semaphoreui/semaphore/releases/download/v${RELEASE}/semaphore_${RELEASE}_linux_amd64.deb" -o $(basename "https://github.com/semaphoreui/semaphore/releases/download/v${RELEASE}/semaphore_${RELEASE}_linux_amd64.deb")
|
curl -fsSL "https://github.com/semaphoreui/semaphore/releases/download/v${RELEASE}/semaphore_${RELEASE}_linux_arm64.deb" -o $(basename "https://github.com/semaphoreui/semaphore/releases/download/v${RELEASE}/semaphore_${RELEASE}_linux_arm64.deb")
|
||||||
$STD dpkg -i semaphore_${RELEASE}_linux_amd64.deb
|
$STD dpkg -i semaphore_${RELEASE}_linux_arm64.deb
|
||||||
echo "${RELEASE}" >"/opt/${APP}_version.txt"
|
echo "${RELEASE}" >"/opt/${APP}_version.txt"
|
||||||
msg_ok "Updated ${APP} to v${RELEASE}"
|
msg_ok "Updated ${APP} to v${RELEASE}"
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ function update_script() {
|
|||||||
msg_ok "Started Service"
|
msg_ok "Started Service"
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf /opt/semaphore_${RELEASE}_linux_amd64.deb
|
rm -rf /opt/semaphore_${RELEASE}_linux_arm64.deb
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated Successfully"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ function update_script() {
|
|||||||
msg_ok "Stopped ${APP}"
|
msg_ok "Stopped ${APP}"
|
||||||
|
|
||||||
msg_info "Updating ${APP} to v${RELEASE}"
|
msg_info "Updating ${APP} to v${RELEASE}"
|
||||||
curl -fsSL "https://github.com/silverbulletmd/silverbullet/releases/download/${RELEASE}/silverbullet-server-linux-x86_64.zip" -o $(basename "https://github.com/silverbulletmd/silverbullet/releases/download/${RELEASE}/silverbullet-server-linux-x86_64.zip")
|
curl -fsSL "https://github.com/silverbulletmd/silverbullet/releases/download/${RELEASE}/silverbullet-server-linux-aarch64.zip" -o $(basename "https://github.com/silverbulletmd/silverbullet/releases/download/${RELEASE}/silverbullet-server-linux-aarch64.zip")
|
||||||
$STD unzip silverbullet-server-linux-x86_64.zip
|
$STD unzip silverbullet-server-linux-aarch64.zip
|
||||||
mv silverbullet /opt/silverbullet/bin/
|
mv silverbullet /opt/silverbullet/bin/
|
||||||
chmod +x /opt/silverbullet/bin/silverbullet
|
chmod +x /opt/silverbullet/bin/silverbullet
|
||||||
echo "${RELEASE}" >/opt/silverbullet/${APP}_version.txt
|
echo "${RELEASE}" >/opt/silverbullet/${APP}_version.txt
|
||||||
|
|||||||
@@ -271,29 +271,29 @@
|
|||||||
"ps5-mqtt.json": "🚧",
|
"ps5-mqtt.json": "🚧",
|
||||||
"pterodactyl-panel.json": "🚧",
|
"pterodactyl-panel.json": "🚧",
|
||||||
"pterodactyl-wings.json": "🚧",
|
"pterodactyl-wings.json": "🚧",
|
||||||
"pulse.json": "🚧",
|
"pulse.json": "🧪",
|
||||||
"pve-privilege-converter.json": "🚧",
|
"pve-privilege-converter.json": "🚧",
|
||||||
"qbittorrent.json": "✅",
|
"qbittorrent.json": "✅",
|
||||||
"rabbitmq.json": "✅",
|
"rabbitmq.json": "✅",
|
||||||
"radarr.json": "✅",
|
"radarr.json": "✅",
|
||||||
"radicale.json": "🚧",
|
"radicale.json": "🧪",
|
||||||
"rclone.json": "🚧",
|
"rclone.json": "🧪",
|
||||||
"rdtclient.json": "✅",
|
"rdtclient.json": "✅",
|
||||||
"reactive-resume.json": "🧪",
|
"reactive-resume.json": "🧪",
|
||||||
"readeck.json": "✅",
|
"readeck.json": "✅",
|
||||||
"recyclarr.json": "🚧",
|
"recyclarr.json": "🧪",
|
||||||
"redis.json": "🚧",
|
"redis.json": "🧪",
|
||||||
"revealjs.json": "🚧",
|
"revealjs.json": "🧪",
|
||||||
"runtipi.json": "✅",
|
"runtipi.json": "✅",
|
||||||
"rustdeskserver.json": "✅",
|
"rustdeskserver.json": "✅",
|
||||||
"sabnzbd.json": "✅",
|
"sabnzbd.json": "✅",
|
||||||
"scaling-governor.json": "🧪",
|
"scaling-governor.json": "🧪",
|
||||||
"searxng.json": "🚧",
|
"searxng.json": "🧪",
|
||||||
"seelf.json": "🚧",
|
"seelf.json": "🧪",
|
||||||
"semaphore.json": "🚧",
|
"semaphore.json": "🧪",
|
||||||
"sftpgo.json": "✅",
|
"sftpgo.json": "✅",
|
||||||
"shinobi.json": "✅",
|
"shinobi.json": "✅",
|
||||||
"silverbullet.json": "🚧",
|
"silverbullet.json": "🧪",
|
||||||
"slskd.json": "🧪",
|
"slskd.json": "🧪",
|
||||||
"smokeping.json": "✅",
|
"smokeping.json": "✅",
|
||||||
"snipeit.json": "🧪",
|
"snipeit.json": "🧪",
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ msg_info "Installing rclone"
|
|||||||
temp_file=$(mktemp)
|
temp_file=$(mktemp)
|
||||||
mkdir -p /opt/rclone
|
mkdir -p /opt/rclone
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/rclone/rclone/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
RELEASE=$(curl -s https://api.github.com/repos/rclone/rclone/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
curl -fsSL "https://github.com/rclone/rclone/releases/download/v${RELEASE}/rclone-v${RELEASE}-linux-amd64.zip" -o "$temp_file"
|
curl -fsSL "https://github.com/rclone/rclone/releases/download/v${RELEASE}/rclone-v${RELEASE}-linux-arm64.zip" -o "$temp_file"
|
||||||
$STD unzip -j "$temp_file" '*/**' -d /opt/rclone
|
$STD unzip -j "$temp_file" '*/**' -d /opt/rclone
|
||||||
cd /opt/rclone
|
cd /opt/rclone
|
||||||
RCLONE_PASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
|
RCLONE_PASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ msg_info "Setup Python3"
|
|||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
python3 \
|
python3 \
|
||||||
python3-{pip,venv,yaml,dev}
|
python3-{pip,venv,yaml,dev}
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
$STD pip install --upgrade pip setuptools wheel
|
$STD pip install --upgrade pip setuptools wheel
|
||||||
$STD pip install pyyaml
|
$STD pip install pyyaml
|
||||||
msg_ok "Setup Python3"
|
msg_ok "Setup Python3"
|
||||||
|
|||||||
Reference in New Issue
Block a user