mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-04 10:22:50 +00:00
Compare commits
67 Commits
2025-08-02
...
2025-08-06
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd41b236df | ||
|
|
229c7ce4b3 | ||
|
|
cc8381d7f7 | ||
|
|
dc5b9be9ae | ||
|
|
993aff59d7 | ||
|
|
f3844c664c | ||
|
|
47b3f71992 | ||
|
|
09c815e935 | ||
|
|
f59d4960f1 | ||
|
|
c53d1d004a | ||
|
|
bbdda06297 | ||
|
|
daab80aaf4 | ||
|
|
9250f9fae9 | ||
|
|
6fa371fffc | ||
|
|
e85263078e | ||
|
|
f9b0916885 | ||
|
|
964e29cd9e | ||
|
|
31932499a9 | ||
|
|
b155881de9 | ||
|
|
010435ecaf | ||
|
|
0863d080a4 | ||
|
|
99837db81a | ||
|
|
b4df862579 | ||
|
|
01c6eb3a67 | ||
|
|
5aabc88723 | ||
|
|
23340f5d24 | ||
|
|
77dcf87e6a | ||
|
|
d9cefc3777 | ||
|
|
7d6806e1fb | ||
|
|
86d438c3a1 | ||
|
|
fdc381e501 | ||
|
|
3b1b8a7da2 | ||
|
|
96f2c9c990 | ||
|
|
349827aa97 | ||
|
|
4dc458c605 | ||
|
|
b5b6048697 | ||
|
|
dc5fcb83e8 | ||
|
|
db86049a3e | ||
|
|
e6ceca0bc7 | ||
|
|
d24425efad | ||
|
|
3dda41df94 | ||
|
|
fc77ca85e4 | ||
|
|
db09b9cc36 | ||
|
|
9f933c1e56 | ||
|
|
efe45185fc | ||
|
|
0a56fee31e | ||
|
|
20048d442a | ||
|
|
b1be93155c | ||
|
|
1e2eb31560 | ||
|
|
ca701632e1 | ||
|
|
c3c5a7584b | ||
|
|
3cd1fc7bce | ||
|
|
1c7a39438c | ||
|
|
46728b01fe | ||
|
|
e0abf63778 | ||
|
|
4451f07990 | ||
|
|
6776912a42 | ||
|
|
b914fd95df | ||
|
|
f33afd9163 | ||
|
|
c811b51a0a | ||
|
|
ccbf86196b | ||
|
|
64366a0b34 | ||
|
|
183c459549 | ||
|
|
44e62f73d4 | ||
|
|
2f97e14f4d | ||
|
|
7cd5a8d771 | ||
|
|
9846bfd067 |
76
CHANGELOG.md
76
CHANGELOG.md
@@ -10,8 +10,84 @@
|
|||||||
> [!CAUTION]
|
> [!CAUTION]
|
||||||
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
|
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
|
||||||
|
|
||||||
|
## 2025-08-07
|
||||||
|
|
||||||
|
## 2025-08-06
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- [core] better y/N handling for ressource check [@MickLesk](https://github.com/MickLesk) ([#6608](https://github.com/community-scripts/ProxmoxVE/pull/6608))
|
||||||
|
- fix: update Pulse scripts for v4 Go rewrite support [@rcourtman](https://github.com/rcourtman) ([#6574](https://github.com/community-scripts/ProxmoxVE/pull/6574))
|
||||||
|
- OpenProject: Fix missing apt update [@tremor021](https://github.com/tremor021) ([#6598](https://github.com/community-scripts/ProxmoxVE/pull/6598))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- PVE9: Remove Beta Whiptail / add correct version check [@MickLesk](https://github.com/MickLesk) ([#6599](https://github.com/community-scripts/ProxmoxVE/pull/6599))
|
||||||
|
|
||||||
|
## 2025-08-05
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- NIC offloading: e1000 support [@rcastley](https://github.com/rcastley) ([#6575](https://github.com/community-scripts/ProxmoxVE/pull/6575))
|
||||||
|
|
||||||
|
- #### 💥 Breaking Changes
|
||||||
|
|
||||||
|
- Temporary Remove: SearXNG [@MickLesk](https://github.com/MickLesk) ([#6578](https://github.com/community-scripts/ProxmoxVE/pull/6578))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Refactor: Prometheus Alertmanager [@tremor021](https://github.com/tremor021) ([#6577](https://github.com/community-scripts/ProxmoxVE/pull/6577))
|
||||||
|
|
||||||
|
## 2025-08-04
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Tududi ([#6534](https://github.com/community-scripts/ProxmoxVE/pull/6534))
|
||||||
|
- ots ([#6532](https://github.com/community-scripts/ProxmoxVE/pull/6532))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- MySpeed: fix update and copy old tests back [@MickLesk](https://github.com/MickLesk) ([#6550](https://github.com/community-scripts/ProxmoxVE/pull/6550))
|
||||||
|
- Composer: PATH Issues when updating [@MickLesk](https://github.com/MickLesk) ([#6543](https://github.com/community-scripts/ProxmoxVE/pull/6543))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- Feat: enable tun for VPN services (wireguard) [@MickLesk](https://github.com/MickLesk) ([#6562](https://github.com/community-scripts/ProxmoxVE/pull/6562))
|
||||||
|
- turnkey: add hostname & Fix TUN access [@masterofrpm](https://github.com/masterofrpm) ([#6512](https://github.com/community-scripts/ProxmoxVE/pull/6512))
|
||||||
|
- Increase: Core Network check (pre-LXC Creation) [@MickLesk](https://github.com/MickLesk) ([#6546](https://github.com/community-scripts/ProxmoxVE/pull/6546))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Refactor: PrivateBin [@tremor021](https://github.com/tremor021) ([#6559](https://github.com/community-scripts/ProxmoxVE/pull/6559))
|
||||||
|
- Refactor: PocketID [@tremor021](https://github.com/tremor021) ([#6556](https://github.com/community-scripts/ProxmoxVE/pull/6556))
|
||||||
|
- Refactor: Pocketbase [@tremor021](https://github.com/tremor021) ([#6554](https://github.com/community-scripts/ProxmoxVE/pull/6554))
|
||||||
|
- Refactor: NocoDB [@tremor021](https://github.com/tremor021) ([#6548](https://github.com/community-scripts/ProxmoxVE/pull/6548))
|
||||||
|
- Refactor: PairDrop [@tremor021](https://github.com/tremor021) ([#6528](https://github.com/community-scripts/ProxmoxVE/pull/6528))
|
||||||
|
|
||||||
## 2025-08-03
|
## 2025-08-03
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- docmost: remove build step due new version [@MickLesk](https://github.com/MickLesk) ([#6513](https://github.com/community-scripts/ProxmoxVE/pull/6513))
|
||||||
|
- Fix: Komga uses .komga as storage / so it fails after install [@MickLesk](https://github.com/MickLesk) ([#6517](https://github.com/community-scripts/ProxmoxVE/pull/6517))
|
||||||
|
|
||||||
|
- #### 💥 Breaking Changes
|
||||||
|
|
||||||
|
- Remove: Ubuntu 24.10-VM [@MickLesk](https://github.com/MickLesk) ([#6515](https://github.com/community-scripts/ProxmoxVE/pull/6515))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Refactor: openHAB [@tremor021](https://github.com/tremor021) ([#6524](https://github.com/community-scripts/ProxmoxVE/pull/6524))
|
||||||
|
- Refactor: OpenProject [@tremor021](https://github.com/tremor021) ([#6525](https://github.com/community-scripts/ProxmoxVE/pull/6525))
|
||||||
|
|
||||||
## 2025-08-02
|
## 2025-08-02
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ var_disk="${var_disk:-1}"
|
|||||||
var_os="${var_os:-alpine}"
|
var_os="${var_os:-alpine}"
|
||||||
var_version="${var_version:-3.22}"
|
var_version="${var_version:-3.22}"
|
||||||
var_unprivileged="${var_unprivileged:-1}"
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
var_tun="${var_tun:-1}"
|
||||||
|
|
||||||
header_info "$APP"
|
header_info "$APP"
|
||||||
variables
|
variables
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ function update_script() {
|
|||||||
systemctl stop cleanuparr
|
systemctl stop cleanuparr
|
||||||
msg_ok "Stopped ${APP}"
|
msg_ok "Stopped ${APP}"
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "Cleanuparr" "Cleanuparr/Cleanuparr" "prebuild" "$RELEASE" "/opt/cleanuparr" "*linux-amd64.zip"
|
fetch_and_deploy_gh_release "Cleanuparr" "Cleanuparr/Cleanuparr" "prebuild" "latest" "/opt/cleanuparr" "*linux-amd64.zip"
|
||||||
|
|
||||||
msg_info "Starting ${APP}"
|
msg_info "Starting ${APP}"
|
||||||
systemctl start cleanuparr
|
systemctl start cleanuparr
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ function update_script() {
|
|||||||
mv /opt/.env /opt/docmost/.env
|
mv /opt/.env /opt/docmost/.env
|
||||||
mv /opt/data /opt/docmost/data
|
mv /opt/data /opt/docmost/data
|
||||||
$STD pnpm install --force
|
$STD pnpm install --force
|
||||||
$STD pnpm nx run server:build # Dirty fix https://github.com/community-scripts/ProxmoxVE/issues/6377
|
|
||||||
$STD pnpm build
|
$STD pnpm build
|
||||||
msg_ok "Updated ${APP}"
|
msg_ok "Updated ${APP}"
|
||||||
|
|
||||||
|
|||||||
6
ct/headers/ots
Normal file
6
ct/headers/ots
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
____ ___________
|
||||||
|
/ __ \/_ __/ ___/
|
||||||
|
/ / / / / / \__ \
|
||||||
|
/ /_/ / / / ___/ /
|
||||||
|
\____/ /_/ /____/
|
||||||
|
|
||||||
6
ct/headers/tududi
Normal file
6
ct/headers/tududi
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
______ __ ___
|
||||||
|
/_ __/_ ______/ /_ ______/ (_)
|
||||||
|
/ / / / / / __ / / / / __ / /
|
||||||
|
/ / / /_/ / /_/ / /_/ / /_/ / /
|
||||||
|
/_/ \__,_/\__,_/\__,_/\__,_/_/
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ function update_script() {
|
|||||||
msg_ok "Stopped ${APP}"
|
msg_ok "Stopped ${APP}"
|
||||||
|
|
||||||
rm -f /opt/komga/komga.jar
|
rm -f /opt/komga/komga.jar
|
||||||
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "komga" "gotson/komga" "singlefile" "latest" "/opt/komga" "komga*.jar"
|
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "komga-org" "gotson/komga" "singlefile" "latest" "/opt/komga" "komga*.jar"
|
||||||
mv /opt/komga/komga-*.jar /opt/komga/komga.jar
|
mv /opt/komga/komga-*.jar /opt/komga/komga.jar
|
||||||
|
|
||||||
msg_info "Starting ${APP}"
|
msg_info "Starting ${APP}"
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ function update_script() {
|
|||||||
msg_info "Updating ${APP} to ${RELEASE}"
|
msg_info "Updating ${APP} to ${RELEASE}"
|
||||||
cd /opt/myspeed
|
cd /opt/myspeed
|
||||||
$STD npm install
|
$STD npm install
|
||||||
|
cp -r /opt/myspeed_bak/data/* /opt/myspeed/data/
|
||||||
msg_ok "Updated ${APP} to ${RELEASE}"
|
msg_ok "Updated ${APP} to ${RELEASE}"
|
||||||
|
|
||||||
msg_info "Starting ${APP} Service"
|
msg_info "Starting ${APP} Service"
|
||||||
|
|||||||
27
ct/nocodb.sh
27
ct/nocodb.sh
@@ -27,15 +27,24 @@ function update_script() {
|
|||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
msg_info "Updating ${APP}"
|
|
||||||
systemctl stop nocodb.service
|
RELEASE=$(curl -fsSL https://api.github.com/repos/nocodb/nocodb/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||||
cd /opt/nocodb
|
if [[ ! -f ~/.nocodb ]] || [[ "${RELEASE}" != "$(cat ~/.nocodb)" ]]; then
|
||||||
rm -rf nocodb
|
msg_info "Stopping Service"
|
||||||
curl -fsSL http://get.nocodb.com/linux-x64 -o nocodb -L
|
systemctl stop nocodb
|
||||||
chmod +x nocodb
|
msg_ok "Stopped Service"
|
||||||
systemctl start nocodb.service
|
|
||||||
|
fetch_and_deploy_gh_release "nocodb" "nocodb/nocodb" "singlefile" "latest" "/opt/nocodb/" "Noco-linux-x64"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start nocodb
|
||||||
|
msg_ok "Started Service"
|
||||||
|
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated Successfully"
|
||||||
exit
|
else
|
||||||
|
msg_ok "No update required. ${APP} is already at v${RELEASE}"
|
||||||
|
fi
|
||||||
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
@@ -45,4 +54,4 @@ description
|
|||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/dashboard${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/dashboard${CL}"
|
||||||
|
|||||||
@@ -42,4 +42,4 @@ msg_ok "Completed Successfully!\n"
|
|||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access it using one of the following URLs:${CL}"
|
echo -e "${INFO}${YW} Access it using one of the following URLs:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8443${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8443${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
||||||
|
|||||||
58
ct/ots.sh
Normal file
58
ct/ots.sh
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||||
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
|
# Author: bvdberg01
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/Luzifer/ots
|
||||||
|
|
||||||
|
APP="OTS"
|
||||||
|
var_tags="${var_tags:-secrets-sharer}"
|
||||||
|
var_cpu="${var_cpu:-1}"
|
||||||
|
var_ram="${var_ram:-512}"
|
||||||
|
var_disk="${var_disk:-3}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-12}"
|
||||||
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
|
||||||
|
header_info "$APP"
|
||||||
|
variables
|
||||||
|
color
|
||||||
|
catch_errors
|
||||||
|
|
||||||
|
function update_script() {
|
||||||
|
header_info
|
||||||
|
check_container_storage
|
||||||
|
check_container_resources
|
||||||
|
if [[ ! -d /opt/ots ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
RELEASE=$(curl -fsSL https://api.github.com/repos/Luzifer/ots/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||||
|
if [[ "${RELEASE}" != "$(cat ~/.ots 2>/dev/null)" ]] || [[ ! -f ~/.ots ]]; then
|
||||||
|
msg_info "Stopping ${APP} Service"
|
||||||
|
systemctl stop ots
|
||||||
|
systemctl stop nginx
|
||||||
|
msg_ok "Stopped ${APP} Service"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "ots" "Luzifer/ots" "prebuild" "latest" "/opt/ots" "ots_linux_amd64.tgz"
|
||||||
|
|
||||||
|
msg_info "Stopping ${APP} Service"
|
||||||
|
systemctl start ots
|
||||||
|
systemctl start nginx
|
||||||
|
msg_ok "Stopped ${APP} Service"
|
||||||
|
msg_ok "Updated Successfully"
|
||||||
|
else
|
||||||
|
msg_ok "No update required. ${APP} is already at ${RELEASE}"
|
||||||
|
fi
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
|
||||||
|
start
|
||||||
|
build_container
|
||||||
|
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}${CL}"
|
||||||
@@ -27,13 +27,28 @@ function update_script() {
|
|||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
msg_info "Updating $APP"
|
|
||||||
systemctl stop pairdrop
|
RELEASE=$(curl -fsSL https://api.github.com/repos/schlagmichdoch/PairDrop/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
cd /opt/pairdrop
|
if [[ ! -f ~/.pairdrop ]] || [[ "${RELEASE}" != "$(cat ~/.pairdrop)" ]]; then
|
||||||
git pull
|
msg_info "Stopping ${APP}"
|
||||||
npm install
|
systemctl stop pairdrop
|
||||||
systemctl start pairdrop
|
msg_ok "Stopped ${APP}"
|
||||||
msg_ok "Updated $APP"
|
|
||||||
|
fetch_and_deploy_gh_release "pairdrop" "schlagmichdoch/PairDrop" "tarball"
|
||||||
|
|
||||||
|
msg_info "Configuring PairDrop"
|
||||||
|
cd /opt/pairdrop
|
||||||
|
$STD npm install
|
||||||
|
msg_ok "Configured PairDrop"
|
||||||
|
|
||||||
|
msg_info "Starting ${APP}"
|
||||||
|
systemctl start pairdrop
|
||||||
|
msg_ok "Started ${APP}"
|
||||||
|
|
||||||
|
msg_ok "Updated Successfully"
|
||||||
|
else
|
||||||
|
msg_ok "No update required. ${APP} is already at ${RELEASE}."
|
||||||
|
fi
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -44,4 +59,4 @@ description
|
|||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"
|
||||||
|
|||||||
@@ -27,18 +27,26 @@ function update_script() {
|
|||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
msg_info "Stopping ${APP}"
|
|
||||||
systemctl stop pocketbase
|
|
||||||
msg_ok "Stopped ${APP}"
|
|
||||||
|
|
||||||
msg_info "Updating ${APP}"
|
RELEASE=$(curl -s https://api.github.com/repos/pocketbase/pocketbase/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
/opt/pocketbase/pocketbase update
|
if [[ "${RELEASE}" != "$(cat ~/.pocketbase 2>/dev/null)" ]] || [[ ! -f ~/.pocketbase ]]; then
|
||||||
msg_ok "Updated ${APP}"
|
msg_info "Stopping ${APP}"
|
||||||
|
systemctl stop pocketbase
|
||||||
|
msg_ok "Stopped ${APP}"
|
||||||
|
|
||||||
msg_info "Starting ${APP}"
|
msg_info "Updating ${APP}"
|
||||||
systemctl start pocketbase
|
/opt/pocketbase/pocketbase update
|
||||||
msg_ok "Started ${APP}"
|
echo "${RELEASE}" > ~/.pocketbase
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated ${APP}"
|
||||||
|
|
||||||
|
msg_info "Starting ${APP}"
|
||||||
|
systemctl start pocketbase
|
||||||
|
msg_ok "Started ${APP}"
|
||||||
|
|
||||||
|
msg_ok "Update Successful"
|
||||||
|
else
|
||||||
|
msg_ok "No update required. ${APP} is already at ${RELEASE}"
|
||||||
|
fi
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,4 +57,4 @@ description
|
|||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/_/${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/_/${CL}"
|
||||||
|
|||||||
@@ -29,9 +29,10 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[[ -f /opt/${APP}_version.txt ]] && mv /opt/${APP}_version.txt ~/.pocket-id
|
||||||
RELEASE=$(curl -fsSL https://api.github.com/repos/pocket-id/pocket-id/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
RELEASE=$(curl -fsSL https://api.github.com/repos/pocket-id/pocket-id/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
|
if [[ "${RELEASE}" != "$(cat ~/.pocket-id)" ]] || [[ ! -f ~/.pocket-id ]]; then
|
||||||
if [[ "$(cat /opt/${APP}_version.txt)" < "1.0.0" ]]; then
|
if [[ "$(cat ~/.pocket-id)" < "1.0.0" ]]; then
|
||||||
msg_info "Migrating ${APP} to v${RELEASE}"
|
msg_info "Migrating ${APP} to v${RELEASE}"
|
||||||
systemctl -q disable --now pocketid-backend pocketid-frontend caddy
|
systemctl -q disable --now pocketid-backend pocketid-frontend caddy
|
||||||
mv /etc/caddy/Caddyfile ~/Caddyfile.bak
|
mv /etc/caddy/Caddyfile ~/Caddyfile.bak
|
||||||
@@ -58,19 +59,19 @@ function update_script() {
|
|||||||
mv /opt/data /opt/pocket-id
|
mv /opt/data /opt/pocket-id
|
||||||
msg_ok "Migration complete. The reverse proxy port has been changed to 1411."
|
msg_ok "Migration complete. The reverse proxy port has been changed to 1411."
|
||||||
else
|
else
|
||||||
msg_info "Updating $APP to v${RELEASE}"
|
msg_info "Stopping ${APP}"
|
||||||
systemctl stop pocketid
|
systemctl stop pocketid
|
||||||
|
msg_ok "Stopped ${APP}"
|
||||||
cp /opt/pocket-id/.env /opt/env
|
cp /opt/pocket-id/.env /opt/env
|
||||||
fi
|
fi
|
||||||
curl -fsSL "https://github.com/pocket-id/pocket-id/releases/download/v${RELEASE}/pocket-id-linux-amd64" -o /opt/pocket-id/pocket-id
|
|
||||||
chmod u+x /opt/pocket-id/pocket-id
|
fetch_and_deploy_gh_release "pocket-id" "pocket-id/pocket-id" "singlefile" "latest" "/opt/pocket-id/" "pocket-id-linux-amd64"
|
||||||
mv /opt/env /opt/pocket-id/.env
|
mv /opt/env /opt/pocket-id/.env
|
||||||
|
|
||||||
msg_info "Starting $APP"
|
msg_info "Starting $APP"
|
||||||
systemctl start pocketid
|
systemctl start pocketid
|
||||||
msg_ok "Started $APP"
|
msg_ok "Started $APP"
|
||||||
|
|
||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
|
||||||
msg_ok "Update Successful"
|
msg_ok "Update Successful"
|
||||||
else
|
else
|
||||||
msg_ok "No update required. ${APP} is already at ${RELEASE}"
|
msg_ok "No update required. ${APP} is already at ${RELEASE}"
|
||||||
|
|||||||
@@ -27,22 +27,25 @@ function update_script() {
|
|||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
RELEASE=$(curl -fsSL https://api.github.com/repos/PrivateBin/PrivateBin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
RELEASE=$(curl -fsSL https://api.github.com/repos/PrivateBin/PrivateBin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||||
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
|
if [[ ! -f ~/.privatebin ]] || [[ "${RELEASE}" != "$(cat ~/.privatebin)" ]]; then
|
||||||
msg_info "Updating ${APP} to v${RELEASE}"
|
msg_info "Creating backup"
|
||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
|
||||||
cp -f /opt/privatebin/cfg/conf.php /tmp/privatebin_conf.bak
|
cp -f /opt/privatebin/cfg/conf.php /tmp/privatebin_conf.bak
|
||||||
curl -fsSL "https://github.com/PrivateBin/PrivateBin/archive/refs/tags/${RELEASE}.zip" -o $(basename "https://github.com/PrivateBin/PrivateBin/archive/refs/tags/${RELEASE}.zip")
|
msg_ok "Backup created"
|
||||||
$STD unzip ${RELEASE}.zip
|
|
||||||
rm -rf /opt/privatebin/*
|
rm -rf /opt/privatebin/*
|
||||||
mv PrivateBin-${RELEASE}/* /opt/privatebin/
|
fetch_and_deploy_gh_release "privatebin" "PrivateBin/PrivateBin" "tarball"
|
||||||
|
|
||||||
|
msg_info "Configuring ${APP}"
|
||||||
|
mkdir -p /opt/privatebin/data
|
||||||
mv /tmp/privatebin_conf.bak /opt/privatebin/cfg/conf.php
|
mv /tmp/privatebin_conf.bak /opt/privatebin/cfg/conf.php
|
||||||
chown -R www-data:www-data /opt/privatebin
|
chown -R www-data:www-data /opt/privatebin
|
||||||
chmod -R 0755 /opt/privatebin/data
|
chmod -R 0755 /opt/privatebin/data}
|
||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
|
||||||
rm -rf ${RELEASE}.zip PrivateBin-${RELEASE}
|
|
||||||
systemctl reload nginx php8.2-fpm
|
systemctl reload nginx php8.2-fpm
|
||||||
msg_ok "Updated ${APP} to v${RELEASE}"
|
msg_ok "Configured ${APP}"
|
||||||
|
|
||||||
|
msg_ok "Successfully updated"
|
||||||
else
|
else
|
||||||
msg_ok "No update required. ${APP} is already at v${RELEASE}"
|
msg_ok "No update required. ${APP} is already at v${RELEASE}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -27,24 +27,19 @@ function update_script() {
|
|||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
RELEASE=$(curl -fsSL https://api.github.com/repos/prometheus/alertmanager/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
RELEASE=$(curl -fsSL https://api.github.com/repos/prometheus/alertmanager/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
|
if [[ ! -f ~/.alertmanager ]] || [[ "${RELEASE}" != "$(cat ~/.alertmanager)" ]]; then
|
||||||
msg_info "Stopping ${APP}"
|
msg_info "Stopping ${APP}"
|
||||||
systemctl stop prometheus-alertmanager
|
systemctl stop prometheus-alertmanager
|
||||||
msg_ok "Stopped ${APP}"
|
msg_ok "Stopped ${APP}"
|
||||||
|
|
||||||
msg_info "Updating ${APP} to v${RELEASE}"
|
fetch_and_deploy_gh_release "alertmanager" "prometheus/alertmanager" "prebuild" "latest" "/usr/local/bin/" "alertmanager*linux-amd64.tar.gz"
|
||||||
cd /opt
|
|
||||||
curl -fsSL "https://github.com/prometheus/alertmanager/releases/download/v${RELEASE}/alertmanager-${RELEASE}.linux-amd64.tar.gz" -o $(basename "https://github.com/prometheus/alertmanager/releases/download/v${RELEASE}/alertmanager-${RELEASE}.linux-amd64.tar.gz")
|
|
||||||
tar -xf alertmanager-${RELEASE}.linux-amd64.tar.gz
|
|
||||||
cp -rf alertmanager-${RELEASE}.linux-amd64/alertmanager alertmanager-${RELEASE}.linux-amd64/amtool /usr/local/bin/
|
|
||||||
rm -rf alertmanager-${RELEASE}.linux-amd64 alertmanager-${RELEASE}.linux-amd64.tar.gz
|
|
||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
|
||||||
msg_ok "Updated ${APP} to v${RELEASE}"
|
|
||||||
|
|
||||||
msg_info "Starting ${APP}"
|
msg_info "Starting ${APP}"
|
||||||
systemctl start prometheus-alertmanager
|
systemctl start prometheus-alertmanager
|
||||||
msg_ok "Started ${APP}"
|
msg_ok "Started ${APP}"
|
||||||
|
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated Successfully"
|
||||||
else
|
else
|
||||||
msg_ok "No update required. ${APP} is already at v${RELEASE}"
|
msg_ok "No update required. ${APP} is already at v${RELEASE}"
|
||||||
|
|||||||
36
ct/pulse.sh
36
ct/pulse.sh
@@ -23,42 +23,34 @@ function update_script() {
|
|||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
if [[ -d /opt/pulse-monitor ]]; then
|
|
||||||
msg_error "An old installation was detected. Please recreate the LXC from scratch (https://github.com/community-scripts/ProxmoxVE/pull/4848)"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
if [[ ! -d /opt/pulse ]]; then
|
if [[ ! -d /opt/pulse ]]; then
|
||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
RELEASE=$(curl -fsSL https://api.github.com/repos/rcourtman/Pulse/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
|
if [[ ! -f ~/.pulse ]]; then
|
||||||
|
msg_error "Old Installation Found! Please recreate the container due big changes in the software."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
RELEASE=$(curl -fsSL https://api.github.com/repos/rcourtman/Pulse/releases/latest | jq -r '.tag_name' | sed 's/^v//')
|
||||||
|
if [[ "${RELEASE}" != "$(cat ~/.pulse 2>/dev/null)" ]] || [[ ! -f ~/.pulse ]]; then
|
||||||
msg_info "Stopping ${APP}"
|
msg_info "Stopping ${APP}"
|
||||||
systemctl stop pulse
|
systemctl stop pulse
|
||||||
msg_ok "Stopped ${APP}"
|
msg_ok "Stopped ${APP}"
|
||||||
|
|
||||||
msg_info "Updating Pulse"
|
fetch_and_deploy_gh_release "pulse" "rcourtman/Pulse" "prebuild" "latest" "/opt/pulse" "*-linux-amd64.tar.gz"
|
||||||
temp_file=$(mktemp)
|
chown -R pulse:pulse /etc/pulse /opt/pulse
|
||||||
mkdir -p /opt/pulse
|
|
||||||
rm -rf /opt/pulse/*
|
|
||||||
curl -fsSL "https://github.com/rcourtman/Pulse/releases/download/v${RELEASE}/pulse-v${RELEASE}.tar.gz" -o "$temp_file"
|
|
||||||
tar zxf "$temp_file" --strip-components=1 -C /opt/pulse
|
|
||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
|
||||||
msg_ok "Updated Pulse to ${RELEASE}"
|
|
||||||
|
|
||||||
msg_info "Setting permissions for /opt/pulse..."
|
|
||||||
chown -R pulse:pulse "/opt/pulse"
|
|
||||||
find "/opt/pulse" -type d -exec chmod 755 {} \;
|
|
||||||
find "/opt/pulse" -type f -exec chmod 644 {} \;
|
|
||||||
msg_ok "Set permissions."
|
|
||||||
|
|
||||||
msg_info "Starting ${APP}"
|
msg_info "Starting ${APP}"
|
||||||
systemctl start pulse
|
systemctl start pulse
|
||||||
msg_ok "Started ${APP}"
|
msg_ok "Started ${APP}"
|
||||||
|
|
||||||
|
msg_ok "Updated Successfully"
|
||||||
else
|
else
|
||||||
msg_ok "No update required. ${APP} is already at ${RELEASE}."
|
msg_ok "No update required. ${APP} is already at v${RELEASE}"
|
||||||
fi
|
fi
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
|
|||||||
@@ -27,10 +27,11 @@ function update_script() {
|
|||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
sed -i 's/^\([[:space:]]*limiter:\)[[:space:]]*true/\1 false/' /etc/searxng/settings.yml
|
msg_ok "There is currently no update available."
|
||||||
if cd /usr/local/searxng/searxng-src && git pull | grep -q 'Already up to date'; then
|
# sed -i 's/^\([[:space:]]*limiter:\)[[:space:]]*true/\1 false/' /etc/searxng/settings.yml
|
||||||
msg_ok "There is currently no update available."
|
# if cd /usr/local/searxng/searxng-src && git pull | grep -q 'Already up to date'; then
|
||||||
fi
|
# msg_ok "There is currently no update available."
|
||||||
|
# fi
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
start
|
start
|
||||||
|
|||||||
72
ct/tududi.sh
Normal file
72
ct/tududi.sh
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||||
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
|
# Author: vhsdream
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://tududi.com
|
||||||
|
|
||||||
|
APP="Tududi"
|
||||||
|
var_tags="${var_tags:-todo-app}"
|
||||||
|
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_unprivileged="${var_unprivileged:-1}"
|
||||||
|
|
||||||
|
header_info "$APP"
|
||||||
|
variables
|
||||||
|
color
|
||||||
|
catch_errors
|
||||||
|
|
||||||
|
function update_script() {
|
||||||
|
header_info
|
||||||
|
check_container_storage
|
||||||
|
check_container_resources
|
||||||
|
if [[ ! -d /opt/tududi ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
RELEASE=$(curl -fsSL https://api.github.com/repos/chrisvel/tududi/releases/latest | yq '.tag_name' | sed 's/^v//')
|
||||||
|
if [[ "${RELEASE}" != "$(cat ~/.tududi 2>/dev/null)" ]] || [[ ! -f ~/.tududi ]]; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop tududi
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
msg_info "Remove and backup Files"
|
||||||
|
cp /opt/tududi/backend/.env /opt/tududi.env
|
||||||
|
rm -rf /opt/tududi/backend/dist
|
||||||
|
msg_ok "Backup and removed Files"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "tududi" "chrisvel/tududi"
|
||||||
|
|
||||||
|
msg_info "Updating ${APP}"
|
||||||
|
cd /opt/tududi
|
||||||
|
$STD npm install
|
||||||
|
export NODE_ENV=production
|
||||||
|
$STD npm run frontend:build
|
||||||
|
mv ./dist ./backend
|
||||||
|
mv ./public/locales ./backend/dist
|
||||||
|
mv ./public/favicon.* ./backend/dist
|
||||||
|
mv /opt/tududi.env /opt/tududi/.env
|
||||||
|
msg_ok "Updated $APP"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start tududi
|
||||||
|
msg_ok "Started Service"
|
||||||
|
msg_ok "Updated Successfully"
|
||||||
|
else
|
||||||
|
msg_ok "Already up to date"
|
||||||
|
fi
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
|
||||||
|
start
|
||||||
|
build_container
|
||||||
|
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}:3002${CL}"
|
||||||
@@ -13,6 +13,7 @@ var_disk="${var_disk:-4}"
|
|||||||
var_os="${var_os:-debian}"
|
var_os="${var_os:-debian}"
|
||||||
var_version="${var_version:-12}"
|
var_version="${var_version:-12}"
|
||||||
var_unprivileged="${var_unprivileged:-1}"
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
var_tun="${var_tun:-1}"
|
||||||
|
|
||||||
header_info "$APP"
|
header_info "$APP"
|
||||||
variables
|
variables
|
||||||
@@ -20,20 +21,20 @@ color
|
|||||||
catch_errors
|
catch_errors
|
||||||
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
if [[ ! -d /etc/wireguard ]]; then
|
if [[ ! -d /etc/wireguard ]]; then
|
||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
|
||||||
fi
|
|
||||||
apt-get update
|
|
||||||
apt-get -y upgrade
|
|
||||||
sleep 2
|
|
||||||
cd /etc/wgdashboard/src
|
|
||||||
./wgd.sh update
|
|
||||||
./wgd.sh start
|
|
||||||
exit
|
exit
|
||||||
|
fi
|
||||||
|
apt-get update
|
||||||
|
apt-get -y upgrade
|
||||||
|
sleep 2
|
||||||
|
cd /etc/wgdashboard/src
|
||||||
|
./wgd.sh update
|
||||||
|
./wgd.sh start
|
||||||
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
@@ -43,4 +44,4 @@ description
|
|||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} WGDashboard Access it using the following URL:${CL}"
|
echo -e "${INFO}${YW} WGDashboard Access it using the following URL:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:10086${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:10086${CL}"
|
||||||
|
|||||||
40
frontend/public/json/ots.json
Normal file
40
frontend/public/json/ots.json
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"name": "OTS",
|
||||||
|
"slug": "ots",
|
||||||
|
"categories": [
|
||||||
|
6
|
||||||
|
],
|
||||||
|
"date_created": "2025-08-04",
|
||||||
|
"type": "ct",
|
||||||
|
"updateable": true,
|
||||||
|
"privileged": false,
|
||||||
|
"interface_port": 443,
|
||||||
|
"documentation": "https://github.com/Luzifer/ots/wiki",
|
||||||
|
"config_path": "/opt/ots/.env",
|
||||||
|
"website": "https://github.com/Luzifer/ots",
|
||||||
|
"logo": null,
|
||||||
|
"description": "One-Time-Secret sharing platform with a symmetric 256bit AES encryption in the browser.",
|
||||||
|
"install_methods": [
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"script": "ct/ots.sh",
|
||||||
|
"resources": {
|
||||||
|
"cpu": 1,
|
||||||
|
"ram": 512,
|
||||||
|
"hdd": 3,
|
||||||
|
"os": "Debian",
|
||||||
|
"version": "12"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default_credentials": {
|
||||||
|
"username": null,
|
||||||
|
"password": null
|
||||||
|
},
|
||||||
|
"notes": [
|
||||||
|
{
|
||||||
|
"text": "When it is in used external please use it behind reverse proxy or create your own certificates",
|
||||||
|
"type": "info"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
],
|
],
|
||||||
"date_created": "2024-05-02",
|
"date_created": "2024-05-02",
|
||||||
"type": "ct",
|
"type": "ct",
|
||||||
"updateable": false,
|
"updateable": true,
|
||||||
"privileged": false,
|
"privileged": false,
|
||||||
"interface_port": 3000,
|
"interface_port": 3000,
|
||||||
"documentation": "https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md",
|
"documentation": "https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md",
|
||||||
|
|||||||
@@ -1,35 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "SearXNG",
|
|
||||||
"slug": "searxng",
|
|
||||||
"categories": [
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"date_created": "2025-02-07",
|
|
||||||
"type": "ct",
|
|
||||||
"updateable": true,
|
|
||||||
"privileged": false,
|
|
||||||
"interface_port": 8888,
|
|
||||||
"documentation": "https://docs.searxng.org/",
|
|
||||||
"website": "https://github.com/searxng/searxng",
|
|
||||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/searxng.webp",
|
|
||||||
"config_path": "/etc/searxng/settings.yml",
|
|
||||||
"description": "SearXNG is a free internet metasearch engine which aggregates results from up to 215 search services. Users are neither tracked nor profiled. Additionally, SearXNG can be used over Tor for online anonymity.",
|
|
||||||
"install_methods": [
|
|
||||||
{
|
|
||||||
"type": "default",
|
|
||||||
"script": "ct/searxng.sh",
|
|
||||||
"resources": {
|
|
||||||
"cpu": 2,
|
|
||||||
"ram": 2048,
|
|
||||||
"hdd": 7,
|
|
||||||
"os": "debian",
|
|
||||||
"version": "12"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default_credentials": {
|
|
||||||
"username": null,
|
|
||||||
"password": null
|
|
||||||
},
|
|
||||||
"notes": []
|
|
||||||
}
|
|
||||||
44
frontend/public/json/tududi.json
Normal file
44
frontend/public/json/tududi.json
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"name": "Tududi",
|
||||||
|
"slug": "tududi",
|
||||||
|
"categories": [
|
||||||
|
12
|
||||||
|
],
|
||||||
|
"date_created": "2025-08-04",
|
||||||
|
"type": "ct",
|
||||||
|
"updateable": true,
|
||||||
|
"privileged": false,
|
||||||
|
"interface_port": 3002,
|
||||||
|
"documentation": null,
|
||||||
|
"config_path": "/opt/tududi/backend/.env",
|
||||||
|
"website": "https://tududi.com/",
|
||||||
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/tududi.webp",
|
||||||
|
"description": "Self-hosted task management with functional programming architecture, hierarchical organization, and multi-language support.",
|
||||||
|
"install_methods": [
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"script": "ct/tududi.sh",
|
||||||
|
"resources": {
|
||||||
|
"cpu": 2,
|
||||||
|
"ram": 2048,
|
||||||
|
"hdd": 4,
|
||||||
|
"os": "Debian",
|
||||||
|
"version": "12"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default_credentials": {
|
||||||
|
"username": null,
|
||||||
|
"password": null
|
||||||
|
},
|
||||||
|
"notes": [
|
||||||
|
{
|
||||||
|
"text": "Create users like this: `cd /opt/tududi` => `npm run user:create <email> <password>`",
|
||||||
|
"type": "info"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "Database location: `/opt/tududi-db`. Uploads: `/opt/tududi-uploads`",
|
||||||
|
"type": "info"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "Ubuntu 24.10",
|
|
||||||
"slug": "ubuntu2410-vm",
|
|
||||||
"categories": [
|
|
||||||
2
|
|
||||||
],
|
|
||||||
"date_created": "2025-01-24",
|
|
||||||
"type": "vm",
|
|
||||||
"updateable": true,
|
|
||||||
"privileged": false,
|
|
||||||
"interface_port": null,
|
|
||||||
"documentation": null,
|
|
||||||
"website": "https://ubuntu.com/",
|
|
||||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/ubuntu.webp",
|
|
||||||
"config_path": "",
|
|
||||||
"description": "Ubuntu is a distribution based on Debian, designed to have regular releases and a consistent user experience.",
|
|
||||||
"install_methods": [
|
|
||||||
{
|
|
||||||
"type": "default",
|
|
||||||
"script": "vm/ubuntu2410-vm.sh",
|
|
||||||
"resources": {
|
|
||||||
"cpu": 2,
|
|
||||||
"ram": 2048,
|
|
||||||
"hdd": 8,
|
|
||||||
"os": null,
|
|
||||||
"version": null
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default_credentials": {
|
|
||||||
"username": null,
|
|
||||||
"password": null
|
|
||||||
},
|
|
||||||
"notes": [
|
|
||||||
{
|
|
||||||
"text": "after installation, checkout: ´https://github.com/community-scripts/ProxmoxVE/discussions/272´",
|
|
||||||
"type": "info"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,14 +1,359 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"name": "influxdata/influxdb",
|
||||||
|
"version": "v1.12.2rc2",
|
||||||
|
"date": "2025-08-06T23:12:18Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mongodb/mongo",
|
||||||
|
"version": "r8.2.0-rc3",
|
||||||
|
"date": "2025-08-06T22:48:18Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "rcourtman/Pulse",
|
||||||
|
"version": "v4.0.8",
|
||||||
|
"date": "2025-08-06T22:04:29Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fallenbagel/jellyseerr",
|
||||||
|
"version": "preview-seerr",
|
||||||
|
"date": "2025-08-06T21:45:58Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "booklore-app/booklore",
|
||||||
|
"version": "v0.35.1",
|
||||||
|
"date": "2025-08-06T21:30:17Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "MariaDB/server",
|
||||||
|
"version": "mariadb-11.8.3",
|
||||||
|
"date": "2025-08-06T21:17:38Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Athou/commafeed",
|
||||||
|
"version": "5.11.0",
|
||||||
|
"date": "2025-08-06T21:14:18Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "bastienwirtz/homer",
|
||||||
|
"version": "v25.08.1",
|
||||||
|
"date": "2025-08-06T21:04:07Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "msgbyte/tianji",
|
||||||
|
"version": "v1.24.12",
|
||||||
|
"date": "2025-08-06T18:42:07Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "firefly-iii/firefly-iii",
|
||||||
|
"version": "v6.2.21",
|
||||||
|
"date": "2025-07-17T04:46:25Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "home-assistant/core",
|
||||||
|
"version": "2025.8.0",
|
||||||
|
"date": "2025-08-06T17:54:23Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "NodeBB/NodeBB",
|
||||||
|
"version": "v4.4.6",
|
||||||
|
"date": "2025-08-06T17:48:36Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "apache/tika",
|
||||||
|
"version": "3.2.2-rc1",
|
||||||
|
"date": "2025-08-06T16:59:43Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cross-seed/cross-seed",
|
||||||
|
"version": "v6.13.1",
|
||||||
|
"date": "2025-07-17T21:36:42Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Graylog2/graylog2-server",
|
||||||
|
"version": "6.1.14",
|
||||||
|
"date": "2025-08-06T14:24:58Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cockpit-project/cockpit",
|
||||||
|
"version": "344",
|
||||||
|
"date": "2025-08-06T13:09:25Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Checkmk/checkmk",
|
||||||
|
"version": "v2.4.0p9",
|
||||||
|
"date": "2025-08-06T12:48:46Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "TryGhost/Ghost-CLI",
|
||||||
|
"version": "v1.28.3",
|
||||||
|
"date": "2025-08-06T12:32:02Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "outline/outline",
|
||||||
|
"version": "v0.86.0",
|
||||||
|
"date": "2025-08-06T12:20:31Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "nzbgetcom/nzbget",
|
||||||
|
"version": "v25.2",
|
||||||
|
"date": "2025-07-04T08:21:42Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "openobserve/openobserve",
|
||||||
|
"version": "v0.15.0-rc5",
|
||||||
|
"date": "2025-08-06T08:55:10Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "theonedev/onedev",
|
||||||
|
"version": "v12.0.4",
|
||||||
|
"date": "2025-08-06T06:30:07Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Jackett/Jackett",
|
||||||
|
"version": "v0.22.2233",
|
||||||
|
"date": "2025-08-06T05:56:01Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "garethgeorge/backrest",
|
||||||
|
"version": "v1.9.1",
|
||||||
|
"date": "2025-08-06T05:48:33Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fuma-nama/fumadocs",
|
||||||
|
"version": "fumadocs-openapi@9.1.9",
|
||||||
|
"date": "2025-08-06T04:54:06Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "MediaBrowser/Emby.Releases",
|
||||||
|
"version": "4.9.1.2",
|
||||||
|
"date": "2025-06-26T22:08:00Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ollama/ollama",
|
||||||
|
"version": "v0.11.3",
|
||||||
|
"date": "2025-08-06T01:29:59Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "steveiliop56/tinyauth",
|
||||||
|
"version": "v3.6.2",
|
||||||
|
"date": "2025-07-17T12:08:03Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "autobrr/autobrr",
|
||||||
|
"version": "v1.65.0",
|
||||||
|
"date": "2025-08-05T21:12:35Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "keycloak/keycloak",
|
||||||
|
"version": "26.0.14",
|
||||||
|
"date": "2025-08-01T11:29:12Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "HabitRPG/habitica",
|
||||||
|
"version": "v5.38.1",
|
||||||
|
"date": "2025-08-05T19:33:40Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "YunoHost/yunohost",
|
||||||
|
"version": "debian/12.1.7.1",
|
||||||
|
"date": "2025-08-05T17:30:05Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WordPress/WordPress",
|
||||||
|
"version": "4.7.30",
|
||||||
|
"date": "2025-08-05T17:23:06Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ErsatzTV/ErsatzTV",
|
||||||
|
"version": "v25.4.0",
|
||||||
|
"date": "2025-08-05T17:10:01Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "meilisearch/meilisearch",
|
||||||
|
"version": "prototype-webhooks-0",
|
||||||
|
"date": "2025-08-05T16:55:32Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jenkinsci/jenkins",
|
||||||
|
"version": "jenkins-2.522",
|
||||||
|
"date": "2025-08-05T15:33:22Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "n8n-io/n8n",
|
||||||
|
"version": "n8n@1.105.3",
|
||||||
|
"date": "2025-08-05T13:06:29Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "apache/cassandra",
|
||||||
|
"version": "cassandra-5.0.5",
|
||||||
|
"date": "2025-08-05T12:08:49Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cloudreve/cloudreve",
|
||||||
|
"version": "4.4.0",
|
||||||
|
"date": "2025-08-05T11:51:08Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "semaphoreui/semaphore",
|
||||||
|
"version": "v2.15.5",
|
||||||
|
"date": "2025-08-05T11:49:45Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sabnzbd/sabnzbd",
|
||||||
|
"version": "4.5.2",
|
||||||
|
"date": "2025-07-09T19:08:28Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "zitadel/zitadel",
|
||||||
|
"version": "v2.71.14",
|
||||||
|
"date": "2025-08-05T09:48:52Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "binwiederhier/ntfy",
|
||||||
|
"version": "v2.14.0",
|
||||||
|
"date": "2025-08-05T08:31:35Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "bunkerity/bunkerweb",
|
||||||
|
"version": "v1.6.3",
|
||||||
|
"date": "2025-08-05T07:46:45Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jupyter/notebook",
|
||||||
|
"version": "v7.4.5",
|
||||||
|
"date": "2025-08-05T07:41:04Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mattermost/mattermost",
|
||||||
|
"version": "server/public/v0.1.16",
|
||||||
|
"date": "2025-07-28T22:46:46Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "rogerfar/rdt-client",
|
||||||
|
"version": "v2.0.116",
|
||||||
|
"date": "2025-08-05T04:45:21Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "esphome/esphome",
|
||||||
|
"version": "2025.7.5",
|
||||||
|
"date": "2025-08-05T03:37:52Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "go-gitea/gitea",
|
||||||
|
"version": "v1.24.4",
|
||||||
|
"date": "2025-08-04T18:58:27Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "runtipi/runtipi",
|
||||||
|
"version": "nightly",
|
||||||
|
"date": "2025-08-04T18:08:42Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Dolibarr/dolibarr",
|
||||||
|
"version": "22.0.0",
|
||||||
|
"date": "2025-08-04T16:23:05Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "wizarrrr/wizarr",
|
||||||
|
"version": "2025.8.1",
|
||||||
|
"date": "2025-08-04T15:23:03Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "VictoriaMetrics/VictoriaMetrics",
|
||||||
|
"version": "pmm-6401-v1.123.0",
|
||||||
|
"date": "2025-08-04T15:11:36Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "home-assistant/operating-system",
|
||||||
|
"version": "16.0",
|
||||||
|
"date": "2025-07-09T13:28:43Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Paymenter/Paymenter",
|
||||||
|
"version": "v1.2.8",
|
||||||
|
"date": "2025-08-04T13:44:03Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "apache/tomcat",
|
||||||
|
"version": "10.1.44",
|
||||||
|
"date": "2025-08-04T13:17:59Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "rabbitmq/rabbitmq-server",
|
||||||
|
"version": "v4.1.3",
|
||||||
|
"date": "2025-08-04T12:13:45Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "redis/redis",
|
||||||
|
"version": "8.2.0",
|
||||||
|
"date": "2025-08-04T11:14:00Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "raydak-labs/configarr",
|
||||||
|
"version": "v1.14.0",
|
||||||
|
"date": "2025-08-04T10:55:20Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "evcc-io/evcc",
|
||||||
|
"version": "0.207.1",
|
||||||
|
"date": "2025-08-04T06:56:14Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "henrygd/beszel",
|
||||||
|
"version": "v0.12.3",
|
||||||
|
"date": "2025-08-04T02:21:16Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "benjaminjonard/koillection",
|
||||||
|
"version": "1.6.18",
|
||||||
|
"date": "2025-08-03T21:41:45Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jellyfin/jellyfin",
|
||||||
|
"version": "v10.10.7",
|
||||||
|
"date": "2025-04-05T19:14:59Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tautulli/Tautulli",
|
||||||
|
"version": "v2.15.3",
|
||||||
|
"date": "2025-08-03T17:27:16Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "project-zot/zot",
|
||||||
|
"version": "v2.1.7",
|
||||||
|
"date": "2025-08-03T16:35:59Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "karakeep-app/karakeep",
|
||||||
|
"version": "mcp/v0.26.0",
|
||||||
|
"date": "2025-08-03T16:21:47Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "gethomepage/homepage",
|
||||||
|
"version": "v1.4.3",
|
||||||
|
"date": "2025-08-03T15:19:16Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "blakeblackshear/frigate",
|
||||||
|
"version": "v0.14.1",
|
||||||
|
"date": "2024-08-29T22:32:51Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Lidarr/Lidarr",
|
||||||
|
"version": "v2.12.4.4658",
|
||||||
|
"date": "2025-06-09T17:27:45Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Radarr/Radarr",
|
||||||
|
"version": "v5.26.2.10099",
|
||||||
|
"date": "2025-06-11T20:10:39Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "advplyr/audiobookshelf",
|
"name": "advplyr/audiobookshelf",
|
||||||
"version": "v2.27.0",
|
"version": "v2.27.0",
|
||||||
"date": "2025-08-02T23:35:37Z"
|
"date": "2025-08-02T23:35:37Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "gethomepage/homepage",
|
|
||||||
"version": "v1.4.2",
|
|
||||||
"date": "2025-08-02T22:52:30Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "TwiN/gatus",
|
"name": "TwiN/gatus",
|
||||||
"version": "v5.21.0",
|
"version": "v5.21.0",
|
||||||
@@ -19,91 +364,36 @@
|
|||||||
"version": "v2.7.4",
|
"version": "v2.7.4",
|
||||||
"date": "2025-08-02T16:51:19Z"
|
"date": "2025-08-02T16:51:19Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "msgbyte/tianji",
|
|
||||||
"version": "v1.24.9",
|
|
||||||
"date": "2025-08-02T16:46:17Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "actualbudget/actual",
|
"name": "actualbudget/actual",
|
||||||
"version": "v25.8.0",
|
"version": "v25.8.0",
|
||||||
"date": "2025-08-02T16:17:45Z"
|
"date": "2025-08-02T16:17:45Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "fuma-nama/fumadocs",
|
|
||||||
"version": "fumadocs-core@15.6.8",
|
|
||||||
"date": "2025-08-02T09:44:14Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "inspircd/inspircd",
|
"name": "inspircd/inspircd",
|
||||||
"version": "v4.8.0",
|
"version": "v4.8.0",
|
||||||
"date": "2025-08-02T09:12:10Z"
|
"date": "2025-08-02T09:12:10Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "evcc-io/evcc",
|
|
||||||
"version": "0.207.0",
|
|
||||||
"date": "2025-08-02T09:09:08Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "donaldzou/WGDashboard",
|
"name": "donaldzou/WGDashboard",
|
||||||
"version": "v4.2.5",
|
"version": "v4.2.5",
|
||||||
"date": "2025-08-02T08:58:21Z"
|
"date": "2025-08-02T08:58:21Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "theonedev/onedev",
|
|
||||||
"version": "v12.0.3",
|
|
||||||
"date": "2025-08-02T08:16:46Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Jackett/Jackett",
|
|
||||||
"version": "v0.22.2219",
|
|
||||||
"date": "2025-08-02T06:00:23Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "pocketbase/pocketbase",
|
"name": "pocketbase/pocketbase",
|
||||||
"version": "v0.29.1",
|
"version": "v0.29.1",
|
||||||
"date": "2025-08-02T05:51:37Z"
|
"date": "2025-08-02T05:51:37Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "henrygd/beszel",
|
|
||||||
"version": "v0.12.2",
|
|
||||||
"date": "2025-08-02T01:12:52Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "steveiliop56/tinyauth",
|
|
||||||
"version": "v3.6.2",
|
|
||||||
"date": "2025-07-17T12:08:03Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "mongodb/mongo",
|
|
||||||
"version": "r8.2.0-rc2",
|
|
||||||
"date": "2025-08-01T23:31:28Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "docmost/docmost",
|
"name": "docmost/docmost",
|
||||||
"version": "v0.22.2",
|
"version": "v0.22.2",
|
||||||
"date": "2025-08-01T23:27:06Z"
|
"date": "2025-08-01T23:27:06Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "influxdata/influxdb",
|
|
||||||
"version": "v1.12.2rc0",
|
|
||||||
"date": "2025-08-01T21:48:30Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "homarr-labs/homarr",
|
"name": "homarr-labs/homarr",
|
||||||
"version": "v1.31.0",
|
"version": "v1.31.0",
|
||||||
"date": "2025-08-01T19:18:16Z"
|
"date": "2025-08-01T19:18:16Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "MediaBrowser/Emby.Releases",
|
|
||||||
"version": "4.9.1.2",
|
|
||||||
"date": "2025-06-26T22:08:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "firefly-iii/firefly-iii",
|
|
||||||
"version": "v6.2.21",
|
|
||||||
"date": "2025-07-17T04:46:25Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Koenkk/zigbee2mqtt",
|
"name": "Koenkk/zigbee2mqtt",
|
||||||
"version": "2.6.0",
|
"version": "2.6.0",
|
||||||
@@ -119,11 +409,6 @@
|
|||||||
"version": "3.2.0",
|
"version": "3.2.0",
|
||||||
"date": "2025-08-01T14:49:29Z"
|
"date": "2025-08-01T14:49:29Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "keycloak/keycloak",
|
|
||||||
"version": "26.0.14",
|
|
||||||
"date": "2025-08-01T11:29:12Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "documenso/documenso",
|
"name": "documenso/documenso",
|
||||||
"version": "v1.12.2-rc.3",
|
"version": "v1.12.2-rc.3",
|
||||||
@@ -135,9 +420,9 @@
|
|||||||
"date": "2025-08-01T14:44:48Z"
|
"date": "2025-08-01T14:44:48Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "n8n-io/n8n",
|
"name": "neo4j/neo4j",
|
||||||
"version": "n8n@1.104.2",
|
"version": "2025.07.1",
|
||||||
"date": "2025-07-31T13:14:26Z"
|
"date": "2025-08-01T14:40:28Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "element-hq/synapse",
|
"name": "element-hq/synapse",
|
||||||
@@ -154,16 +439,6 @@
|
|||||||
"version": "v11.0.1",
|
"version": "v11.0.1",
|
||||||
"date": "2025-08-01T07:43:59Z"
|
"date": "2025-08-01T07:43:59Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "meilisearch/meilisearch",
|
|
||||||
"version": "prototype-arroy-becomes-hannoy-8",
|
|
||||||
"date": "2025-08-01T07:34:21Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "mattermost/mattermost",
|
|
||||||
"version": "server/public/v0.1.16",
|
|
||||||
"date": "2025-07-28T22:46:46Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "gotson/komga",
|
"name": "gotson/komga",
|
||||||
"version": "1.23.1",
|
"version": "1.23.1",
|
||||||
@@ -174,21 +449,11 @@
|
|||||||
"version": "v1.7.1",
|
"version": "v1.7.1",
|
||||||
"date": "2025-07-31T22:26:54Z"
|
"date": "2025-07-31T22:26:54Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "zitadel/zitadel",
|
|
||||||
"version": "v4.0.0",
|
|
||||||
"date": "2025-07-31T20:05:45Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "lazy-media/Reactive-Resume",
|
"name": "lazy-media/Reactive-Resume",
|
||||||
"version": "v1.2.3",
|
"version": "v1.2.3",
|
||||||
"date": "2025-07-31T19:18:36Z"
|
"date": "2025-07-31T19:18:36Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "apache/tomcat",
|
|
||||||
"version": "9.0.108",
|
|
||||||
"date": "2025-07-31T18:24:50Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Suwayomi/Suwayomi-Server",
|
"name": "Suwayomi/Suwayomi-Server",
|
||||||
"version": "v2.1.1867",
|
"version": "v2.1.1867",
|
||||||
@@ -199,46 +464,11 @@
|
|||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
"date": "2025-07-31T17:29:38Z"
|
"date": "2025-07-31T17:29:38Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "home-assistant/core",
|
|
||||||
"version": "2025.7.4",
|
|
||||||
"date": "2025-07-28T08:15:50Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "TryGhost/Ghost-CLI",
|
|
||||||
"version": "v1.28.2",
|
|
||||||
"date": "2025-07-31T15:02:56Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "NodeBB/NodeBB",
|
|
||||||
"version": "v3.12.8",
|
|
||||||
"date": "2025-07-31T14:00:13Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Stirling-Tools/Stirling-PDF",
|
"name": "Stirling-Tools/Stirling-PDF",
|
||||||
"version": "v1.1.1",
|
"version": "v1.1.1",
|
||||||
"date": "2025-07-31T12:16:54Z"
|
"date": "2025-07-31T12:16:54Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Paymenter/Paymenter",
|
|
||||||
"version": "v1.2.7",
|
|
||||||
"date": "2025-07-31T09:50:54Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "apache/cassandra",
|
|
||||||
"version": "5.0.5-tentative",
|
|
||||||
"date": "2025-07-31T09:40:54Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "redis/redis",
|
|
||||||
"version": "8.2-int",
|
|
||||||
"date": "2025-07-31T09:01:24Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ollama/ollama",
|
|
||||||
"version": "v0.10.1",
|
|
||||||
"date": "2025-07-31T04:39:49Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "coder/code-server",
|
"name": "coder/code-server",
|
||||||
"version": "v4.102.3",
|
"version": "v4.102.3",
|
||||||
@@ -254,26 +484,6 @@
|
|||||||
"version": "v0.7.18-beta",
|
"version": "v0.7.18-beta",
|
||||||
"date": "2025-07-30T21:26:00Z"
|
"date": "2025-07-30T21:26:00Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "fallenbagel/jellyseerr",
|
|
||||||
"version": "preview-fix-invalid-blacklisttag",
|
|
||||||
"date": "2025-07-30T20:30:29Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "benjaminjonard/koillection",
|
|
||||||
"version": "1.6.17",
|
|
||||||
"date": "2025-07-30T20:24:17Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "semaphoreui/semaphore",
|
|
||||||
"version": "v2.16.0-beta6",
|
|
||||||
"date": "2025-07-23T19:18:14Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "wizarrrr/wizarr",
|
|
||||||
"version": "2025.7.8",
|
|
||||||
"date": "2025-07-30T18:17:51Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "oauth2-proxy/oauth2-proxy",
|
"name": "oauth2-proxy/oauth2-proxy",
|
||||||
"version": "v7.11.0",
|
"version": "v7.11.0",
|
||||||
@@ -284,11 +494,6 @@
|
|||||||
"version": "v2025-07-30",
|
"version": "v2025-07-30",
|
||||||
"date": "2025-07-30T17:13:40Z"
|
"date": "2025-07-30T17:13:40Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "bunkerity/bunkerweb",
|
|
||||||
"version": "v1.6.2",
|
|
||||||
"date": "2025-07-08T13:52:33Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "dgtlmoon/changedetection.io",
|
"name": "dgtlmoon/changedetection.io",
|
||||||
"version": "0.50.8",
|
"version": "0.50.8",
|
||||||
@@ -319,11 +524,6 @@
|
|||||||
"version": "v1.5.3-beta.10",
|
"version": "v1.5.3-beta.10",
|
||||||
"date": "2025-07-15T06:07:03Z"
|
"date": "2025-07-15T06:07:03Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "jenkinsci/jenkins",
|
|
||||||
"version": "jenkins-2.521",
|
|
||||||
"date": "2025-07-30T03:38:59Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "OliveTin/OliveTin",
|
"name": "OliveTin/OliveTin",
|
||||||
"version": "2025.7.29",
|
"version": "2025.7.29",
|
||||||
@@ -349,21 +549,11 @@
|
|||||||
"version": "4.1.0",
|
"version": "4.1.0",
|
||||||
"date": "2025-07-29T15:15:26Z"
|
"date": "2025-07-29T15:15:26Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "rogerfar/rdt-client",
|
|
||||||
"version": "v2.0.115",
|
|
||||||
"date": "2025-07-29T04:38:35Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "diced/zipline",
|
"name": "diced/zipline",
|
||||||
"version": "v4.2.1",
|
"version": "v4.2.1",
|
||||||
"date": "2025-07-28T19:25:48Z"
|
"date": "2025-07-28T19:25:48Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "HabitRPG/habitica",
|
|
||||||
"version": "v5.38.0",
|
|
||||||
"date": "2025-07-28T19:17:42Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "navidrome/navidrome",
|
"name": "navidrome/navidrome",
|
||||||
"version": "v0.58.0",
|
"version": "v0.58.0",
|
||||||
@@ -374,31 +564,11 @@
|
|||||||
"version": "v0.107.64",
|
"version": "v0.107.64",
|
||||||
"date": "2025-07-28T14:24:56Z"
|
"date": "2025-07-28T14:24:56Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "booklore-app/BookLore",
|
|
||||||
"version": "v0.35.0",
|
|
||||||
"date": "2025-07-28T14:20:30Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Graylog2/graylog2-server",
|
|
||||||
"version": "7.0.0-alpha.1",
|
|
||||||
"date": "2025-07-28T11:28:22Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Checkmk/checkmk",
|
|
||||||
"version": "v2.3.0p35",
|
|
||||||
"date": "2025-07-28T08:32:54Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "PrivateBin/PrivateBin",
|
"name": "PrivateBin/PrivateBin",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"date": "2025-07-28T07:48:40Z"
|
"date": "2025-07-28T07:48:40Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "esphome/esphome",
|
|
||||||
"version": "2025.7.4",
|
|
||||||
"date": "2025-07-28T07:33:36Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "umami-software/umami",
|
"name": "umami-software/umami",
|
||||||
"version": "v2.19.0",
|
"version": "v2.19.0",
|
||||||
@@ -409,26 +579,11 @@
|
|||||||
"version": "v1.18.4",
|
"version": "v1.18.4",
|
||||||
"date": "2025-06-25T00:06:56Z"
|
"date": "2025-06-25T00:06:56Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "project-zot/zot",
|
|
||||||
"version": "v2.1.6",
|
|
||||||
"date": "2025-07-27T01:14:14Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "aceberg/WatchYourLAN",
|
"name": "aceberg/WatchYourLAN",
|
||||||
"version": "2.1.3",
|
"version": "2.1.3",
|
||||||
"date": "2025-07-26T14:19:00Z"
|
"date": "2025-07-26T14:19:00Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "blakeblackshear/frigate",
|
|
||||||
"version": "v0.14.1",
|
|
||||||
"date": "2024-08-29T22:32:51Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "openobserve/openobserve",
|
|
||||||
"version": "v0.15.0-rc4",
|
|
||||||
"date": "2025-07-25T16:50:34Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "emqx/emqx",
|
"name": "emqx/emqx",
|
||||||
"version": "e6.0.0-M2.202508-alpha.1",
|
"version": "e6.0.0-M2.202508-alpha.1",
|
||||||
@@ -444,11 +599,6 @@
|
|||||||
"version": "v12.0.1",
|
"version": "v12.0.1",
|
||||||
"date": "2025-07-25T11:54:30Z"
|
"date": "2025-07-25T11:54:30Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "ErsatzTV/ErsatzTV",
|
|
||||||
"version": "v25.3.1",
|
|
||||||
"date": "2025-07-25T03:39:31Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Brandawg93/PeaNUT",
|
"name": "Brandawg93/PeaNUT",
|
||||||
"version": "v5.10.0",
|
"version": "v5.10.0",
|
||||||
@@ -484,51 +634,21 @@
|
|||||||
"version": "v3.5.0",
|
"version": "v3.5.0",
|
||||||
"date": "2025-07-23T14:06:54Z"
|
"date": "2025-07-23T14:06:54Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Radarr/Radarr",
|
|
||||||
"version": "v5.26.2.10099",
|
|
||||||
"date": "2025-06-11T20:10:39Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Prowlarr/Prowlarr",
|
"name": "Prowlarr/Prowlarr",
|
||||||
"version": "v1.37.0.5076",
|
"version": "v1.37.0.5076",
|
||||||
"date": "2025-06-04T11:04:53Z"
|
"date": "2025-06-04T11:04:53Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "cockpit-project/cockpit",
|
|
||||||
"version": "343",
|
|
||||||
"date": "2025-07-23T11:21:34Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "neo4j/neo4j",
|
|
||||||
"version": "2025.07.0",
|
|
||||||
"date": "2025-07-23T10:13:43Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "jhuckaby/Cronicle",
|
"name": "jhuckaby/Cronicle",
|
||||||
"version": "v0.9.85",
|
"version": "v0.9.85",
|
||||||
"date": "2025-07-22T23:49:53Z"
|
"date": "2025-07-22T23:49:53Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "raydak-labs/configarr",
|
|
||||||
"version": "v1.13.7",
|
|
||||||
"date": "2025-07-22T20:41:45Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "TasmoAdmin/TasmoAdmin",
|
"name": "TasmoAdmin/TasmoAdmin",
|
||||||
"version": "v4.3.1",
|
"version": "v4.3.1",
|
||||||
"date": "2025-07-22T20:10:08Z"
|
"date": "2025-07-22T20:10:08Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "rcourtman/Pulse",
|
|
||||||
"version": "v3.42.0",
|
|
||||||
"date": "2025-07-14T22:07:28Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Dolibarr/dolibarr",
|
|
||||||
"version": "21.0.2",
|
|
||||||
"date": "2025-07-22T16:58:05Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "PCJones/UmlautAdaptarr",
|
"name": "PCJones/UmlautAdaptarr",
|
||||||
"version": "v0.7.3",
|
"version": "v0.7.3",
|
||||||
@@ -544,11 +664,6 @@
|
|||||||
"version": "v4.0.0",
|
"version": "v4.0.0",
|
||||||
"date": "2025-07-21T21:05:02Z"
|
"date": "2025-07-21T21:05:02Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "autobrr/autobrr",
|
|
||||||
"version": "v1.64.0",
|
|
||||||
"date": "2025-07-21T20:56:33Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "tobychui/zoraxy",
|
"name": "tobychui/zoraxy",
|
||||||
"version": "v3.2.5r2",
|
"version": "v3.2.5r2",
|
||||||
@@ -564,16 +679,6 @@
|
|||||||
"version": "v1.13.1",
|
"version": "v1.13.1",
|
||||||
"date": "2025-07-21T11:57:03Z"
|
"date": "2025-07-21T11:57:03Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "VictoriaMetrics/VictoriaMetrics",
|
|
||||||
"version": "pmm-6401-v1.122.0",
|
|
||||||
"date": "2025-07-21T10:40:07Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "nzbgetcom/nzbget",
|
|
||||||
"version": "v25.2",
|
|
||||||
"date": "2025-07-04T08:21:42Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "openhab/openhab-core",
|
"name": "openhab/openhab-core",
|
||||||
"version": "5.0.0",
|
"version": "5.0.0",
|
||||||
@@ -584,11 +689,6 @@
|
|||||||
"version": "v1.6.4",
|
"version": "v1.6.4",
|
||||||
"date": "2025-07-21T05:53:30Z"
|
"date": "2025-07-21T05:53:30Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "karakeep-app/karakeep",
|
|
||||||
"version": "sdk/v0.26.0",
|
|
||||||
"date": "2025-07-20T13:26:30Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "linkwarden/linkwarden",
|
"name": "linkwarden/linkwarden",
|
||||||
"version": "v2.11.5",
|
"version": "v2.11.5",
|
||||||
@@ -614,11 +714,6 @@
|
|||||||
"version": "v5.6.0",
|
"version": "v5.6.0",
|
||||||
"date": "2025-07-19T13:34:36Z"
|
"date": "2025-07-19T13:34:36Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "cross-seed/cross-seed",
|
|
||||||
"version": "v6.13.1",
|
|
||||||
"date": "2025-07-17T21:36:42Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "duplicati/duplicati",
|
"name": "duplicati/duplicati",
|
||||||
"version": "v2.1.1.0-2.1.1.0_experimental_2025-07-17",
|
"version": "v2.1.1.0-2.1.1.0_experimental_2025-07-17",
|
||||||
@@ -654,21 +749,6 @@
|
|||||||
"version": "v2.1.1",
|
"version": "v2.1.1",
|
||||||
"date": "2025-07-15T22:38:01Z"
|
"date": "2025-07-15T22:38:01Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "WordPress/WordPress",
|
|
||||||
"version": "6.8.2",
|
|
||||||
"date": "2025-07-15T15:14:16Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "cloudreve/cloudreve",
|
|
||||||
"version": "4.3.0",
|
|
||||||
"date": "2025-07-15T09:54:38Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "go-gitea/gitea",
|
|
||||||
"version": "v1.24.3",
|
|
||||||
"date": "2025-07-15T04:56:24Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "pi-hole/pi-hole",
|
"name": "pi-hole/pi-hole",
|
||||||
"version": "v6.1.4",
|
"version": "v6.1.4",
|
||||||
@@ -709,11 +789,6 @@
|
|||||||
"version": "v4.47.1",
|
"version": "v4.47.1",
|
||||||
"date": "2025-01-05T21:14:23Z"
|
"date": "2025-01-05T21:14:23Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "jellyfin/jellyfin",
|
|
||||||
"version": "v10.10.7",
|
|
||||||
"date": "2025-04-05T19:14:59Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "eclipse-mosquitto/mosquitto",
|
"name": "eclipse-mosquitto/mosquitto",
|
||||||
"version": "v2.0.22",
|
"version": "v2.0.22",
|
||||||
@@ -724,36 +799,16 @@
|
|||||||
"version": "flowise@3.0.4",
|
"version": "flowise@3.0.4",
|
||||||
"date": "2025-07-11T13:26:54Z"
|
"date": "2025-07-11T13:26:54Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "outline/outline",
|
|
||||||
"version": "v0.85.1",
|
|
||||||
"date": "2025-07-11T01:17:53Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "LibreTranslate/LibreTranslate",
|
"name": "LibreTranslate/LibreTranslate",
|
||||||
"version": "v1.7.2",
|
"version": "v1.7.2",
|
||||||
"date": "2025-07-10T19:29:26Z"
|
"date": "2025-07-10T19:29:26Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "binwiederhier/ntfy",
|
|
||||||
"version": "v2.13.0",
|
|
||||||
"date": "2025-07-10T19:27:54Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "NginxProxyManager/nginx-proxy-manager",
|
"name": "NginxProxyManager/nginx-proxy-manager",
|
||||||
"version": "v2.12.6",
|
"version": "v2.12.6",
|
||||||
"date": "2025-07-09T21:52:15Z"
|
"date": "2025-07-09T21:52:15Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "apache/tika",
|
|
||||||
"version": "3.2.1",
|
|
||||||
"date": "2025-07-09T20:47:29Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sabnzbd/sabnzbd",
|
|
||||||
"version": "4.5.2",
|
|
||||||
"date": "2025-07-09T19:08:28Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "hargata/lubelog",
|
"name": "hargata/lubelog",
|
||||||
"version": "v1.4.9",
|
"version": "v1.4.9",
|
||||||
@@ -769,11 +824,6 @@
|
|||||||
"version": "v1.70.3",
|
"version": "v1.70.3",
|
||||||
"date": "2025-07-09T15:06:31Z"
|
"date": "2025-07-09T15:06:31Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "home-assistant/operating-system",
|
|
||||||
"version": "16.0",
|
|
||||||
"date": "2025-07-09T13:28:43Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "mysql/mysql-server",
|
"name": "mysql/mysql-server",
|
||||||
"version": "mysql-cluster-9.4.0",
|
"version": "mysql-cluster-9.4.0",
|
||||||
@@ -809,11 +859,6 @@
|
|||||||
"version": "v0.8.7",
|
"version": "v0.8.7",
|
||||||
"date": "2025-07-05T20:08:58Z"
|
"date": "2025-07-05T20:08:58Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "runtipi/runtipi",
|
|
||||||
"version": "v4.3.0",
|
|
||||||
"date": "2025-07-05T12:14:52Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "kimai/kimai",
|
"name": "kimai/kimai",
|
||||||
"version": "2.37.0",
|
"version": "2.37.0",
|
||||||
@@ -824,11 +869,6 @@
|
|||||||
"version": "2025.7.0",
|
"version": "2025.7.0",
|
||||||
"date": "2025-07-03T17:08:15Z"
|
"date": "2025-07-03T17:08:15Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "rabbitmq/rabbitmq-server",
|
|
||||||
"version": "v4.1.2",
|
|
||||||
"date": "2025-07-03T16:59:29Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "qbittorrent/qBittorrent",
|
"name": "qbittorrent/qBittorrent",
|
||||||
"version": "release-5.1.2",
|
"version": "release-5.1.2",
|
||||||
@@ -854,11 +894,6 @@
|
|||||||
"version": "v2.32.0",
|
"version": "v2.32.0",
|
||||||
"date": "2025-06-30T22:12:48Z"
|
"date": "2025-06-30T22:12:48Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "jupyter/notebook",
|
|
||||||
"version": "v7.4.4",
|
|
||||||
"date": "2025-06-30T13:04:22Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "typesense/typesense",
|
"name": "typesense/typesense",
|
||||||
"version": "v29.0",
|
"version": "v29.0",
|
||||||
@@ -944,11 +979,6 @@
|
|||||||
"version": "v2.0.0.4645",
|
"version": "v2.0.0.4645",
|
||||||
"date": "2017-03-07T18:56:06Z"
|
"date": "2017-03-07T18:56:06Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Lidarr/Lidarr",
|
|
||||||
"version": "v2.12.4.4658",
|
|
||||||
"date": "2025-06-09T17:27:45Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "FlareSolverr/FlareSolverr",
|
"name": "FlareSolverr/FlareSolverr",
|
||||||
"version": "v3.3.25",
|
"version": "v3.3.25",
|
||||||
@@ -994,11 +1024,6 @@
|
|||||||
"version": "v0.26.1",
|
"version": "v0.26.1",
|
||||||
"date": "2025-06-06T11:22:02Z"
|
"date": "2025-06-06T11:22:02Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "MariaDB/server",
|
|
||||||
"version": "mariadb-11.8.2",
|
|
||||||
"date": "2025-06-04T13:35:16Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "plankanban/planka",
|
"name": "plankanban/planka",
|
||||||
"version": "planka-1.0.3",
|
"version": "planka-1.0.3",
|
||||||
@@ -1039,11 +1064,6 @@
|
|||||||
"version": "0.19.2",
|
"version": "0.19.2",
|
||||||
"date": "2025-05-29T14:39:17Z"
|
"date": "2025-05-29T14:39:17Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Athou/commafeed",
|
|
||||||
"version": "5.10.0",
|
|
||||||
"date": "2025-05-28T05:48:20Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "stonith404/pingvin-share",
|
"name": "stonith404/pingvin-share",
|
||||||
"version": "v1.13.0",
|
"version": "v1.13.0",
|
||||||
@@ -1064,21 +1084,11 @@
|
|||||||
"version": "0.5",
|
"version": "0.5",
|
||||||
"date": "2025-05-21T20:19:14Z"
|
"date": "2025-05-21T20:19:14Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "YunoHost/yunohost",
|
|
||||||
"version": "debian/12.1.6.1",
|
|
||||||
"date": "2025-05-18T17:01:42Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "hansmi/prometheus-paperless-exporter",
|
"name": "hansmi/prometheus-paperless-exporter",
|
||||||
"version": "v0.0.8",
|
"version": "v0.0.8",
|
||||||
"date": "2025-05-18T11:37:31Z"
|
"date": "2025-05-18T11:37:31Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "bastienwirtz/homer",
|
|
||||||
"version": "v25.05.2",
|
|
||||||
"date": "2025-05-17T12:53:29Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "motioneye-project/motioneye",
|
"name": "motioneye-project/motioneye",
|
||||||
"version": "0.42.1",
|
"version": "0.42.1",
|
||||||
@@ -1104,11 +1114,6 @@
|
|||||||
"version": "2025-05-07-r1",
|
"version": "2025-05-07-r1",
|
||||||
"date": "2025-05-07T12:18:42Z"
|
"date": "2025-05-07T12:18:42Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "garethgeorge/backrest",
|
|
||||||
"version": "v1.8.1",
|
|
||||||
"date": "2025-05-06T04:27:00Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "apache/couchdb",
|
"name": "apache/couchdb",
|
||||||
"version": "3.5.0",
|
"version": "3.5.0",
|
||||||
@@ -1154,11 +1159,6 @@
|
|||||||
"version": "V1.2.0",
|
"version": "V1.2.0",
|
||||||
"date": "2025-04-16T14:55:28Z"
|
"date": "2025-04-16T14:55:28Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Tautulli/Tautulli",
|
|
||||||
"version": "v2.15.2",
|
|
||||||
"date": "2025-04-12T23:27:51Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "StarFleetCPTN/GoMFT",
|
"name": "StarFleetCPTN/GoMFT",
|
||||||
"version": "v0.2.11",
|
"version": "v0.2.11",
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ sed -i -e "s|APP_SECRET=.*|APP_SECRET=$(openssl rand -base64 32 | tr -dc 'a-zA-Z
|
|||||||
/opt/docmost/.env
|
/opt/docmost/.env
|
||||||
export NODE_OPTIONS="--max-old-space-size=2048"
|
export NODE_OPTIONS="--max-old-space-size=2048"
|
||||||
$STD pnpm install
|
$STD pnpm install
|
||||||
$STD pnpm nx run server:build # Dirty fix https://github.com/community-scripts/ProxmoxVE/issues/6377
|
|
||||||
$STD pnpm build
|
$STD pnpm build
|
||||||
msg_ok "Configured Docmost"
|
msg_ok "Configured Docmost"
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
JAVA_VERSION="21" setup_java
|
JAVA_VERSION="21" setup_java
|
||||||
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "komga" "gotson/komga" "singlefile" "latest" "/opt/komga" "komga*.jar"
|
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "komga-org" "gotson/komga" "singlefile" "latest" "/opt/komga" "komga*.jar"
|
||||||
mv /opt/komga/komga-*.jar /opt/komga/komga.jar
|
mv /opt/komga/komga-*.jar /opt/komga/komga.jar
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|||||||
@@ -13,15 +13,10 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing NocoDB"
|
fetch_and_deploy_gh_release "nocodb" "nocodb/nocodb" "singlefile" "latest" "/opt/nocodb/" "Noco-linux-x64"
|
||||||
mkdir -p /opt/nocodb
|
|
||||||
cd /opt/nocodb
|
|
||||||
curl -fsSL http://get.nocodb.com/linux-x64 -o nocodb -L
|
|
||||||
chmod +x nocodb
|
|
||||||
msg_ok "Installed NocoDB"
|
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
service_path="/etc/systemd/system/nocodb.service"
|
cat <<EOF >/etc/systemd/system/nocodb.service
|
||||||
echo "[Unit]
|
echo "[Unit]
|
||||||
Description=nocodb
|
Description=nocodb
|
||||||
|
|
||||||
@@ -33,7 +28,8 @@ WorkingDirectory=/opt/nocodb
|
|||||||
ExecStart=/opt/nocodb/./nocodb
|
ExecStart=/opt/nocodb/./nocodb
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target" >$service_path
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
systemctl enable -q --now nocodb
|
systemctl enable -q --now nocodb
|
||||||
msg_ok "Created Service"
|
msg_ok "Created Service"
|
||||||
|
|
||||||
|
|||||||
@@ -19,12 +19,7 @@ $STD apt-get install -y \
|
|||||||
apt-transport-https
|
apt-transport-https
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Azul Zulu17"
|
JAVA_VERSION="21" setup_java
|
||||||
curl -fsSL https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg
|
|
||||||
echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" >/etc/apt/sources.list.d/zulu.list
|
|
||||||
$STD apt-get update
|
|
||||||
$STD apt-get -y install zulu17-jdk
|
|
||||||
msg_ok "Installed Azul Zulu17"
|
|
||||||
|
|
||||||
msg_info "Installing openHAB"
|
msg_info "Installing openHAB"
|
||||||
curl -fsSL "https://openhab.jfrog.io/artifactory/api/gpg/key/public" | gpg --dearmor -o /usr/share/keyrings/openhab.gpg
|
curl -fsSL "https://openhab.jfrog.io/artifactory/api/gpg/key/public" | gpg --dearmor -o /usr/share/keyrings/openhab.gpg
|
||||||
|
|||||||
@@ -19,21 +19,7 @@ $STD apt-get install -y \
|
|||||||
ca-certificates
|
ca-certificates
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Setting up OpenProject Repository"
|
PG_VERSION="17" setup_postgresql
|
||||||
curl -fsSL "https://dl.packager.io/srv/opf/openproject/key" | gpg --dearmor >/etc/apt/trusted.gpg.d/packager-io.gpg
|
|
||||||
curl -fsSL "https://dl.packager.io/srv/opf/openproject/stable/15/installer/debian/12.repo" -o "/etc/apt/sources.list.d/openproject.list"
|
|
||||||
msg_ok "Setup OpenProject Repository"
|
|
||||||
|
|
||||||
msg_info "Setting up PostgreSQL Repository"
|
|
||||||
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
|
|
||||||
echo "deb http://apt.postgresql.org/pub/repos/apt ${VERSION}-pgdg main" >/etc/apt/sources.list.d/pgdg.list
|
|
||||||
curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor --output /etc/apt/trusted.gpg.d/postgresql.gpg
|
|
||||||
msg_ok "Setup PostgreSQL Repository"
|
|
||||||
|
|
||||||
msg_info "Installing PostgreSQL"
|
|
||||||
$STD apt-get update
|
|
||||||
$STD apt-get install -y postgresql
|
|
||||||
msg_ok "Installed PostgreSQL"
|
|
||||||
|
|
||||||
msg_info "Setting up PostgreSQL"
|
msg_info "Setting up PostgreSQL"
|
||||||
DB_NAME=openproject
|
DB_NAME=openproject
|
||||||
@@ -51,6 +37,12 @@ $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER TEMP
|
|||||||
} >>~/openproject.creds
|
} >>~/openproject.creds
|
||||||
msg_ok "Set up PostgreSQL"
|
msg_ok "Set up PostgreSQL"
|
||||||
|
|
||||||
|
msg_info "Setting up OpenProject Repository"
|
||||||
|
curl -fsSL "https://dl.packager.io/srv/opf/openproject/key" | gpg --dearmor >/etc/apt/trusted.gpg.d/packager-io.gpg
|
||||||
|
curl -fsSL "https://dl.packager.io/srv/opf/openproject/stable/15/installer/debian/12.repo" -o "/etc/apt/sources.list.d/openproject.list"
|
||||||
|
$STD apt-get update
|
||||||
|
msg_ok "Setup OpenProject Repository"
|
||||||
|
|
||||||
msg_info "Installing OpenProject"
|
msg_info "Installing OpenProject"
|
||||||
$STD apt-get install -y openproject
|
$STD apt-get install -y openproject
|
||||||
msg_ok "Installed OpenProject"
|
msg_ok "Installed OpenProject"
|
||||||
|
|||||||
103
install/ots-install.sh
Normal file
103
install/ots-install.sh
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
|
# Author: bvberg01
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/Luzifer/ots
|
||||||
|
|
||||||
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
|
color
|
||||||
|
verb_ip6
|
||||||
|
catch_errors
|
||||||
|
setting_up_container
|
||||||
|
network_check
|
||||||
|
update_os
|
||||||
|
|
||||||
|
msg_info "Installing Dependencies"
|
||||||
|
$STD apt-get install -y \
|
||||||
|
redis-server \
|
||||||
|
nginx \
|
||||||
|
openssl
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "ots" "Luzifer/ots" "prebuild" "latest" "/opt/ots" "ots_linux_amd64.tgz"
|
||||||
|
|
||||||
|
msg_info "Setup OTS"
|
||||||
|
cat <<EOF >/opt/ots/.env
|
||||||
|
LISTEN=127.0.0.1:3000
|
||||||
|
REDIS_URL=redis://127.0.0.1:6379
|
||||||
|
SECRET_EXPIRY=604800
|
||||||
|
STORAGE_TYPE=redis
|
||||||
|
EOF
|
||||||
|
msg_ok "Setup OTS"
|
||||||
|
|
||||||
|
msg_info "Generating Universal SSL Certificate"
|
||||||
|
mkdir -p /etc/ssl/ots
|
||||||
|
$STD openssl req -x509 -nodes -days 3650 -newkey rsa:2048 \
|
||||||
|
-keyout /etc/ssl/ots/key.pem \
|
||||||
|
-out /etc/ssl/ots/cert.pem \
|
||||||
|
-subj "/CN=ots"
|
||||||
|
msg_ok "Certificate Generated"
|
||||||
|
|
||||||
|
msg_info "Setting up nginx"
|
||||||
|
cat <<EOF >/etc/nginx/sites-available/ots.conf
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
server_name ots;
|
||||||
|
return 301 https://\$host\$request_uri;
|
||||||
|
}
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
listen [::]:443 ssl;
|
||||||
|
server_name ots;
|
||||||
|
|
||||||
|
ssl_certificate /etc/ssl/ots/cert.pem;
|
||||||
|
ssl_certificate_key /etc/ssl/ots/key.pem;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
add_header X-Robots-Tag noindex;
|
||||||
|
|
||||||
|
proxy_set_header Upgrade \$http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
|
proxy_set_header Host \$host;
|
||||||
|
proxy_set_header X-Real-IP \$remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto \$scheme;
|
||||||
|
client_max_body_size 64M;
|
||||||
|
proxy_pass http://127.0.0.1:3000/;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
ln -s /etc/nginx/sites-available/ots.conf /etc/nginx/sites-enabled/
|
||||||
|
rm -f /etc/nginx/sites-enabled/default
|
||||||
|
$STD systemctl reload nginx
|
||||||
|
msg_ok "Configured nginx"
|
||||||
|
|
||||||
|
msg_info "Creating Services"
|
||||||
|
cat <<EOF >/etc/systemd/system/ots.service
|
||||||
|
[Unit]
|
||||||
|
Description=One-Time-Secret Service
|
||||||
|
After=network-online.target
|
||||||
|
Requires=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
EnvironmentFile=/opt/ots/.env
|
||||||
|
ExecStart=/opt/ots/ots
|
||||||
|
Restart=Always
|
||||||
|
RestartSecs=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now ots
|
||||||
|
msg_ok "Created Services"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
|
||||||
|
msg_info "Cleaning up"
|
||||||
|
$STD apt-get -y autoremove
|
||||||
|
$STD apt-get -y autoclean
|
||||||
|
msg_ok "Cleaned"
|
||||||
@@ -13,15 +13,10 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
|
||||||
$STD apt-get install -y \
|
|
||||||
git
|
|
||||||
msg_ok "Installed Dependencies"
|
|
||||||
|
|
||||||
NODE_VERSION="22" setup_nodejs
|
NODE_VERSION="22" setup_nodejs
|
||||||
|
fetch_and_deploy_gh_release "pairdrop" "schlagmichdoch/PairDrop" "tarball"
|
||||||
|
|
||||||
msg_info "Installing PairDrop"
|
msg_info "Configuring PairDrop"
|
||||||
git clone -q https://github.com/schlagmichdoch/PairDrop.git /opt/pairdrop
|
|
||||||
cd /opt/pairdrop
|
cd /opt/pairdrop
|
||||||
$STD npm install
|
$STD npm install
|
||||||
msg_ok "Installed PairDrop"
|
msg_ok "Installed PairDrop"
|
||||||
|
|||||||
@@ -13,12 +13,13 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Pocketbase"
|
fetch_and_deploy_gh_release "pocketbase" "pocketbase/pocketbase" "prebuild" "latest" "/opt/pocketbase" "pocketbase*linux_amd64.zip"
|
||||||
RELEASE="$(curl -fsSL https://api.github.com/repos/pocketbase/pocketbase/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')"
|
|
||||||
curl -fsSL "https://github.com/pocketbase/pocketbase/releases/download/v${RELEASE}/pocketbase_${RELEASE}_linux_amd64.zip" -o "/tmp/pocketbase.zip"
|
|
||||||
mkdir -p /opt/pocketbase/{pb_public,pb_migrations,pb_hooks}
|
|
||||||
$STD unzip -o /tmp/pocketbase.zip -d /opt/pocketbase
|
|
||||||
|
|
||||||
|
msg_info "Configuring Pocketbase"
|
||||||
|
mkdir -p /opt/pocketbase/{pb_public,pb_migrations,pb_hooks}
|
||||||
|
msg_ok "Configured Pocketbase"
|
||||||
|
|
||||||
|
msg_info "Creating service"
|
||||||
cat <<EOF >/etc/systemd/system/pocketbase.service
|
cat <<EOF >/etc/systemd/system/pocketbase.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description = pocketbase
|
Description = pocketbase
|
||||||
@@ -35,15 +36,13 @@ ExecStart = /opt/pocketbase/pocketbase serve --http=0.0.0.0:8080
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy = multi-user.target
|
WantedBy = multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
systemctl enable -q --now pocketbase
|
systemctl enable -q --now pocketbase
|
||||||
msg_ok "Installed Pocketbase"
|
msg_ok "Service created"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf /tmp/pocketbase.zip
|
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|||||||
@@ -14,12 +14,9 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
read -r -p "${TAB3}What public URL do you want to use (e.g. pocketid.mydomain.com)? " public_url
|
read -r -p "${TAB3}What public URL do you want to use (e.g. pocketid.mydomain.com)? " public_url
|
||||||
msg_info "Setup Pocket ID"
|
fetch_and_deploy_gh_release "pocket-id" "pocket-id/pocket-id" "singlefile" "latest" "/opt/pocket-id/" "pocket-id-linux-amd64"
|
||||||
RELEASE=$(curl -fsSL https://api.github.com/repos/pocket-id/pocket-id/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
|
||||||
mkdir -p /opt/pocket-id
|
|
||||||
curl -fsSL "https://github.com/pocket-id/pocket-id/releases/download/v${RELEASE}/pocket-id-linux-amd64" -o /opt/pocket-id/pocket-id
|
|
||||||
chmod u+x /opt/pocket-id/pocket-id
|
|
||||||
|
|
||||||
|
msg_info "Configuring Pocket ID"
|
||||||
cat <<EOF >/opt/pocket-id/.env
|
cat <<EOF >/opt/pocket-id/.env
|
||||||
APP_ENV=production
|
APP_ENV=production
|
||||||
APP_URL=https://${public_url}
|
APP_URL=https://${public_url}
|
||||||
@@ -28,8 +25,7 @@ TRUST_PROXY=false
|
|||||||
PORT=1411
|
PORT=1411
|
||||||
HOST=0.0.0.0
|
HOST=0.0.0.0
|
||||||
EOF
|
EOF
|
||||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
msg_ok "Configured Pocket ID"
|
||||||
msg_ok "Setup Pocket ID"
|
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/etc/systemd/system/pocketid.service
|
cat <<EOF >/etc/systemd/system/pocketid.service
|
||||||
@@ -63,6 +59,3 @@ msg_info "Cleaning up"
|
|||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|
||||||
motd_ssh
|
|
||||||
customize
|
|
||||||
|
|||||||
@@ -16,20 +16,11 @@ update_os
|
|||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
nginx \
|
nginx \
|
||||||
php8.2-fpm \
|
|
||||||
php8.2-{common,cli,gd,mbstring,xml,fpm,curl,zip} \
|
|
||||||
openssl
|
openssl
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing PrivateBin"
|
PHP_VERSION="8.2" PHP_MODULE="common,fpm" setup_php
|
||||||
RELEASE=$(curl -fsSL https://api.github.com/repos/PrivateBin/PrivateBin/releases/latest | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/')
|
fetch_and_deploy_gh_release "privatebin" "PrivateBin/PrivateBin" "tarball"
|
||||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
|
||||||
mkdir -p /opt/privatebin
|
|
||||||
cd /opt/privatebin
|
|
||||||
curl -fsSL "https://github.com/PrivateBin/PrivateBin/archive/refs/tags/${RELEASE}.zip" -o "${RELEASE}.zip"
|
|
||||||
$STD unzip ${RELEASE}.zip
|
|
||||||
mv PrivateBin-${RELEASE}/* .
|
|
||||||
msg_ok "Installed PrivateBin"
|
|
||||||
|
|
||||||
msg_info "Generating Universal SSL Certificate"
|
msg_info "Generating Universal SSL Certificate"
|
||||||
mkdir -p /etc/ssl/privatebin
|
mkdir -p /etc/ssl/privatebin
|
||||||
@@ -41,7 +32,7 @@ msg_ok "Certificate Generated"
|
|||||||
|
|
||||||
msg_info "Configuring Environment"
|
msg_info "Configuring Environment"
|
||||||
mkdir -p /opt/privatebin/data
|
mkdir -p /opt/privatebin/data
|
||||||
cp cfg/conf.sample.php /opt/privatebin/cfg/conf.php
|
cp /opt/privatebin/cfg/conf.sample.php /opt/privatebin/cfg/conf.php
|
||||||
sed -i "s|// 'traffic'|'traffic'|g" /opt/privatebin/cfg/conf.php
|
sed -i "s|// 'traffic'|'traffic'|g" /opt/privatebin/cfg/conf.php
|
||||||
chown -R www-data:www-data /opt/privatebin
|
chown -R www-data:www-data /opt/privatebin
|
||||||
chmod -R 0755 /opt/privatebin/data
|
chmod -R 0755 /opt/privatebin/data
|
||||||
@@ -96,12 +87,10 @@ rm -f /etc/nginx/sites-enabled/default
|
|||||||
systemctl reload nginx
|
systemctl reload nginx
|
||||||
msg_ok "Nginx Configured"
|
msg_ok "Nginx Configured"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf /opt/privatebin/${RELEASE}.zip
|
|
||||||
rm -rf /opt/privatebin/PrivateBin-${RELEASE}
|
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|
||||||
motd_ssh
|
|
||||||
customize
|
|
||||||
|
|||||||
@@ -13,16 +13,12 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Prometheus Alertmanager"
|
fetch_and_deploy_gh_release "alertmanager" "prometheus/alertmanager" "prebuild" "latest" "/usr/local/bin/" "alertmanager*linux-amd64.tar.gz"
|
||||||
RELEASE=$(curl -fsSL https://api.github.com/repos/prometheus/alertmanager/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
|
||||||
mkdir -p /etc/alertmanager
|
msg_info "Configuring Prometheus Alertmanager"
|
||||||
mkdir -p /var/lib/alertmanager
|
mkdir -p /etc/alertmanager /var/lib/alertmanager
|
||||||
curl -fsSL "https://github.com/prometheus/alertmanager/releases/download/v${RELEASE}/alertmanager-${RELEASE}.linux-amd64.tar.gz" -o "alertmanager-${RELEASE}.linux-amd64.tar.gz"
|
mv /usr/local/bin/alertmanager.yml /etc/alertmanager/alertmanager.yml
|
||||||
tar -xf alertmanager-${RELEASE}.linux-amd64.tar.gz
|
msg_ok "Configured Prometheus Alertmanager"
|
||||||
mv alertmanager-${RELEASE}.linux-amd64/alertmanager alertmanager-${RELEASE}.linux-amd64/amtool /usr/local/bin/
|
|
||||||
mv alertmanager-${RELEASE}.linux-amd64/alertmanager.yml /etc/alertmanager/alertmanager.yml
|
|
||||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
|
||||||
msg_ok "Installed Prometheus Alertmanager"
|
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/etc/systemd/system/prometheus-alertmanager.service
|
cat <<EOF >/etc/systemd/system/prometheus-alertmanager.service
|
||||||
@@ -53,5 +49,4 @@ customize
|
|||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
rm -rf alertmanager-${RELEASE}.linux-amd64 alertmanager-${RELEASE}.linux-amd64.tar.gz
|
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|||||||
@@ -20,37 +20,23 @@ $STD apt-get install -y \
|
|||||||
policykit-1
|
policykit-1
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Creating dedicated user pulse..."
|
msg_info "Creating User"
|
||||||
if useradd -r -m -d /opt/pulse-home -s /bin/bash pulse; then
|
if useradd -r -m -d /opt/pulse-home -s /bin/bash pulse; then
|
||||||
msg_ok "User created."
|
msg_ok "Created User"
|
||||||
else
|
else
|
||||||
msg_error "User creation failed."
|
msg_error "User creation failed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
NODE_VERSION="20" setup_nodejs
|
mkdir -p /etc/pulse
|
||||||
|
fetch_and_deploy_gh_release "pulse" "rcourtman/Pulse" "prebuild" "latest" "/opt/pulse" "*-linux-amd64.tar.gz"
|
||||||
msg_info "Setup Pulse"
|
chown -R pulse:pulse /etc/pulse /opt/pulse
|
||||||
RELEASE=$(curl -fsSL https://api.github.com/repos/rcourtman/Pulse/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
|
||||||
temp_file=$(mktemp)
|
|
||||||
mkdir -p /opt/pulse
|
|
||||||
curl -fsSL "https://github.com/rcourtman/Pulse/releases/download/v${RELEASE}/pulse-v${RELEASE}.tar.gz" -o "$temp_file"
|
|
||||||
tar zxf "$temp_file" --strip-components=1 -C /opt/pulse
|
|
||||||
touch /opt/pulse/.env
|
|
||||||
chown pulse:pulse /opt/pulse/.env
|
|
||||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
|
||||||
msg_ok "Installed Pulse"
|
msg_ok "Installed Pulse"
|
||||||
|
|
||||||
msg_info "Setting permissions for /opt/pulse..."
|
|
||||||
chown -R pulse:pulse "/opt/pulse"
|
|
||||||
find "/opt/pulse" -type d -exec chmod 755 {} \;
|
|
||||||
find "/opt/pulse" -type f -exec chmod 644 {} \;
|
|
||||||
msg_ok "Set permissions."
|
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/etc/systemd/system/pulse.service
|
cat <<EOF >/etc/systemd/system/pulse.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Pulse Monitoring Application
|
Description=Pulse Monitoring Server
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
@@ -58,12 +44,13 @@ Type=simple
|
|||||||
User=pulse
|
User=pulse
|
||||||
Group=pulse
|
Group=pulse
|
||||||
WorkingDirectory=/opt/pulse
|
WorkingDirectory=/opt/pulse
|
||||||
EnvironmentFile=/opt/pulse/.env
|
ExecStart=/opt/pulse/pulse
|
||||||
ExecStart=/usr/bin/npm run start
|
Restart=always
|
||||||
Restart=on-failure
|
RestartSec=3
|
||||||
RestartSec=5
|
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
StandardError=journal
|
StandardError=journal
|
||||||
|
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
|
Environment="PULSE_DATA_DIR=/etc/pulse"
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
@@ -75,7 +62,6 @@ motd_ssh
|
|||||||
customize
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -f "$temp_file"
|
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|||||||
76
install/tududi-install.sh
Normal file
76
install/tududi-install.sh
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright (c) 2025 Community Scripts ORG
|
||||||
|
# Author: vhsdream
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://tududi.com/
|
||||||
|
|
||||||
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
|
color
|
||||||
|
verb_ip6
|
||||||
|
catch_errors
|
||||||
|
setting_up_container
|
||||||
|
network_check
|
||||||
|
update_os
|
||||||
|
|
||||||
|
msg_info "Installing Dependencies"
|
||||||
|
$STD apt-get install -y \
|
||||||
|
sqlite3 \
|
||||||
|
yq
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
NODE_VERSION="20" setup_nodejs
|
||||||
|
fetch_and_deploy_gh_release "tududi" "chrisvel/tududi"
|
||||||
|
|
||||||
|
msg_info "Configuring Tududi"
|
||||||
|
cd /opt/tududi
|
||||||
|
$STD npm install
|
||||||
|
export NODE_ENV=production
|
||||||
|
$STD npm run frontend:build
|
||||||
|
mv ./dist ./backend
|
||||||
|
mv ./public/locales ./backend/dist
|
||||||
|
mv ./public/favicon.* ./backend/dist
|
||||||
|
msg_ok "Configured Tududi"
|
||||||
|
|
||||||
|
msg_info "Creating env and database"
|
||||||
|
DB_LOCATION="/opt/tududi-db"
|
||||||
|
UPLOAD_DIR="/opt/tududi-uploads"
|
||||||
|
mkdir -p {"$DB_LOCATION","$UPLOAD_DIR"}
|
||||||
|
SECRET="$(openssl rand -hex 64)"
|
||||||
|
sed -e 's/^GOOGLE/# &/' \
|
||||||
|
-e '/TUDUDI_SESSION/s/^# //' \
|
||||||
|
-e '/NODE_ENV/s/^# //' \
|
||||||
|
-e "s/your_session_secret_here/$SECRET/" \
|
||||||
|
-e 's/development/production/' \
|
||||||
|
-e "\$a\DB_FILE=$DB_LOCATION/production.sqlite3" \
|
||||||
|
-e "\$a\TUDUDI_UPLOAD_PATH=$UPLOAD_DIR" \
|
||||||
|
/opt/tududi/backend/.env.example >/opt/tududi/backend/.env
|
||||||
|
export DB_FILE="$DB_LOCATION/production.sqlite3"
|
||||||
|
$STD npm run db:init
|
||||||
|
msg_ok "Created env and database"
|
||||||
|
|
||||||
|
msg_info "Creating service"
|
||||||
|
cat <<EOF >/etc/systemd/system/tududi.service
|
||||||
|
[Unit]
|
||||||
|
Description=Tududi Service
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
WorkingDirectory=/opt/tududi
|
||||||
|
EnvironmentFile=/opt/tududi/backend/.env
|
||||||
|
ExecStart=/usr/bin/npm run start
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now tududi
|
||||||
|
msg_ok "Created service"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
|
||||||
|
msg_info "Cleaning up"
|
||||||
|
$STD apt-get -y autoremove
|
||||||
|
$STD apt-get -y autoclean
|
||||||
|
msg_ok "Cleaned"
|
||||||
@@ -65,36 +65,36 @@ root_check() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1030,10 +1030,9 @@ check_container_resources() {
|
|||||||
if [[ "$current_ram" -lt "$var_ram" ]] || [[ "$current_cpu" -lt "$var_cpu" ]]; then
|
if [[ "$current_ram" -lt "$var_ram" ]] || [[ "$current_cpu" -lt "$var_cpu" ]]; then
|
||||||
echo -e "\n${INFO}${HOLD} ${GN}Required: ${var_cpu} CPU, ${var_ram}MB RAM ${CL}| ${RD}Current: ${current_cpu} CPU, ${current_ram}MB RAM${CL}"
|
echo -e "\n${INFO}${HOLD} ${GN}Required: ${var_cpu} CPU, ${var_ram}MB RAM ${CL}| ${RD}Current: ${current_cpu} CPU, ${current_ram}MB RAM${CL}"
|
||||||
echo -e "${YWB}Please ensure that the ${APP} LXC is configured with at least ${var_cpu} vCPU and ${var_ram} MB RAM for the build process.${CL}\n"
|
echo -e "${YWB}Please ensure that the ${APP} LXC is configured with at least ${var_cpu} vCPU and ${var_ram} MB RAM for the build process.${CL}\n"
|
||||||
echo -ne "${INFO}${HOLD} May cause data loss! ${INFO} Continue update with under-provisioned LXC? <yes/No> "
|
echo -ne "${INFO}${HOLD} May cause data loss! ${INFO} Continue update with under-provisioned LXC? [y/N] "
|
||||||
read -r prompt
|
read -r prompt
|
||||||
# Check if the input is 'yes', otherwise exit with status 1
|
if [[ ! "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||||
if [[ ! ${prompt,,} =~ ^(yes)$ ]]; then
|
|
||||||
echo -e "${CROSS}${HOLD} ${YWB}Exiting based on user input.${CL}"
|
echo -e "${CROSS}${HOLD} ${YWB}Exiting based on user input.${CL}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@@ -1050,10 +1049,9 @@ check_container_storage() {
|
|||||||
if ((usage > 80)); then
|
if ((usage > 80)); then
|
||||||
# Prompt the user for confirmation to continue
|
# Prompt the user for confirmation to continue
|
||||||
echo -e "${INFO}${HOLD} ${YWB}Warning: Storage is dangerously low (${usage}%).${CL}"
|
echo -e "${INFO}${HOLD} ${YWB}Warning: Storage is dangerously low (${usage}%).${CL}"
|
||||||
echo -ne "Continue anyway? <y/N> "
|
echo -ne "Continue anyway? [y/N] "
|
||||||
read -r prompt
|
read -r prompt
|
||||||
# Check if the input is 'y' or 'yes', otherwise exit with status 1
|
if [[ ! "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||||
if [[ ! ${prompt,,} =~ ^(y|yes)$ ]]; then
|
|
||||||
echo -e "${CROSS}${HOLD}${YWB}Exiting based on user input.${CL}"
|
echo -e "${CROSS}${HOLD}${YWB}Exiting based on user input.${CL}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@@ -1282,36 +1280,42 @@ EOF
|
|||||||
if [ "$var_os" != "alpine" ]; then
|
if [ "$var_os" != "alpine" ]; then
|
||||||
msg_info "Waiting for network in LXC container"
|
msg_info "Waiting for network in LXC container"
|
||||||
for i in {1..10}; do
|
for i in {1..10}; do
|
||||||
|
# 1. Primary check: ICMP ping (fastest, but may be blocked by ISP/firewall)
|
||||||
if pct exec "$CTID" -- ping -c1 -W1 deb.debian.org >/dev/null 2>&1; then
|
if pct exec "$CTID" -- ping -c1 -W1 deb.debian.org >/dev/null 2>&1; then
|
||||||
msg_ok "Network in LXC is reachable"
|
msg_ok "Network in LXC is reachable (ping)"
|
||||||
break
|
|
||||||
fi
|
|
||||||
if pct exec "$CTID" -- curl -fsSIL --max-time 10 deb.debian.org >/dev/null 2>&1; then
|
|
||||||
msg_ok "Network in LXC is reachable"
|
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
# Wait and retry if not reachable yet
|
||||||
if [ "$i" -lt 10 ]; then
|
if [ "$i" -lt 10 ]; then
|
||||||
msg_warn "No network yet in LXC (try $i/10) – waiting..."
|
msg_warn "No network in LXC yet (try $i/10) – waiting..."
|
||||||
sleep 3
|
sleep 3
|
||||||
else
|
else
|
||||||
msg_error "No network in LXC after waiting."
|
# After 10 unsuccessful ping attempts, try HTTP connectivity via wget as fallback
|
||||||
read -r -p "Set fallback DNS (1.1.1.1/8.8.8.8)? [y/N]: " choice
|
msg_warn "Ping failed 10 times. Trying HTTP connectivity check (wget) as fallback..."
|
||||||
case "$choice" in
|
if pct exec "$CTID" -- wget -q --spider http://deb.debian.org; then
|
||||||
[yY]*)
|
msg_ok "Network in LXC is reachable (wget fallback)"
|
||||||
pct set "$CTID" --nameserver 1.1.1.1
|
else
|
||||||
pct set "$CTID" --nameserver 8.8.8.8
|
msg_error "No network in LXC after all checks."
|
||||||
if pct exec "$CTID" -- ping -c1 -W1 deb.debian.org >/dev/null 2>&1; then
|
read -r -p "Set fallback DNS (1.1.1.1/8.8.8.8)? [y/N]: " choice
|
||||||
msg_ok "Network reachable after DNS fallback"
|
case "$choice" in
|
||||||
else
|
[yY]*)
|
||||||
msg_error "Still no network/DNS in LXC! Aborting customization."
|
pct set "$CTID" --nameserver 1.1.1.1
|
||||||
exit 1
|
pct set "$CTID" --nameserver 8.8.8.8
|
||||||
fi
|
# Final attempt with wget after DNS change
|
||||||
;;
|
if pct exec "$CTID" -- wget -q --spider http://deb.debian.org; then
|
||||||
*)
|
msg_ok "Network reachable after DNS fallback"
|
||||||
msg_error "Aborted by user – no DNS fallback set."
|
else
|
||||||
exit 1
|
msg_error "Still no network/DNS in LXC! Aborting customization."
|
||||||
;;
|
exit_script
|
||||||
esac
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
msg_error "Aborted by user – no DNS fallback set."
|
||||||
|
exit_script
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
@@ -1346,7 +1350,7 @@ EOF'
|
|||||||
fi
|
fi
|
||||||
msg_ok "Customized LXC Container"
|
msg_ok "Customized LXC Container"
|
||||||
|
|
||||||
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?
|
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function sets the description of the container.
|
# This function sets the description of the container.
|
||||||
|
|||||||
@@ -492,39 +492,50 @@ function setup_php() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Installs or updates Composer globally.
|
# Installs or updates Composer globally (robust, idempotent).
|
||||||
#
|
#
|
||||||
# Description:
|
# - Installs to /usr/local/bin/composer
|
||||||
# - Downloads latest version from getcomposer.org
|
# - Removes old binaries/symlinks in /usr/bin, /bin, /root/.composer, etc.
|
||||||
# - Installs to /usr/local/bin/composer
|
# - Ensures /usr/local/bin is in PATH (permanent)
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
function setup_composer() {
|
function setup_composer() {
|
||||||
local COMPOSER_BIN="/usr/local/bin/composer"
|
local COMPOSER_BIN="/usr/local/bin/composer"
|
||||||
export COMPOSER_ALLOW_SUPERUSER=1
|
export COMPOSER_ALLOW_SUPERUSER=1
|
||||||
|
|
||||||
|
# Clean up old Composer binaries/symlinks (if any)
|
||||||
|
for old in /usr/bin/composer /bin/composer /root/.composer/vendor/bin/composer; do
|
||||||
|
[[ -e "$old" && "$old" != "$COMPOSER_BIN" ]] && rm -f "$old"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Ensure /usr/local/bin is in PATH for future logins (and current shell)
|
||||||
|
ensure_usr_local_bin_persist
|
||||||
|
export PATH="/usr/local/bin:$PATH"
|
||||||
|
|
||||||
# Check if composer is already installed
|
# Check if composer is already installed
|
||||||
if [[ -x "$COMPOSER_BIN" ]]; then
|
if [[ -x "$COMPOSER_BIN" ]]; then
|
||||||
local CURRENT_VERSION
|
local CURRENT_VERSION
|
||||||
CURRENT_VERSION=$("$COMPOSER_BIN" --version | awk '{print $3}')
|
CURRENT_VERSION=$("$COMPOSER_BIN" --version | awk '{print $3}')
|
||||||
$STD msg_info "Old Composer $CURRENT_VERSION found, updating to latest"
|
$STD msg_info "Old Composer $CURRENT_VERSION found, updating to latest"
|
||||||
else
|
else
|
||||||
msg_info "Setup Composer"
|
msg_info "Installing Composer"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Download and install latest composer
|
# Download and install latest Composer
|
||||||
curl -fsSL https://getcomposer.org/installer -o /tmp/composer-setup.php
|
curl -fsSL https://getcomposer.org/installer -o /tmp/composer-setup.php
|
||||||
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer >/dev/null 2>&1
|
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer >/dev/null 2>&1
|
||||||
|
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ ! -x "$COMPOSER_BIN" ]]; then
|
||||||
msg_error "Failed to install Composer"
|
msg_error "Composer was not successfully installed (no binary at $COMPOSER_BIN)"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod +x "$COMPOSER_BIN"
|
chmod +x "$COMPOSER_BIN"
|
||||||
composer diagnose >/dev/null 2>&1
|
$STD "$COMPOSER_BIN" self-update --no-interaction || true # safe if already latest
|
||||||
msg_ok "Setup Composer"
|
$STD "$COMPOSER_BIN" diagnose
|
||||||
|
msg_ok "Composer is ready at $COMPOSER_BIN"
|
||||||
}
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Creates a systemd service to disable NIC offloading features for Intel e1000e interfaces
|
# Creates a systemd service to disable NIC offloading features for Intel e1000e and e1000 interfaces
|
||||||
# Author: rcastley
|
# Author: rcastley
|
||||||
# License: MIT
|
# License: MIT
|
||||||
|
|
||||||
@@ -19,8 +19,8 @@ INFO="${TAB}ℹ️${TAB}${CL}"
|
|||||||
WARN="${TAB}⚠️${TAB}${CL}"
|
WARN="${TAB}⚠️${TAB}${CL}"
|
||||||
|
|
||||||
function header_info {
|
function header_info {
|
||||||
clear
|
clear
|
||||||
cat <<"EOF"
|
cat <<"EOF"
|
||||||
|
|
||||||
_ ____________ ____ __________ ___ ____ _ __ __
|
_ ____________ ____ __________ ___ ____ _ __ __
|
||||||
/ | / / _/ ____/ / __ \/ __/ __/ /___ ____ _____/ (_)___ ____ _ / __ \(_)________ _/ /_ / /__ _____
|
/ | / / _/ ____/ / __ \/ __/ __/ /___ ____ _____/ (_)___ ____ _ / __ \(_)________ _/ /_ / /__ _____
|
||||||
@@ -28,6 +28,7 @@ function header_info {
|
|||||||
/ /| // // /___ / /_/ / __/ __/ / /_/ / /_/ / /_/ / / / / / /_/ / / /_/ / (__ ) /_/ / /_/ / / __/ /
|
/ /| // // /___ / /_/ / __/ __/ / /_/ / /_/ / /_/ / / / / / /_/ / / /_/ / (__ ) /_/ / /_/ / / __/ /
|
||||||
/_/ |_/___/\____/ \____/_/ /_/ /_/\____/\__,_/\__,_/_/_/ /_/\__, / /_____/_/____/\__,_/_.___/_/\___/_/
|
/_/ |_/___/\____/ \____/_/ /_/ /_/\____/\__,_/\__,_/_/_/ /_/\__, / /_____/_/____/\__,_/_.___/_/\___/_/
|
||||||
/____/
|
/____/
|
||||||
|
Enhanced version supporting both e1000e and e1000 drivers
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
@@ -52,36 +53,36 @@ if ! command -v ethtool >/dev/null 2>&1; then
|
|||||||
msg_ok "ethtool installed successfully"
|
msg_ok "ethtool installed successfully"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get list of network interfaces using Intel e1000e driver
|
# Get list of network interfaces using Intel e1000e or e1000 drivers
|
||||||
INTERFACES=()
|
INTERFACES=()
|
||||||
COUNT=0
|
COUNT=0
|
||||||
|
|
||||||
msg_info "Searching for Intel e1000e interfaces"
|
msg_info "Searching for Intel e1000e and e1000 interfaces"
|
||||||
|
|
||||||
for device in /sys/class/net/*; do
|
for device in /sys/class/net/*; do
|
||||||
interface="$(basename "$device")" # or adjust the rest of the usages below, as mostly you'll use the path anyway
|
interface="$(basename "$device")" # or adjust the rest of the usages below, as mostly you'll use the path anyway
|
||||||
# Skip loopback interface and virtual interfaces
|
# Skip loopback interface and virtual interfaces
|
||||||
if [[ "$interface" != "lo" ]] && [[ ! "$interface" =~ ^(tap|fwbr|veth|vmbr|bonding_masters) ]]; then
|
if [[ "$interface" != "lo" ]] && [[ ! "$interface" =~ ^(tap|fwbr|veth|vmbr|bonding_masters) ]]; then
|
||||||
# Check if the interface uses the e1000e driver
|
# Check if the interface uses the e1000e or e1000 driver
|
||||||
driver=$(basename $(readlink -f /sys/class/net/$interface/device/driver 2>/dev/null) 2>/dev/null)
|
driver=$(basename $(readlink -f /sys/class/net/$interface/device/driver 2>/dev/null) 2>/dev/null)
|
||||||
|
|
||||||
if [[ "$driver" == "e1000e" ]]; then
|
if [[ "$driver" == "e1000e" ]] || [[ "$driver" == "e1000" ]]; then
|
||||||
# Get MAC address for additional identification
|
# Get MAC address for additional identification
|
||||||
mac=$(cat /sys/class/net/$interface/address 2>/dev/null)
|
mac=$(cat /sys/class/net/$interface/address 2>/dev/null)
|
||||||
INTERFACES+=("$interface" "Intel e1000e NIC ($mac)")
|
INTERFACES+=("$interface" "Intel $driver NIC ($mac)")
|
||||||
((COUNT++))
|
((COUNT++))
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Check if any Intel e1000e interfaces were found
|
# Check if any Intel e1000e/e1000 interfaces were found
|
||||||
if [ ${#INTERFACES[@]} -eq 0 ]; then
|
if [ ${#INTERFACES[@]} -eq 0 ]; then
|
||||||
whiptail --title "Error" --msgbox "No Intel e1000e network interfaces found!" 10 60
|
whiptail --title "Error" --msgbox "No Intel e1000e or e1000 network interfaces found!" 10 60
|
||||||
msg_error "No Intel e1000e network interfaces found! Exiting."
|
msg_error "No Intel e1000e or e1000 network interfaces found! Exiting."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_ok "Found ${BL}$COUNT${GN} Intel e1000e interfaces"
|
msg_ok "Found ${BL}$COUNT${GN} Intel e1000e/e1000 interfaces"
|
||||||
|
|
||||||
# Create a checklist for interface selection with all interfaces initially checked
|
# Create a checklist for interface selection with all interfaces initially checked
|
||||||
INTERFACES_CHECKLIST=()
|
INTERFACES_CHECKLIST=()
|
||||||
@@ -90,9 +91,9 @@ for ((i=0; i<${#INTERFACES[@]}; i+=2)); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Show interface selection checklist
|
# Show interface selection checklist
|
||||||
SELECTED_INTERFACES=$(whiptail --backtitle "Intel e1000e NIC Offloading Disabler" --title "Network Interfaces" \
|
SELECTED_INTERFACES=$(whiptail --backtitle "Intel e1000e/e1000 NIC Offloading Disabler" --title "Network Interfaces" \
|
||||||
--separate-output --checklist "Select Intel e1000e network interfaces\n(Space to toggle, Enter to confirm):" 15 80 6 \
|
--separate-output --checklist "Select Intel e1000e/e1000 network interfaces\n(Space to toggle, Enter to confirm):" 15 80 6 \
|
||||||
"${INTERFACES_CHECKLIST[@]}" 3>&1 1>&2 2>&3)
|
"${INTERFACES_CHECKLIST[@]}" 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
exitstatus=$?
|
exitstatus=$?
|
||||||
if [ $exitstatus != 0 ]; then
|
if [ $exitstatus != 0 ]; then
|
||||||
@@ -112,21 +113,23 @@ readarray -t INTERFACE_ARRAY <<< "$SELECTED_INTERFACES"
|
|||||||
# Show the number of selected interfaces
|
# Show the number of selected interfaces
|
||||||
INTERFACE_COUNT=${#INTERFACE_ARRAY[@]}
|
INTERFACE_COUNT=${#INTERFACE_ARRAY[@]}
|
||||||
|
|
||||||
# Print selected interfaces
|
# Print selected interfaces with their driver types
|
||||||
for iface in "${INTERFACE_ARRAY[@]}"; do
|
for iface in "${INTERFACE_ARRAY[@]}"; do
|
||||||
msg_ok "Selected interface: ${BL}$iface${CL}"
|
driver=$(basename $(readlink -f /sys/class/net/$iface/device/driver 2>/dev/null) 2>/dev/null)
|
||||||
|
msg_ok "Selected interface: ${BL}$iface${GN} (${BL}$driver${GN})"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Ask for confirmation with the list of selected interfaces
|
# Ask for confirmation with the list of selected interfaces
|
||||||
CONFIRMATION_MSG="You have selected the following interface(s):\n\n"
|
CONFIRMATION_MSG="You have selected the following interface(s):\n\n"
|
||||||
for iface in "${INTERFACE_ARRAY[@]}"; do
|
for iface in "${INTERFACE_ARRAY[@]}"; do
|
||||||
SPEED=$(cat /sys/class/net/$iface/speed 2>/dev/null)
|
SPEED=$(cat /sys/class/net/$iface/speed 2>/dev/null || echo "Unknown")
|
||||||
MAC=$(cat /sys/class/net/$iface/address 2>/dev/null)
|
MAC=$(cat /sys/class/net/$iface/address 2>/dev/null)
|
||||||
CONFIRMATION_MSG+="- $iface (MAC: $MAC, Speed: ${SPEED}Mbps)\n"
|
DRIVER=$(basename $(readlink -f /sys/class/net/$iface/device/driver 2>/dev/null) 2>/dev/null)
|
||||||
|
CONFIRMATION_MSG+="- $iface (Driver: $DRIVER, MAC: $MAC, Speed: ${SPEED}Mbps)\n"
|
||||||
done
|
done
|
||||||
CONFIRMATION_MSG+="\nThis will create systemd service(s) to disable offloading features.\n\nProceed?"
|
CONFIRMATION_MSG+="\nThis will create systemd service(s) to disable offloading features.\n\nProceed?"
|
||||||
|
|
||||||
if ! whiptail --backtitle "Intel e1000e NIC Offloading Disabler" --title "Confirmation" \
|
if ! whiptail --backtitle "Intel e1000e/e1000 NIC Offloading Disabler" --title "Confirmation" \
|
||||||
--yesno "$CONFIRMATION_MSG" 20 80; then
|
--yesno "$CONFIRMATION_MSG" 20 80; then
|
||||||
msg_info "User canceled. Exiting."
|
msg_info "User canceled. Exiting."
|
||||||
exit 0
|
exit 0
|
||||||
@@ -134,22 +137,25 @@ fi
|
|||||||
|
|
||||||
# Loop through all selected interfaces and create services for each
|
# Loop through all selected interfaces and create services for each
|
||||||
for SELECTED_INTERFACE in "${INTERFACE_ARRAY[@]}"; do
|
for SELECTED_INTERFACE in "${INTERFACE_ARRAY[@]}"; do
|
||||||
|
# Get the driver type for this specific interface
|
||||||
|
DRIVER=$(basename $(readlink -f /sys/class/net/$SELECTED_INTERFACE/device/driver 2>/dev/null) 2>/dev/null)
|
||||||
|
|
||||||
# Create service name for this interface
|
# Create service name for this interface
|
||||||
SERVICE_NAME="disable-nic-offload-$SELECTED_INTERFACE.service"
|
SERVICE_NAME="disable-nic-offload-$SELECTED_INTERFACE.service"
|
||||||
SERVICE_PATH="/etc/systemd/system/$SERVICE_NAME"
|
SERVICE_PATH="/etc/systemd/system/$SERVICE_NAME"
|
||||||
|
|
||||||
# Create the service file with e1000e specific optimizations
|
# Create the service file with driver-specific optimizations
|
||||||
msg_info "Creating systemd service for interface: ${BL}$SELECTED_INTERFACE${YW}"
|
msg_info "Creating systemd service for interface: ${BL}$SELECTED_INTERFACE${YW} (${BL}$DRIVER${YW})"
|
||||||
|
|
||||||
# Start with the common part of the service file
|
# Start with the common part of the service file
|
||||||
cat > "$SERVICE_PATH" << EOF
|
cat > "$SERVICE_PATH" << EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Disable NIC offloading for Intel e1000e interface $SELECTED_INTERFACE
|
Description=Disable NIC offloading for Intel $DRIVER interface $SELECTED_INTERFACE
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
# Disable all offloading features for Intel e1000e
|
# Disable all offloading features for Intel $DRIVER
|
||||||
ExecStart=/sbin/ethtool -K $SELECTED_INTERFACE gso off gro off tso off tx off rx off rxvlan off txvlan off sg off
|
ExecStart=/sbin/ethtool -K $SELECTED_INTERFACE gso off gro off tso off tx off rx off rxvlan off txvlan off sg off
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
|
||||||
@@ -176,7 +182,7 @@ EOF
|
|||||||
# Enable the service to start on boot
|
# Enable the service to start on boot
|
||||||
systemctl enable "$SERVICE_NAME"
|
systemctl enable "$SERVICE_NAME"
|
||||||
echo "100"; sleep 0.2
|
echo "100"; sleep 0.2
|
||||||
} | whiptail --backtitle "Intel e1000e NIC Offloading Disabler" --gauge "Configuring service for $SELECTED_INTERFACE..." 10 80 0
|
} | whiptail --backtitle "Intel e1000e/e1000 NIC Offloading Disabler" --gauge "Configuring service for $SELECTED_INTERFACE..." 10 80 0
|
||||||
|
|
||||||
# Individual service status
|
# Individual service status
|
||||||
if systemctl is-active --quiet "$SERVICE_NAME"; then
|
if systemctl is-active --quiet "$SERVICE_NAME"; then
|
||||||
@@ -192,7 +198,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Show individual service results
|
# Show individual service results
|
||||||
msg_ok "Service for ${BL}$SELECTED_INTERFACE${GN} created and enabled!"
|
msg_ok "Service for ${BL}$SELECTED_INTERFACE${GN} (${BL}$DRIVER${GN}) created and enabled!"
|
||||||
msg_info "${TAB}Service: ${BL}$SERVICE_NAME${YW}"
|
msg_info "${TAB}Service: ${BL}$SERVICE_NAME${YW}"
|
||||||
msg_info "${TAB}Status: ${BL}$SERVICE_STATUS${YW}"
|
msg_info "${TAB}Status: ${BL}$SERVICE_STATUS${YW}"
|
||||||
msg_info "${TAB}Start on boot: ${BL}$BOOT_STATUS${YW}"
|
msg_info "${TAB}Start on boot: ${BL}$BOOT_STATUS${YW}"
|
||||||
@@ -204,6 +210,8 @@ SUMMARY_MSG+="Configured Interfaces:\n"
|
|||||||
|
|
||||||
for iface in "${INTERFACE_ARRAY[@]}"; do
|
for iface in "${INTERFACE_ARRAY[@]}"; do
|
||||||
SERVICE_NAME="disable-nic-offload-$iface.service"
|
SERVICE_NAME="disable-nic-offload-$iface.service"
|
||||||
|
DRIVER=$(basename $(readlink -f /sys/class/net/$iface/device/driver 2>/dev/null) 2>/dev/null)
|
||||||
|
|
||||||
if systemctl is-active --quiet "$SERVICE_NAME"; then
|
if systemctl is-active --quiet "$SERVICE_NAME"; then
|
||||||
SVC_STATUS="Active"
|
SVC_STATUS="Active"
|
||||||
else
|
else
|
||||||
@@ -216,12 +224,20 @@ for iface in "${INTERFACE_ARRAY[@]}"; do
|
|||||||
BOOT_SVC_STATUS="Disabled"
|
BOOT_SVC_STATUS="Disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SUMMARY_MSG+="- $iface: $SVC_STATUS, Boot: $BOOT_SVC_STATUS\n"
|
SUMMARY_MSG+="- $iface ($DRIVER): $SVC_STATUS, Boot: $BOOT_SVC_STATUS\n"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Show summary results
|
# Show summary results
|
||||||
whiptail --backtitle "Intel e1000e NIC Offloading Disabler" --title "Success" --msgbox "$SUMMARY_MSG" 20 80
|
whiptail --backtitle "Intel e1000e/e1000 NIC Offloading Disabler" --title "Success" --msgbox "$SUMMARY_MSG" 22 80
|
||||||
|
|
||||||
msg_ok "Intel e1000e optimization complete for ${#INTERFACE_ARRAY[@]} interface(s)!"
|
msg_ok "Intel e1000e/e1000 optimization complete for ${#INTERFACE_ARRAY[@]} interface(s)!"
|
||||||
|
|
||||||
|
# Show verification commands
|
||||||
|
echo ""
|
||||||
|
msg_info "Verification commands:"
|
||||||
|
for iface in "${INTERFACE_ARRAY[@]}"; do
|
||||||
|
echo -e "${TAB}${BL}ethtool -k $iface${CL} ${YW}# Check offloading status${CL}"
|
||||||
|
echo -e "${TAB}${BL}systemctl status disable-nic-offload-$iface.service${CL} ${YW}# Check service status${CL}"
|
||||||
|
done
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@@ -98,11 +98,14 @@ turnkey=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "TurnKey LXCs
|
|||||||
|
|
||||||
# Setup script environment
|
# Setup script environment
|
||||||
PASS="$(openssl rand -base64 8)"
|
PASS="$(openssl rand -base64 8)"
|
||||||
CTID=$(pvesh get /cluster/nextid)
|
# Prompt user to confirm container ID
|
||||||
|
CTID=$(whiptail --backtitle "Container ID" --title "Choose the Container ID" --inputbox "Enter the conatiner ID..." 8 40 $(pvesh get /cluster/nextid) 3>&1 1>&2 2>&3)
|
||||||
|
# Prompt user to confirm Hostname
|
||||||
|
HOST_NAME=$(whiptail --backtitle "Hostname" --title "Choose the Hostname" --inputbox "Enter the containers Hostname..." 8 40 "turnkey-${turnkey}" 3>&1 1>&2 2>&3)
|
||||||
PCT_OPTIONS="
|
PCT_OPTIONS="
|
||||||
-features keyctl=1,nesting=1
|
-features keyctl=1,nesting=1
|
||||||
-hostname turnkey-${turnkey}
|
-hostname $HOST_NAME
|
||||||
-tags proxmox-helper-scripts
|
-tags community-script
|
||||||
-onboot 1
|
-onboot 1
|
||||||
-cores 2
|
-cores 2
|
||||||
-memory 2048
|
-memory 2048
|
||||||
@@ -199,6 +202,15 @@ pct create $CTID ${TEMPLATE_STORAGE}:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]} >/dev/
|
|||||||
# Save password
|
# Save password
|
||||||
echo "TurnKey ${turnkey} password: ${PASS}" >>~/turnkey-${turnkey}.creds # file is located in the Proxmox root directory
|
echo "TurnKey ${turnkey} password: ${PASS}" >>~/turnkey-${turnkey}.creds # file is located in the Proxmox root directory
|
||||||
|
|
||||||
|
# If turnkey is "OpenVPN", add access to the tun device
|
||||||
|
TUN_DEVICE_REQUIRED=("openvpn") # Setup this way in case future turnkeys also need tun access
|
||||||
|
if printf '%s\n' "${TUN_DEVICE_REQUIRED[@]}" | grep -qw "${turnkey}"; then
|
||||||
|
info "${turnkey} requires access to /dev/net/tun on the host. Modifying the container configuration to allow this."
|
||||||
|
echo "lxc.cgroup2.devices.allow: c 10:200 rwm" >> /etc/pve/lxc/${CTID}.conf
|
||||||
|
echo "lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file 0 0" >> /etc/pve/lxc/${CTID}.conf
|
||||||
|
sleep 5
|
||||||
|
fi
|
||||||
|
|
||||||
# Start container
|
# Start container
|
||||||
msg "Starting LXC Container..."
|
msg "Starting LXC Container..."
|
||||||
pct start "$CTID"
|
pct start "$CTID"
|
||||||
@@ -239,4 +251,5 @@ info "Proceed to the LXC console to complete the setup."
|
|||||||
echo
|
echo
|
||||||
info "login: root"
|
info "login: root"
|
||||||
info "password: $PASS"
|
info "password: $PASS"
|
||||||
|
info "(credentials also stored in the root user's root directory in the 'turnkey-${turnkey}.creds' file.)"
|
||||||
echo
|
echo
|
||||||
|
|||||||
@@ -138,36 +138,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -138,36 +138,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -139,36 +139,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -142,36 +142,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -139,36 +139,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -138,36 +138,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -184,36 +184,37 @@ function msg_error() {
|
|||||||
echo -e "${BFR} ${CROSS} ${RD}${msg}${CL}"
|
echo -e "${BFR} ${CROSS} ${RD}${msg}${CL}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -180,36 +180,37 @@ function msg_error() {
|
|||||||
echo -e "${BFR} ${CROSS} ${RD}${msg}${CL}"
|
echo -e "${BFR} ${CROSS} ${RD}${msg}${CL}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -139,36 +139,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -147,36 +147,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -134,36 +134,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -137,36 +137,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,552 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
|
||||||
# Author: MickLesk (CanbiZ)
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
|
|
||||||
source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
|
|
||||||
|
|
||||||
function header_info {
|
|
||||||
clear
|
|
||||||
cat <<"EOF"
|
|
||||||
__ ____ __ ___ __ __ _______ _ ____ ___
|
|
||||||
/ / / / /_ __ ______ / /___ __ |__ \/ // / < / __ \ | | / / |/ /
|
|
||||||
/ / / / __ \/ / / / __ \/ __/ / / / __/ / // /_ / / / / / | | / / /|_/ /
|
|
||||||
/ /_/ / /_/ / /_/ / / / / /_/ /_/ / / __/__ __/ / / /_/ / | |/ / / / /
|
|
||||||
\____/_.___/\__,_/_/ /_/\__/\__,_/ /____/ /_/ (_)_/\____/ |___/_/ /_/
|
|
||||||
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
header_info
|
|
||||||
echo -e "\n Loading..."
|
|
||||||
GEN_MAC=02:$(openssl rand -hex 5 | awk '{print toupper($0)}' | sed 's/\(..\)/\1:/g; s/.$//')
|
|
||||||
RANDOM_UUID="$(cat /proc/sys/kernel/random/uuid)"
|
|
||||||
METHOD=""
|
|
||||||
NSAPP="ubuntu-2410-vm"
|
|
||||||
var_os="ubuntu"
|
|
||||||
var_version="2410"
|
|
||||||
|
|
||||||
YW=$(echo "\033[33m")
|
|
||||||
BL=$(echo "\033[36m")
|
|
||||||
RD=$(echo "\033[01;31m")
|
|
||||||
BGN=$(echo "\033[4;92m")
|
|
||||||
GN=$(echo "\033[1;92m")
|
|
||||||
DGN=$(echo "\033[32m")
|
|
||||||
CL=$(echo "\033[m")
|
|
||||||
|
|
||||||
CL=$(echo "\033[m")
|
|
||||||
BOLD=$(echo "\033[1m")
|
|
||||||
BFR="\\r\\033[K"
|
|
||||||
HOLD=" "
|
|
||||||
TAB=" "
|
|
||||||
|
|
||||||
CM="${TAB}✔️${TAB}${CL}"
|
|
||||||
CROSS="${TAB}✖️${TAB}${CL}"
|
|
||||||
INFO="${TAB}💡${TAB}${CL}"
|
|
||||||
OS="${TAB}🖥️${TAB}${CL}"
|
|
||||||
CONTAINERTYPE="${TAB}📦${TAB}${CL}"
|
|
||||||
DISKSIZE="${TAB}💾${TAB}${CL}"
|
|
||||||
CPUCORE="${TAB}🧠${TAB}${CL}"
|
|
||||||
RAMSIZE="${TAB}🛠️${TAB}${CL}"
|
|
||||||
CONTAINERID="${TAB}🆔${TAB}${CL}"
|
|
||||||
HOSTNAME="${TAB}🏠${TAB}${CL}"
|
|
||||||
BRIDGE="${TAB}🌉${TAB}${CL}"
|
|
||||||
GATEWAY="${TAB}🌐${TAB}${CL}"
|
|
||||||
DEFAULT="${TAB}⚙️${TAB}${CL}"
|
|
||||||
MACADDRESS="${TAB}🔗${TAB}${CL}"
|
|
||||||
VLANTAG="${TAB}🏷️${TAB}${CL}"
|
|
||||||
CREATING="${TAB}🚀${TAB}${CL}"
|
|
||||||
ADVANCED="${TAB}🧩${TAB}${CL}"
|
|
||||||
|
|
||||||
THIN="discard=on,ssd=1,"
|
|
||||||
set -e
|
|
||||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
|
|
||||||
trap cleanup EXIT
|
|
||||||
trap 'post_update_to_api "failed" "INTERRUPTED"' SIGINT
|
|
||||||
trap 'post_update_to_api "failed" "TERMINATED"' SIGTERM
|
|
||||||
function error_handler() {
|
|
||||||
local exit_code="$?"
|
|
||||||
local line_number="$1"
|
|
||||||
local command="$2"
|
|
||||||
post_update_to_api "failed" "$command"
|
|
||||||
local error_message="${RD}[ERROR]${CL} in line ${RD}$line_number${CL}: exit code ${RD}$exit_code${CL}: while executing command ${YW}$command${CL}"
|
|
||||||
echo -e "\n$error_message\n"
|
|
||||||
cleanup_vmid
|
|
||||||
}
|
|
||||||
|
|
||||||
function get_valid_nextid() {
|
|
||||||
local try_id
|
|
||||||
try_id=$(pvesh get /cluster/nextid)
|
|
||||||
while true; do
|
|
||||||
if [ -f "/etc/pve/qemu-server/${try_id}.conf" ] || [ -f "/etc/pve/lxc/${try_id}.conf" ]; then
|
|
||||||
try_id=$((try_id + 1))
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
if lvs --noheadings -o lv_name | grep -qE "(^|[-_])${try_id}($|[-_])"; then
|
|
||||||
try_id=$((try_id + 1))
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
break
|
|
||||||
done
|
|
||||||
echo "$try_id"
|
|
||||||
}
|
|
||||||
|
|
||||||
function cleanup_vmid() {
|
|
||||||
if qm status $VMID &>/dev/null; then
|
|
||||||
qm stop $VMID &>/dev/null
|
|
||||||
qm destroy $VMID &>/dev/null
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function cleanup() {
|
|
||||||
popd >/dev/null
|
|
||||||
rm -rf $TEMP_DIR
|
|
||||||
}
|
|
||||||
|
|
||||||
TEMP_DIR=$(mktemp -d)
|
|
||||||
pushd $TEMP_DIR >/dev/null
|
|
||||||
if whiptail --backtitle "Proxmox VE Helper Scripts" --title "Ubuntu 24.10 VM" --yesno "This will create a New Ubuntu 24.10 VM. Proceed?" 10 58; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
header_info && echo -e "${CROSS}${RD}User exited script${CL}\n" && exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
function msg_info() {
|
|
||||||
local msg="$1"
|
|
||||||
echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}"
|
|
||||||
}
|
|
||||||
|
|
||||||
function msg_ok() {
|
|
||||||
local msg="$1"
|
|
||||||
echo -e "${BFR}${CM}${GN}${msg}${CL}"
|
|
||||||
}
|
|
||||||
|
|
||||||
function msg_error() {
|
|
||||||
local msg="$1"
|
|
||||||
echo -e "${BFR}${CROSS}${RD}${msg}${CL}"
|
|
||||||
}
|
|
||||||
|
|
||||||
function check_root() {
|
|
||||||
if [[ "$(id -u)" -ne 0 || $(ps -o comm= -p $PPID) == "sudo" ]]; then
|
|
||||||
clear
|
|
||||||
msg_error "Please run this script as root."
|
|
||||||
echo -e "\nExiting..."
|
|
||||||
sleep 2
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pve_check() {
|
|
||||||
local PVE_VER
|
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
|
||||||
return 0
|
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# All other unsupported versions
|
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
function arch_check() {
|
|
||||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
|
||||||
echo -e "\n ${INFO}${YWB}This script will not work with PiMox! \n"
|
|
||||||
echo -e "\n ${YWB}Visit https://github.com/asylumexp/Proxmox for ARM64 support. \n"
|
|
||||||
echo -e "Exiting..."
|
|
||||||
sleep 2
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function ssh_check() {
|
|
||||||
if command -v pveversion >/dev/null 2>&1; then
|
|
||||||
if [ -n "${SSH_CLIENT:+x}" ]; then
|
|
||||||
if whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "SSH DETECTED" --yesno "It's suggested to use the Proxmox shell instead of SSH, since SSH can create issues while gathering variables. Would you like to proceed with using SSH?" 10 62; then
|
|
||||||
echo "you've been warned"
|
|
||||||
else
|
|
||||||
clear
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function exit-script() {
|
|
||||||
clear
|
|
||||||
echo -e "\n${CROSS}${RD}User exited script${CL}\n"
|
|
||||||
exit
|
|
||||||
}
|
|
||||||
|
|
||||||
function default_settings() {
|
|
||||||
VMID=$(get_valid_nextid)
|
|
||||||
FORMAT=",efitype=4m"
|
|
||||||
MACHINE=""
|
|
||||||
DISK_SIZE="8G"
|
|
||||||
DISK_CACHE=""
|
|
||||||
HN="ubuntu"
|
|
||||||
CPU_TYPE=""
|
|
||||||
CORE_COUNT="2"
|
|
||||||
RAM_SIZE="2048"
|
|
||||||
BRG="vmbr0"
|
|
||||||
MAC="$GEN_MAC"
|
|
||||||
VLAN=""
|
|
||||||
MTU=""
|
|
||||||
START_VM="yes"
|
|
||||||
METHOD="default"
|
|
||||||
echo -e "${CONTAINERID}${BOLD}${DGN}Virtual Machine ID: ${BGN}${VMID}${CL}"
|
|
||||||
echo -e "${CONTAINERTYPE}${BOLD}${DGN}Machine Type: ${BGN}i440fx${CL}"
|
|
||||||
echo -e "${DISKSIZE}${BOLD}${DGN}Disk Size: ${BGN}${DISK_SIZE}${CL}"
|
|
||||||
echo -e "${DISKSIZE}${BOLD}${DGN}Disk Cache: ${BGN}None${CL}"
|
|
||||||
echo -e "${HOSTNAME}${BOLD}${DGN}Hostname: ${BGN}${HN}${CL}"
|
|
||||||
echo -e "${OS}${BOLD}${DGN}CPU Model: ${BGN}KVM64${CL}"
|
|
||||||
echo -e "${CPUCORE}${BOLD}${DGN}CPU Cores: ${BGN}${CORE_COUNT}${CL}"
|
|
||||||
echo -e "${RAMSIZE}${BOLD}${DGN}RAM Size: ${BGN}${RAM_SIZE}${CL}"
|
|
||||||
echo -e "${BRIDGE}${BOLD}${DGN}Bridge: ${BGN}${BRG}${CL}"
|
|
||||||
echo -e "${MACADDRESS}${BOLD}${DGN}MAC Address: ${BGN}${MAC}${CL}"
|
|
||||||
echo -e "${VLANTAG}${BOLD}${DGN}VLAN: ${BGN}Default${CL}"
|
|
||||||
echo -e "${DEFAULT}${BOLD}${DGN}Interface MTU Size: ${BGN}Default${CL}"
|
|
||||||
echo -e "${GATEWAY}${BOLD}${DGN}Start VM when completed: ${BGN}yes${CL}"
|
|
||||||
echo -e "${CREATING}${BOLD}${DGN}Creating a Ubuntu 24.10 VM using the above default settings${CL}"
|
|
||||||
}
|
|
||||||
|
|
||||||
function advanced_settings() {
|
|
||||||
METHOD="advanced"
|
|
||||||
[ -z "${VMID:-}" ] && VMID=$(get_valid_nextid)
|
|
||||||
while true; do
|
|
||||||
if VMID=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set Virtual Machine ID" 8 58 $VMID --title "VIRTUAL MACHINE ID" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
|
|
||||||
if [ -z "$VMID" ]; then
|
|
||||||
VMID=$(get_valid_nextid)
|
|
||||||
fi
|
|
||||||
if pct status "$VMID" &>/dev/null || qm status "$VMID" &>/dev/null; then
|
|
||||||
echo -e "${CROSS}${RD} ID $VMID is already in use${CL}"
|
|
||||||
sleep 2
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
echo -e "${CONTAINERID}${BOLD}${DGN}Virtual Machine ID: ${BGN}$VMID${CL}"
|
|
||||||
break
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if MACH=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "MACHINE TYPE" --radiolist --cancel-button Exit-Script "Choose Type" 10 58 2 \
|
|
||||||
"i440fx" "Machine i440fx" ON \
|
|
||||||
"q35" "Machine q35" OFF \
|
|
||||||
3>&1 1>&2 2>&3); then
|
|
||||||
if [ $MACH = q35 ]; then
|
|
||||||
echo -e "${CONTAINERTYPE}${BOLD}${DGN}Machine Type: ${BGN}$MACH${CL}"
|
|
||||||
FORMAT=""
|
|
||||||
MACHINE=" -machine q35"
|
|
||||||
else
|
|
||||||
echo -e "${CONTAINERTYPE}${BOLD}${DGN}Machine Type: ${BGN}$MACH${CL}"
|
|
||||||
FORMAT=",efitype=4m"
|
|
||||||
MACHINE=""
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
|
|
||||||
if DISK_SIZE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set Disk Size in GiB (e.g., 10, 20)" 8 58 "$DISK_SIZE" --title "DISK SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
|
|
||||||
DISK_SIZE=$(echo "$DISK_SIZE" | tr -d ' ')
|
|
||||||
if [[ "$DISK_SIZE" =~ ^[0-9]+$ ]]; then
|
|
||||||
DISK_SIZE="${DISK_SIZE}G"
|
|
||||||
echo -e "${DISKSIZE}${BOLD}${DGN}Disk Size: ${BGN}$DISK_SIZE${CL}"
|
|
||||||
elif [[ "$DISK_SIZE" =~ ^[0-9]+G$ ]]; then
|
|
||||||
echo -e "${DISKSIZE}${BOLD}${DGN}Disk Size: ${BGN}$DISK_SIZE${CL}"
|
|
||||||
else
|
|
||||||
echo -e "${DISKSIZE}${BOLD}${RD}Invalid Disk Size. Please use a number (e.g., 10 or 10G).${CL}"
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
|
|
||||||
if DISK_CACHE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "DISK CACHE" --radiolist "Choose" --cancel-button Exit-Script 10 58 2 \
|
|
||||||
"0" "None (Default)" ON \
|
|
||||||
"1" "Write Through" OFF \
|
|
||||||
3>&1 1>&2 2>&3); then
|
|
||||||
if [ $DISK_CACHE = "1" ]; then
|
|
||||||
echo -e "${DISKSIZE}${BOLD}${DGN}Disk Cache: ${BGN}Write Through${CL}"
|
|
||||||
DISK_CACHE="cache=writethrough,"
|
|
||||||
else
|
|
||||||
echo -e "${DISKSIZE}${BOLD}${DGN}Disk Cache: ${BGN}None${CL}"
|
|
||||||
DISK_CACHE=""
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
|
|
||||||
if VM_NAME=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set Hostname" 8 58 ubuntu --title "HOSTNAME" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
|
|
||||||
if [ -z $VM_NAME ]; then
|
|
||||||
HN="ubuntu"
|
|
||||||
echo -e "${HOSTNAME}${BOLD}${DGN}Hostname: ${BGN}$HN${CL}"
|
|
||||||
else
|
|
||||||
HN=$(echo ${VM_NAME,,} | tr -d ' ')
|
|
||||||
echo -e "${HOSTNAME}${BOLD}${DGN}Hostname: ${BGN}$HN${CL}"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
|
|
||||||
if CPU_TYPE1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "CPU MODEL" --radiolist "Choose" --cancel-button Exit-Script 10 58 2 \
|
|
||||||
"0" "KVM64 (Default)" ON \
|
|
||||||
"1" "Host" OFF \
|
|
||||||
3>&1 1>&2 2>&3); then
|
|
||||||
if [ $CPU_TYPE1 = "1" ]; then
|
|
||||||
echo -e "${OS}${BOLD}${DGN}CPU Model: ${BGN}Host${CL}"
|
|
||||||
CPU_TYPE=" -cpu host"
|
|
||||||
else
|
|
||||||
echo -e "${OS}${BOLD}${DGN}CPU Model: ${BGN}KVM64${CL}"
|
|
||||||
CPU_TYPE=""
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
|
|
||||||
if CORE_COUNT=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Allocate CPU Cores" 8 58 2 --title "CORE COUNT" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
|
|
||||||
if [ -z $CORE_COUNT ]; then
|
|
||||||
CORE_COUNT="2"
|
|
||||||
echo -e "${CPUCORE}${BOLD}${DGN}CPU Cores: ${BGN}$CORE_COUNT${CL}"
|
|
||||||
else
|
|
||||||
echo -e "${CPUCORE}${BOLD}${DGN}CPU Cores: ${BGN}$CORE_COUNT${CL}"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
|
|
||||||
if RAM_SIZE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Allocate RAM in MiB" 8 58 2048 --title "RAM" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
|
|
||||||
if [ -z $RAM_SIZE ]; then
|
|
||||||
RAM_SIZE="2048"
|
|
||||||
echo -e "${RAMSIZE}${BOLD}${DGN}RAM Size: ${BGN}$RAM_SIZE${CL}"
|
|
||||||
else
|
|
||||||
echo -e "${RAMSIZE}${BOLD}${DGN}RAM Size: ${BGN}$RAM_SIZE${CL}"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
|
|
||||||
if BRG=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set a Bridge" 8 58 vmbr0 --title "BRIDGE" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
|
|
||||||
if [ -z $BRG ]; then
|
|
||||||
BRG="vmbr0"
|
|
||||||
echo -e "${BRIDGE}${BOLD}${DGN}Bridge: ${BGN}$BRG${CL}"
|
|
||||||
else
|
|
||||||
echo -e "${BRIDGE}${BOLD}${DGN}Bridge: ${BGN}$BRG${CL}"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
|
|
||||||
if MAC1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set a MAC Address" 8 58 $GEN_MAC --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
|
|
||||||
if [ -z $MAC1 ]; then
|
|
||||||
MAC="$GEN_MAC"
|
|
||||||
echo -e "${MACADDRESS}${BOLD}${DGN}MAC Address: ${BGN}$MAC${CL}"
|
|
||||||
else
|
|
||||||
MAC="$MAC1"
|
|
||||||
echo -e "${MACADDRESS}${BOLD}${DGN}MAC Address: ${BGN}$MAC1${CL}"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
|
|
||||||
if VLAN1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set a Vlan(leave blank for default)" 8 58 --title "VLAN" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
|
|
||||||
if [ -z $VLAN1 ]; then
|
|
||||||
VLAN1="Default"
|
|
||||||
VLAN=""
|
|
||||||
echo -e "${VLANTAG}${BOLD}${DGN}VLAN: ${BGN}$VLAN1${CL}"
|
|
||||||
else
|
|
||||||
VLAN=",tag=$VLAN1"
|
|
||||||
echo -e "${VLANTAG}${BOLD}${DGN}VLAN: ${BGN}$VLAN1${CL}"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
|
|
||||||
if MTU1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
|
|
||||||
if [ -z $MTU1 ]; then
|
|
||||||
MTU1="Default"
|
|
||||||
MTU=""
|
|
||||||
echo -e "${DEFAULT}${BOLD}${DGN}Interface MTU Size: ${BGN}$MTU1${CL}"
|
|
||||||
else
|
|
||||||
MTU=",mtu=$MTU1"
|
|
||||||
echo -e "${DEFAULT}${BOLD}${DGN}Interface MTU Size: ${BGN}$MTU1${CL}"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
|
|
||||||
if (whiptail --backtitle "Proxmox VE Helper Scripts" --title "START VIRTUAL MACHINE" --yesno "Start VM when completed?" 10 58); then
|
|
||||||
echo -e "${GATEWAY}${BOLD}${DGN}Start VM when completed: ${BGN}yes${CL}"
|
|
||||||
START_VM="yes"
|
|
||||||
else
|
|
||||||
echo -e "${GATEWAY}${BOLD}${DGN}Start VM when completed: ${BGN}no${CL}"
|
|
||||||
START_VM="no"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if (whiptail --backtitle "Proxmox VE Helper Scripts" --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create a Ubuntu 24.10 VM?" --no-button Do-Over 10 58); then
|
|
||||||
echo -e "${CREATING}${BOLD}${DGN}Creating a Ubuntu 24.10 VM using the above advanced settings${CL}"
|
|
||||||
else
|
|
||||||
header_info
|
|
||||||
echo -e "${ADVANCED}${BOLD}${RD}Using Advanced Settings${CL}"
|
|
||||||
advanced_settings
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function start_script() {
|
|
||||||
if (whiptail --backtitle "Proxmox VE Helper Scripts" --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
|
||||||
header_info
|
|
||||||
echo -e "${DEFAULT}${BOLD}${BL}Using Default Settings${CL}"
|
|
||||||
default_settings
|
|
||||||
else
|
|
||||||
header_info
|
|
||||||
echo -e "${ADVANCED}${BOLD}${RD}Using Advanced Settings${CL}"
|
|
||||||
advanced_settings
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
check_root
|
|
||||||
arch_check
|
|
||||||
pve_check
|
|
||||||
ssh_check
|
|
||||||
start_script
|
|
||||||
post_to_api_vm
|
|
||||||
|
|
||||||
msg_info "Validating Storage"
|
|
||||||
while read -r line; do
|
|
||||||
TAG=$(echo $line | awk '{print $1}')
|
|
||||||
TYPE=$(echo $line | awk '{printf "%-10s", $2}')
|
|
||||||
FREE=$(echo $line | numfmt --field 4-6 --from-unit=K --to=iec --format %.2f | awk '{printf( "%9sB", $6)}')
|
|
||||||
ITEM=" Type: $TYPE Free: $FREE "
|
|
||||||
OFFSET=2
|
|
||||||
if [[ $((${#ITEM} + $OFFSET)) -gt ${MSG_MAX_LENGTH:-} ]]; then
|
|
||||||
MSG_MAX_LENGTH=$((${#ITEM} + $OFFSET))
|
|
||||||
fi
|
|
||||||
STORAGE_MENU+=("$TAG" "$ITEM" "OFF")
|
|
||||||
done < <(pvesm status -content images | awk 'NR>1')
|
|
||||||
VALID=$(pvesm status -content images | awk 'NR>1')
|
|
||||||
if [ -z "$VALID" ]; then
|
|
||||||
msg_error "Unable to detect a valid storage location."
|
|
||||||
exit
|
|
||||||
elif [ $((${#STORAGE_MENU[@]} / 3)) -eq 1 ]; then
|
|
||||||
STORAGE=${STORAGE_MENU[0]}
|
|
||||||
else
|
|
||||||
while [ -z "${STORAGE:+x}" ]; do
|
|
||||||
STORAGE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "Storage Pools" --radiolist \
|
|
||||||
"Which storage pool would you like to use for ${HN}?\nTo make a selection, use the Spacebar.\n" \
|
|
||||||
16 $(($MSG_MAX_LENGTH + 23)) 6 \
|
|
||||||
"${STORAGE_MENU[@]}" 3>&1 1>&2 2>&3)
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location."
|
|
||||||
msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}."
|
|
||||||
msg_info "Retrieving the URL for the Ubuntu 24.10 Disk Image"
|
|
||||||
URL=https://cloud-images.ubuntu.com/oracular/current/oracular-server-cloudimg-amd64.img
|
|
||||||
sleep 2
|
|
||||||
msg_ok "${CL}${BL}${URL}${CL}"
|
|
||||||
curl -f#SL -o "$(basename "$URL")" "$URL"
|
|
||||||
echo -en "\e[1A\e[0K"
|
|
||||||
FILE=$(basename $URL)
|
|
||||||
msg_ok "Downloaded ${CL}${BL}${FILE}${CL}"
|
|
||||||
|
|
||||||
STORAGE_TYPE=$(pvesm status -storage $STORAGE | awk 'NR>1 {print $2}')
|
|
||||||
case $STORAGE_TYPE in
|
|
||||||
nfs | dir | cifs)
|
|
||||||
DISK_EXT=".qcow2"
|
|
||||||
DISK_REF="$VMID/"
|
|
||||||
DISK_IMPORT="-format qcow2"
|
|
||||||
THIN=""
|
|
||||||
;;
|
|
||||||
btrfs)
|
|
||||||
DISK_EXT=".raw"
|
|
||||||
DISK_REF="$VMID/"
|
|
||||||
DISK_IMPORT="-format raw"
|
|
||||||
FORMAT=",efitype=4m"
|
|
||||||
THIN=""
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
for i in {0,1}; do
|
|
||||||
disk="DISK$i"
|
|
||||||
eval DISK${i}=vm-${VMID}-disk-${i}${DISK_EXT:-}
|
|
||||||
eval DISK${i}_REF=${STORAGE}:${DISK_REF:-}${!disk}
|
|
||||||
done
|
|
||||||
|
|
||||||
msg_info "Creating a Ubuntu 24.10 VM"
|
|
||||||
qm create $VMID -agent 1${MACHINE} -tablet 0 -localtime 1 -bios ovmf${CPU_TYPE} -cores $CORE_COUNT -memory $RAM_SIZE \
|
|
||||||
-name $HN -tags community-script -net0 virtio,bridge=$BRG,macaddr=$MAC$VLAN$MTU -onboot 1 -ostype l26 -scsihw virtio-scsi-pci
|
|
||||||
pvesm alloc $STORAGE $VMID $DISK0 4M 1>&/dev/null
|
|
||||||
qm importdisk $VMID ${FILE} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null
|
|
||||||
qm set $VMID \
|
|
||||||
-efidisk0 ${DISK0_REF}${FORMAT} \
|
|
||||||
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=${DISK_SIZE} \
|
|
||||||
-ide2 ${STORAGE}:cloudinit \
|
|
||||||
-boot order=scsi0 \
|
|
||||||
-serial0 socket >/dev/null
|
|
||||||
DESCRIPTION=$(
|
|
||||||
cat <<EOF
|
|
||||||
<div align='center'>
|
|
||||||
<a href='https://Helper-Scripts.com' target='_blank' rel='noopener noreferrer'>
|
|
||||||
<img src='https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/images/logo-81x112.png' alt='Logo' style='width:81px;height:112px;'/>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<h2 style='font-size: 24px; margin: 20px 0;'>Ubuntu 24.10 VM</h2>
|
|
||||||
|
|
||||||
<p style='margin: 16px 0;'>
|
|
||||||
<a href='https://ko-fi.com/community_scripts' target='_blank' rel='noopener noreferrer'>
|
|
||||||
<img src='https://img.shields.io/badge/☕-Buy us a coffee-blue' alt='spend Coffee' />
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<span style='margin: 0 10px;'>
|
|
||||||
<i class="fa fa-github fa-fw" style="color: #f5f5f5;"></i>
|
|
||||||
<a href='https://github.com/community-scripts/ProxmoxVE' target='_blank' rel='noopener noreferrer' style='text-decoration: none; color: #00617f;'>GitHub</a>
|
|
||||||
</span>
|
|
||||||
<span style='margin: 0 10px;'>
|
|
||||||
<i class="fa fa-comments fa-fw" style="color: #f5f5f5;"></i>
|
|
||||||
<a href='https://github.com/community-scripts/ProxmoxVE/discussions' target='_blank' rel='noopener noreferrer' style='text-decoration: none; color: #00617f;'>Discussions</a>
|
|
||||||
</span>
|
|
||||||
<span style='margin: 0 10px;'>
|
|
||||||
<i class="fa fa-exclamation-circle fa-fw" style="color: #f5f5f5;"></i>
|
|
||||||
<a href='https://github.com/community-scripts/ProxmoxVE/issues' target='_blank' rel='noopener noreferrer' style='text-decoration: none; color: #00617f;'>Issues</a>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
EOF
|
|
||||||
)
|
|
||||||
qm set "$VMID" -description "$DESCRIPTION" >/dev/null
|
|
||||||
if [ -n "$DISK_SIZE" ]; then
|
|
||||||
msg_info "Resizing disk to $DISK_SIZE GB"
|
|
||||||
qm resize $VMID scsi0 ${DISK_SIZE} >/dev/null
|
|
||||||
else
|
|
||||||
msg_info "Using default disk size of $DEFAULT_DISK_SIZE GB"
|
|
||||||
qm resize $VMID scsi0 ${DEFAULT_DISK_SIZE} >/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
msg_ok "Created a Ubuntu 24.10 VM ${CL}${BL}(${HN})"
|
|
||||||
if [ "$START_VM" == "yes" ]; then
|
|
||||||
msg_info "Starting Ubuntu 24.10 VM"
|
|
||||||
qm start $VMID
|
|
||||||
msg_ok "Started Ubuntu 24.10 VM"
|
|
||||||
fi
|
|
||||||
post_update_to_api "done" "none"
|
|
||||||
msg_ok "Completed Successfully!\n"
|
|
||||||
echo -e "Setup Cloud-Init before starting \n
|
|
||||||
More info at https://github.com/community-scripts/ProxmoxVE/discussions/272 \n"
|
|
||||||
@@ -136,36 +136,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -138,36 +138,37 @@ function check_root() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
|
||||||
|
# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 (NOT 9.1+)
|
||||||
pve_check() {
|
pve_check() {
|
||||||
local PVE_VER
|
local PVE_VER
|
||||||
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"
|
||||||
|
|
||||||
# Check for Proxmox VE 8.x
|
# Check for Proxmox VE 8.x: allow 8.0–8.9
|
||||||
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
|
||||||
local MINOR="${BASH_REMATCH[1]}"
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
if ((MINOR < 1 || MINOR > 4)); then
|
if ((MINOR < 0 || MINOR > 9)); then
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Required: Proxmox VE version 8.1 – 8.4"
|
msg_error "Supported: Proxmox VE version 8.0 – 8.9"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Proxmox VE 9.x (Beta) — require confirmation
|
# Check for Proxmox VE 9.x: allow ONLY 9.0
|
||||||
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
|
||||||
if whiptail --title "Proxmox 9.x Detected (Beta)" \
|
local MINOR="${BASH_REMATCH[1]}"
|
||||||
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
|
if ((MINOR != 0)); then
|
||||||
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
|
msg_error "This version of Proxmox VE is not yet supported."
|
||||||
return 0
|
msg_error "Supported: Proxmox VE version 9.0"
|
||||||
else
|
|
||||||
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All other unsupported versions
|
# All other unsupported versions
|
||||||
msg_error "This version of Proxmox VE is not supported."
|
msg_error "This version of Proxmox VE is not supported."
|
||||||
echo -e "Supported versions: Proxmox VE 8.1 – 8.4 or 9.x (Beta, with confirmation)"
|
msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user