mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-07-07 14:37:38 +00:00
Compare commits
3 Commits
update_ver
...
ip_tag_opt
Author | SHA1 | Date | |
---|---|---|---|
80744bff10 | |||
465ea54d04 | |||
8ec6ddcf74 |
@ -24,7 +24,6 @@ All LXC instances created using this repository come pre-installed with Midnight
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- Refactor: Threadfin (+ updatable) [@MickLesk](https://github.com/MickLesk) ([#5783](https://github.com/community-scripts/ProxmoxVE/pull/5783))
|
||||
- tools.func: better handling when unpacking tarfiles in prebuild mode [@MickLesk](https://github.com/MickLesk) ([#5781](https://github.com/community-scripts/ProxmoxVE/pull/5781))
|
||||
- tools.func: add AVX check for MongoDB [@MickLesk](https://github.com/MickLesk) ([#5780](https://github.com/community-scripts/ProxmoxVE/pull/5780))
|
||||
|
||||
@ -37,7 +36,6 @@ All LXC instances created using this repository come pre-installed with Midnight
|
||||
|
||||
- #### 📝 Script Information
|
||||
|
||||
- PBS: add hint for advanced installs [@MickLesk](https://github.com/MickLesk) ([#5788](https://github.com/community-scripts/ProxmoxVE/pull/5788))
|
||||
- EMQX: Add warning to website [@tremor021](https://github.com/tremor021) ([#5770](https://github.com/community-scripts/ProxmoxVE/pull/5770))
|
||||
|
||||
## 2025-07-06
|
||||
|
@ -27,24 +27,12 @@ function update_script() {
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/threadfin/threadfin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
if [[ "${RELEASE}" != "$(cat ~/.threadfin 2>/dev/null)" ]] || [[ ! -f ~/.threadfin ]]; then
|
||||
|
||||
msg_info "Stopping $APP"
|
||||
systemctl stop threadfin
|
||||
msg_ok "Stopped $APP"
|
||||
|
||||
fetch_and_deploy_gh_release "threadfin" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
|
||||
|
||||
msg_info "Starting $APP"
|
||||
systemctl start threadfin
|
||||
msg_ok "Started $APP"
|
||||
|
||||
msg_ok "Updated Successfully"
|
||||
else
|
||||
msg_ok "No update required. ${APP} is already at v${RELEASE}"
|
||||
fi
|
||||
msg_info "Updating $APP"
|
||||
systemctl stop threadfin.service
|
||||
curl -fsSL "https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64" -o "/opt/threadfin/threadfin"
|
||||
chmod +x /opt/threadfin/threadfin
|
||||
systemctl start threadfin.service
|
||||
msg_ok "Updated $APP"
|
||||
exit
|
||||
}
|
||||
|
||||
|
6
frontend/public/json/add-iptag.json
generated
6
frontend/public/json/add-iptag.json
generated
@ -37,12 +37,16 @@
|
||||
"type": "info"
|
||||
},
|
||||
{
|
||||
"text": "Configuration: `nano /opt/iptag/iptag.conf`. iptag.service must be restarted after change.",
|
||||
"text": "Configuration: `nano /opt/iptag/iptag.conf`. iptag Service must be restarted after change. See here for full documentation: `https://github.com/community-scripts/ProxmoxVE/discussions/5790`",
|
||||
"type": "info"
|
||||
},
|
||||
{
|
||||
"text": "The Proxmox Node must contain ipcalc and net-tools. `apt-get install -y ipcalc net-tools`",
|
||||
"type": "warning"
|
||||
},
|
||||
{
|
||||
"text": "You can execute the ip tool manually with `iptag-run`",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
4
frontend/public/json/proxmox-backup-server.json
generated
4
frontend/public/json/proxmox-backup-server.json
generated
@ -35,10 +35,6 @@
|
||||
{
|
||||
"text": "Set a root password if using autologin. This will be the PBS password. `passwd root`",
|
||||
"type": "warning"
|
||||
},
|
||||
{
|
||||
"text": "Advanced Install is only possible without root password and root SSH access, you can configure this after installation.",
|
||||
"type": "warning"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
2
frontend/public/json/threadfin.json
generated
2
frontend/public/json/threadfin.json
generated
@ -6,7 +6,7 @@
|
||||
],
|
||||
"date_created": "2024-06-12",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"updateable": false,
|
||||
"privileged": false,
|
||||
"interface_port": 34400,
|
||||
"documentation": null,
|
||||
|
140
frontend/public/json/versions.json
generated
140
frontend/public/json/versions.json
generated
@ -1,69 +1,4 @@
|
||||
[
|
||||
{
|
||||
"name": "VictoriaMetrics/VictoriaMetrics",
|
||||
"version": "v1.121.0",
|
||||
"date": "2025-07-07T11:32:39Z"
|
||||
},
|
||||
{
|
||||
"name": "meilisearch/meilisearch",
|
||||
"version": "prototype-incremental-vector-store-3",
|
||||
"date": "2025-07-07T10:27:19Z"
|
||||
},
|
||||
{
|
||||
"name": "Paymenter/Paymenter",
|
||||
"version": "v1.2.1",
|
||||
"date": "2025-07-07T10:11:26Z"
|
||||
},
|
||||
{
|
||||
"name": "Checkmk/checkmk",
|
||||
"version": "v2.4.0p7-rc1",
|
||||
"date": "2025-07-07T09:25:01Z"
|
||||
},
|
||||
{
|
||||
"name": "nzbgetcom/nzbget",
|
||||
"version": "v25.2",
|
||||
"date": "2025-07-04T08:21:42Z"
|
||||
},
|
||||
{
|
||||
"name": "zwave-js/zwave-js-ui",
|
||||
"version": "v10.8.0",
|
||||
"date": "2025-07-07T08:37:45Z"
|
||||
},
|
||||
{
|
||||
"name": "morpheus65535/bazarr",
|
||||
"version": "v1.5.2",
|
||||
"date": "2025-05-11T16:40:55Z"
|
||||
},
|
||||
{
|
||||
"name": "Jackett/Jackett",
|
||||
"version": "v0.22.2125",
|
||||
"date": "2025-07-07T05:56:33Z"
|
||||
},
|
||||
{
|
||||
"name": "mattermost/mattermost",
|
||||
"version": "preview-v0.1",
|
||||
"date": "2025-06-27T14:35:47Z"
|
||||
},
|
||||
{
|
||||
"name": "MediaBrowser/Emby.Releases",
|
||||
"version": "4.9.1.2",
|
||||
"date": "2025-06-26T22:08:00Z"
|
||||
},
|
||||
{
|
||||
"name": "firefly-iii/firefly-iii",
|
||||
"version": "v6.2.20",
|
||||
"date": "2025-07-02T04:03:37Z"
|
||||
},
|
||||
{
|
||||
"name": "steveiliop56/tinyauth",
|
||||
"version": "v3.4.1",
|
||||
"date": "2025-06-11T07:53:44Z"
|
||||
},
|
||||
{
|
||||
"name": "slskd/slskd",
|
||||
"version": "0.23.1",
|
||||
"date": "2025-07-06T23:57:52Z"
|
||||
},
|
||||
{
|
||||
"name": "pelican-dev/panel",
|
||||
"version": "v1.0.0-beta22",
|
||||
@ -99,6 +34,11 @@
|
||||
"version": "v6.8.0",
|
||||
"date": "2025-07-06T18:19:05Z"
|
||||
},
|
||||
{
|
||||
"name": "firefly-iii/firefly-iii",
|
||||
"version": "v6.2.20",
|
||||
"date": "2025-07-02T04:03:37Z"
|
||||
},
|
||||
{
|
||||
"name": "msgbyte/tianji",
|
||||
"version": "v1.23.0",
|
||||
@ -119,6 +59,11 @@
|
||||
"version": "8.0.3",
|
||||
"date": "2025-07-06T12:19:24Z"
|
||||
},
|
||||
{
|
||||
"name": "Jackett/Jackett",
|
||||
"version": "v0.22.2123",
|
||||
"date": "2025-07-06T06:01:32Z"
|
||||
},
|
||||
{
|
||||
"name": "fallenbagel/jellyseerr",
|
||||
"version": "preview-OIDC",
|
||||
@ -129,6 +74,16 @@
|
||||
"version": "2.1.1",
|
||||
"date": "2025-06-14T17:45:06Z"
|
||||
},
|
||||
{
|
||||
"name": "steveiliop56/tinyauth",
|
||||
"version": "v3.4.1",
|
||||
"date": "2025-06-11T07:53:44Z"
|
||||
},
|
||||
{
|
||||
"name": "slskd/slskd",
|
||||
"version": "0.23.0",
|
||||
"date": "2025-07-06T00:02:35Z"
|
||||
},
|
||||
{
|
||||
"name": "Kareadita/Kavita",
|
||||
"version": "v0.8.7",
|
||||
@ -159,6 +114,11 @@
|
||||
"version": "v11.11.4",
|
||||
"date": "2025-07-05T09:23:25Z"
|
||||
},
|
||||
{
|
||||
"name": "Paymenter/Paymenter",
|
||||
"version": "v1.2.0",
|
||||
"date": "2025-07-05T08:58:05Z"
|
||||
},
|
||||
{
|
||||
"name": "linkwarden/linkwarden",
|
||||
"version": "v2.11.3",
|
||||
@ -184,11 +144,6 @@
|
||||
"version": "v1.6.2",
|
||||
"date": "2025-07-04T15:21:18Z"
|
||||
},
|
||||
{
|
||||
"name": "emqx/emqx",
|
||||
"version": "e6.0.0-M1.202507-alpha.1",
|
||||
"date": "2025-07-04T14:58:23Z"
|
||||
},
|
||||
{
|
||||
"name": "kimai/kimai",
|
||||
"version": "2.37.0",
|
||||
@ -204,6 +159,21 @@
|
||||
"version": "6.3.1",
|
||||
"date": "2025-07-04T11:20:48Z"
|
||||
},
|
||||
{
|
||||
"name": "mattermost/mattermost",
|
||||
"version": "preview-v0.1",
|
||||
"date": "2025-06-27T14:35:47Z"
|
||||
},
|
||||
{
|
||||
"name": "nzbgetcom/nzbget",
|
||||
"version": "v25.2",
|
||||
"date": "2025-07-04T08:21:42Z"
|
||||
},
|
||||
{
|
||||
"name": "Checkmk/checkmk",
|
||||
"version": "v2.2.0p44",
|
||||
"date": "2025-07-04T06:44:06Z"
|
||||
},
|
||||
{
|
||||
"name": "outline/outline",
|
||||
"version": "v0.85.0",
|
||||
@ -264,6 +234,11 @@
|
||||
"version": "v1.12.2-rc.0",
|
||||
"date": "2025-07-03T00:31:22Z"
|
||||
},
|
||||
{
|
||||
"name": "emqx/emqx",
|
||||
"version": "v5.8.7",
|
||||
"date": "2025-07-02T21:54:54Z"
|
||||
},
|
||||
{
|
||||
"name": "hargata/lubelog",
|
||||
"version": "v1.4.8",
|
||||
@ -439,6 +414,11 @@
|
||||
"version": "flowise@3.0.3",
|
||||
"date": "2025-06-27T09:53:57Z"
|
||||
},
|
||||
{
|
||||
"name": "MediaBrowser/Emby.Releases",
|
||||
"version": "4.9.1.2",
|
||||
"date": "2025-06-26T22:08:00Z"
|
||||
},
|
||||
{
|
||||
"name": "netbox-community/netbox",
|
||||
"version": "v4.3.3",
|
||||
@ -459,6 +439,11 @@
|
||||
"version": "v3.5.0-rc1",
|
||||
"date": "2025-06-26T15:08:43Z"
|
||||
},
|
||||
{
|
||||
"name": "meilisearch/meilisearch",
|
||||
"version": "prototype-no-simd-x86-arroy-0",
|
||||
"date": "2025-06-26T14:54:18Z"
|
||||
},
|
||||
{
|
||||
"name": "AdguardTeam/AdGuardHome",
|
||||
"version": "v0.107.63",
|
||||
@ -514,6 +499,11 @@
|
||||
"version": "RELEASE.2025-06-13T11-33-47Z",
|
||||
"date": "2025-06-23T20:58:42Z"
|
||||
},
|
||||
{
|
||||
"name": "VictoriaMetrics/VictoriaMetrics",
|
||||
"version": "pmm-6401-v1.120.0",
|
||||
"date": "2025-06-23T15:12:12Z"
|
||||
},
|
||||
{
|
||||
"name": "gotson/komga",
|
||||
"version": "1.22.0",
|
||||
@ -614,6 +604,11 @@
|
||||
"version": "v5.6.0",
|
||||
"date": "2025-06-18T12:19:54Z"
|
||||
},
|
||||
{
|
||||
"name": "zwave-js/zwave-js-ui",
|
||||
"version": "v10.7.0",
|
||||
"date": "2025-06-18T11:57:05Z"
|
||||
},
|
||||
{
|
||||
"name": "forgejo/forgejo",
|
||||
"version": "v11.0.2",
|
||||
@ -644,6 +639,11 @@
|
||||
"version": "v1.6.9",
|
||||
"date": "2025-06-17T11:54:50Z"
|
||||
},
|
||||
{
|
||||
"name": "morpheus65535/bazarr",
|
||||
"version": "v1.5.2",
|
||||
"date": "2025-05-11T16:40:55Z"
|
||||
},
|
||||
{
|
||||
"name": "donaldzou/WGDashboard",
|
||||
"version": "v4.2.4",
|
||||
|
@ -14,12 +14,16 @@ network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt-get install -y \
|
||||
ffmpeg \
|
||||
vlc
|
||||
$STD apt-get install -y ffmpeg
|
||||
$STD apt-get install -y vlc
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
fetch_and_deploy_gh_release "threadfin" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
|
||||
msg_info "Installing Threadfin"
|
||||
mkdir -p /opt/threadfin
|
||||
curl -fsSL "https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64" -o "/opt/threadfin/threadfin"
|
||||
chmod +x /opt/threadfin/threadfin
|
||||
|
||||
msg_ok "Installed Threadfin"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/threadfin.service
|
||||
|
@ -194,16 +194,16 @@ LXC_STATUS_CHECK_INTERVAL=300
|
||||
FORCE_UPDATE_INTERVAL=7200
|
||||
|
||||
# Performance optimizations
|
||||
VM_IP_CACHE_TTL=120
|
||||
MAX_PARALLEL_VM_CHECKS=5
|
||||
VM_IP_CACHE_TTL=300
|
||||
MAX_PARALLEL_VM_CHECKS=2
|
||||
|
||||
# LXC performance optimizations
|
||||
LXC_IP_CACHE_TTL=0
|
||||
MAX_PARALLEL_LXC_CHECKS=7
|
||||
LXC_IP_CACHE_TTL=300
|
||||
MAX_PARALLEL_LXC_CHECKS=2
|
||||
|
||||
# Extreme LXC optimizations
|
||||
LXC_BATCH_SIZE=20
|
||||
LXC_STATUS_CACHE_TTL=30
|
||||
LXC_BATCH_SIZE=3
|
||||
LXC_STATUS_CACHE_TTL=300
|
||||
LXC_AGGRESSIVE_CACHING=true
|
||||
LXC_SKIP_SLOW_METHODS=true
|
||||
|
||||
@ -222,8 +222,8 @@ After=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/opt/iptag/iptag
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@ -872,7 +872,11 @@ main() {
|
||||
echo -e "${BLUE}ℹ${NC} Tag format: ${WHITE}${TAG_FORMAT:-$DEFAULT_TAG_FORMAT}${NC}"
|
||||
echo -e "${BLUE}ℹ${NC} Allowed CIDRs: ${WHITE}${CIDR_LIST[*]}${NC}"
|
||||
echo -e "${PURPLE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}\n"
|
||||
check
|
||||
|
||||
while true; do
|
||||
check
|
||||
sleep "${LOOP_INTERVAL:-300}"
|
||||
done
|
||||
}
|
||||
|
||||
# Cache cleanup function
|
||||
@ -1310,6 +1314,21 @@ msg_info "Restarting Service with optimizations"
|
||||
systemctl restart iptag.service &>/dev/null
|
||||
msg_ok "Service restarted with CPU optimizations"
|
||||
|
||||
msg_info "Creating manual run command"
|
||||
cat <<'EOF' >/usr/local/bin/iptag-run
|
||||
#!/usr/bin/env bash
|
||||
CONFIG_FILE="/opt/iptag/iptag.conf"
|
||||
SCRIPT_FILE="/opt/iptag/iptag"
|
||||
if [[ ! -f "$SCRIPT_FILE" ]]; then
|
||||
echo "❌ Main script not found: $SCRIPT_FILE"
|
||||
exit 1
|
||||
fi
|
||||
export FORCE_SINGLE_RUN=true
|
||||
exec "$SCRIPT_FILE"
|
||||
EOF
|
||||
chmod +x /usr/local/bin/iptag-run
|
||||
msg_ok "Created iptag-run executable - You can execute this manually by entering “iptag-run” in the Proxmox host, so the script is executed by hand."
|
||||
|
||||
SPINNER_PID=""
|
||||
echo -e "\n${APP} installation completed successfully! ${CL}\n"
|
||||
|
||||
|
Reference in New Issue
Block a user