Compare commits

..
Author SHA1 Message Date
MickLesk 99b8cebeec ERPNext: raise the default RAM to 6 GB
Frappe 16.60 builds its new Studio and Flow frontends with Vite inside
bench build. The parent esbuild process keeps its memory while they run,
so the build peaks at 3.9 GB on a 4 GB container and fails when the
kernel kills it.
2026-11-18 00:19:40 +01:00
20 changed files with 13 additions and 872 deletions

No files matched your search

+1 -60
View File
@@ -584,59 +584,6 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-11-20
### 🚀 Updated Scripts
- #### ✨ New Features
- Stalwart: migrate to v1 with stalwart-migrate [@MickLesk](https://github.com/MickLesk) ([#18794](https://github.com/community-scripts/ProxmoxVE/pull/18794))
### 💾 Core
- fix: vm - name why an image step failed and open one message for the disk import [@MickLesk](https://github.com/MickLesk) ([core#279](https://github.com/community-scripts/core/pull/279))
## 2026-11-19
### 🆕 New Scripts
- T3 Code [@lukdz](https://github.com/lukdz) ([#18845](https://github.com/community-scripts/ProxmoxVE/pull/18845))
- Faraday [@MickLesk](https://github.com/MickLesk) ([#18844](https://github.com/community-scripts/ProxmoxVE/pull/18844))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- fix(t3code): wait for server readiness before pairing [@ps915](https://github.com/ps915) ([#18849](https://github.com/community-scripts/ProxmoxVE/pull/18849))
- Frigate: bump to v0.18.3 [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#18841](https://github.com/community-scripts/ProxmoxVE/pull/18841))
- Nginx Proxy Manager: patch nginx HTTP/2 CVE-2026-123007 / CVE-2026-123633 [@valentingoulier](https://github.com/valentingoulier) ([#18835](https://github.com/community-scripts/ProxmoxVE/pull/18835))
### 🛰️ Services
- Take the API reference out of the menu and cut it down [@MickLesk](https://github.com/MickLesk) ([services#21](https://github.com/community-scripts/services/pull/21))
- Add an API reference page and offer 3 days instead of a year [@MickLesk](https://github.com/MickLesk) ([services#20](https://github.com/community-scripts/services/pull/20))
## 2026-11-18
### 🆕 New Scripts
- Factorio [@LindholmLabs](https://github.com/LindholmLabs) ([#18830](https://github.com/community-scripts/ProxmoxVE/pull/18830))
- Scrutiny [@MickLesk](https://github.com/MickLesk) ([#18827](https://github.com/community-scripts/ProxmoxVE/pull/18827))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- WireGuard: increase Alpine disk size to 2 GB [@degeens](https://github.com/degeens) ([#18831](https://github.com/community-scripts/ProxmoxVE/pull/18831))
- #### ✨ New Features
- OpenCloud: bump to v9.2.0 [@SimKaiLong](https://github.com/SimKaiLong) ([#18822](https://github.com/community-scripts/ProxmoxVE/pull/18822))
### 🧰 Tools
- Scrutiny Collector ([#18826](https://github.com/community-scripts/ProxmoxVE/pull/18826))
## 2026-11-17
### 🆕 New Scripts
@@ -682,16 +629,10 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
### 🛰️ Services
- Let contributors read traces and open issues with a password of their own [@MickLesk](https://github.com/MickLesk) ([services#19](https://github.com/community-scripts/services/pull/19))
- Rework the dashboard around triaging failures [@MickLesk](https://github.com/MickLesk) ([services#18](https://github.com/community-scripts/services/pull/18))
- Serve failure text only to requests that carry the admin token [@MickLesk](https://github.com/MickLesk) ([services#17](https://github.com/community-scripts/services/pull/17))
- Serve failure text only to requests that carry the admin token [@MickLesk](https://github.com/MickLesk) ([services#17](https://github.com/community-scripts/services/pull/17))
- Number the notes in the testing message and show their type [@MickLesk](https://github.com/MickLesk) ([services#16](https://github.com/community-scripts/services/pull/16))
- Decide exit 255 by the command, not as dpkg [@MickLesk](https://github.com/MickLesk) ([services#14](https://github.com/community-scripts/services/pull/14))
### ❔ Uncategorized
- chore(ct): sync paperclip defaults with PocketBase [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18820](https://github.com/community-scripts/ProxmoxVE/pull/18820))
## 2026-11-16
### 🆕 New Scripts
+1 -1
View File
@@ -10,7 +10,7 @@ source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_
APP="ERPNext"
var_tags="${var_tags:-erp;business;accounting}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-4096}"
var_ram="${var_ram:-6144}"
var_disk="${var_disk:-20}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
-61
View File
@@ -1,61 +0,0 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: William Lindholm (LindholmLabs)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://www.factorio.com/
APP="Factorio"
var_tags="${var_tags:-gaming}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-8}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}"
var_arm64="${var_arm64:-yes}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -x /opt/factorio/bin/$(arch_resolve "x64" "arm64")/factorio ]]; then
msg_error "No Factorio Installation Found!"
exit 1
fi
msg_info "Stopping Factorio"
systemctl stop factorio
msg_ok "Stopped Factorio"
create_backup /opt/factorio/config /opt/factorio/config-path.cfg \
/opt/factorio/server-settings.json /opt/factorio/saves /opt/factorio/mods \
/opt/factorio/player-data.json /opt/factorio/server-adminlist.json \
/opt/factorio/server-banlist.json /opt/factorio/server-whitelist.json
fetch_and_deploy_from_url "https://factorio.com/get-download/stable/headless/$(arch_resolve "linux64" "linux-arm64")" "/opt/factorio"
restore_backup
msg_info "Starting Factorio"
systemctl start factorio
msg_ok "Started Factorio"
msg_ok "Updated Factorio successfully!"
exit
}
start
build_container
description
msg_ok "Completed Factorio setup successfully!\n"
echo -e "${INFO}${YW}Connect in Factorio using the following address (UDP):${CL}"
echo -e "${GATEWAY}${BGN}${IP}:34197${CL}"
-65
View File
@@ -1,65 +0,0 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/infobyte/faraday
APP="Faraday"
var_tags="${var_tags:-security;vulnerability}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-8}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_arm64="${var_arm64:-yes}"
var_unprivileged="${var_unprivileged:-1}"
export var_faraday_password="${var_faraday_password:-}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/faraday ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "faraday" "infobyte/faraday"; then
msg_info "Stopping Faraday"
systemctl stop faraday-beat faraday-worker faraday-server
msg_ok "Stopped Faraday"
PYTHON_VERSION="3.11" setup_uv
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "faraday" "infobyte/faraday" "tarball"
msg_info "Updating Faraday"
cd /opt/faraday
UV_PROJECT_ENVIRONMENT=/opt/faraday/venv $STD uv sync --frozen --no-dev --no-editable
FARADAY_HOME=/opt/faraday_data $STD venv/bin/faraday-manage migrate
msg_ok "Updated Faraday"
msg_info "Starting Faraday"
systemctl start faraday-server faraday-worker faraday-beat
msg_ok "Started Faraday"
msg_ok "Updated successfully!"
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 "${GATEWAY}${BGN}http://${IP}:5985${CL}"
+1 -10
View File
@@ -61,20 +61,11 @@ function update_script() {
fi
$STD apt install -y build-essential "$pcre_pkg" libssl-dev zlib1g-dev
OPENRESTY_VERSION="1.31.8.1"
OPENRESTY_VERSION="1.29.2.5"
if [[ "$(cat ~/.openresty 2>/dev/null)" != "$OPENRESTY_VERSION" ]]; then
CLEAN_INSTALL=1 fetch_and_deploy_from_url "https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz" "/opt/openresty" ||
CLEAN_INSTALL=1 fetch_and_deploy_from_url "https://distfiles.alpinelinux.org/distfiles/edge/openresty-${OPENRESTY_VERSION}.tar.gz" "/opt/openresty"
msg_info "Patching nginx HTTP/2 (CVE-2026-123007, CVE-2026-123633)"
for commit in 61031503dc8087c2c17cd2142c9b4b19062f90c4 2df48a501d0fb8212b7d39dffeeff5876332ba59 e27f5fa84fe6e98505e70bc543b748747dad0a3b; do
curl_with_retry "https://api.github.com/repos/nginx/nginx/commits/${commit}" "/tmp/nginx-${commit}.patch" "-HAccept:application/vnd.github.patch" ||
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "/tmp/nginx-${commit}.patch"
patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s <"/tmp/nginx-${commit}.patch"
rm -f "/tmp/nginx-${commit}.patch"
done
msg_ok "Patched nginx HTTP/2"
msg_info "Building OpenResty"
cd /opt/openresty
$STD ./configure \
+1 -1
View File
@@ -40,7 +40,7 @@ function update_script() {
msg_ok "Allowed OpenCloud to embed Collabora"
fi
RELEASE="v9.2.0"
RELEASE="v9.1.1"
if check_for_gh_release "OpenCloud" "opencloud-eu/opencloud" "${RELEASE}" "each release is tested individually before the version is updated. Please do not open issues for this"; then
OLD_VERSION="$(cat ~/.opencloud 2>/dev/null)"
msg_info "Stopping services"
+1 -1
View File
@@ -9,7 +9,7 @@ source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_
APP="Paperclip"
var_tags="${var_tags:-ai;automation;dev-tools}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-10240}"
var_ram="${var_ram:-8192}"
var_disk="${var_disk:-20}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
-57
View File
@@ -1,57 +0,0 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/AnalogJ/scrutiny
APP="Scrutiny"
var_tags="${var_tags:-monitoring;smart;disk}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-1024}"
var_disk="${var_disk:-4}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
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 /opt/scrutiny/scrutiny ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "scrutiny" "AnalogJ/scrutiny"; then
msg_info "Stopping Scrutiny"
systemctl stop scrutiny
msg_ok "Stopped Scrutiny"
fetch_and_deploy_gh_release "scrutiny" "AnalogJ/scrutiny" "singlefile" "latest" "/opt/scrutiny" "scrutiny-web-linux-$(arch_resolve "amd64" "arm64")"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "scrutiny-web" "AnalogJ/scrutiny" "prebuild" "latest" "/opt/scrutiny/web" "scrutiny-web-frontend.tar.gz"
msg_info "Starting Scrutiny"
systemctl start scrutiny
msg_ok "Started Scrutiny"
msg_ok "Updated successfully!"
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 "${GATEWAY}${BGN}http://${IP}:8080${CL}"
+3 -64
View File
@@ -31,74 +31,13 @@ function update_script() {
exit
fi
if [[ "$(cat ~/.stalwart 2>/dev/null)" == 0.* ]]; then
if check_for_gh_release "stalwart" "stalwartlabs/stalwart" "v0.16.27" "v1 needs the migration below"; then
msg_info "Stopping Service"
systemctl stop stalwart
msg_ok "Stopped Service"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "v0.16.27" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
chmod +x /opt/stalwart/stalwart
msg_info "Starting Service"
systemctl start stalwart
msg_ok "Started Service"
fi
CONFIG_DIR="/opt/stalwart_data/etc"
if [[ ! -t 0 ]]; then
msg_warn "Stalwart v1 needs a migration that asks questions. Run update from the container console."
exit
fi
if ! grep -q '"@type":"RocksDb"' "${CONFIG_DIR}/config.json"; then
msg_error "This script migrates only the default RocksDB store to Stalwart v1. Migrate manually: https://stalw.art/docs/migration/upgrade-0-16/"
exit 1
fi
SOURCE_PATH=$(grep -oP '"path":"\K[^"]+' "${CONFIG_DIR}/config.json")
TARGET_PATH="${SOURCE_PATH%/}-v1/"
DATA_KB=$(du -sk "$SOURCE_PATH" | cut -f1)
FREE_KB=$(df -Pk "$(dirname "${SOURCE_PATH%/}")" | awk 'NR==2 {print $4}')
if ((FREE_KB < DATA_KB * 11 / 10 + 524288)); then
msg_error "The migration copies the data store ($((DATA_KB / 1024)) MB) but only $((FREE_KB / 1024)) MB are free. Resize the container disk and run update again."
exit 1
fi
fetch_and_deploy_gh_release "stalwart-migrate" "stalwartlabs/stalwart-migrate" "prebuild" "latest" "/opt/stalwart-migrate" "stalwart-migrate-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.xz"
echo "{\"@type\":\"RocksDb\",\"path\":\"${TARGET_PATH}\"}" >"${CONFIG_DIR}/config-v1.json"
msg_warn "Stalwart v1 cannot open the v0.16 data store, so it is copied to ${TARGET_PATH}. Mail is down while the copy runs."
echo -e "${TAB}Press Enter to accept the recommended answers."
/opt/stalwart-migrate/stalwart-migrate prepare --source "${CONFIG_DIR}/config.json" --state /opt/stalwart_data/migrate
msg_info "Copying data to the v1 store"
systemctl stop stalwart
if ! $STD /opt/stalwart-migrate/stalwart-migrate run --final --yes --source "${CONFIG_DIR}/config.json" --target "${CONFIG_DIR}/config-v1.json" --state /opt/stalwart_data/migrate; then
systemctl start stalwart
msg_error "Migration failed, Stalwart v0.16 is running again. Logs: /opt/stalwart_data/migrate/logs"
exit 1
fi
msg_ok "Copied data to the v1 store"
mv "${CONFIG_DIR}/config.json" "${CONFIG_DIR}/config-0.16.json"
mv "${CONFIG_DIR}/config-v1.json" "${CONFIG_DIR}/config.json"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "latest" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
chmod +x /opt/stalwart/stalwart
msg_info "Starting Service"
systemctl start stalwart
msg_ok "Started Service"
msg_ok "Migrated to Stalwart $(cat ~/.stalwart)"
msg_warn "OAuth clients have to sign in again. Search results stay incomplete until v1 has rebuilt the index."
msg_warn "The v0.16 store stays in ${SOURCE_PATH} (${CONFIG_DIR}/config-0.16.json). Delete it once v1 works."
exit
fi
if check_for_gh_release "stalwart" "stalwartlabs/stalwart"; then
RELEASE="v0.16.27"
if check_for_gh_release "stalwart" "stalwartlabs/stalwart" "${RELEASE}" "Stalwart v1 changes the data store layout and requires an offline migration with stalwartlabs/stalwart-migrate; pinned until this script supports it"; then
msg_info "Stopping Service"
systemctl stop stalwart
msg_ok "Stopped Service"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "latest" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "${RELEASE}" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
chmod +x /opt/stalwart/stalwart
msg_info "Starting Service"
-64
View File
@@ -1,64 +0,0 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: lukdz
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/pingdotgg/t3code
APP="T3Code"
var_tags="${var_tags:-ai;dev-tools}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-4096}"
var_disk="${var_disk:-10}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
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 ! command -v t3 >/dev/null 2>&1; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Stopping Service"
systemctl stop t3code
msg_ok "Stopped Service"
msg_info "Updating T3 Code"
$STD npm install -g t3@latest
msg_ok "Updated T3 Code"
msg_info "Configuring T3 Code Service"
mkdir -p /etc/systemd/system/t3code.service.d
cat <<EOF >/etc/systemd/system/t3code.service.d/claude.conf
[Service]
# Allow Claude Full access mode as root inside the LXC.
Environment=IS_SANDBOX=1
EOF
systemctl daemon-reload
msg_ok "Configured T3 Code Service"
msg_info "Starting Service"
systemctl start t3code
msg_ok "Started Service"
msg_ok "Updated successfully!"
exit
}
start
build_container
description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
+1 -1
View File
@@ -19,7 +19,7 @@ fi
if [[ "${var_os:-}" == "alpine" ]]; then
var_ram="${var_ram:-256}"
var_disk="${var_disk:-2}"
var_disk="${var_disk:-1}"
var_version="${var_version:-3.24}"
else
var_ram="${var_ram:-1024}"
-56
View File
@@ -1,56 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: William Lindholm (LindholmLabs)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://www.factorio.com/
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
fetch_and_deploy_from_url "https://factorio.com/get-download/stable/headless/$(arch_resolve "linux64" "linux-arm64")" "/opt/factorio"
msg_info "Configuring Factorio"
sed 's/"public":[[:space:]]*true/"public": false/' /opt/factorio/data/server-settings.example.json >/opt/factorio/server-settings.json
cat <<EOF >/opt/factorio/server-adminlist.json
[]
EOF
msg_ok "Configured Factorio"
msg_info "Creating Factorio Save"
mkdir -p /opt/factorio/saves
$STD /opt/factorio/bin/$(arch_resolve "x64" "arm64")/factorio --create /opt/factorio/saves/save.zip
msg_ok "Created Factorio Save"
msg_info "Creating Factorio Service"
cat <<EOF >/etc/systemd/system/factorio.service
[Unit]
Description=Factorio Headless Server
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/factorio
ExecStart=/opt/factorio/bin/$(arch_resolve "x64" "arm64")/factorio --start-server-load-latest --server-settings /opt/factorio/server-settings.json --server-adminlist /opt/factorio/server-adminlist.json
KillSignal=SIGINT
TimeoutStopSec=120
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now factorio
msg_ok "Created Factorio Service"
motd_ssh
customize
cleanup_lxc
-104
View File
@@ -1,104 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/infobyte/faraday
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 \
build-essential \
libpq-dev \
libmagic1 \
redis-server
msg_ok "Installed Dependencies"
PG_VERSION="17" setup_postgresql
PG_DB_NAME="faraday" PG_DB_USER="faraday" PG_DB_CREDS_FILE="/dev/null" setup_postgresql_db
PYTHON_VERSION="3.11" setup_uv
fetch_and_deploy_gh_release "faraday" "infobyte/faraday" "tarball"
msg_info "Installing Faraday"
cd /opt/faraday
UV_PROJECT_ENVIRONMENT=/opt/faraday/venv $STD uv sync --frozen --no-dev --no-editable
msg_ok "Installed Faraday"
msg_info "Configuring Faraday"
FARADAY_PASSWORD="${var_faraday_password:-$(random_password)}"
mkdir -p /opt/faraday_data/.faraday/config
cat <<EOF >/opt/faraday_data/.faraday/config/server.ini
[faraday_server]
port = 5985
bind_address = 0.0.0.0
secret_key = $(random_password 32)
[database]
connection_string = postgresql+psycopg2://${PG_DB_USER}:${PG_DB_PASS}@localhost/${PG_DB_NAME}
EOF
cat <<EOF >/opt/faraday_data/.env
FARADAY_HOME=/opt/faraday_data
FARADAY_USER=faraday
FARADAY_PASSWORD=${FARADAY_PASSWORD}
EOF
chmod 600 /opt/faraday_data/.env /opt/faraday_data/.faraday/config/server.ini
FARADAY_HOME=/opt/faraday_data $STD venv/bin/faraday-manage create-tables
FARADAY_HOME=/opt/faraday_data $STD venv/bin/faraday-manage create-superuser --username faraday --email faraday@example.com --password "$FARADAY_PASSWORD"
msg_ok "Configured Faraday"
msg_info "Creating Services"
cat <<EOF >/etc/systemd/system/faraday-server.service
[Unit]
Description=Faraday Server
After=network.target postgresql.service redis-server.service
[Service]
Type=exec
Environment=FARADAY_HOME=/opt/faraday_data
ExecStart=/opt/faraday/venv/bin/faraday-server
Restart=always
[Install]
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/faraday-worker.service
[Unit]
Description=Faraday Worker
After=network.target postgresql.service redis-server.service
[Service]
Type=exec
Environment=FARADAY_HOME=/opt/faraday_data
ExecStart=/opt/faraday/venv/bin/faraday-worker
Restart=always
[Install]
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/faraday-beat.service
[Unit]
Description=Faraday Beat
After=network.target postgresql.service redis-server.service
[Service]
Type=exec
Environment=FARADAY_HOME=/opt/faraday_data
ExecStart=/opt/faraday/venv/bin/faraday-beat
Restart=always
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now faraday-server faraday-worker faraday-beat
msg_ok "Created Services"
motd_ssh
customize
cleanup_lxc
+1 -1
View File
@@ -110,7 +110,7 @@ export AUTOGRAPH_VERBOSITY=0
export GLOG_minloglevel=3
export GLOG_logtostderr=0
fetch_and_deploy_gh_release "frigate" "blakeblackshear/frigate" "tarball" "v0.18.3" "/opt/frigate"
fetch_and_deploy_gh_release "frigate" "blakeblackshear/frigate" "tarball" "v0.18.2" "/opt/frigate"
msg_info "Building Nginx"
$STD bash /opt/frigate/docker/main/build_nginx.sh
+1 -10
View File
@@ -36,19 +36,10 @@ $STD /opt/certbot/bin/pip install certbot certbot-dns-cloudflare
ln -sf /opt/certbot/bin/certbot /usr/local/bin/certbot
msg_ok "Set up Certbot"
OPENRESTY_VERSION="1.31.8.1"
OPENRESTY_VERSION="1.29.2.5"
fetch_and_deploy_from_url "https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz" "/opt/openresty" ||
fetch_and_deploy_from_url "https://distfiles.alpinelinux.org/distfiles/edge/openresty-${OPENRESTY_VERSION}.tar.gz" "/opt/openresty"
msg_info "Patching nginx HTTP/2 (CVE-2026-123007, CVE-2026-123633)"
for commit in 61031503dc8087c2c17cd2142c9b4b19062f90c4 2df48a501d0fb8212b7d39dffeeff5876332ba59 e27f5fa84fe6e98505e70bc543b748747dad0a3b; do
curl_with_retry "https://api.github.com/repos/nginx/nginx/commits/${commit}" "/tmp/nginx-${commit}.patch" "-HAccept:application/vnd.github.patch" ||
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "/tmp/nginx-${commit}.patch"
patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s <"/tmp/nginx-${commit}.patch"
rm -f "/tmp/nginx-${commit}.patch"
done
msg_ok "Patched nginx HTTP/2"
msg_info "Building OpenResty"
cd /opt/openresty
$STD ./configure \
+1 -1
View File
@@ -70,7 +70,7 @@ $STD sudo -u cool coolconfig set-admin-password --user=admin --password="$COOLPA
echo "$COOLPASS" >~/.coolpass
msg_ok "Installed Collabora Online"
fetch_and_deploy_gh_release "OpenCloud" "opencloud-eu/opencloud" "singlefile" "v9.2.0" "/usr/bin" "opencloud-*-linux-$(arch_resolve)"
fetch_and_deploy_gh_release "OpenCloud" "opencloud-eu/opencloud" "singlefile" "v9.1.1" "/usr/bin" "opencloud-*-linux-$(arch_resolve)"
mv /usr/bin/OpenCloud /usr/bin/opencloud
msg_info "Configuring OpenCloud"
-101
View File
@@ -1,101 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/AnalogJ/scrutiny
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Setting up InfluxDB Repository"
setup_deb822_repo \
"influxdata" \
"https://repos.influxdata.com/influxdata-archive.key" \
"https://repos.influxdata.com/debian" \
"stable"
msg_ok "Set up InfluxDB Repository"
msg_info "Installing InfluxDB"
$STD apt install -y influxdb2
systemctl enable -q --now influxdb
for _ in {1..30}; do
curl -fsS http://127.0.0.1:8086/health >/dev/null 2>&1 && break
sleep 1
done
msg_ok "Installed InfluxDB"
msg_info "Configuring InfluxDB"
INFLUX_PASS="$(random_password)"
INFLUX_TOKEN="$(random_password 48)"
curl -fsS -X POST http://127.0.0.1:8086/api/v2/setup \
-H "Content-Type: application/json" \
-d "{\"username\":\"admin\",\"password\":\"${INFLUX_PASS}\",\"org\":\"scrutiny\",\"bucket\":\"metrics\",\"token\":\"${INFLUX_TOKEN}\"}" >/dev/null
mkdir -p /opt/scrutiny_data
cat <<EOT >/opt/scrutiny_data/.env
INFLUXDB_USER=admin
INFLUXDB_PASSWORD=${INFLUX_PASS}
INFLUXDB_TOKEN=${INFLUX_TOKEN}
EOT
chmod 600 /opt/scrutiny_data/.env
msg_ok "Configured InfluxDB"
fetch_and_deploy_gh_release "scrutiny" "AnalogJ/scrutiny" "singlefile" "latest" "/opt/scrutiny" "scrutiny-web-linux-$(arch_resolve "amd64" "arm64")"
fetch_and_deploy_gh_release "scrutiny-web" "AnalogJ/scrutiny" "prebuild" "latest" "/opt/scrutiny/web" "scrutiny-web-frontend.tar.gz"
msg_info "Configuring Scrutiny"
cat <<EOT >/opt/scrutiny_data/scrutiny.yaml
version: 1
web:
listen:
port: 8080
host: 0.0.0.0
basepath: ''
database:
location: /opt/scrutiny_data/scrutiny.db
src:
frontend:
path: /opt/scrutiny/web
influxdb:
scheme: 'http'
host: 127.0.0.1
port: 8086
token: '${INFLUX_TOKEN}'
org: 'scrutiny'
bucket: 'metrics'
retention_policy: true
log:
file: ''
level: INFO
EOT
chmod 600 /opt/scrutiny_data/scrutiny.yaml
msg_ok "Configured Scrutiny"
msg_info "Creating Service"
cat <<EOT >/etc/systemd/system/scrutiny.service
[Unit]
Description=Scrutiny
After=network-online.target influxdb.service
Requires=influxdb.service
[Service]
Type=simple
WorkingDirectory=/opt/scrutiny_data
ExecStart=/opt/scrutiny/scrutiny start --config /opt/scrutiny_data/scrutiny.yaml
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOT
systemctl enable -q --now scrutiny
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
+1 -1
View File
@@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "latest" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "v0.16.27" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
chmod +x /opt/stalwart/stalwart
msg_info "Configuring Stalwart"
-68
View File
@@ -1,68 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: lukdz
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/pingdotgg/t3code
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 \
git \
build-essential \
bubblewrap
msg_ok "Installed Dependencies"
NODE_VERSION="24" setup_nodejs
msg_info "Installing T3 Code and Provider CLIs"
$STD npm install -g \
t3 \
@openai/codex \
@anthropic-ai/claude-code \
@xai-official/grok \
opencode-ai
msg_ok "Installed T3 Code and Provider CLIs"
fetch_and_deploy_gh_release "gh" "cli/cli" "binary"
msg_info "Creating Service"
mkdir -p /opt/t3code
cat <<EOF >/etc/systemd/system/t3code.service
[Unit]
Description=T3 Code Server
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=root
Environment=PATH=/usr/local/bin:/usr/bin:/bin
Environment=T3CODE_TELEMETRY_ENABLED=false
# Allow Claude Full access mode as root inside the LXC.
Environment=IS_SANDBOX=1
WorkingDirectory=/opt/t3code
ExecStart=/usr/bin/t3 serve --host 0.0.0.0 --base-dir /opt/t3code
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now t3code
for _ in {1..60}; do
[[ -f /opt/t3code/userdata/server-runtime.json ]] && curl -s -o /dev/null http://127.0.0.1:3773 && break
sleep 2
done
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
-145
View File
@@ -1,145 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/AnalogJ/scrutiny
source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/core.func")
source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/api/api.func") 2>/dev/null || true
source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/lib/tools.func")
load_functions
declare -f init_tool_telemetry &>/dev/null && init_tool_telemetry "scrutiny-collector" "pve"
set -Eeuo pipefail
APP="Scrutiny-Collector"
APP_TYPE="tools"
BIN="/usr/local/bin/scrutiny-collector-metrics"
CONFIG_DIR="/etc/scrutiny"
CONFIG="${CONFIG_DIR}/collector.yaml"
SERVICE="scrutiny-collector"
REPO="AnalogJ/scrutiny"
header_info
if [[ "$(id -u)" -ne 0 ]]; then
msg_error "Run this as root (sudo) on the machine that has the disks."
exit 1
fi
if systemd-detect-virt -cq 2>/dev/null; then
msg_warn "This looks like a container: only disks passed through to it can be read."
fi
if ! command -v apt &>/dev/null; then
msg_error "This tool needs a Debian or Ubuntu based host (apt)."
exit 1
fi
command -v whiptail &>/dev/null || $STD apt install -y whiptail
function deploy_binary() {
fetch_and_deploy_gh_release "scrutiny-collector-metrics" "$REPO" "singlefile" "latest" "/usr/local/bin" "scrutiny-collector-metrics-linux-$(arch_resolve "amd64" "arm64")"
# Only catch_errors' on_exit clears this marker, and tools run without it.
rm -f ~/.scrutiny-collector-metrics.pending
}
function install_collector() {
local url="${var_scrutiny_url:-}"
while true; do
if [[ -z "$url" ]]; then
url=$(whiptail --backtitle "Community Scripts" --title "Scrutiny URL" \
--inputbox "URL of your Scrutiny web UI, e.g. http://192.168.1.50:8080" 10 64 "" 3>&1 1>&2 2>&3)
fi
url="${url%/}"
[[ "$url" =~ ^https?://[A-Za-z0-9._-]+(:[0-9]{1,5})?(/.*)?$ ]] && break
whiptail --backtitle "Community Scripts" --title "Scrutiny URL" \
--msgbox "'${url}' is not a valid URL. Use http(s)://host:port" 8 64
url=""
done
if ! curl -fsS --max-time 5 "${url}/api/health" &>/dev/null; then
msg_warn "Scrutiny does not answer at ${url}/api/health yet; the collector will retry every 15 minutes."
fi
msg_info "Installing smartmontools"
$STD apt install -y smartmontools
msg_ok "Installed smartmontools"
deploy_binary
msg_info "Configuring ${APP}"
mkdir -p "$CONFIG_DIR"
cat <<EOF >"$CONFIG"
version: 1
host:
id: "$(hostname)"
api:
endpoint: "${url}"
EOF
cat <<EOF >/etc/systemd/system/${SERVICE}.service
[Unit]
Description=Scrutiny S.M.A.R.T. collector
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=${BIN} run --config ${CONFIG}
EOF
cat <<EOF >/etc/systemd/system/${SERVICE}.timer
[Unit]
Description=Run the Scrutiny collector every 15 minutes
[Timer]
OnBootSec=2min
OnUnitActiveSec=15min
Persistent=true
[Install]
WantedBy=timers.target
EOF
systemctl daemon-reload
systemctl enable -q --now ${SERVICE}.timer
systemctl start --no-block ${SERVICE}.service
msg_ok "Configured ${APP}"
echo ""
msg_ok "The disks of $(hostname) show up in Scrutiny at ${BL}${url}${CL} after the first run."
msg_ok "Follow it with: ${BL}journalctl -u ${SERVICE} -f${CL}"
}
function update_collector() {
if check_for_gh_release "scrutiny-collector-metrics" "$REPO"; then
deploy_binary
msg_ok "Updated ${APP}"
else
msg_ok "${APP} is already up-to-date"
fi
}
function uninstall_collector() {
msg_info "Removing ${APP}"
systemctl disable -q --now ${SERVICE}.timer 2>/dev/null || true
systemctl stop ${SERVICE}.service 2>/dev/null || true
rm -f /etc/systemd/system/${SERVICE}.service /etc/systemd/system/${SERVICE}.timer "$BIN" ~/.scrutiny-collector-metrics
rm -rf "$CONFIG_DIR"
systemctl daemon-reload
msg_ok "Removed ${APP} (smartmontools stays installed)"
}
ACTION="${1:-}"
if [[ -z "$ACTION" && -x "$BIN" ]]; then
ACTION=$(whiptail --backtitle "Community Scripts" --title "${APP}" \
--menu "The Scrutiny collector is installed on this host." 12 58 2 \
"update" "Update the collector binary" \
"uninstall" "Remove the collector" 3>&1 1>&2 2>&3)
fi
case "${ACTION:-install}" in
install) install_collector ;;
update) update_collector ;;
uninstall) uninstall_collector ;;
*)
msg_error "Unknown action '${ACTION}'. Use install, update or uninstall."
exit 1
;;
esac