Compare commits

..
Author SHA1 Message Date
push-app-to-main[bot] 86f3f507b6 Add surfsense (ct) 2026-11-25 10:20:58 +00:00
21 changed files with 241 additions and 719 deletions

No files matched your search

+1 -51
View File
@@ -587,61 +587,11 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-11-26
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- FreshRSS: fix automatic feeds update [@CrazyWolf13](https://github.com/CrazyWolf13) ([#19044](https://github.com/community-scripts/ProxmoxVE/pull/19044))
### 🧰 Tools
- #### ✨ New Features
- PVE Post Install: support Proxmox VE 9.3 [@MickLesk](https://github.com/MickLesk) ([#19053](https://github.com/community-scripts/ProxmoxVE/pull/19053))
## 2026-11-25
### 🆕 New Scripts
- NextDNS [@nberardi](https://github.com/nberardi) ([#18980](https://github.com/community-scripts/ProxmoxVE/pull/18980))
- Rauthy [@MickLesk](https://github.com/MickLesk) ([#19021](https://github.com/community-scripts/ProxmoxVE/pull/19021))
- Formbricks [@MickLesk](https://github.com/MickLesk) ([#19022](https://github.com/community-scripts/ProxmoxVE/pull/19022))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Dispatcharr: load the gevent monkey-patch in uWSGI like upstream [@mandishshah](https://github.com/mandishshah) ([#19045](https://github.com/community-scripts/ProxmoxVE/pull/19045))
- Odoo: update PDFKiln on each release, and replace wkhtmltox too [@Jamalofski](https://github.com/Jamalofski) ([#19035](https://github.com/community-scripts/ProxmoxVE/pull/19035))
- #### 💥 Breaking Changes
- Hister is now Nogon [@MickLesk](https://github.com/MickLesk) ([#19031](https://github.com/community-scripts/ProxmoxVE/pull/19031))
- #### 🔧 Refactor
- ERPNext: install PDFKiln instead of the archived wkhtmltox build [@Jamalofski](https://github.com/Jamalofski) ([#19025](https://github.com/community-scripts/ProxmoxVE/pull/19025))
### 💾 Core
- pve: say why pct create failed in the message itself [@MickLesk](https://github.com/MickLesk) ([core#298](https://github.com/community-scripts/core/pull/298))
- core: end the wait for an address once the bridge shows no DHCP server [@MickLesk](https://github.com/MickLesk) ([core#300](https://github.com/community-scripts/core/pull/300))
- pve: wait for a container's state to settle before calling it unenterable [@MickLesk](https://github.com/MickLesk) ([core#299](https://github.com/community-scripts/core/pull/299))
- incus: keep apt's output and say what the container reaches when Incus base packages fail [@MickLesk](https://github.com/MickLesk) ([core#297](https://github.com/community-scripts/core/pull/297))
- incus: share the VM image download between the Proxmox and Incus backends [@MickLesk](https://github.com/MickLesk) ([core#296](https://github.com/community-scripts/core/pull/296))
- core: add PVE 9.3 version support [@charles-young](https://github.com/charles-young) ([core#301](https://github.com/community-scripts/core/pull/301))
- core: back up and restore around a mount below the path [@MickLesk](https://github.com/MickLesk) ([core#295](https://github.com/community-scripts/core/pull/295))
### 🧰 Tools
- Immich Power Tools ([#19023](https://github.com/community-scripts/ProxmoxVE/pull/19023))
- VueTorrent ([#19024](https://github.com/community-scripts/ProxmoxVE/pull/19024))
- #### 🐞 Bug Fixes
- Monitor-All: ping the container's net0 address [@MickLesk](https://github.com/MickLesk) ([#19030](https://github.com/community-scripts/ProxmoxVE/pull/19030))
- VueTorrent ([#19024](https://github.com/community-scripts/ProxmoxVE/pull/19024))
## 2026-11-24
-2
View File
@@ -170,8 +170,6 @@ exec .venv/bin/uwsgi \
--master \
--workers=4 \
--gevent=400 \
--gevent-early-monkey-patch \
--import=dispatcharr.gevent_patch \
--http=0.0.0.0:5656 \
--http-keepalive=1 \
--http-timeout=600 \
-8
View File
@@ -41,14 +41,6 @@ function update_script() {
$STD supervisorctl stop all
msg_ok "Stopped ERPNext service"
if dpkg -s wkhtmltox &>/dev/null; then
$STD apt remove --purge -y wkhtmltox
fi
if check_for_gh_release "pdfkiln" "pdfkiln/pdfkiln"; then
fetch_and_deploy_gh_release "pdfkiln" "pdfkiln/pdfkiln" "binary" "latest" "" "pdfkiln_*_$(arch_resolve).deb"
fi
if [[ "${FRAPPE_MAJOR:-0}" -lt 16 ]] && { [[ "${PHS_SILENT:-0}" == "1" ]] || whiptail --backtitle "Proxmox VE Helper Scripts" --title "ERPNext v16 Major Upgrade" \
--yesno "A major upgrade from Frappe/ERPNext v15 to v16 is available.\n\nUpgrade to v16 now?" 16 78; }; then
-91
View File
@@ -1,91 +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/formbricks/formbricks
APP="Formbricks"
var_tags="${var_tags:-survey;feedback;forms}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-12288}"
var_disk="${var_disk:-20}"
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 [[ ! -d /opt/formbricks ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "spicedb" "authzed/spicedb"; then
msg_info "Stopping SpiceDB"
systemctl stop spicedb
msg_ok "Stopped SpiceDB"
fetch_and_deploy_gh_release "spicedb" "authzed/spicedb" "binary"
msg_info "Migrating SpiceDB Datastore"
set -a && source /opt/formbricks_data/spicedb.env && set +a
$STD spicedb datastore migrate head
msg_ok "Migrated SpiceDB Datastore"
msg_info "Starting SpiceDB"
systemctl start spicedb
msg_ok "Started SpiceDB"
fi
if check_for_gh_release "formbricks" "formbricks/formbricks"; then
msg_info "Stopping Formbricks"
systemctl stop formbricks
msg_ok "Stopped Formbricks"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "formbricks" "formbricks/formbricks" "tarball"
NODE_VERSION="24" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /opt/formbricks/package.json)" setup_nodejs
msg_info "Building Formbricks (Patience)"
cd /opt/formbricks
sed -i "s/\"version\": \"0.0.0\"/\"version\": \"$(cat ~/.formbricks)\"/" apps/web/package.json
sed -i 's/^const nextConfig = {$/&\n typescript: { ignoreBuildErrors: true },/' apps/web/next.config.mjs
touch apps/web/.env
$STD pnpm install --ignore-scripts --frozen-lockfile
$STD sh apps/web/scripts/docker/read-secrets.sh pnpm build --filter=@formbricks/web...
cp -r apps/web/.next/static apps/web/.next/standalone/apps/web/.next/
cp -r apps/web/public apps/web/.next/standalone/apps/web/
msg_ok "Built Formbricks"
msg_info "Migrating Formbricks Database"
set -a && source /opt/formbricks_data/.env && set +a
$STD node packages/database/dist/scripts/apply-migrations.js
$STD node apps/web/dist/authzed-cli/index.mjs upgrade prepare
msg_ok "Migrated Formbricks Database"
msg_info "Starting Formbricks"
systemctl start formbricks
msg_ok "Started Formbricks"
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}:3000${CL}"
-8
View File
@@ -37,14 +37,6 @@ function update_script() {
msg_ok "Fixed wrong permissions"
fi
if ! php -r 'exit((extension_loaded("intl") && extension_loaded("xml")) ? 0 : 1);' 2>/dev/null; then
msg_info "Installing missing PHP extensions"
apt_update_safe
$STD apt install -y php-xml php-intl
systemctl reload apache2
msg_ok "Installed missing PHP extensions"
fi
if check_for_gh_release "freshrss" "FreshRSS/FreshRSS"; then
msg_info "Stopping Apache2"
systemctl stop apache2
+43 -5
View File
@@ -4,15 +4,53 @@ source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_
# 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/asciimoo/hister
APP="Hister"
var_tags="${var_tags:-search;browser-history;personal}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-1024}"
var_disk="${var_disk:-20}"
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
msg_error "This script is no longer available."
msg_warn "Hister has been renamed to Nogon."
msg_warn "Run the Nogon script to migrate an existing installation:"
echo 'bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/nogon.sh)"'
exit 1
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /usr/local/bin/hister ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "hister" "asciimoo/hister"; then
msg_info "Stopping Service"
systemctl stop hister
msg_ok "Stopped Service"
fetch_and_deploy_gh_release "hister" "asciimoo/hister" "singlefile" "latest" "/usr/local/bin" "hister_*_linux_$(arch_resolve)"
msg_info "Starting Service"
systemctl start hister
msg_ok "Started Service"
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}:4433${CL}"
-55
View File
@@ -1,55 +0,0 @@
#!/usr/bin/env bash
# Engine comes from community-scripts/core; this repo only ships the scripts.
# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core),
# so a fork or branch of core can be tested without editing this file.
_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: Nick Berardi (nberardi)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://nextdns.io | https://github.com/nextdns/nextdns
APP="NextDNS"
var_tags="${var_tags:-dns;adblock;network}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-512}"
var_disk="${var_disk:-2}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
var_unprivileged="${var_unprivileged:-1}"
export var_nextdns_profile="${var_nextdns_profile:-}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -x /usr/bin/nextdns ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP}"
$STD apt update
$STD apt install -y nextdns
msg_ok "Updated ${APP}"
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}"
echo -e "${INFO}${YW}NextDNS is configured and serving DNS on:${CL}"
echo -e "${GATEWAY}${BGN}${IP}:53${CL} ${YW}(TCP/UDP)${CL}"
echo -e "${INFO}${YW}Profiles are managed at: https://my.nextdns.io${CL}"
echo -e "${INFO}${YW}Point DHCP clients or your router upstream DNS at the container IP.${CL}"
-89
View File
@@ -1,89 +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/asciimoo/nogon
APP="Nogon"
var_tags="${var_tags:-search;browser-history;personal}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-1024}"
var_disk="${var_disk:-20}"
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 /usr/local/bin/nogon && ! -f /usr/local/bin/hister ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
MIGRATING=false
[[ -f /usr/local/bin/hister ]] && MIGRATING=true
if [[ "$MIGRATING" == "true" ]] || check_for_gh_release "nogon" "asciimoo/nogon"; then
msg_info "Stopping Service"
if [[ "$MIGRATING" == "true" ]]; then
systemctl disable -q --now hister
else
systemctl stop nogon
fi
msg_ok "Stopped Service"
fetch_and_deploy_gh_release "nogon" "asciimoo/nogon" "singlefile" "latest" "/usr/local/bin" "nogon_*_linux_$(arch_resolve)"
if [[ "$MIGRATING" == "true" ]]; then
msg_info "Migrating Hister to Nogon"
CONFIG_FILE=/etc/nogon/config.yaml
[[ -f /etc/hister/config.yaml ]] && CONFIG_FILE=/etc/hister/config.yaml
cat <<EOF >/etc/systemd/system/nogon.service
[Unit]
Description=Nogon Search Engine
After=network.target
[Service]
Type=simple
User=root
ExecStart=/usr/local/bin/nogon listen --config ${CONFIG_FILE}
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
rm -f /etc/systemd/system/hister.service /usr/local/bin/hister ~/.hister
systemctl daemon-reload
systemctl enable -q nogon
sed -i 's/hister/nogon/g' /usr/bin/update
msg_ok "Migrated Hister to Nogon"
fi
msg_info "Starting Service"
systemctl start nogon
msg_ok "Started Service"
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}:4433${CL}"
+1 -7
View File
@@ -38,14 +38,8 @@ function update_script() {
fi
if dpkg -s wkhtmltopdf &>/dev/null; then
$STD apt remove --purge -y wkhtmltopdf
fi
if dpkg -s wkhtmltox &>/dev/null; then
$STD apt remove --purge -y wkhtmltox
fi
if [[ ! -f ~/.pdfkiln ]] || check_for_gh_release "pdfkiln" "pdfkiln/pdfkiln"; then
systemctl stop odoo
$STD apt remove --purge -y wkhtmltopdf
fetch_and_deploy_gh_release "pdfkiln" "pdfkiln/pdfkiln" "binary" "latest" "" "pdfkiln_*_$(arch_resolve).deb"
systemctl start odoo
fi
-74
View File
@@ -1,74 +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/sebadob/rauthy
APP="Rauthy"
var_tags="${var_tags:-auth;sso;oidc}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-6144}"
var_disk="${var_disk:-12}"
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/rauthy/rauthy ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "rauthy" "sebadob/rauthy"; then
setup_rust
fetch_and_deploy_gh_release "rauthy" "sebadob/rauthy" "tarball" "latest" "/opt/rauthy-build"
msg_info "Building Rauthy (Patience)"
cd /opt/rauthy-build
tar -xf assets/static_html/static_v1.tar.gz
tar -xf assets/static_html/templates_html.tar.gz
if ! CURL_RETRIES=8 curl_with_retry "https://mds.fidoalliance.org/" "/opt/rauthy-build/mds.jwt"; then
rm -rf /opt/rauthy-build
msg_error "The FIDO MDS download was rate-limited (HTTP 429); Rauthy was not changed, try the update again later"
exit 7
fi
CARGO_PROFILE_DEV_DEBUG=0 $STD cargo run --bin fido-mds-prep -- --source mds.jwt
CARGO_PROFILE_RELEASE_LTO=thin CARGO_PROFILE_RELEASE_CODEGEN_UNITS=16 \
$STD cargo build --release --bin rauthy
msg_ok "Built Rauthy"
msg_info "Stopping Rauthy"
systemctl stop rauthy
mv /opt/rauthy-build/target/release/rauthy /opt/rauthy/rauthy
cd /opt
rm -rf /opt/rauthy-build ~/.cargo/registry
msg_ok "Stopped Rauthy"
msg_info "Starting Rauthy"
systemctl start rauthy
msg_ok "Started Rauthy"
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}https://${IP}:8443/auth/v1/${CL}"
+76
View File
@@ -0,0 +1,76 @@
#!/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/MODSetter/SurfSense
APP="SurfSense"
var_tags="${var_tags:-ai;documents;rag}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-4096}"
var_disk="${var_disk:-16}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_arm64="${var_arm64:-no}" # upstream stages llama.cpp and opencode for linux-x64 only
var_unprivileged="${var_unprivileged:-1}"
export var_surfsense_password="${var_surfsense_password:-}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/surfsense ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "surfsense" "MODSetter/SurfSense"; then
msg_info "Stopping SurfSense"
systemctl stop surfsense
msg_ok "Stopped SurfSense"
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="surfsense_local/backend/.venv surfsense_local/backend/models" fetch_and_deploy_gh_release "surfsense" "MODSetter/SurfSense" "tarball"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "caddy" "caddyserver/caddy" "prebuild" "v$(grep -oP 'CADDY_IMAGE=caddy:\K[0-9.]+' /opt/surfsense/docker/surfsense/Dockerfile)" "/opt/caddy" "caddy_*_linux_$(arch_resolve).tar.gz"
NODE_VERSION="24" NODE_MODULE="$(jq -r '.packageManager' /opt/surfsense/surfsense_local/frontend/package.json)" setup_nodejs
PYTHON_VERSION="3.12" setup_uv
msg_info "Building SurfSense"
cd /opt/surfsense/surfsense_local/frontend
$STD pnpm install --frozen-lockfile
VITE_API_BASE=/api VITE_SURFSENSE_RUNTIME=docker VITE_SURFSENSE_VERSION="$(cat ../VERSION)" $STD pnpm build
rm -rf node_modules
cd /opt/surfsense/surfsense_local/backend
$STD uv sync --frozen --no-dev
SURFSENSE_LOCAL_DATA_DIR=/opt/surfsense_data $STD .venv/bin/python scripts/fetch_embedding_model.py models
SURFSENSE_LOCAL_DATA_DIR=/opt/surfsense_data $STD .venv/bin/python scripts/fetch_docling_models.py models
SURFSENSE_LOCAL_DATA_DIR=/opt/surfsense_data $STD .venv/bin/python scripts/fetch_silero_vad.py models
cd /opt/surfsense/surfsense_local
$STD node runtimes/fetch-llamacpp.mjs --variant cpu --out electron/llamacpp
$STD node runtimes/opencode/stage.mjs
msg_ok "Built SurfSense"
msg_info "Starting SurfSense"
systemctl start surfsense
msg_ok "Started SurfSense"
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}${CL}"
-2
View File
@@ -170,8 +170,6 @@ exec .venv/bin/uwsgi \\
--master \\
--workers=4 \\
--gevent=400 \\
--gevent-early-monkey-patch \\
--import=dispatcharr.gevent_patch \\
--http=0.0.0.0:5656 \\
--http-keepalive=1 \\
--http-timeout=600 \\
+1 -1
View File
@@ -51,7 +51,7 @@ EOF
$STD systemctl restart mariadb
msg_ok "Configured MariaDB for ERPNext"
fetch_and_deploy_gh_release "pdfkiln" "pdfkiln/pdfkiln" "binary" "latest" "" "pdfkiln_*_$(arch_resolve).deb"
fetch_and_deploy_gh_release "wkhtmltopdf" "wkhtmltopdf/packaging" "binary" "latest" "" "wkhtmltox_*.bookworm_$(arch_resolve).deb"
msg_info "Installing Frappe Bench"
useradd -m -s /bin/bash frappe
-131
View File
@@ -1,131 +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/formbricks/formbricks
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 valkey-server
sed -i 's/^appendonly no/appendonly yes/' /etc/valkey/valkey.conf
systemctl restart valkey-server
msg_ok "Installed Dependencies"
PG_VERSION="18" PG_MODULES="pgvector" setup_postgresql
PG_DB_NAME="formbricks" PG_DB_USER="formbricks" PG_DB_EXTENSIONS="vector" setup_postgresql_db
# setup_postgresql_db keeps an already set PG_DB_PASS, so the SpiceDB role gets the same password
PG_DB_NAME="spicedb" PG_DB_USER="spicedb" setup_postgresql_db
fetch_and_deploy_gh_release "spicedb" "authzed/spicedb" "binary"
fetch_and_deploy_gh_release "formbricks" "formbricks/formbricks" "tarball"
NODE_VERSION="24" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /opt/formbricks/package.json)" setup_nodejs
msg_info "Building Formbricks (Patience)"
cd /opt/formbricks
sed -i "s/\"version\": \"0.0.0\"/\"version\": \"$(cat ~/.formbricks)\"/" apps/web/package.json
sed -i 's/^const nextConfig = {$/&\n typescript: { ignoreBuildErrors: true },/' apps/web/next.config.mjs
touch apps/web/.env
$STD pnpm install --ignore-scripts --frozen-lockfile
$STD sh apps/web/scripts/docker/read-secrets.sh pnpm build --filter=@formbricks/web...
cp -r apps/web/.next/static apps/web/.next/standalone/apps/web/.next/
cp -r apps/web/public apps/web/.next/standalone/apps/web/
msg_ok "Built Formbricks"
msg_info "Configuring Formbricks"
mkdir -p /opt/formbricks_data
AUTHZED_TOKEN=$(openssl rand -hex 32)
cat <<EOF >/opt/formbricks_data/.env
NODE_ENV=production
WEBAPP_URL=http://${LOCAL_IP}:3000
NEXTAUTH_URL=http://${LOCAL_IP}:3000
NEXTAUTH_SECRET=$(openssl rand -hex 32)
ENCRYPTION_KEY=$(openssl rand -hex 32)
CRON_SECRET=$(openssl rand -hex 32)
DATABASE_URL=postgresql://formbricks:${PG_DB_PASS}@localhost:5432/formbricks?schema=public
REDIS_URL=redis://localhost:6379
AUTHZED_ENABLED=true
AUTHZED_ENDPOINT=127.0.0.1:50051
AUTHZED_TOKEN=${AUTHZED_TOKEN}
AUTHZED_SYSTEM_KEY=formbricks
AUTHZED_INSECURE=true
AUTHZED_CONSISTENCY=fully_consistent
HUB_API_URL=http://127.0.0.1:8080
HUB_API_KEY=$(openssl rand -hex 32)
CUBEJS_API_URL=http://127.0.0.1:4000
CUBEJS_API_SECRET=$(openssl rand -hex 32)
EMAIL_VERIFICATION_DISABLED=1
PASSWORD_RESET_DISABLED=1
TELEMETRY_DISABLED=1
EOF
cat <<EOF >/opt/formbricks_data/spicedb.env
SPICEDB_DATASTORE_ENGINE=postgres
SPICEDB_DATASTORE_CONN_URI=postgres://spicedb:${PG_DB_PASS}@localhost:5432/spicedb?sslmode=disable
SPICEDB_GRPC_PRESHARED_KEY=${AUTHZED_TOKEN}
SPICEDB_GRPC_ADDR=127.0.0.1:50051
SPICEDB_METRICS_ADDR=127.0.0.1:9090
SPICEDB_TELEMETRY_ENDPOINT=
SPICEDB_LOG_LEVEL=warn
EOF
chmod 600 /opt/formbricks_data/.env /opt/formbricks_data/spicedb.env
msg_ok "Configured Formbricks"
msg_info "Setting up SpiceDB"
set -a && source /opt/formbricks_data/spicedb.env && set +a
$STD spicedb datastore migrate head
cat <<EOF >/etc/systemd/system/spicedb.service
[Unit]
Description=SpiceDB
After=network.target postgresql.service
[Service]
Type=simple
User=root
EnvironmentFile=/opt/formbricks_data/spicedb.env
ExecStart=/usr/bin/spicedb serve
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now spicedb
msg_ok "Set up SpiceDB"
msg_info "Migrating Formbricks Database"
set -a && source /opt/formbricks_data/.env && set +a
$STD node packages/database/dist/scripts/apply-migrations.js
$STD node apps/web/dist/authzed-cli/index.mjs upgrade prepare
msg_ok "Migrated Formbricks Database"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/formbricks.service
[Unit]
Description=Formbricks
After=network.target postgresql.service valkey-server.service spicedb.service
[Service]
Type=simple
User=root
WorkingDirectory=/opt/formbricks/apps/web/.next/standalone
EnvironmentFile=/opt/formbricks_data/.env
ExecStart=/usr/bin/node apps/web/server.js
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now formbricks
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
+1 -1
View File
@@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_MODULE="xml,intl" setup_php
PHP_VERSION="8.4" PHP_APACHE="YES" setup_php
PG_VERSION="16" setup_postgresql
PG_DB_NAME="freshrss" PG_DB_USER="freshrss_usr" setup_postgresql_db
@@ -3,7 +3,7 @@
# 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/asciimoo/nogon
# Source: https://github.com/asciimoo/hister
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
@@ -13,37 +13,37 @@ setting_up_container
network_check
update_os
fetch_and_deploy_gh_release "nogon" "asciimoo/nogon" "singlefile" "latest" "/usr/local/bin" "nogon_*_linux_$(arch_resolve)"
fetch_and_deploy_gh_release "hister" "asciimoo/hister" "singlefile" "latest" "/usr/local/bin" "hister_*_linux_$(arch_resolve)"
msg_info "Configuring Nogon"
mkdir -p /opt/nogon/data /etc/nogon
msg_info "Configuring Hister"
mkdir -p /opt/hister/data /etc/hister
LOCAL_IP=$(hostname -I | awk '{print $1}')
cat <<EOF >/etc/nogon/config.yaml
cat <<EOF >/etc/hister/config.yaml
app:
directory: '/opt/nogon/data'
directory: '/opt/hister/data'
server:
address: '0.0.0.0:4433'
base_url: 'http://${LOCAL_IP}:4433'
EOF
msg_ok "Configured Nogon"
msg_ok "Configured Hister"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/nogon.service
cat <<EOF >/etc/systemd/system/hister.service
[Unit]
Description=Nogon Search Engine
Description=Hister Search Engine
After=network.target
[Service]
Type=simple
User=root
ExecStart=/usr/local/bin/nogon listen --config /etc/nogon/config.yaml
ExecStart=/usr/local/bin/hister listen --config /etc/hister/config.yaml
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now nogon
systemctl enable -q --now hister
msg_ok "Created Service"
motd_ssh
-53
View File
@@ -1,53 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: Nick Berardi (nberardi)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://nextdns.io | https://github.com/nextdns/nextdns
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
setup_deb822_repo \
"nextdns" \
"https://repo.nextdns.io/nextdns.gpg" \
"https://repo.nextdns.io/deb" \
"stable" \
"main"
msg_info "Installing NextDNS"
$STD apt install -y nextdns
msg_ok "Installed NextDNS"
if [[ -z "${var_nextdns_profile:-}" ]]; then
echo -e "${INFO}${YW}Get your profile ID from: https://my.nextdns.io${CL}"
read -r -p "${TAB3}NextDNS Profile ID: " var_nextdns_profile || true
fi
var_nextdns_profile="${var_nextdns_profile//[[:space:]]/}"
if [[ -z "${var_nextdns_profile}" ]]; then
msg_error "NextDNS Profile ID is required (set var_nextdns_profile or enter it when prompted)"
exit 64
fi
msg_info "Configuring NextDNS"
nextdns install \
-profile "${var_nextdns_profile}" \
-report-client-info \
-setup-router
mkdir -p /etc/systemd/system/nextdns.service.d
cat <<EOF >/etc/systemd/system/nextdns.service.d/network-online.conf
[Unit]
Wants=network-online.target
After=network-online.target
EOF
systemctl daemon-reload
msg_ok "Configured NextDNS (profile ${var_nextdns_profile})"
motd_ssh
customize
cleanup_lxc
-115
View File
@@ -1,115 +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/sebadob/rauthy
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 \
pkg-config
msg_ok "Installed Dependencies"
setup_rust
fetch_and_deploy_gh_release "rauthy" "sebadob/rauthy" "tarball" "latest" "/opt/rauthy-build"
msg_info "Building Rauthy (Patience)"
cd /opt/rauthy-build
tar -xf assets/static_html/static_v1.tar.gz
tar -xf assets/static_html/templates_html.tar.gz
if ! CURL_RETRIES=8 curl_with_retry "https://mds.fidoalliance.org/" "/opt/rauthy-build/mds.jwt"; then
msg_error "The FIDO MDS download was rate-limited (HTTP 429); run the script again in a few minutes"
exit 7
fi
CARGO_PROFILE_DEV_DEBUG=0 $STD cargo run --bin fido-mds-prep -- --source mds.jwt
CARGO_PROFILE_RELEASE_LTO=thin CARGO_PROFILE_RELEASE_CODEGEN_UNITS=16 \
$STD cargo build --release --bin rauthy
mkdir -p /opt/rauthy
mv target/release/rauthy /opt/rauthy/rauthy
cd /opt
rm -rf /opt/rauthy-build ~/.cargo/registry
msg_ok "Built Rauthy"
create_self_signed_cert "rauthy"
msg_info "Configuring Rauthy"
mkdir -p /opt/rauthy_data
ENC_KEY_ID=$(openssl rand -hex 4)
cat <<EOF >/opt/rauthy_data/config.toml
## Reference: https://sebadob.github.io/rauthy/config/config.html
[bootstrap]
# Password for admin@localhost, only read when the database is created on the first start
password_plain = '$(random_password)'
[cluster]
node_id = 1
nodes = ['1 localhost:8100 localhost:8200']
data_dir = '/opt/rauthy_data/hiqlite'
secret_raft = '$(random_password 48)'
secret_api = '$(random_password 48)'
[email]
#smtp_url = 'smtp.example.com'
#smtp_username = 'rauthy@example.com'
#smtp_password = ''
#smtp_from = 'Rauthy <rauthy@example.com>'
[encryption]
keys = ['${ENC_KEY_ID}/$(openssl rand -base64 32)']
key_active = '${ENC_KEY_ID}'
[mfa]
# Passkeys need a DNS name, so admin MFA cannot be set up while Rauthy is reached by IP
admin_force_mfa = false
[server]
scheme = 'https'
pub_url = '${LOCAL_IP}:8443'
[tls]
cert_path = '/etc/ssl/rauthy/rauthy.crt'
key_path = '/etc/ssl/rauthy/rauthy.key'
[webauthn]
# Must be a domain, an IP is rejected; set both to the public DNS name before registering passkeys
rp_id = 'localhost'
rp_origin = 'https://localhost:8443'
EOF
chmod 600 /opt/rauthy_data/config.toml
msg_ok "Configured Rauthy"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/rauthy.service
[Unit]
Description=Rauthy
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/rauthy_data
Environment=MALLOC_CONF=abort_conf:true,narenas:8,tcache_max:4096,dirty_decay_ms:5000,muzzy_decay_ms:5000
ExecStart=/opt/rauthy/rauthy serve -c /opt/rauthy_data/config.toml
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now rauthy
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
+101
View File
@@ -0,0 +1,101 @@
#!/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/MODSetter/SurfSense
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 \
libgomp1 \
libxinerama1 \
libx11-xcb1 \
libxext6 \
libsm6 \
libfontconfig1 \
fonts-dejavu-core \
libnss3 \
libdbus-1-3 \
libcairo2 \
libglib2.0-0t64 \
libcups2t64
msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "surfsense" "MODSetter/SurfSense" "tarball"
fetch_and_deploy_gh_release "caddy" "caddyserver/caddy" "prebuild" "v$(grep -oP 'CADDY_IMAGE=caddy:\K[0-9.]+' /opt/surfsense/docker/surfsense/Dockerfile)" "/opt/caddy" "caddy_*_linux_$(arch_resolve).tar.gz"
NODE_VERSION="24" NODE_MODULE="$(jq -r '.packageManager' /opt/surfsense/surfsense_local/frontend/package.json)" setup_nodejs
PYTHON_VERSION="3.12" setup_uv
msg_info "Building SurfSense Frontend"
cd /opt/surfsense/surfsense_local/frontend
$STD pnpm install --frozen-lockfile
VITE_API_BASE=/api VITE_SURFSENSE_RUNTIME=docker VITE_SURFSENSE_VERSION="$(cat ../VERSION)" $STD pnpm build
rm -rf node_modules
msg_ok "Built SurfSense Frontend"
msg_info "Setting up SurfSense Backend"
cd /opt/surfsense/surfsense_local/backend
$STD uv sync --frozen --no-dev
SURFSENSE_LOCAL_DATA_DIR=/opt/surfsense_data $STD .venv/bin/python scripts/fetch_embedding_model.py models
SURFSENSE_LOCAL_DATA_DIR=/opt/surfsense_data $STD .venv/bin/python scripts/fetch_docling_models.py models
SURFSENSE_LOCAL_DATA_DIR=/opt/surfsense_data $STD .venv/bin/python scripts/fetch_silero_vad.py models
msg_ok "Set up SurfSense Backend"
msg_info "Staging llama.cpp and opencode"
cd /opt/surfsense/surfsense_local
$STD node runtimes/fetch-llamacpp.mjs --variant cpu --out electron/llamacpp
$STD node runtimes/opencode/stage.mjs
msg_ok "Staged llama.cpp and opencode"
msg_info "Configuring SurfSense"
mkdir -p /opt/surfsense_data
cat <<EOF >/opt/surfsense_data/.env
SURFSENSE_LOCAL_DATA_DIR=/opt/surfsense_data
SURFSENSE_LOCAL_CADDY=/opt/caddy/caddy
SURFSENSE_LOCAL_CADDYFILE=/opt/surfsense/docker/surfsense/caddy/Caddyfile
SURFSENSE_LOCAL_PUBLIC_PORT=80
SURFSENSE_LOCAL_CORS_ORIGINS=
SURFSENSE_PASSWORD=${var_surfsense_password:-}
SURFSENSE_ALLOWED_HOSTS=
SURFSENSE_AUTH=
SURFSENSE_TLS=
SURFSENSE_DOMAIN=
SURFSENSE_HTTPS_PORT=443
EOF
chmod 600 /opt/surfsense_data/.env
msg_ok "Configured SurfSense"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/surfsense.service
[Unit]
Description=SurfSense
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=/opt/surfsense/surfsense_local
EnvironmentFile=/opt/surfsense_data/.env
ExecStart=/usr/bin/node /opt/surfsense/surfsense_local/headless/main.ts
KillMode=mixed
TimeoutStopSec=30
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now surfsense
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
+3 -12
View File
@@ -111,18 +111,9 @@ while true; do
continue
fi
# Read the IP from the host side; pct exec depends on tools inside the
# guest, which minimal/OCI images may lack. net0's address comes first:
# lxc-info lists Docker bridges and VPN tunnels too, often before it.
net0=$(value_of net0)
IP=$(grep -oP '(^|,)ip=\K[0-9.]+(?=/)' <<<"$net0" || true)
if [ -z "$IP" ]; then
iface=$(grep -oP '(^|,)name=\K[^,]+' <<<"$net0" || true)
pid=$(lxc-info -n "$instance" -pH 2>/dev/null)
[ -n "$pid" ] && IP=$(nsenter -t "$pid" -n ip -4 -o addr show dev "${iface:-eth0}" scope global 2>/dev/null | awk '{sub(/\/.*/, "", $4); print $4; exit}')
fi
[ -z "$IP" ] && IP=$(lxc-info -n "$instance" -iH 2>/dev/null | awk '/^[0-9.]+$/ && !/^(127|169\.254)\./ {print; exit}')
# Two rounds of three pings, so one lost packet does not restart it.
if [ -z "$IP" ] || ! { ping -c 3 -W 2 "$IP" >/dev/null 2>&1 || { sleep 5 && ping -c 3 -W 2 "$IP" >/dev/null 2>&1; }; }; then
# guest, which minimal/OCI images may lack.
IP=$(lxc-info -n "$instance" -iH 2>/dev/null | awk '/^[0-9.]+$/ && !/^(127|169\.254)\./ {print; exit}')
if [ -z "$IP" ] || ! ping -c 1 -W 2 "$IP" >/dev/null 2>&1; then
echo "$(date): CT $instance is not responding, restarting..."
pct stop "$instance" >/dev/null 2>&1
sleep 5
+3 -3
View File
@@ -99,14 +99,14 @@ main() {
fi
start_routines_8
elif [[ "$PVE_MAJOR" == "9" ]]; then
if ((PVE_MINOR < 0 || PVE_MINOR > 3)); then
msg_error "Only Proxmox 9.0-9.3.x is currently supported"
if ((PVE_MINOR < 0 || PVE_MINOR > 2)); then
msg_error "Only Proxmox 9.0-9.2.x is currently supported"
exit 105
fi
start_routines_9 "$PVE_MINOR"
else
msg_error "Unsupported Proxmox VE major version: $PVE_MAJOR"
echo -e "Supported: 8.0–8.9.x and 9.0–9.3.x"
echo -e "Supported: 8.0–8.9.x and 9.0–9.2.x"
exit 105
fi
}