Compare commits

...
Author SHA1 Message Date
community-scripts-pr-app[bot]andgithub-actions[bot] cb0221123f Update CHANGELOG.md (#19003)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 11:38:59 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] f29ab483ab Update CHANGELOG.md (#19002)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 11:38:23 +00:00
CanbiZ (MickLesk) 1435e91468 Immich: bump to v3.4.2 | Node 26 (#18939)
* Immich: bump to v3.4.2

v3.4.2 pins the FUTO restic image by version tag (0.19.1-futo.2) instead
of sha-<commit>, so the commit is now read from the image's revision
label on ghcr.io, using the digest the Dockerfile pins. The sha- form
still works.

* Update Node.js version from 24 to 26

* Update Node.js version from 24 to 26 in install script
2026-11-23 12:38:09 +01:00
CanbiZ (MickLesk) 86634178c7 SoulSync: install Deno and the yt-dlp challenge solver (#18899)
* SoulSync: install Deno and the yt-dlp challenge solver

yt-dlp needs a JavaScript runtime and the yt-dlp-ejs scripts to solve
YouTube's challenges; without them the web clients SoulSync uses with
cookies, and for its retries, return no audio formats. SoulSync's own
image bundles Deno and installs yt-dlp[default]; do the same here.
Existing installs get both on their next update.

* remove empty line

Removed the Deno installation step from the script.
2026-11-23 12:37:45 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 84c42e52df Update CHANGELOG.md (#19001)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 11:26:23 +00:00
push-app-to-main[bot] 9263abde4f Add usesend (ct) (#18969)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-11-23 12:25:49 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] ffd23fd306 Update CHANGELOG.md (#19000)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 09:38:17 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 6a2b28c82b Update CHANGELOG.md (#18999)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 09:37:47 +00:00
push-app-to-main[bot] 72233073cb Add soulbeet (ct) (#18944)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-11-23 10:37:32 +01:00
push-app-to-main[bot] ef8b99612a Add budibase (ct) (#18968)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-11-23 10:37:14 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 71212640a4 Update CHANGELOG.md (#18998)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 09:10:58 +00:00
push-app-to-main[bot] 8e4a0f795b Add jumpserver (ct) (#18947)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-11-23 10:10:25 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 093c6578b4 Update CHANGELOG.md (#18997)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 09:07:50 +00:00
CanbiZ (MickLesk) d0a904d75a Authentik, DietPi, Orb: use the engine's host-side helpers instead of pct (#18949)
After build_container these scripts called pct directly, which an Incus
host does not have. They now use ct_attach_volume, ct_exec, ct_restart
and ct_exec_hint. Needs core feat/ct-host-helpers.
2026-11-23 10:07:18 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 7128ddf9a9 Update CHANGELOG.md (#18996)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 09:05:14 +00:00
CanbiZ (MickLesk) b07399fdff UrBackup Server, Paperless-ngx: no pct calls in the ct script (#18950)
UrBackup set fuse and nesting with pct after the build and rebooted;
var_fuse does that at creation, on Proxmox and Incus alike. Paperless-ngx
names the snapshot command for both platforms.
2026-11-23 10:04:38 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] d16c207889 Update CHANGELOG.md (#18994)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 08:56:20 +00:00
Martin 3956a3b850 DietPi: no console autologin, write the pre-login banner (#18954)
DietPi runs its first run setup from the first interactive login. With
the engine's autologin on tty1 it started by itself on the web console,
and anyone coming in over pct console, SSH or the second console only
saw "first run setup is currently running on another screen". Since
DietPi v10.9 the login prompt shows the default credentials, so remove
both getty overrides that customize writes instead of moving one of them
to container-getty@1.

DietPi's installer skips the banner on its master branch (temporary
guard since 17 Nov 2026), so write it here with dietpi-banner issue.
2026-11-23 09:55:47 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 6495ce63f9 Update CHANGELOG.md (#18993)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 08:46:01 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 2f40b95361 Update CHANGELOG.md (#18992)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 08:45:34 +00:00
github-actions[bot]andCanbiZ 1fbb751d71 ideon: bump Node.js from 24 to 26 (#18958)
* ideon: bump Node.js from 24 to 26

* Add NODE_VERSION setup for Ideon script

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-11-23 09:45:24 +01:00
CanbiZ (MickLesk) f6a6f0bd81 Run the install's setup_nodejs in the update of 86 scripts (#18981)
Their update builds or runs the app with Node but never set Node up, so
a NODE_VERSION bump in install/ (as the drift PRs make) reached new
containers only. The call sits at the top of the release block, so a new
Node major always comes with the rebuild after it.
2026-11-23 09:44:58 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 50f9c7f024 Update CHANGELOG.md (#18991)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 08:23:54 +00:00
106 changed files with 1600 additions and 47 deletions

No files matched your search

+20 -2
View File
@@ -591,9 +591,13 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
### 🆕 New Scripts
- FreeScout [@MickLesk](https://github.com/MickLesk) ([#18930](https://github.com/community-scripts/ProxmoxVE/pull/18930))
- Anubis [@opastorello](https://github.com/opastorello) ([#18926](https://github.com/community-scripts/ProxmoxVE/pull/18926))
- useSend [@MickLesk](https://github.com/MickLesk) ([#18969](https://github.com/community-scripts/ProxmoxVE/pull/18969))
- OpenViking [@mfelipe](https://github.com/mfelipe) ([#18979](https://github.com/community-scripts/ProxmoxVE/pull/18979))
- Soulbeet [@MickLesk](https://github.com/MickLesk) ([#18944](https://github.com/community-scripts/ProxmoxVE/pull/18944))
- Budibase [@MickLesk](https://github.com/MickLesk) ([#18968](https://github.com/community-scripts/ProxmoxVE/pull/18968))
- JumpServer [@opastorello](https://github.com/opastorello) ([#18947](https://github.com/community-scripts/ProxmoxVE/pull/18947))
- FreeScout [@MickLesk](https://github.com/MickLesk) ([#18930](https://github.com/community-scripts/ProxmoxVE/pull/18930))
- Anubis [@opastorello](https://github.com/opastorello) ([#18926](https://github.com/community-scripts/ProxmoxVE/pull/18926))
- Oracle Linux [@MickLesk](https://github.com/MickLesk) ([#18945](https://github.com/community-scripts/ProxmoxVE/pull/18945))
- Kali Linux [@MickLesk](https://github.com/MickLesk) ([#18946](https://github.com/community-scripts/ProxmoxVE/pull/18946))
- Linux Mint [@MickLesk](https://github.com/MickLesk) ([#18948](https://github.com/community-scripts/ProxmoxVE/pull/18948))
@@ -602,11 +606,25 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- #### 🐞 Bug Fixes
- DietPi: no console autologin, write the pre-login banner [@mews-se](https://github.com/mews-se) ([#18954](https://github.com/community-scripts/ProxmoxVE/pull/18954))
- ideon: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18958](https://github.com/community-scripts/ProxmoxVE/pull/18958))
- directus: bump Node.js from 22 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18987](https://github.com/community-scripts/ProxmoxVE/pull/18987))
- portabase: bump Node.js from 22 to 24 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18988](https://github.com/community-scripts/ProxmoxVE/pull/18988))
- t3code: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18959](https://github.com/community-scripts/ProxmoxVE/pull/18959))
- airconnect: fix disabled service restart, static binary cleanup, and flag overrides [@cwmoriarty](https://github.com/cwmoriarty) ([#18955](https://github.com/community-scripts/ProxmoxVE/pull/18955))
- bulwark: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18957](https://github.com/community-scripts/ProxmoxVE/pull/18957))
- #### ✨ New Features
- Immich: bump to v3.4.2 | Node 26 [@MickLesk](https://github.com/MickLesk) ([#18939](https://github.com/community-scripts/ProxmoxVE/pull/18939))
- SoulSync: install Deno and the yt-dlp challenge solver [@MickLesk](https://github.com/MickLesk) ([#18899](https://github.com/community-scripts/ProxmoxVE/pull/18899))
- Authentik, DietPi, Orb: use the engine's host-side helpers instead of pct [@MickLesk](https://github.com/MickLesk) ([#18949](https://github.com/community-scripts/ProxmoxVE/pull/18949))
- UrBackup Server, Paperless-ngx: no pct calls in the ct script [@MickLesk](https://github.com/MickLesk) ([#18950](https://github.com/community-scripts/ProxmoxVE/pull/18950))
- #### 🔧 Refactor
- several scripts: run the install's setup_nodejs in the update of 86 scripts [@MickLesk](https://github.com/MickLesk) ([#18981](https://github.com/community-scripts/ProxmoxVE/pull/18981))
### 🧰 Tools
- wg-easy ([#18972](https://github.com/community-scripts/ProxmoxVE/pull/18972))
+2
View File
@@ -31,6 +31,8 @@ function update_script() {
fi
ensure_dependencies memcached libmemcached-tools
if check_for_gh_release "adventurelog" "seanmorley15/adventurelog"; then
NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
msg_info "Stopping Services"
systemctl stop adventurelog-backend
systemctl stop adventurelog-frontend
+2
View File
@@ -33,6 +33,8 @@ function update_script() {
RELEASE="v0.27.3"
if check_for_gh_release "affine_app" "toeverything/AFFiNE" "${RELEASE}" "each release is tested individually before the version is updated. Please do not open issues for this"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Services"
systemctl stop affine-web affine-worker
msg_ok "Stopped Services"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "airtrail" "johanohly/AirTrail"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop airtrail
msg_ok "Stopped Service"
+2
View File
@@ -36,6 +36,8 @@ function update_script() {
fi
if check_for_gh_release "anythingllm" "Mintplex-Labs/anything-llm"; then
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
msg_info "Stopping Services"
systemctl stop anythingllm anythingllm-collector
msg_ok "Stopped Services"
+3 -15
View File
@@ -213,20 +213,8 @@ start
build_container
msg_info "Attaching data storage volume"
$STD pct stop "$CTID"
if [ "${PROTECT_CT:-}" == "1" ] || [ "${PROTECT_CT:-}" == "yes" ]; then
$STD pct set "$CTID" --protection 0
$STD pct set "$CTID" -mp0 "${CONTAINER_STORAGE}":1,mp=/opt/authentik-data,backup=1
$STD pct set "$CTID" --protection 1
else
$STD pct set "$CTID" -mp0 "${CONTAINER_STORAGE}":1,mp=/opt/authentik-data,backup=1
fi
$STD pct start "$CTID"
for i in {1..10}; do
pct status "$CTID" | grep -q "status: running" && break
sleep 1
done
$STD pct exec "$CTID" -- bash -c "mkdir -p /opt/authentik-data/{certs,media,geoip,templates}; \
ct_attach_volume 1 /opt/authentik-data
$STD ct_exec bash -c "mkdir -p /opt/authentik-data/{certs,media,geoip,templates}; \
cp /opt/authentik/tests/geoip/GeoLite2-ASN-Test.mmdb /opt/authentik-data/geoip/GeoLite2-ASN.mmdb; \
cp /opt/authentik/tests/geoip/GeoLite2-City-Test.mmdb /opt/authentik-data/geoip/GeoLite2-City.mmdb; \
cp -r /opt/authentik/blueprints /opt/authentik-data/; \
@@ -235,7 +223,7 @@ $STD pct exec "$CTID" -- bash -c "mkdir -p /opt/authentik-data/{certs,media,geoi
msg_ok "Attached data storage volume"
msg_info "Starting Services"
pct exec "$CTID" -- systemctl enable -q --now authentik-server authentik-worker
ct_exec systemctl enable -q --now authentik-server authentik-worker
msg_ok "Started Services"
description
+2
View File
@@ -34,6 +34,8 @@ function update_script() {
ensure_dependencies ffmpeg
if check_for_gh_release "bambuddy" "maziggy/bambuddy"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop bambuddy
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "baserow" "baserow/baserow"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Services"
systemctl stop baserow-backend baserow-celery baserow-celery-beat baserow-celery-export baserow-frontend
msg_ok "Stopped Services"
+2
View File
@@ -33,6 +33,8 @@ function update_script() {
local changed=0
if check_for_gh_release "borg-ui" "karanhudia/borg-ui"; then
NODE_VERSION="22" setup_nodejs
changed=1
msg_info "Stopping Service"
systemctl stop borg-ui
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "budget-board" "teelur/budget-board"; then
NODE_VERSION=25 setup_nodejs
msg_info "Stopping Service"
systemctl stop budget-board
msg_ok "Stopped Service"
+78
View File
@@ -0,0 +1,78 @@
#!/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/Budibase/budibase
APP="Budibase"
var_tags="${var_tags:-low-code;apps;automation}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-6144}"
var_disk="${var_disk:-16}"
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}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/budibase ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
[[ -f ~/.silo ]] && mv ~/.silo ~/.silo_s3
if check_for_gh_release "silo_s3" "pgsty/silo"; then
msg_info "Stopping Budibase Silo"
systemctl stop budibase-silo
msg_ok "Stopped Budibase Silo"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "silo_s3" "pgsty/silo" "prebuild" "latest" "/opt/silo" "silo_*_linux_$(arch_resolve).tar.gz"
msg_info "Starting Budibase Silo"
systemctl start budibase-silo
msg_ok "Started Budibase Silo"
fi
if check_for_gh_release "budibase" "Budibase/budibase"; then
msg_info "Stopping Budibase"
systemctl stop budibase-server budibase-worker budibase-sqs
msg_ok "Stopped Budibase"
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "budibase" "Budibase/budibase" "tarball"
msg_info "Building Budibase"
cd /opt/budibase
$STD yarn install --frozen-lockfile
CI=true $STD yarn build:apps
$STD yarn cache clean
sed -i "s/^BUDIBASE_VERSION=.*/BUDIBASE_VERSION=$(cat ~/.budibase)/" /opt/budibase_data/.env
msg_ok "Built Budibase"
msg_info "Starting Budibase"
systemctl start budibase-sqs budibase-worker budibase-server
msg_ok "Started Budibase"
msg_ok "Updated Budibase 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
@@ -31,6 +31,8 @@ function update_script() {
exit
fi
if check_for_gh_release "bytestash" "jordan-dalby/ByteStash"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Services"
systemctl stop bytestash-backend bytestash-frontend
msg_ok "Services Stopped"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "checkmate" "bluewave-labs/Checkmate"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Services"
systemctl stop checkmate-server checkmate-client nginx
msg_ok "Stopped Services"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "colanode" "colanode/colanode"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Services"
systemctl stop colanode-server
msg_ok "Stopped Services"
+2
View File
@@ -31,6 +31,8 @@ function update_script() {
exit
fi
if check_for_gh_release "ConvertX" "C4illin/ConvertX"; then
NODE_VERSION="22" NODE_MODULE="bun" setup_nodejs
msg_info "Stopping Service"
systemctl stop convertx
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "convex" "get-convex/convex-backend"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Convex"
systemctl stop convex
msg_ok "Stopped Convex"
+2
View File
@@ -33,6 +33,8 @@ function update_script() {
# Updates to 2026.10.0 finished without infra.js; run them again so it gets written
[[ -f /opt/cryptpad/config/infra.example.js && ! -f /opt/cryptpad/config/infra.js ]] && rm -f ~/.cryptpad
if check_for_gh_release "cryptpad" "cryptpad/cryptpad"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop cryptpad
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "cyberchef" "gchq/CyberChef"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Service"
systemctl stop caddy
msg_ok "Stopped Service"
+2
View File
@@ -48,6 +48,8 @@ function update_script() {
fi
if check_for_gh_release "dawarich" "Freika/dawarich"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Services"
systemctl stop dawarich-web dawarich-worker
msg_ok "Stopped Services"
+1 -5
View File
@@ -44,11 +44,7 @@ build_container
description
msg_info "Restarting ${APP} for DietPi's first boot"
if command -v pct &>/dev/null; then
pct reboot "$CTID"
else
incus restart "$CTID"
fi
ct_restart
msg_ok "Restarted ${APP}"
msg_ok "Completed successfully!"
+2
View File
@@ -69,6 +69,8 @@ function update_script() {
msg_ok "Built libvips"
fi
NODE_VERSION="24" setup_nodejs
msg_info "Updating Dependencies"
RUBY_TARGET=$(grep -A1 '^RUBY VERSION' /opt/discourse/Gemfile.lock | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -n1)
RUBY_VERSION="${RUBY_TARGET:-4.0.7}" RUBY_INSTALL_RAILS="false" setup_ruby
+2
View File
@@ -44,6 +44,8 @@ function update_script() {
fi
if check_for_gh_release "docuseal" "docusealco/docuseal"; then
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
msg_info "Stopping Services"
systemctl stop docuseal docuseal-sidekiq
msg_ok "Stopped Services"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_tag "drawdb" "drawdb-io/drawdb"; then
NODE_VERSION="20" setup_nodejs
CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "drawdb" "drawdb-io/drawdb" "latest" "/opt/drawdb"
msg_info "Rebuilding Frontend"
+2
View File
@@ -35,6 +35,8 @@ function update_script() {
SITE="$(ls /opt/frappe-bench/sites/*/site_config.json 2>/dev/null | head -1 | cut -d/ -f5)"
[[ -z "$SITE" ]] && SITE="site1.local"
NODE_VERSION="24" NODE_MODULE="yarn" setup_nodejs
msg_info "Stopping ERPNext service"
$STD supervisorctl stop all
msg_ok "Stopped ERPNext service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "etherpad-lite" "ether/etherpad"; then
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
msg_info "Stopping Service"
systemctl stop etherpad
msg_ok "Stopped Service"
+2
View File
@@ -34,6 +34,8 @@ function update_script() {
ensure_dependencies build-essential ccache
if check_for_gh_release "firecrawl" "firecrawl/firecrawl"; then
NODE_VERSION="22" NODE_MODULE="pnpm@11.4.0" setup_nodejs
msg_info "Stopping Services"
systemctl stop firecrawl firecrawl-playwright
msg_ok "Stopped Services"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "fireshare" "ShaneIsrael/fireshare"; then
NODE_VERSION=24 setup_nodejs
msg_info "Stopping Service"
systemctl stop fireshare
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "flame" "pawelmalak/flame"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop flame
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "foldergram" "foldergram/foldergram"; then
NODE_VERSION=25 NODE_MODULE="corepack" setup_nodejs
msg_info "Stopping Service"
systemctl stop foldergram
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "ghostfolio" "ghostfolio/ghostfolio"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Service"
systemctl stop ghostfolio
msg_ok "Stopped Service"
+2
View File
@@ -35,6 +35,8 @@ function update_script() {
fi
if check_for_gh_release "actions-runner" "actions/runner"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Service"
systemctl stop actions-runner
msg_ok "Stopped Service"
+2
View File
@@ -34,6 +34,8 @@ function update_script() {
ensure_dependencies git
if check_for_gh_release "grist" "gristlabs/grist-core"; then
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
msg_info "Stopping Service"
systemctl stop grist
msg_ok "Stopped Service"
+2
View File
@@ -78,6 +78,8 @@ EOF
fi
$STD runuser -l hermes -c 'systemctl --user daemon-reload && systemctl --user enable hermes-dashboard'
NODE_VERSION="22" setup_nodejs
msg_info "Updating Hermes Agent"
$STD setsid --wait runuser -l hermes -c '
set -a; source /etc/default/hermes; set +a
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "homelable" "Pouzor/homelable"; then
NODE_VERSION="20" setup_nodejs
msg_info "Stopping Service"
systemctl stop homelable
msg_ok "Stopped Service"
+2
View File
@@ -34,6 +34,8 @@ function update_script() {
$STD sudo -u postgres psql -c "ALTER ROLE ideon BYPASSRLS;"
if check_for_gh_release "ideon" "3xpyth0n/ideon"; then
NODE_VERSION="26" setup_nodejs
msg_info "Stopping Ideon"
systemctl stop ideon
msg_ok "Stopped Ideon"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "ignis" "Nystik-gh/ignis"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop ignis
msg_ok "Stopped Service"
+10 -3
View File
@@ -80,7 +80,7 @@ EOF
fi
cd /tmp
RELEASE="v3.4.1"
RELEASE="v3.4.2"
if [[ -f ~/.intel_version ]]; then
INTEL_SRC="https://raw.githubusercontent.com/immich-app/immich/${RELEASE}/machine-learning"
curl -fsSL "${INTEL_SRC}/scripts/install-intel-runtime.sh" -o ./intel-runtime 2>/dev/null ||
@@ -193,7 +193,7 @@ EOF
PNPM_VERSION="$(jq -r '.packageManager | split("@")[1] | split("+")[0]' ${SRC_DIR}/package.json)"
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
export CI=1
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
NODE_VERSION="26" NODE_MODULE="corepack" setup_nodejs
$STD corepack prepare "pnpm@${PNPM_VERSION}" --activate
export PATH="/root/.local/share/pnpm/bin:$PATH"
$STD pnpm config set --global dangerouslyAllowAllBuilds true
@@ -270,7 +270,14 @@ EOF
cp ./packages/plugin-core/manifest.json "$PLUGIN_DIR"
msg_ok "Updated Immich server, web, cli and plugins"
RESTIC_REF="$(grep -oP 'futo-org/restic:sha-\K[0-9a-f]+' "$SRC_DIR"/server/Dockerfile)"
RESTIC_REF="$(grep -oP 'futo-org/restic:sha-\K[0-9a-f]+' "$SRC_DIR"/server/Dockerfile)" || true
if [[ -z "$RESTIC_REF" ]]; then
RESTIC_DIGEST="$(grep -oP 'futo-org/restic:[^@]+@\Ksha256:[0-9a-f]+' "$SRC_DIR"/server/Dockerfile)"
GHCR_TOKEN="$(curl -fsSL 'https://ghcr.io/token?scope=repository:futo-org/restic:pull' | jq -r .token)"
RESTIC_MANIFEST="$(curl -fsSL -H "Authorization: Bearer ${GHCR_TOKEN}" -H 'Accept: application/vnd.oci.image.index.v1+json' "https://ghcr.io/v2/futo-org/restic/manifests/${RESTIC_DIGEST}" | jq -r '[.manifests[] | select(.platform.os == "linux")][0].digest')"
RESTIC_CONFIG="$(curl -fsSL -H "Authorization: Bearer ${GHCR_TOKEN}" -H 'Accept: application/vnd.oci.image.manifest.v1+json' "https://ghcr.io/v2/futo-org/restic/manifests/${RESTIC_MANIFEST}" | jq -r .config.digest)"
RESTIC_REF="$(curl -fsSL -H "Authorization: Bearer ${GHCR_TOKEN}" "https://ghcr.io/v2/futo-org/restic/blobs/${RESTIC_CONFIG}" | jq -r '.config.Labels["org.opencontainers.image.revision"] // empty')"
fi
RESTIC_PROXY_REF="$(grep -oP 'futo-org/backups/restic-proxy:\K[^@]+' "$SRC_DIR"/server/Dockerfile)"
if [[ "$(cat ~/.immich_restic 2>/dev/null)" != "${RESTIC_REF} ${RESTIC_PROXY_REF}" || ! -x /usr/local/bin/restic ]]; then
FUTO_DIR=/opt/staging/futo
+2
View File
@@ -51,6 +51,8 @@ function update_script() {
fi
if check_for_gh_release "immichframe" "immichFrame/ImmichFrame"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop immichframe
msg_ok "Stopped Service"
+2
View File
@@ -40,6 +40,8 @@ EOF
fi
if check_for_gh_release "invoiceshelf" "InvoiceShelf/InvoiceShelf"; then
NODE_VERSION="24" NODE_MODULE="corepack,pnpm" setup_nodejs
msg_info "Stopping Services"
systemctl stop caddy
msg_ok "Stopped Services"
+166
View File
@@ -0,0 +1,166 @@
#!/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: Nícolas Pastorello (opastorello)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://www.jumpserver.org/ | Github: https://github.com/jumpserver/jumpserver
APP="JumpServer"
var_tags="${var_tags:-bastion-host;pam}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-8192}"
var_disk="${var_disk:-50}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}"
#var_arm64="${var_arm64:-no}" # unset = ask the user; every component builds from source with arm64-capable toolchains, but the stack has only been run on amd64
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/jumpserver ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_tag "guacd" "apache/guacamole-server"; then
msg_info "Stopping guacd"
systemctl stop guacd
msg_ok "Stopped guacd"
CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "guacd" "apache/guacamole-server"
msg_info "Building guacd"
cd /opt/guacd
$STD autoreconf -fi
# FreeRDP 3.6+ deprecates APIs guacd still calls, which -Werror turns into build failures
$STD ./configure --with-systemd-dir=/etc/systemd/system --disable-guacenc CFLAGS="-O2 -Wno-error=deprecated-declarations"
$STD make -j"$(nproc)"
$STD make install
$STD ldconfig
systemctl daemon-reload
systemctl start guacd
msg_ok "Built guacd"
fi
if check_for_gh_release "jumpserver" "jumpserver/jumpserver" "" "" "v5."; then
msg_info "Stopping Services"
systemctl stop jumpserver koko
msg_ok "Stopped Services"
create_backup /opt/jumpserver/config.yml /opt/jumpserver/data /opt/koko/config.yml /opt/koko/data
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "jumpserver" "jumpserver/jumpserver" "tarball" "latest" "" "" "v5."
JMS_TAG="v$(<~/.jumpserver)"
github_api_call "https://api.github.com/repos/jumpserver/jumpserver/contents/apps/accounts/clients?ref=${JMS_TAG}" /tmp/jms-clients.json
fetch_and_deploy_from_url "https://github.com/jumpserver/pam-clients/archive/$(jq -r .sha /tmp/jms-clients.json).tar.gz" /opt/jumpserver/apps/accounts/clients
rm -f /tmp/jms-clients.json
CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "koko" "jumpserver/koko" "$JMS_TAG"
restore_backup
msg_info "Updating Python Environment"
cd /opt/jumpserver
$STD bash requirements/static_files.sh
$STD uv venv --python 3.14
$STD uv pip install -r pyproject.toml
JMS_GALAXY_RETRIES=3
until ANSIBLE_COLLECTIONS_PATHS="/opt/jumpserver/.venv/lib/python3.14/site-packages/ansible_collections" $STD .venv/bin/ansible-galaxy collection install -r requirements/collections.yml --force --ignore-certs; do
JMS_GALAXY_RETRIES=$((JMS_GALAXY_RETRIES - 1))
if ((JMS_GALAXY_RETRIES <= 0)); then
msg_error "ansible-galaxy collection install failed after 3 attempts (Ansible Galaxy may be unreachable)"
exit 1
fi
sleep 15
done
cd /opt/jumpserver/apps
$STD ../.venv/bin/python3 manage.py compilemessages
msg_ok "Updated Python Environment"
GHOSTTY_COMMIT=$(grep -oP 'libghostty-vt:ghostty-\K[0-9a-f]+' /opt/koko/Dockerfile-base)
ZIG_VERSION=$(grep -oP 'libghostty-vt:ghostty-[0-9a-f]+-zig-\K[0-9.]+' /opt/koko/Dockerfile-base)
USQL_VERSION=$(grep -oP 'ARG USQL_VERSION=\K\S+' /opt/koko/Dockerfile-base)
K8S_BUNDLE_VERSION=$(grep -oP 'ARG K8S_BUNDLE_VERSION=\K\S+' /opt/koko/Dockerfile-base)
GO_VERSION=$(grep -oP '^go \K\S+' /opt/koko/go.mod) setup_go
if [[ "$(cat ~/.libghostty-vt 2>/dev/null)" != "$GHOSTTY_COMMIT" ]]; then
fetch_and_deploy_from_url "https://ziglang.org/download/${ZIG_VERSION}/zig-$(arch_resolve x86_64 aarch64)-linux-${ZIG_VERSION}.tar.xz" "/opt/zig"
fetch_and_deploy_from_url "https://github.com/ghostty-org/ghostty/archive/${GHOSTTY_COMMIT}.tar.gz" "/opt/ghostty"
msg_info "Building libghostty-vt"
rm -rf /opt/libghostty-vt
cd /opt/ghostty
$STD /opt/zig/zig build -Demit-lib-vt -Doptimize=ReleaseFast -Dcpu=baseline --prefix /opt/libghostty-vt
rm -rf /opt/ghostty /opt/zig ~/.cache/zig
echo "$GHOSTTY_COMMIT" >~/.libghostty-vt
msg_ok "Built libghostty-vt"
fi
msg_info "Building KoKo"
cd /opt/koko
export PKG_CONFIG_PATH=/opt/libghostty-vt/share/pkgconfig
$STD make build VERSION="$JMS_TAG"
mv build/koko koko
rm -rf build
msg_ok "Built KoKo"
fetch_and_deploy_gh_release "usql" "jumpserver-dev/usql" "prebuild" "$USQL_VERSION" "/opt/usql" "usql-*-linux-$(arch_resolve amd64 arm64).tar.gz"
fetch_and_deploy_gh_release "k8s-bundle" "jumpserver-dev/k8s-bundle" "binary" "$K8S_BUNDLE_VERSION" "" "k8s-bundle_$(arch_resolve amd64 arm64).deb"
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
# Lina and Luna sources are deleted after each build, so their version
# markers must not let the fetch be skipped
rm -f ~/.lina ~/.luna
CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "lina" "jumpserver/lina" "$JMS_TAG" "/opt/lina-src"
msg_info "Building Lina"
cd /opt/lina-src
$STD yarn install --immutable
$STD yarn build:prod
rm -rf /opt/lina
mv lina /opt/lina
rm -rf /opt/lina-src
msg_ok "Built Lina"
CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "luna" "jumpserver/luna" "$JMS_TAG" "/opt/luna-src"
msg_info "Building Luna"
cd /opt/luna-src
# NUXT_TELEMETRY_DISABLED stops nuxt generate from waiting on a consent prompt
export ELECTRON_SKIP_BINARY_DOWNLOAD=1 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=0 NUXT_TELEMETRY_DISABLED=1
$STD pnpm --filter jumpserver-web... install --frozen-lockfile --config.node-linker=isolated
$STD pnpm --config.node-linker=isolated --filter jumpserver-web web:generate
rm -rf /opt/luna
mv .output/public /opt/luna
rm -rf /opt/luna-src
msg_ok "Built Luna"
msg_info "Starting Services"
systemctl start jumpserver koko
msg_ok "Started Services"
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}"
echo -e "${INFO}${YW}SSH bastion (character protocols): ${CL}${BGN}ssh -p 2222 <user>@${IP}${CL}"
echo -e "${INFO}${YW}Login credentials: ~/jumpserver.creds (inside the container)${CL}"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "koel" "koel/koel"; then
NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs
msg_info "Stopping Services"
systemctl stop nginx php8.4-fpm
msg_ok "Stopped Services"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "kutt" "thedevs-network/kutt"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping services"
systemctl stop kutt
msg_ok "Stopped services"
+2
View File
@@ -35,6 +35,8 @@ function update_script() {
fi
if check_for_gh_release "langflow" "langflow-ai/langflow"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Langflow"
systemctl stop langflow
msg_ok "Stopped Langflow"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_tag "librechat" "danny-avila/LibreChat" "v"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Services"
systemctl stop librechat rag-api
msg_ok "Stopped Services"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "lingarr" "lingarr-translate/lingarr"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Service"
systemctl stop lingarr
msg_ok "Stopped Service"
+2
View File
@@ -42,6 +42,8 @@ function update_script() {
fi
if check_for_gh_release "linkding" "sissbruecker/linkding"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Services"
systemctl stop nginx linkding linkding-tasks
msg_ok "Stopped Services"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "lobehub" "lobehub/lobehub"; then
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
msg_info "Stopping Services"
systemctl stop lobehub
msg_ok "Stopped Services"
+2
View File
@@ -33,6 +33,8 @@ function update_script() {
fi
if check_for_gh_release "localagi" "mudler/LocalAGI"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Service"
systemctl stop localagi
msg_ok "Stopped Service"
+2
View File
@@ -30,6 +30,8 @@ function update_script() {
exit
fi
if check_for_gh_release "mafl" "hywax/mafl"; then
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
msg_info "Stopping Mafl service"
systemctl stop mafl
msg_ok "Service stopped"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "mastodon" "mastodon/mastodon"; then
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
msg_info "Stopping Services"
systemctl stop mastodon-web mastodon-sidekiq mastodon-streaming
msg_ok "Stopped Services"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "matter-hub" "RiDDiX/home-assistant-matter-hub"; then
NODE_VERSION="24" NODE_MODULE="pnpm@^10" setup_nodejs
msg_info "Stopping Service"
systemctl stop matter-hub
msg_ok "Stopped Service"
+2
View File
@@ -31,6 +31,8 @@ function update_script() {
fi
if check_for_gh_release "mediamanager" "maxdorninger/MediaManager"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Service"
systemctl stop mediamanager
msg_ok "Stopped Service"
+2
View File
@@ -30,6 +30,8 @@ function update_script() {
if [[ -d /opt/meilisearch-ui ]]; then
if check_for_gh_release "meilisearch-ui" "riccox/meilisearch-ui"; then
NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
msg_info "Stopping Meilisearch-UI"
systemctl stop meilisearch-ui
msg_ok "Stopped Meilisearch-UI"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "mini-qr" "lyqht/mini-qr"; then
NODE_VERSION="20" setup_nodejs
msg_info "Stopping Service"
systemctl stop caddy
msg_ok "Stopped Service"
+2
View File
@@ -30,6 +30,8 @@ function update_script() {
exit
fi
if check_for_gh_release "myspeed" "gnmyt/myspeed"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop myspeed
msg_ok "Stopped Service"
+2
View File
@@ -33,6 +33,8 @@ function update_script() {
fi
if check_for_gh_release "neko" "m1k1o/neko"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop neko
msg_ok "Stopped Service"
+2
View File
@@ -31,6 +31,8 @@ function update_script() {
fi
if check_for_gh_release "nightscout" "nightscout/cgm-remote-monitor"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop nightscout
msg_ok "Stopped Service"
+2
View File
@@ -33,6 +33,8 @@ function update_script() {
exit
fi
if check_for_gh_release "nodebb" "NodeBB/NodeBB"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop nodebb
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "nodecast-tv" "technomancer702/nodecast-tv"; then
NODE_VERSION="20" setup_nodejs
msg_info "Stopping Service"
systemctl stop nodecast-tv
msg_ok "Stopped Service"
+2
View File
@@ -33,6 +33,8 @@ function update_script() {
setup_meilisearch
if check_for_gh_release "openarchiver" "LogicLabs-OU/OpenArchiver"; then
NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs
msg_info "Stopping Services"
systemctl stop openarchiver
msg_ok "Stopped Services"
+2
View File
@@ -34,6 +34,8 @@ function update_script() {
fi
if check_for_gh_release "openthread-br" "openthread/ot-br-posix"; then
setup_nodejs
msg_info "Stopping Services"
systemctl stop otbr-web
systemctl stop otbr-agent
+1 -1
View File
@@ -45,4 +45,4 @@ description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${TAB}${GATEWAY}${BGN}To link the sensor to your orb account run:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}pct exec ${CTID} -- runuser -u orb -- orb link${CL}"
echo -e "${TAB}${GATEWAY}${BGN}$(ct_exec_hint runuser -u orb -- orb link)${CL}"
+2
View File
@@ -30,6 +30,8 @@ function update_script() {
exit
fi
if check_for_gh_release "pairdrop" "schlagmichdoch/PairDrop"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop pairdrop
msg_ok "Stopped Service"
+2
View File
@@ -34,6 +34,8 @@ function update_script() {
fi
if check_for_gh_release "paperclip-ai" "paperclipai/paperclip"; then
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
msg_info "Stopping Service"
systemctl stop paperclip
msg_ok "Stopped Service"
+3 -4
View File
@@ -228,10 +228,9 @@ EOF
else
BRIDGE_UPDATE=1
msg_warn "You are about to migrate your Paperless-ngx installation to uv!"
msg_custom "🔒" "It is strongly recommended to take a Proxmox snapshot first:"
echo -e " 1. Stop the container: pct stop <CTID>"
echo -e " 2. Create a snapshot: pct snapshot <CTID> pre-paperless-uv-migration"
echo -e " 3. Start the container again\n"
msg_custom "🔒" "It is strongly recommended to take a snapshot on the host first:"
echo -e " Proxmox: pct snapshot <CTID> pre-paperless-uv-migration"
echo -e " Incus: incus snapshot create <name> pre-paperless-uv-migration\n"
read -rp "Have you created a snapshot? [y/N]: " confirm
if [[ ! "$confirm" =~ ^([yY]|[yY][eE][sS])$ ]]; then
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "passwordpusher" "pglombardo/PasswordPusher"; then
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
msg_info "Stopping Service"
systemctl stop passwordpusher
msg_ok "Stopped Service"
+2
View File
@@ -33,6 +33,8 @@ function update_script() {
fi
if check_for_gh_release "peertube" "Chocobozzz/PeerTube"; then
NODE_VERSION="22" NODE_MODULE="pnpm@^10" setup_nodejs
msg_info "Stopping Service"
systemctl stop peertube
msg_ok "Stopped Service"
+2
View File
@@ -33,6 +33,8 @@ function update_script() {
fi
if check_for_gh_release "pinchflat" "TheBadFella/Pinchflat-NGX"; then
NODE_VERSION="24" NODE_MODULE="yarn" setup_nodejs
msg_info "Stopping Service"
systemctl stop pinchflat
msg_ok "Stopped Service"
+2
View File
@@ -33,6 +33,8 @@ function update_script() {
fi
if check_for_gh_release "postiz" "gitroomhq/postiz-app"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Services"
systemctl stop postiz-orchestrator postiz-frontend postiz-backend
msg_ok "Stopped Services"
+2
View File
@@ -54,6 +54,8 @@ EOF
fi
if check_for_gh_release "readmeabook" "kikootwo/ReadMeABook"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Service"
systemctl stop readmeabook
msg_ok "Stopped Service"
+2
View File
@@ -31,6 +31,8 @@ function update_script() {
fi
if check_for_gh_release "revealjs" "hakimel/reveal.js"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop revealjs
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "securo" "securo-finance/securo"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Services"
systemctl stop securo securo-worker securo-beat
msg_ok "Stopped Services"
+2
View File
@@ -31,6 +31,8 @@ function update_script() {
exit
fi
if check_for_gh_release "seelf" "YuukanOO/seelf"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop seelf
msg_ok "Stopped Service"
+2
View File
@@ -31,6 +31,8 @@ function update_script() {
exit
fi
setup_mariadb
NODE_VERSION="22" setup_nodejs
msg_info "Updating Shinobi"
cd /opt/Shinobi
$STD sh UPDATE.sh
+2
View File
@@ -33,6 +33,8 @@ function update_script() {
fi
if check_for_gh_release "simplelogin" "simple-login/app"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Services"
systemctl stop simplelogin-webapp simplelogin-email simplelogin-job
msg_ok "Stopped Services"
+2
View File
@@ -37,6 +37,8 @@ function update_script() {
check_for_gh_release "snapotter" "snapotter-hq/SnapOtter" && UPDATE_AVAILABLE=true
if [[ "$NEEDS_V2_MIGRATION" == true || "$UPDATE_AVAILABLE" == true ]]; then
NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs
msg_info "Stopping Service"
systemctl stop snapotter
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "solidtime" "solidtime-io/solidtime"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Services"
systemctl stop caddy
msg_ok "Stopped Services"
+73
View File
@@ -0,0 +1,73 @@
#!/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/terry90/soulbeet
APP="Soulbeet"
var_tags="${var_tags:-music;downloader;soulseek}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-3072}"
var_disk="${var_disk:-10}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
#var_arm64="${var_arm64:-yes}" # built from source, dx and every toolchain ship arm64, but not yet run on arm64
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/soulbeet ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "soulbeet" "terry90/soulbeet"; then
msg_info "Stopping Soulbeet"
systemctl stop soulbeet
msg_ok "Stopped Soulbeet"
NODE_VERSION="22" setup_nodejs
RUST_PROFILE="minimal" setup_rust
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "soulbeet" "terry90/soulbeet" "tarball"
fetch_and_deploy_gh_release "dioxus-cli" "DioxusLabs/dioxus" "prebuild" "v$(awk -F'"' '/^name = "dioxus"$/{getline; print $2}' /opt/soulbeet/Cargo.lock)" "/usr/local/bin" "dx-$(arch_resolve "x86_64" "aarch64")-unknown-linux-gnu.tar.gz"
msg_info "Updating beets"
UV_TOOL_BIN_DIR=/usr/local/bin $STD uv tool install --force --python 3.11 --constraints /opt/soulbeet/build/requirements-beets.txt beets --with requests --with musicbrainzngs
msg_ok "Updated beets"
msg_info "Building Soulbeet (Patience)"
cd /opt/soulbeet
rm -f package-lock.json
$STD npm install
$STD npx @tailwindcss/cli -i ./web/assets/input.css -o ./web/assets/tailwind.css
RUSTUP_AUTO_INSTALL=0 $STD dx bundle --package web --release
mv /opt/soulbeet/target/dx/web/release/web /opt/soulbeet/server
rm -rf /opt/soulbeet/target /opt/soulbeet/node_modules ~/.cargo/registry ~/.cargo/git ~/.npm
msg_ok "Built Soulbeet"
msg_info "Starting Soulbeet"
systemctl start soulbeet
msg_ok "Started Soulbeet"
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}:9765${CL}"
+9 -1
View File
@@ -32,6 +32,7 @@ function update_script() {
fi
NODE_VERSION="24" setup_nodejs
fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(arch_resolve "x86_64" "aarch64")-unknown-linux-gnu.zip"
if check_for_gh_release "soulsync" "Nezreka/SoulSync"; then
msg_info "Stopping Service"
@@ -47,7 +48,7 @@ function update_script() {
msg_info "Updating Python Dependencies"
cd /opt/soulsync
$STD uv venv --clear /opt/soulsync/.venv --python 3.11
$STD uv pip install -r requirements.txt
$STD uv pip install -r requirements.txt "yt-dlp[default]"
msg_ok "Updated Python Dependencies"
msg_info "Building WebUI"
@@ -61,6 +62,13 @@ function update_script() {
msg_ok "Started Service"
msg_ok "Updated ${APP}"
fi
if ! /opt/soulsync/.venv/bin/python -c "import yt_dlp_ejs" &>/dev/null; then
msg_info "Installing YouTube Challenge Solver"
$STD uv pip install "yt-dlp[default]" --python /opt/soulsync/.venv/bin/python
systemctl restart soulsync
msg_ok "Installed YouTube Challenge Solver"
fi
exit
}
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "split-pro" "oss-apps/split-pro"; then
NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs
msg_info "Stopping Service"
systemctl stop split-pro
msg_ok "Stopped Service"
+2
View File
@@ -39,6 +39,8 @@ function update_script() {
exit
fi
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
msg_info "Updating Storybook"
cd "$PROJECT_PATH"
$STD npx storybook@latest upgrade --yes
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "suggestarr" "giuseppe99barchetta/SuggestArr"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop suggestarr
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "super-productivity" "super-productivity/super-productivity"; then
NODE_VERSION="22" setup_nodejs
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "super-productivity" "super-productivity/super-productivity" "tarball"
msg_info "Building Web App"
+2
View File
@@ -34,6 +34,8 @@ function update_script() {
fi
if check_for_gh_release "tasmocompiler" "benzino77/tasmocompiler"; then
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
msg_info "Stopping Service"
systemctl stop tasmocompiler
msg_ok "Stopped Service"
+2
View File
@@ -43,6 +43,8 @@ function update_script() {
fi
if check_for_gh_release "teable" "teableio/teable"; then
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
msg_info "Stopping Service"
systemctl stop teable
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "teslamate" "teslamate-org/teslamate"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop teslamate
msg_ok "Stopped Service"
+2
View File
@@ -37,6 +37,8 @@ function update_script() {
fetch_and_deploy_gh_release "pandoc" "jgm/pandoc" "binary" "latest" "" "pandoc-*-$(arch_resolve).deb"
if check_for_gh_release "transmute" "transmute-app/transmute"; then
NODE_VERSION="25" setup_nodejs
msg_info "Stopping Service"
systemctl stop transmute
msg_ok "Stopped Service"
+2
View File
@@ -31,6 +31,8 @@ function update_script() {
fi
if check_for_gh_release "trip" "itskovacs/TRIP"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop trip
msg_ok "Stopped Service"
+4
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if [[ ! -f /etc/systemd/system/bgutil-provider.service ]]; then
NODE_VERSION="24" setup_nodejs
msg_info "Adding BgUtil POT Provider"
ensure_dependencies ffmpeg libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev pkg-config
fetch_and_deploy_gh_release "bgutil-ytdlp-pot-provider" "Brainicism/bgutil-ytdlp-pot-provider" "tarball"
@@ -58,6 +60,8 @@ EOF
fi
if check_for_gh_release "tubearchivist" "tubearchivist/tubearchivist"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Services"
systemctl stop bgutil-provider tubearchivist tubearchivist-celery tubearchivist-beat
msg_ok "Stopped Services"
+2
View File
@@ -40,6 +40,8 @@ function update_script() {
ENABLE_GPU="yes" setup_hwaccel
fi
NODE_VERSION="22" setup_nodejs
msg_info "Updating ${APP} (Patience)"
curl -fsSL https://unsloth.ai/install.sh -o /tmp/unsloth-install.sh
export UNSLOTH_STUDIO_HOME=/opt/unsloth
+1 -3
View File
@@ -15,6 +15,7 @@ var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_arm64="${var_arm64:-yes}"
var_unprivileged="${var_unprivileged:-0}"
var_fuse="${var_fuse:-yes}"
header_info "$APP"
variables
@@ -40,9 +41,6 @@ start
build_container
description
pct set "$CTID" -features fuse=1,nesting=1
pct reboot "$CTID"
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 IP:${CL}"
+77
View File
@@ -0,0 +1,77 @@
#!/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/usesend/useSend
APP="useSend"
var_tags="${var_tags:-email;smtp;newsletter}"
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}"
export var_github_id="${var_github_id:-}"
export var_github_secret="${var_github_secret:-}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/usesend ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "usesend" "usesend/useSend"; then
msg_info "Stopping useSend"
systemctl stop usesend usesend-smtp
msg_ok "Stopped useSend"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "usesend" "usesend/useSend" "tarball"
NODE_VERSION="22" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /opt/usesend/package.json)" setup_nodejs
msg_info "Building useSend"
cd /opt/usesend
PUPPETEER_SKIP_DOWNLOAD=true $STD pnpm install --frozen-lockfile --filter "web..." --filter smtp-server
$STD pnpm --filter web db:generate
SKIP_ENV_VALIDATION=true DOCKER_OUTPUT=1 NEXT_TELEMETRY_DISABLED=1 NEXT_PUBLIC_APP_VERSION="v$(cat ~/.usesend)" $STD pnpm --filter "web..." --filter smtp-server build
cp -r apps/web/.next/static apps/web/.next/standalone/apps/web/.next/
cp -r apps/web/public apps/web/.next/standalone/apps/web/
rm -rf apps/web/.next/cache
msg_ok "Built useSend"
msg_info "Migrating useSend Database"
set -a && source /opt/usesend_data/.env && set +a
$STD pnpm --filter web db:migrate-deploy
msg_ok "Migrated useSend Database"
msg_info "Starting useSend"
systemctl start usesend usesend-smtp
msg_ok "Started useSend"
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}"
echo -e "${INFO}${YW}Login needs a GitHub OAuth app with the callback URL http://${IP}:3000/api/auth/callback/github${CL}"
echo -e "${INFO}${YW}If you skipped it, set GITHUB_ID/GITHUB_SECRET in /opt/usesend_data/.env, then run: systemctl enable --now usesend usesend-smtp${CL}"
+2
View File
@@ -175,6 +175,8 @@ EOF
fi
if check_for_gh_release "wanderer" "open-wanderer/wanderer"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping service"
systemctl stop wanderer-web
msg_ok "Stopped service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "wizarr" "wizarrrr/wizarr"; then
NODE_VERSION="22" setup_nodejs
msg_info "Stopping Service"
systemctl stop wizarr
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "xyops" "pixlcore/xyops"; then
NODE_VERSION="24" setup_nodejs
msg_info "Stopping Service"
systemctl stop xyops
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "yopass" "jhaals/yopass"; then
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
msg_info "Stopping Service"
systemctl stop yopass
msg_ok "Stopped Service"
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
fi
if check_for_gh_release "your-spotify" "Yooooomi/your_spotify"; then
NODE_VERSION="22" NODE_MODULE="pnpm@^10,serve" setup_nodejs
msg_info "Stopping Services"
systemctl stop your-spotify your-spotify-web
msg_ok "Stopped Services"
+2
View File
@@ -35,6 +35,8 @@ function update_script() {
systemctl stop zerotier-one
msg_ok "Stopping Service"
NODE_VERSION="20" setup_nodejs
msg_info "Updating Zerotier-One"
apt_update_safe
$STD apt upgrade -y
+380
View File
@@ -0,0 +1,380 @@
#!/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/Budibase/budibase
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 \
python3 \
nginx \
redis-server
msg_ok "Installed Dependencies"
JAVA_VERSION="8" setup_java
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
msg_info "Installing Apache CouchDB"
COUCHDB_PASS=$(random_password)
COUCHDB_COOKIE=$(openssl rand -hex 32)
debconf-set-selections <<EOF
couchdb couchdb/mode select standalone
couchdb couchdb/bindaddress string 127.0.0.1
couchdb couchdb/cookie string ${COUCHDB_COOKIE}
couchdb couchdb/adminpass password ${COUCHDB_PASS}
couchdb couchdb/adminpass_again password ${COUCHDB_PASS}
EOF
setup_deb822_repo \
"couchdb" \
"https://couchdb.apache.org/repo/keys.asc" \
"https://apache.jfrog.io/artifactory/couchdb-deb" \
"$(get_os_info codename)" \
"main"
DEBIAN_FRONTEND=noninteractive $STD apt install -y couchdb
mkdir -p /opt/budibase_data/{couch/dbs,couch/views,search,sqs,minio}
chown -R couchdb:couchdb /opt/budibase_data/couch
# CouchDB writes the hashed admin password to the last ini file, so this one sorts before 10-admins.ini to have it replace the plaintext there
cat <<EOF >/opt/couchdb/etc/local.d/00-budibase.ini
[couchdb]
database_dir = /opt/budibase_data/couch/dbs
view_index_dir = /opt/budibase_data/couch/views
[chttpd_auth]
timeout = 7200
EOF
chown couchdb:couchdb /opt/couchdb/etc/local.d/00-budibase.ini
systemctl restart couchdb
for _ in {1..30}; do
curl -fs http://127.0.0.1:5984/_up >/dev/null && break
sleep 2
done
$STD curl -fsS -X PUT -u "admin:${COUCHDB_PASS}" http://127.0.0.1:5984/_users
$STD curl -fsS -X PUT -u "admin:${COUCHDB_PASS}" http://127.0.0.1:5984/_replicator
msg_ok "Installed Apache CouchDB"
# Budibase's database image pins Clouseau 2.25.0 on Java 8; 3.x needs Java 21 and a different config format
fetch_and_deploy_gh_release "clouseau" "cloudant-labs/clouseau" "prebuild" "2.25.0" "/opt/clouseau" "clouseau-2.25.0-dist.zip"
fetch_and_deploy_gh_release "silo_s3" "pgsty/silo" "prebuild" "latest" "/opt/silo" "silo_*_linux_$(arch_resolve).tar.gz"
fetch_and_deploy_gh_release "budibase" "Budibase/budibase" "tarball"
msg_info "Building Budibase"
cd /opt/budibase
$STD yarn install --frozen-lockfile
CI=true $STD yarn build:apps
$STD yarn cache clean
msg_ok "Built Budibase"
msg_info "Configuring Budibase"
REDIS_PASS=$(random_password)
sed -i "s/^# requirepass .*/requirepass ${REDIS_PASS}/" /etc/redis/redis.conf
systemctl restart redis-server
cat <<EOF >/opt/clouseau/clouseau.ini
[clouseau]
name=clouseau@127.0.0.1
cookie=${COUCHDB_COOKIE}
dir=/opt/budibase_data/search
max_indexes_open=500
EOF
cat <<EOF >/opt/budibase_data/.env
NODE_ENV=production
NODE_OPTIONS=--no-node-snapshot
SELF_HOSTED=1
BUDIBASE_ENVIRONMENT=PRODUCTION
BUDIBASE_VERSION=$(cat ~/.budibase)
SERVER_TOP_LEVEL_PATH=/opt/budibase/packages/server
APP_PORT=4001
WORKER_PORT=4002
CLUSTER_PORT=80
APPS_URL=http://127.0.0.1:4001
WORKER_URL=http://127.0.0.1:4002
ACCOUNT_PORTAL_URL=https://account.budibase.app
COUCH_DB_URL=http://admin:${COUCHDB_PASS}@127.0.0.1:5984
COUCH_DB_SQL_URL=http://127.0.0.1:4984
REDIS_URL=127.0.0.1:6379
REDIS_PASSWORD=${REDIS_PASS}
MINIO_URL=http://127.0.0.1:9000
MINIO_ACCESS_KEY=$(random_password 20)
MINIO_SECRET_KEY=$(random_password 40)
MINIO_BROWSER=off
JWT_SECRET=$(openssl rand -hex 32)
INTERNAL_API_KEY=$(openssl rand -hex 32)
API_ENCRYPTION_KEY=$(openssl rand -hex 32)
ENCRYPTION_KEY=$(openssl rand -hex 32)
EOF
chmod 600 /opt/budibase_data/.env
msg_ok "Configured Budibase"
msg_info "Creating Services"
cat <<EOF >/etc/systemd/system/budibase-clouseau.service
[Unit]
Description=Budibase Clouseau Search
After=couchdb.service
Requires=couchdb.service
PartOf=couchdb.service
[Service]
Type=simple
WorkingDirectory=/opt/clouseau
ExecStart=/usr/bin/java -server -Xmx1G -Dsun.net.inetaddr.ttl=30 -Dsun.net.inetaddr.negative.ttl=30 -XX:+ExitOnOutOfMemoryError -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -classpath /opt/clouseau/* com.cloudant.clouseau.Main /opt/clouseau/clouseau.ini
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/budibase-sqs.service
[Unit]
Description=Budibase SQS
After=couchdb.service
Requires=couchdb.service
[Service]
Type=simple
WorkingDirectory=/opt/budibase/hosting/couchdb/sqs/$(arch_resolve "x86" "arm")
ExecStart=/opt/budibase/hosting/couchdb/sqs/$(arch_resolve "x86" "arm")/sqs --server http://127.0.0.1:5984 --data-dir /opt/budibase_data/sqs --bind-address=127.0.0.1 --max-threads=20
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/budibase-silo.service
[Unit]
Description=Budibase Silo Object Storage
After=network.target
[Service]
Type=simple
EnvironmentFile=/opt/budibase_data/.env
# ~/.silo is the version file of the Silo release, so Silo's config directory moves out of /root
Environment=HOME=/opt/budibase_data
ExecStart=/opt/silo/silo server /opt/budibase_data/minio --address 127.0.0.1:9000
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/budibase-server.service
[Unit]
Description=Budibase App Server
After=network.target couchdb.service redis-server.service budibase-sqs.service budibase-silo.service
Requires=couchdb.service redis-server.service
[Service]
Type=simple
WorkingDirectory=/opt/budibase/packages/server
EnvironmentFile=/opt/budibase_data/.env
ExecStart=/usr/bin/node --enable-source-maps /opt/budibase/packages/server/dist/index.js
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/budibase-worker.service
[Unit]
Description=Budibase Worker
After=network.target couchdb.service redis-server.service budibase-silo.service
Requires=couchdb.service redis-server.service
[Service]
Type=simple
WorkingDirectory=/opt/budibase/packages/worker
EnvironmentFile=/opt/budibase_data/.env
ExecStart=/usr/bin/node --enable-source-maps /opt/budibase/packages/worker/dist/index.js
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now budibase-clouseau budibase-sqs budibase-silo budibase-worker budibase-server
msg_ok "Created Services"
msg_info "Configuring Nginx"
cat <<'EOF' >/etc/nginx/sites-available/budibase
limit_req_zone $binary_remote_addr zone=budibase_api:10m rate=50r/s;
limit_req_zone $binary_remote_addr zone=budibase_webhooks:10m rate=10r/s;
limit_req_status 429;
map $http_upgrade $budibase_connection_upgrade {
default "upgrade";
}
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
client_max_body_size 1000m;
ignore_invalid_headers off;
proxy_buffering off;
proxy_set_header Host $host;
location = /health {
proxy_pass http://127.0.0.1:4002/health;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /app {
proxy_buffering on;
proxy_buffer_size 16k;
proxy_buffers 8 32k;
proxy_pass http://127.0.0.1:4001;
}
location /embed {
rewrite /embed/(.*) /app/$1 break;
proxy_pass http://127.0.0.1:4001;
proxy_redirect off;
proxy_set_header x-budibase-embed "true";
add_header x-budibase-embed "true";
}
location = / {
proxy_pass http://127.0.0.1:4001;
}
location = /builder/apps {
return 301 $scheme://$http_host/apps;
}
location ~ ^/builder/portal/apps(/.*)?$ {
return 301 $scheme://$http_host/builder/portal/workspaces$1;
}
location ~ ^/builder/app(/.*)?$ {
return 301 $scheme://$http_host/builder/workspace$1;
}
location ~ ^/(builder|app_) {
proxy_buffering on;
proxy_buffer_size 16k;
proxy_buffers 16 32k;
proxy_busy_buffers_size 64k;
proxy_http_version 1.1;
proxy_set_header Connection $budibase_connection_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:4001;
}
location ~ ^/api/(system|admin|global)/ {
proxy_buffering on;
proxy_buffer_size 16k;
proxy_buffers 4 32k;
proxy_pass http://127.0.0.1:4002;
}
location /worker/ {
proxy_pass http://127.0.0.1:4002;
rewrite ^/worker/(.*)$ /$1 break;
}
location /api/backups/ {
limit_req zone=budibase_api burst=20 nodelay;
proxy_read_timeout 1800s;
proxy_connect_timeout 1800s;
proxy_send_timeout 1800s;
proxy_http_version 1.1;
proxy_set_header Connection $budibase_connection_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:4001;
}
location /api/webhooks/ {
limit_req zone=budibase_webhooks burst=200 nodelay;
proxy_read_timeout 120s;
proxy_connect_timeout 120s;
proxy_send_timeout 120s;
proxy_http_version 1.1;
proxy_set_header Connection $budibase_connection_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:4001;
}
location /api/ {
limit_req zone=budibase_api burst=20 nodelay;
proxy_read_timeout 120s;
proxy_connect_timeout 120s;
proxy_send_timeout 120s;
proxy_buffering on;
proxy_buffer_size 16k;
proxy_buffers 8 32k;
proxy_http_version 1.1;
proxy_set_header Connection $budibase_connection_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:4001;
}
location /db/ {
proxy_pass http://127.0.0.1:5984;
rewrite ^/db/(.*)$ /$1 break;
}
location /socket/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_cache_bypass $http_upgrade;
proxy_pass http://127.0.0.1:4001;
}
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_connect_timeout 300;
proxy_http_version 1.1;
proxy_set_header Connection "";
chunked_transfer_encoding off;
proxy_pass http://127.0.0.1:9000;
}
# Budibase signs object URLs for the host "minio-service", so the object store must see that host
location /files/signed/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host minio-service;
proxy_connect_timeout 300;
proxy_http_version 1.1;
proxy_set_header Connection "";
chunked_transfer_encoding off;
proxy_pass http://127.0.0.1:9000;
rewrite ^/files/signed/(.*)$ /$1 break;
}
gzip on;
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_types text/plain text/css text/xml application/json application/javascript application/rss+xml application/atom+xml image/svg+xml;
}
EOF
nginx_enable_site "budibase"
msg_ok "Configured Nginx"
motd_ssh
customize
cleanup_lxc
+7 -7
View File
@@ -41,14 +41,14 @@ fi
rm -f /etc/apt/sources.list.d/debian.sources
rm -f /etc/sysctl.d/97-dietpi.conf
rm -f /etc/systemd/system/local-fs.target.wants/dietpi-fs_partition_resize.service
# DietPi's installer skips the pre-login banner on its master branch (temporary guard since 17 Nov 2026), so write it here:
# it shows the default credentials above the login prompt until the first run setup has finished
$STD /boot/dietpi/func/dietpi-banner issue
msg_ok "Configured DietPi"
customize
# Autologin on tty1 only: DietPi's first run setup runs on the first console that logs in, and the Proxmox UI attaches to tty1
rm -f /etc/systemd/system/console-getty.service.d/override.conf
if [[ -f /etc/systemd/system/container-getty@.service.d/override.conf ]]; then
mkdir -p /etc/systemd/system/container-getty@1.service.d
mv /etc/systemd/system/container-getty@.service.d/override.conf /etc/systemd/system/container-getty@1.service.d/
rmdir /etc/systemd/system/container-getty@.service.d
fi
# No console autologin: DietPi's first run setup starts on the console the user logs in on, not by itself on tty1,
# and since DietPi v10.9 the login prompt shows the default credentials until the first run setup has finished
rm -f /etc/systemd/system/console-getty.service.d/override.conf /etc/systemd/system/container-getty@.service.d/override.conf
rmdir /etc/systemd/system/console-getty.service.d /etc/systemd/system/container-getty@.service.d 2>/dev/null || true
cleanup_lxc
Loaded 100 of 106 files, more files were not shown because too many files have changed in this diff. Show more