Compare commits

..
Author SHA1 Message Date
github-actions[bot] 3032e88020 chore(ct): sync umami defaults from PocketBase 2026-11-26 13:16:52 +00:00
12 changed files with 5 additions and 392 deletions

No files matched your search

-15
View File
@@ -589,27 +589,12 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
## 2026-11-26
### 🆕 New Scripts
- Bifrost [@cheesejaguar](https://github.com/cheesejaguar) ([#19028](https://github.com/community-scripts/ProxmoxVE/pull/19028))
- SurfSense [@MickLesk](https://github.com/MickLesk) ([#19029](https://github.com/community-scripts/ProxmoxVE/pull/19029))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- LibreChat: rebuild the RAG API venv on update, keep uploads [@MickLesk](https://github.com/MickLesk) ([#19056](https://github.com/community-scripts/ProxmoxVE/pull/19056))
- Cloudflare-DDNS: give the Go build 1 GB [@MickLesk](https://github.com/MickLesk) ([#19059](https://github.com/community-scripts/ProxmoxVE/pull/19059))
- Vane: skip the CUDA binaries of onnxruntime-node [@MickLesk](https://github.com/MickLesk) ([#19060](https://github.com/community-scripts/ProxmoxVE/pull/19060))
- UniFi OS Server: retry the installer download [@MickLesk](https://github.com/MickLesk) ([#19062](https://github.com/community-scripts/ProxmoxVE/pull/19062))
- Umami: pin pnpm from engines.pnpm on install, set APP_SECRET [@MickLesk](https://github.com/MickLesk) ([#19057](https://github.com/community-scripts/ProxmoxVE/pull/19057))
- FreshRSS: fix automatic feeds update [@CrazyWolf13](https://github.com/CrazyWolf13) ([#19044](https://github.com/community-scripts/ProxmoxVE/pull/19044))
### 💾 Core
- core: say what the container reaches when its base packages fail [@MickLesk](https://github.com/MickLesk) ([core#305](https://github.com/community-scripts/core/pull/305))
- Incus: check VM support on the target remote instead of local /dev/kvm [@MickLesk](https://github.com/MickLesk) ([core#306](https://github.com/community-scripts/core/pull/306))
### 🧰 Tools
- #### ✨ New Features
-84
View File
@@ -1,84 +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: cheesejaguar
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/maximhq/bifrost
APP="Bifrost"
var_tags="${var_tags:-ai;proxy}"
var_cpu="${var_cpu:-2}"
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 [[ ! -x /opt/bifrost/bifrost-http || ! -f /opt/bifrost_data/config.json ]]; then
msg_error "No Bifrost Installation Found!"
exit 1
fi
if check_for_gh_release "bifrost" "maximhq/bifrost" "${var_appversion:-}" "" "transports/v"; then
# Gateway binaries are published to the upstream CDN, not as GitHub assets.
BIFROST_URL="https://downloads.getmaxim.ai/bifrost/${CHECK_UPDATE_RELEASE##*/}/linux/$(arch_resolve)"
msg_info "Downloading Bifrost Gateway"
mkdir -p /opt/bifrost-update
chmod 700 /opt/bifrost-update
curl_with_retry "${BIFROST_URL}/bifrost-http" /opt/bifrost-update/bifrost-http
curl_with_retry "${BIFROST_URL}/bifrost-http.sha256" /opt/bifrost-update/bifrost-http.sha256
cd /opt/bifrost-update || exit 1
$STD sha256sum --check bifrost-http.sha256
msg_ok "Verified Bifrost Gateway"
msg_info "Stopping Bifrost"
systemctl stop bifrost
msg_ok "Stopped Bifrost"
BACKUP_DIR="/opt/bifrost-backup-$(date +%Y%m%d-%H%M%S)" create_backup /opt/bifrost_data /opt/bifrost/bifrost-http ~/.bifrost
msg_info "Installing Bifrost Gateway"
install -m 755 /opt/bifrost-update/bifrost-http /opt/bifrost/bifrost-http
cd /opt/bifrost || exit 1
rm -rf /opt/bifrost-update
msg_ok "Installed Bifrost Gateway"
msg_info "Starting Bifrost"
systemctl start bifrost
$STD curl --fail --silent --show-error --retry 30 --retry-connrefused --retry-delay 2 --retry-max-time 120 --max-time 5 http://127.0.0.1:8080/health
systemctl is-active --quiet bifrost
cat <<EOF >~/.bifrost
${CHECK_UPDATE_RELEASE}
EOF
msg_ok "Started Bifrost"
msg_ok "Updated Bifrost successfully!"
else
RELEASE_CHECK_STATUS=$?
if [[ "$RELEASE_CHECK_STATUS" -ne 1 ]]; then
exit "$RELEASE_CHECK_STATUS"
fi
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}"
echo -e "${INFO}${YW}Bifrost username: admin. Find BIFROST_ADMIN_PASSWORD in /opt/bifrost_data/.env inside the container.${CL}"
+1 -1
View File
@@ -9,7 +9,7 @@ source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_
APP="Cloudflare-DDNS"
var_tags="${var_tags:-network}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-1024}"
var_ram="${var_ram:-512}"
var_disk="${var_disk:-3}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
+2 -6
View File
@@ -40,7 +40,7 @@ function update_script() {
create_backup /opt/librechat/.env
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="librechat.yaml uploads client/public/images api/logs" fetch_and_deploy_gh_tag "librechat" "danny-avila/LibreChat"
CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "librechat" "danny-avila/LibreChat"
restore_backup
@@ -68,17 +68,13 @@ function update_script() {
create_backup /opt/rag-api/.env
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="uploads" fetch_and_deploy_gh_release "rag-api" "danny-avila/rag_api" "tarball"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "rag-api" "danny-avila/rag_api" "tarball"
restore_backup
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating RAG API Dependencies"
cd /opt/rag-api
$STD uv venv --python 3.12 --seed .venv
$STD .venv/bin/pip install -r requirements.lite.txt
mkdir -p /opt/rag-api/uploads
msg_ok "Updated RAG API Dependencies"
msg_info "Starting RAG API"
-76
View File
@@ -1,76 +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/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}"
-9
View File
@@ -30,15 +30,6 @@ function update_script() {
exit
fi
if ! grep -q '^APP_SECRET=' /opt/umami/.env 2>/dev/null; then
msg_info "Setting APP_SECRET"
# 3.5 dropped the DATABASE_URL fallback; the same value keeps logins and session IDs valid
DB_URL=$(sed -n 's/^DATABASE_URL=//p' /opt/umami/.env 2>/dev/null | head -n1)
echo "APP_SECRET=${DB_URL:-$(openssl rand -hex 32)}" >>/opt/umami/.env
systemctl restart umami
msg_ok "Set APP_SECRET"
fi
if check_for_gh_release "umami" "umami-software/umami"; then
msg_info "Stopping Service"
systemctl stop umami
-1
View File
@@ -41,7 +41,6 @@ function update_script() {
msg_info "Building Vane"
cd /opt/vane
export ONNXRUNTIME_NODE_INSTALL_CUDA=skip
$STD yarn install --frozen-lockfile --network-timeout 600000
$STD yarn build
$STD yarn cache clean
-93
View File
@@ -1,93 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: cheesejaguar
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/maximhq/bifrost
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
# Gateway binaries live on the upstream CDN; GitHub also releases unrelated SDKs and plugins.
if ! check_for_gh_release "bifrost" "maximhq/bifrost" "${var_appversion:-}" "" "transports/v"; then
msg_error "Could not select a Bifrost gateway release"
exit 1
fi
msg_info "Installing Bifrost Gateway"
BIFROST_URL="https://downloads.getmaxim.ai/bifrost/${CHECK_UPDATE_RELEASE##*/}/linux/$(arch_resolve)"
mkdir -p /opt/bifrost /opt/bifrost-update
chmod 700 /opt/bifrost-update
curl_with_retry "${BIFROST_URL}/bifrost-http" /opt/bifrost-update/bifrost-http
curl_with_retry "${BIFROST_URL}/bifrost-http.sha256" /opt/bifrost-update/bifrost-http.sha256
cd /opt/bifrost-update || exit 1
$STD sha256sum --check bifrost-http.sha256
install -m 755 /opt/bifrost-update/bifrost-http /opt/bifrost/bifrost-http
cd /opt/bifrost || exit 1
rm -rf /opt/bifrost-update
msg_ok "Installed Bifrost Gateway"
msg_info "Configuring Bifrost"
mkdir -p /opt/bifrost_data
chmod 700 /opt/bifrost_data
cat <<EOF >/opt/bifrost_data/.env
BIFROST_ADMIN_PASSWORD=$(random_password 32)
BIFROST_ENCRYPTION_KEY=$(random_password 64)
BIFROST_SETUP_TOKEN=$(random_password 32)
EOF
cat <<'EOF' >/opt/bifrost_data/config.json
{
"encryption_key": "env.BIFROST_ENCRYPTION_KEY",
"setup_token": "env.BIFROST_SETUP_TOKEN",
"client": {
"enforce_auth_on_inference": true
},
"governance": {
"auth_config": {
"admin_username": "admin",
"admin_password": "env.BIFROST_ADMIN_PASSWORD",
"is_enabled": true
}
}
}
EOF
chmod 600 /opt/bifrost_data/.env /opt/bifrost_data/config.json
msg_ok "Configured Bifrost"
msg_info "Creating Bifrost Service"
cat <<EOF >/etc/systemd/system/bifrost.service
[Unit]
Description=Bifrost AI Gateway
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/bifrost_data
EnvironmentFile=/opt/bifrost_data/.env
UMask=0077
ExecStart=/opt/bifrost/bifrost-http -host 0.0.0.0 -port 8080 -app-dir /opt/bifrost_data
Restart=on-failure
RestartSec=5
TimeoutStopSec=60
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now bifrost
$STD curl --fail --silent --show-error --retry 30 --retry-connrefused --retry-delay 2 --retry-max-time 120 --max-time 5 http://127.0.0.1:8080/health
systemctl is-active --quiet bifrost
cat <<EOF >~/.bifrost
${CHECK_UPDATE_RELEASE}
EOF
msg_ok "Created Bifrost Service"
motd_ssh
customize
cleanup_lxc
-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/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
+1 -4
View File
@@ -13,18 +13,15 @@ setting_up_container
network_check
update_os
NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
PG_VERSION="17" setup_postgresql
PG_DB_NAME="umamidb" PG_DB_USER="umami" setup_postgresql_db
fetch_and_deploy_gh_release "umami" "umami-software/umami" "tarball"
PNPM_VERSION=$(jq -r '.engines.pnpm // "latest"' /opt/umami/package.json)
NODE_VERSION="22" NODE_MODULE="pnpm@${PNPM_VERSION}" setup_nodejs
msg_info "Configuring Umami"
cd /opt/umami
$STD pnpm install
echo -e "DATABASE_URL=postgresql://$PG_DB_USER:$PG_DB_PASS@localhost:5432/$PG_DB_NAME" >>/opt/umami/.env
echo "APP_SECRET=$(openssl rand -hex 32)" >>/opt/umami/.env
$STD pnpm run build
msg_ok "Configured Umami"
+1 -1
View File
@@ -74,7 +74,7 @@ msg_ok "Found UniFi OS Server ${UOS_VERSION}"
msg_info "Downloading UniFi OS Server installer"
mkdir -p /usr/local/sbin
curl_download /usr/local/sbin/unifi-os-server.bin "$UOS_URL"
curl -fsSL "$UOS_URL" -o /usr/local/sbin/unifi-os-server.bin
chmod +x /usr/local/sbin/unifi-os-server.bin
msg_ok "Downloaded UniFi OS Server installer"
-1
View File
@@ -53,7 +53,6 @@ fetch_and_deploy_gh_release "vane" "ItzCrazyKns/Vane" "tarball"
msg_info "Building Vane"
cd /opt/vane
export ONNXRUNTIME_NODE_INSTALL_CUDA=skip
$STD yarn install --frozen-lockfile --network-timeout 600000
$STD yarn build
$STD yarn cache clean