mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-16 17:46:10 +02:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ff77e1e65 | |||
| 91fd6e57a6 | |||
| 3aa4538765 | |||
| a566b6b129 | |||
| 91dd24f38c |
@@ -521,6 +521,18 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
## 2026-08-15
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- AdventureLog: remove pnpm build-allowlist override causing pnpm 10.33 conflict [@MickLesk](https://github.com/MickLesk) ([#16478](https://github.com/community-scripts/ProxmoxVE/pull/16478))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- PatchMon: add ssg-content [@MickLesk](https://github.com/MickLesk) ([#16481](https://github.com/community-scripts/ProxmoxVE/pull/16481))
|
||||||
|
|
||||||
## 2026-08-14
|
## 2026-08-14
|
||||||
|
|
||||||
### 🆕 New Scripts
|
### 🆕 New Scripts
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ function update_script() {
|
|||||||
$STD .venv/bin/python -m manage migrate
|
$STD .venv/bin/python -m manage migrate
|
||||||
|
|
||||||
cd /opt/adventurelog/frontend
|
cd /opt/adventurelog/frontend
|
||||||
grep -q "^dangerouslyAllowAllBuilds:" ./pnpm-workspace.yaml 2>/dev/null || echo "dangerouslyAllowAllBuilds: true" >>./pnpm-workspace.yaml
|
|
||||||
$STD pnpm i
|
$STD pnpm i
|
||||||
$STD pnpm build
|
$STD pnpm build
|
||||||
msg_ok "Updated AdventureLog"
|
msg_ok "Updated AdventureLog"
|
||||||
|
|||||||
@@ -1,47 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
|
||||||
# Copyright (c) 2021-2026 community-scripts ORG
|
|
||||||
# Author: Mips2648
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://jeedom.com/
|
|
||||||
|
|
||||||
APP="Jeedom"
|
|
||||||
var_tags="${var_tags:-automation;smarthome}"
|
|
||||||
var_cpu="${var_cpu:-2}"
|
|
||||||
var_ram="${var_ram:-2048}"
|
|
||||||
var_disk="${var_disk:-16}"
|
|
||||||
var_os="${var_os:-debian}"
|
|
||||||
var_version="${var_version:-12}"
|
|
||||||
var_arm64="${var_arm64:-yes}"
|
|
||||||
var_unprivileged="${var_unprivileged:-1}"
|
|
||||||
|
|
||||||
header_info "$APP"
|
|
||||||
variables
|
|
||||||
color
|
|
||||||
catch_errors
|
|
||||||
|
|
||||||
function update_script() {
|
|
||||||
header_info
|
|
||||||
check_container_storage
|
|
||||||
check_container_resources
|
|
||||||
|
|
||||||
if [[ ! -f /var/www/html/core/config/version ]]; then
|
|
||||||
msg_error "No ${APP} Installation Found!"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
msg_info "Updating OS"
|
|
||||||
$STD apt update
|
|
||||||
$STD apt -y upgrade
|
|
||||||
msg_ok "OS updated, you can now update Jeedom from the Web UI."
|
|
||||||
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 "${GATEWAY}${BGN}http://${IP}${CL}"
|
|
||||||
@@ -51,10 +51,6 @@ function update_script() {
|
|||||||
mkdir -p /opt/networkoptimizer/publish/tools
|
mkdir -p /opt/networkoptimizer/publish/tools
|
||||||
cd /opt/networkoptimizer/src/uwnspeedtest
|
cd /opt/networkoptimizer/src/uwnspeedtest
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $STD go build -trimpath -ldflags "-s -w" -o /opt/networkoptimizer/publish/tools/uwnspeedtest-linux-arm64 .
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $STD go build -trimpath -ldflags "-s -w" -o /opt/networkoptimizer/publish/tools/uwnspeedtest-linux-arm64 .
|
||||||
SERVER_ARCH="$(arch_resolve)"
|
|
||||||
if [[ "$SERVER_ARCH" != "arm64" ]]; then
|
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH="$SERVER_ARCH" $STD go build -trimpath -ldflags "-s -w" -o "/opt/networkoptimizer/publish/tools/uwnspeedtest-linux-${SERVER_ARCH}" .
|
|
||||||
fi
|
|
||||||
msg_ok "Rebuilt NetworkOptimizer"
|
msg_ok "Rebuilt NetworkOptimizer"
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
|
|||||||
+2
-1
@@ -9,7 +9,7 @@ APP="PatchMon"
|
|||||||
var_tags="${var_tags:-monitoring}"
|
var_tags="${var_tags:-monitoring}"
|
||||||
var_cpu="${var_cpu:-2}"
|
var_cpu="${var_cpu:-2}"
|
||||||
var_ram="${var_ram:-2048}"
|
var_ram="${var_ram:-2048}"
|
||||||
var_disk="${var_disk:-4}"
|
var_disk="${var_disk:-8}"
|
||||||
var_os="${var_os:-debian}"
|
var_os="${var_os:-debian}"
|
||||||
var_version="${var_version:-13}"
|
var_version="${var_version:-13}"
|
||||||
var_arm64="${var_arm64:-yes}"
|
var_arm64="${var_arm64:-yes}"
|
||||||
@@ -76,6 +76,7 @@ EOF
|
|||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "PatchMon" "PatchMon/PatchMon" "singlefile" "latest" "/opt/patchmon" "patchmon-server-linux-$(arch_resolve)"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "PatchMon" "PatchMon/PatchMon" "singlefile" "latest" "/opt/patchmon" "patchmon-server-linux-$(arch_resolve)"
|
||||||
mv /opt/patchmon/PatchMon /opt/patchmon/patchmon-server
|
mv /opt/patchmon/PatchMon /opt/patchmon/patchmon-server
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ssg-content" "ComplianceAsCode/content" "prebuild" "latest" "/opt/patchmon/ssg-content" "scap-security-guide-*.tar.gz"
|
||||||
|
|
||||||
restore_backup
|
restore_backup
|
||||||
|
|
||||||
|
|||||||
@@ -72,7 +72,6 @@ BODY_SIZE_LIMIT=Infinity
|
|||||||
ORIGIN='http://$LOCAL_IP:3000'
|
ORIGIN='http://$LOCAL_IP:3000'
|
||||||
EOF
|
EOF
|
||||||
cd /opt/adventurelog/frontend
|
cd /opt/adventurelog/frontend
|
||||||
grep -q "^dangerouslyAllowAllBuilds:" ./pnpm-workspace.yaml 2>/dev/null || echo "dangerouslyAllowAllBuilds: true" >>./pnpm-workspace.yaml
|
|
||||||
$STD pnpm i
|
$STD pnpm i
|
||||||
$STD pnpm build
|
$STD pnpm build
|
||||||
msg_ok "Installed AdventureLog"
|
msg_ok "Installed AdventureLog"
|
||||||
|
|||||||
@@ -1,102 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Copyright (c) 2021-2026 community-scripts ORG
|
|
||||||
# Author: Mips2648
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://jeedom.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 install -y \
|
|
||||||
lsb-release \
|
|
||||||
git
|
|
||||||
msg_ok "Dependencies installed"
|
|
||||||
|
|
||||||
msg_warn "WARNING: This script will run an external installer from a third-party source (https://github.com/jeedom/)."
|
|
||||||
msg_warn "The following code is NOT maintained or audited by our repository."
|
|
||||||
msg_warn "If you have any doubts or concerns, please review the installer code before proceeding:"
|
|
||||||
msg_custom "${TAB3}${GATEWAY}${BGN}${CL}" "\e[1;34m" "→ https://raw.githubusercontent.com/jeedom/core/master/install/install.sh"
|
|
||||||
echo
|
|
||||||
read -r -p "${TAB3}Do you want to continue? [y/N]: " CONFIRM
|
|
||||||
if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
|
|
||||||
msg_error "Aborted by user. No changes have been made."
|
|
||||||
exit 10
|
|
||||||
fi
|
|
||||||
|
|
||||||
DEFAULT_BRANCH="master"
|
|
||||||
REPO_URL="https://github.com/jeedom/core.git"
|
|
||||||
|
|
||||||
echo
|
|
||||||
while true; do
|
|
||||||
read -rp "${TAB3}Enter branch to use (master, beta, alpha...) (Default: ${DEFAULT_BRANCH}): " BRANCH
|
|
||||||
BRANCH="${BRANCH:-$DEFAULT_BRANCH}"
|
|
||||||
|
|
||||||
if git ls-remote --heads "$REPO_URL" "refs/heads/$BRANCH" | grep -q .; then
|
|
||||||
break
|
|
||||||
else
|
|
||||||
msg_error "Branch '$BRANCH' does not exist on remote. Please try again."
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
msg_info "Downloading Jeedom installation script"
|
|
||||||
cd /tmp
|
|
||||||
wget -q https://raw.githubusercontent.com/jeedom/core/"${BRANCH}"/install/install.sh
|
|
||||||
chmod +x install.sh
|
|
||||||
msg_ok "Installation script downloaded"
|
|
||||||
|
|
||||||
msg_info "Install Jeedom main dependencies, please wait"
|
|
||||||
$STD ./install.sh -v "$BRANCH" -s 2
|
|
||||||
msg_ok "Installed Jeedom main dependencies"
|
|
||||||
|
|
||||||
msg_info "Install Database"
|
|
||||||
$STD ./install.sh -v "$BRANCH" -s 3
|
|
||||||
msg_ok "Database installed"
|
|
||||||
|
|
||||||
msg_info "Install Apache"
|
|
||||||
$STD ./install.sh -v "$BRANCH" -s 4
|
|
||||||
msg_ok "Apache installed"
|
|
||||||
|
|
||||||
msg_info "Install PHP and dependencies"
|
|
||||||
$STD ./install.sh -v "$BRANCH" -s 5
|
|
||||||
msg_ok "PHP installed"
|
|
||||||
|
|
||||||
msg_info "Download Jeedom core"
|
|
||||||
$STD ./install.sh -v "$BRANCH" -s 6
|
|
||||||
msg_ok "Download done"
|
|
||||||
|
|
||||||
msg_info "Database customisation"
|
|
||||||
$STD ./install.sh -v "$BRANCH" -s 7
|
|
||||||
msg_ok "Database customisation done"
|
|
||||||
|
|
||||||
msg_info "Jeedom customisation"
|
|
||||||
$STD ./install.sh -v "$BRANCH" -s 8
|
|
||||||
msg_ok "Jeedom customisation done"
|
|
||||||
|
|
||||||
msg_info "Configuring Jeedom"
|
|
||||||
$STD ./install.sh -v "$BRANCH" -s 9
|
|
||||||
msg_ok "Jeedom configured"
|
|
||||||
|
|
||||||
msg_info "Installing Jeedom"
|
|
||||||
$STD ./install.sh -v "$BRANCH" -s 10
|
|
||||||
msg_ok "Jeedom installed"
|
|
||||||
|
|
||||||
msg_info "Post installation"
|
|
||||||
$STD ./install.sh -v "$BRANCH" -s 11
|
|
||||||
msg_ok "Post installation done"
|
|
||||||
|
|
||||||
msg_info "Check installation"
|
|
||||||
$STD ./install.sh -v "$BRANCH" -s 12
|
|
||||||
msg_ok "Installation checked, everything is successfuly installed. A reboot is recommended."
|
|
||||||
|
|
||||||
motd_ssh
|
|
||||||
customize
|
|
||||||
|
|
||||||
rm -rf /tmp/install.sh
|
|
||||||
cleanup_lxc
|
|
||||||
@@ -42,15 +42,11 @@ $STD dotnet publish src/NetworkOptimizer.Web -c Release -r "$RID" --self-contain
|
|||||||
chmod +x /opt/networkoptimizer/publish/NetworkOptimizer.Web
|
chmod +x /opt/networkoptimizer/publish/NetworkOptimizer.Web
|
||||||
msg_ok "Built NetworkOptimizer"
|
msg_ok "Built NetworkOptimizer"
|
||||||
|
|
||||||
msg_info "Building Speed Test Binaries"
|
msg_info "Building Gateway Speed Test Binary"
|
||||||
mkdir -p /opt/networkoptimizer/publish/tools
|
mkdir -p /opt/networkoptimizer/publish/tools
|
||||||
cd /opt/networkoptimizer/src/uwnspeedtest
|
cd /opt/networkoptimizer/src/uwnspeedtest
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $STD go build -trimpath -ldflags "-s -w" -o /opt/networkoptimizer/publish/tools/uwnspeedtest-linux-arm64 .
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $STD go build -trimpath -ldflags "-s -w" -o /opt/networkoptimizer/publish/tools/uwnspeedtest-linux-arm64 .
|
||||||
SERVER_ARCH="$(arch_resolve)"
|
msg_ok "Built Gateway Speed Test Binary"
|
||||||
if [[ "$SERVER_ARCH" != "arm64" ]]; then
|
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH="$SERVER_ARCH" $STD go build -trimpath -ldflags "-s -w" -o "/opt/networkoptimizer/publish/tools/uwnspeedtest-linux-${SERVER_ARCH}" .
|
|
||||||
fi
|
|
||||||
msg_ok "Built Speed Test Binaries"
|
|
||||||
|
|
||||||
msg_info "Configuring NetworkOptimizer"
|
msg_info "Configuring NetworkOptimizer"
|
||||||
cat <<EOF >/opt/networkoptimizer/networkoptimizer.env
|
cat <<EOF >/opt/networkoptimizer/networkoptimizer.env
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ REDIS_PORT=6379
|
|||||||
# OIDC_ENFORCE_HTTPS=true
|
# OIDC_ENFORCE_HTTPS=true
|
||||||
|
|
||||||
AGENT_BINARIES_DIR=/opt/patchmon/agents
|
AGENT_BINARIES_DIR=/opt/patchmon/agents
|
||||||
|
SSG_CONTENT_DIR=/opt/patchmon/ssg-content
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Configured PatchMon"
|
msg_ok "Configured PatchMon"
|
||||||
|
|
||||||
@@ -85,6 +86,8 @@ for arch in "${AGENT_NAME[@]}"; do
|
|||||||
done
|
done
|
||||||
msg_ok "Fetched PatchMon agent binaries"
|
msg_ok "Fetched PatchMon agent binaries"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "ssg-content" "ComplianceAsCode/content" "prebuild" "latest" "/opt/patchmon/ssg-content" "scap-security-guide-*.tar.gz"
|
||||||
|
|
||||||
msg_info "Creating service"
|
msg_info "Creating service"
|
||||||
cat <<EOF >/etc/systemd/system/patchmon-server.service
|
cat <<EOF >/etc/systemd/system/patchmon-server.service
|
||||||
[Unit]
|
[Unit]
|
||||||
|
|||||||
Reference in New Issue
Block a user