Compare commits
14 Commits
MickLesk-p
...
fix_zabx
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
704fca8cca | ||
|
|
1243c3df7f | ||
|
|
a43f97df92 | ||
|
|
d53a249bbf | ||
|
|
1bdd93a137 | ||
|
|
e2e63cf319 | ||
|
|
4a7648da94 | ||
|
|
86a1aadfda | ||
|
|
2fefd45b2f | ||
|
|
220196309b | ||
|
|
984d722563 | ||
|
|
f81e50c430 | ||
|
|
9b4812df33 | ||
|
|
0ba2abc53d |
14
.github/workflows/frontend-cicd.yml
generated
vendored
14
.github/workflows/frontend-cicd.yml
generated
vendored
@@ -97,7 +97,7 @@ jobs:
|
||||
success = test_json_files()
|
||||
sys.exit(0 if success else 1)
|
||||
EOF
|
||||
|
||||
|
||||
build:
|
||||
if: github.repository == 'community-scripts/ProxmoxVE'
|
||||
needs: test-json-files
|
||||
@@ -109,15 +109,13 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
node-version: "20"
|
||||
cache: npm
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci --prefer-offline --legacy-peer-deps
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Configure Next.js for pages
|
||||
uses: actions/configure-pages@v5
|
||||
@@ -125,7 +123,7 @@ jobs:
|
||||
static_site_generator: next
|
||||
|
||||
- name: Build with Next.js
|
||||
run: npm run build
|
||||
run: bun run build
|
||||
|
||||
- name: Upload artifact
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
||||
17
CHANGELOG.md
17
CHANGELOG.md
@@ -12,6 +12,23 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
## 2025-10-11
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- keycloak: fix update check [@MickLesk](https://github.com/MickLesk) ([#8275](https://github.com/community-scripts/ProxmoxVE/pull/8275))
|
||||
- komga: fix update check [@MickLesk](https://github.com/MickLesk) ([#8285](https://github.com/community-scripts/ProxmoxVE/pull/8285))
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- host-backup.sh: Added "ALL" option and include timestamp in backup filename [@stumpyofpain](https://github.com/stumpyofpain) ([#8276](https://github.com/community-scripts/ProxmoxVE/pull/8276))
|
||||
- Komga: Update dependencies and enable RAR5 support [@tremor021](https://github.com/tremor021) ([#8257](https://github.com/community-scripts/ProxmoxVE/pull/8257))
|
||||
|
||||
### 🌐 Website
|
||||
|
||||
- Update script count in metadata and page content from 300+ to 400+ [@BramSuurdje](https://github.com/BramSuurdje) ([#8279](https://github.com/community-scripts/ProxmoxVE/pull/8279))
|
||||
- Refactor CI workflow to use Bun instead of Node.js. [@BramSuurdje](https://github.com/BramSuurdje) ([#8277](https://github.com/community-scripts/ProxmoxVE/pull/8277))
|
||||
|
||||
## 2025-10-10
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
@@ -27,7 +27,7 @@ function update_script() {
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
if check_for_gh_release "keycloak" "keycloak/keycloak"; then
|
||||
if check_for_gh_release "keycloak-app" "keycloak/keycloak"; then
|
||||
msg_info "Stopping Keycloak"
|
||||
systemctl stop keycloak
|
||||
msg_ok "Stopped Keycloak"
|
||||
|
||||
@@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-4}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-12}"
|
||||
var_version="${var_version:-13}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
@@ -27,7 +27,7 @@ function update_script() {
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
if check_for_gh_release "komga" "gotson/komga"; then
|
||||
if check_for_gh_release "komga-org" "gotson/komga"; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop komga
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
19
ct/zabbix.sh
19
ct/zabbix.sh
@@ -42,7 +42,12 @@ function update_script() {
|
||||
fi
|
||||
|
||||
msg_info "Stopping Services"
|
||||
systemctl stop zabbix-server $AGENT_SERVICE
|
||||
$STD systemctl stop zabbix-server
|
||||
if systemctl list-unit-files | grep -q zabbix-agent2; then
|
||||
$STD systemctl stop zabbix-agent2
|
||||
else
|
||||
$STD systemctl stop zabbix-agent
|
||||
fi
|
||||
msg_ok "Stopped Services"
|
||||
|
||||
msg_info "Updating Zabbix"
|
||||
@@ -83,14 +88,22 @@ function update_script() {
|
||||
msg_ok "Updated Zabbix"
|
||||
|
||||
msg_info "Starting Services"
|
||||
systemctl start zabbix-server $AGENT_SERVICE
|
||||
$STD systemctl start zabbix-server
|
||||
if systemctl list-unit-files | grep -q zabbix-agent2; then
|
||||
$STD systemctl start zabbix-agent2
|
||||
else
|
||||
$STD systemctl start zabbix-agent
|
||||
fi
|
||||
systemctl restart apache2
|
||||
msg_ok "Started Services"
|
||||
|
||||
msg_info "Cleaning Up"
|
||||
rm -rf /tmp/zabbix-release_latest+debian13_all.deb
|
||||
$STD apt -y autoremove
|
||||
$STD apt -y autoclean
|
||||
$STD apt -y clean
|
||||
msg_ok "Cleaned"
|
||||
msg_ok "Updated Successfully"
|
||||
msg_ok "Updated Successfully!"
|
||||
exit
|
||||
}
|
||||
|
||||
|
||||
1960
frontend/bun.lock
generated
Normal file
1960
frontend/bun.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
14460
frontend/package-lock.json
generated
14460
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -23,7 +23,7 @@
|
||||
"ram": 2048,
|
||||
"hdd": 4,
|
||||
"os": "debian",
|
||||
"version": "12"
|
||||
"version": "13"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -6,18 +6,18 @@ import React from "react";
|
||||
|
||||
import { ThemeProvider } from "@/components/theme-provider";
|
||||
import { analytics, basePath } from "@/config/site-config";
|
||||
import "@/styles/globals.css";
|
||||
import QueryProvider from "@/components/query-provider";
|
||||
import { Toaster } from "@/components/ui/sonner";
|
||||
import Footer from "@/components/footer";
|
||||
import Navbar from "@/components/navbar";
|
||||
import "@/styles/globals.css";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Proxmox VE Helper-Scripts",
|
||||
description:
|
||||
"The official website for the Proxmox VE Helper-Scripts (Community) repository. Featuring over 300+ scripts to help you manage your Proxmox Virtual Environment.",
|
||||
"The official website for the Proxmox VE Helper-Scripts (Community) repository. Featuring over 400+ scripts to help you manage your Proxmox Virtual Environment.",
|
||||
applicationName: "Proxmox VE Helper-Scripts",
|
||||
generator: "Next.js",
|
||||
referrer: "origin-when-cross-origin",
|
||||
@@ -57,7 +57,7 @@ export const metadata: Metadata = {
|
||||
openGraph: {
|
||||
title: "Proxmox VE Helper-Scripts",
|
||||
description:
|
||||
"The official website for the Proxmox VE Helper-Scripts (Community) repository. Featuring over 300+ scripts to help you manage your Proxmox Virtual Environment.",
|
||||
"The official website for the Proxmox VE Helper-Scripts (Community) repository. Featuring over 400+ scripts to help you manage your Proxmox Virtual Environment.",
|
||||
url: `https://community-scripts.github.io/${basePath}/`,
|
||||
siteName: "Proxmox VE Helper-Scripts",
|
||||
images: [
|
||||
@@ -76,7 +76,7 @@ export const metadata: Metadata = {
|
||||
title: "Proxmox VE Helper-Scripts",
|
||||
creator: "@BramSuurdje",
|
||||
description:
|
||||
"The official website for the Proxmox VE Helper-Scripts (Community) repository. Featuring over 300+ scripts to help you manage your Proxmox Virtual Environment.",
|
||||
"The official website for the Proxmox VE Helper-Scripts (Community) repository. Featuring over 400+ scripts to help you manage your Proxmox Virtual Environment.",
|
||||
images: [`https://community-scripts.github.io/${basePath}/defaultimg.png`],
|
||||
},
|
||||
manifest: "/manifest.webmanifest",
|
||||
@@ -105,7 +105,6 @@ export default function RootLayout({
|
||||
<div className="flex w-full flex-col justify-center">
|
||||
<NuqsAdapter>
|
||||
<QueryProvider>
|
||||
|
||||
<Navbar />
|
||||
<div className="flex min-h-screen flex-col justify-center">
|
||||
<div className="flex w-full justify-center">
|
||||
@@ -117,7 +116,6 @@ export default function RootLayout({
|
||||
<Footer />
|
||||
</div>
|
||||
</QueryProvider>
|
||||
|
||||
</NuqsAdapter>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
|
||||
@@ -111,11 +111,11 @@ export default function Page() {
|
||||
We are a community-driven initiative that simplifies the setup of Proxmox Virtual Environment (VE).
|
||||
</p>
|
||||
<p>
|
||||
With 300+ scripts to help you manage your
|
||||
With 400+ scripts to help you manage your
|
||||
{" "}
|
||||
<b>Proxmox VE</b>
|
||||
, whether you're a seasoned
|
||||
user or a newcomer, we've got you covered.
|
||||
, whether you're a seasoned user or a
|
||||
newcomer, we've got you covered.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -13,7 +13,16 @@ setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
JAVA_VERSION="21" setup_java
|
||||
msg_info "Installing dependencies"
|
||||
$STD apt -y install \
|
||||
libarchive-dev \
|
||||
libjxl-dev \
|
||||
libheif-dev \
|
||||
libwebp-dev
|
||||
msg_ok "Installed dependencies"
|
||||
|
||||
JAVA_VERSION="23" setup_java
|
||||
fetch_and_deploy_gh_release "kepubify" "pgaskin/kepubify" "singlefile" "latest" "/usr/bin" "kepubify-linux-64bit"
|
||||
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
|
||||
|
||||
@@ -26,7 +35,8 @@ After=syslog.target network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/komga/
|
||||
ExecStart=/usr/bin/java -jar -Xmx2g komga.jar
|
||||
Environment=LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
|
||||
ExecStart=/usr/bin/java --enable-native-access=ALL-UNNAMED -jar -Xmx2g komga.jar
|
||||
TimeoutStopSec=20
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
@@ -41,6 +51,7 @@ motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
$STD apt-get -y autoremove
|
||||
$STD apt-get -y autoclean
|
||||
$STD apt -y autoremove
|
||||
$STD apt -y autoclean
|
||||
$STD apt -y clean
|
||||
msg_ok "Cleaned"
|
||||
|
||||
@@ -102,8 +102,14 @@ fi
|
||||
msg_ok "Configured Fping"
|
||||
|
||||
msg_info "Starting Services"
|
||||
systemctl restart zabbix-server zabbix-agent2 apache2
|
||||
systemctl enable -q --now zabbix-server zabbix-agent2 apache2
|
||||
if [ "$AGENT_PKG" = "zabbix-agent2" ]; then
|
||||
AGENT_SERVICE="zabbix-agent2"
|
||||
else
|
||||
AGENT_SERVICE="zabbix-agent"
|
||||
fi
|
||||
|
||||
systemctl restart zabbix-server
|
||||
systemctl enable -q --now zabbix-server $AGENT_SERVICE apache2
|
||||
msg_ok "Started Services"
|
||||
|
||||
motd_ssh
|
||||
|
||||
@@ -41,6 +41,7 @@ function perform_backup {
|
||||
|
||||
# Build a list of directories for backup
|
||||
local CTID_MENU=()
|
||||
CTID_MENU=("ALL" "Backup all folders" "OFF")
|
||||
while read -r dir; do
|
||||
CTID_MENU+=("$(basename "$dir")" "$dir " "OFF")
|
||||
done < <(ls -d "${DIR}"*)
|
||||
@@ -52,7 +53,13 @@ function perform_backup {
|
||||
"\nSelect what files/directories to backup:\n" 16 $(((${#DIRNAME} + 2) + 88)) 6 "${CTID_MENU[@]}" 3>&1 1>&2 2>&3) || return
|
||||
|
||||
for selected_dir in ${HOST_BACKUP//\"/}; do
|
||||
selected_directories+=("${DIR}$selected_dir")
|
||||
if [[ "$selected_dir" == "ALL" ]]; then
|
||||
# if ALL was chosen, secure all folders
|
||||
selected_directories=("${DIR}"*/)
|
||||
break
|
||||
else
|
||||
selected_directories+=("${DIR}$selected_dir")
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
@@ -62,7 +69,7 @@ function perform_backup {
|
||||
read -p "Press ENTER to continue..."
|
||||
header_info
|
||||
echo "Working..."
|
||||
tar -czf "$BACKUP_PATH$BACKUP_FILE-$(date +%Y_%m_%d).tar.gz" --absolute-names "${selected_directories[@]}"
|
||||
tar -czf "$BACKUP_PATH$BACKUP_FILE-$(date +%Y_%m_%dT%H_%M).tar.gz" --absolute-names "${selected_directories[@]}"
|
||||
header_info
|
||||
echo -e "\nFinished"
|
||||
echo -e "\e[1;33m \nA backup is rendered ineffective when it remains stored on the host.\n \e[0m"
|
||||
|
||||
Reference in New Issue
Block a user