Compare commits

..
Author SHA1 Message Date
push-app-to-main[bot] 3e5d639a23 Add typecho (ct) 2026-11-23 07:44:08 +00:00
120 changed files with 228 additions and 2294 deletions

No files matched your search

+25 -115
View File
@@ -207,59 +207,8 @@ jobs:
NVMRC_NODE_MAJOR="$ver"
}
# Same name in the core sense (_forge_is_script_app): case and punctuation
# ignored, equal, or one containing the other with the shorter at least 4 long.
name_matches() {
local a="${1,,}" b="${2,,}" short
a="${a//[^a-z0-9]/}"
b="${b//[^a-z0-9]/}"
[[ -n "$a" && -n "$b" ]] || return 1
[[ "$a" == "$b" ]] && return 0
short="$a"
((${#b} < ${#a})) && short="$b"
((${#short} >= 4)) || return 1
[[ "$a" == *"$b"* || "$b" == *"$a"* ]]
}
# The app's own repo from the GitHub calls in its scripts, for a Source line
# that names a website. Only a repo or app argument matching the script's
# name counts: discourse also deploys libvips, storyteller pulls readium/cli.
# Usage: repo_from_calls "slug" file... => sets REPLY to owner/repo or empty
repo_from_calls() {
local slug="$1" text app repo
shift
REPLY=""
text=$(cat "$@" 2>/dev/null | grep -v '^[[:space:]]*#' || true)
while read -r app repo; do
[[ -z "$repo" || "${repo,,}" == community-scripts/* ]] && continue
if name_matches "$slug" "${repo#*/}" || { [[ "$app" != "-" ]] && name_matches "$slug" "$app"; }; then
REPLY="$repo"
return
fi
done < <(
grep -oP '\b(?:fetch_and_deploy|check_for)_gh_(?:release|tag)\s+"?[^"\s]+"?\s+"?[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+' <<<"$text" |
sed -E 's/^[a-z_]+[[:space:]]+"?([^"[:space:]]+)"?[[:space:]]+"?/\1 /' || true
grep -oP '(?:get_latest_github_release\s+"?|(?<![\w.])github\.com/|api\.github\.com/repos/|codeload\.github\.com/)\K[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+' <<<"$text" |
sed -E 's/\.git$//; s/^/- /' || true
)
}
# NODE_VERSION a script sets: a major, "dynamic", or "unset" (core's default)
node_version_of() {
local v
v=$(grep -oP 'NODE_VERSION=\K"?\d+' "$1" | head -1 | grep -oP '\d+' || echo "")
if [[ -n "$v" ]]; then
echo "$v"
elif grep -q 'NODE_VERSION=\$(' "$1"; then
echo "dynamic"
else
echo "unset"
fi
}
# Collect results
declare -a issue_scripts=()
declare -a sync_scripts=()
declare -a report_lines=()
total=0
checked=0
@@ -273,27 +222,6 @@ jobs:
total=$((total + 1))
slug=$(basename "$script" | sed 's/-install\.sh$//')
our_version=$(node_version_of "$script")
# The update has to run the same setup_nodejs, or a bump in install/
# reaches new containers only. An update with neither a release
# check, a deploy nor a package manager call (a built-in updater,
# "create a new container") has nothing to keep in step.
ct_file="ct/${slug}.sh"
ct_display="—"
if [[ -f "$ct_file" ]] &&
grep -qE '^[^#]*(\b(check_for|fetch_and_deploy)_|(^|[[:space:];&|(])(npm|npx|pnpm|yarn|corepack)[[:space:]])' "$ct_file"; then
if grep -qE '^[^#]*\bsetup_nodejs\b' "$ct_file"; then
ct_version=$(node_version_of "$ct_file")
else
ct_version="none"
fi
ct_display="$ct_version"
if [[ "$ct_version" != "$our_version" ]]; then
ct_display="⚠️ $ct_version"
sync_scripts+=("$slug|$our_version|$ct_version")
fi
fi
# Extract Source URL (GitHub only) from the "# Source:" line
# Supports both:
@@ -301,20 +229,29 @@ jobs:
# # Source: https://example.com | Github: https://github.com/owner/repo
# NOTE: Must filter for "# Source:" line first to avoid matching the License URL
source_url=$(head -20 "$script" | grep -i '# Source:' | grep -oP 'https://github\.com/[^\s|]+' | head -1 || echo "")
repo=$(sed -E 's|https://github\.com/||; s|\.git$||' <<<"$source_url" | cut -d/ -f1,2)
repo_note=""
if [[ ! "$repo" =~ ^[^/]+/[^/]+$ ]]; then
repo_from_calls "$slug" "$script" "$ct_file"
repo="$REPLY"
repo_note=" (from calls)"
if [[ -z "$source_url" ]]; then
report_lines+=("| \`$slug\` | — | — | — | — | ⏭️ No GitHub source |")
continue
fi
if [[ -z "$repo" ]]; then
report_lines+=("| \`$slug\` | $our_version | $ct_display | — | — | — | ⏭️ No GitHub source |")
repo=$(echo "$source_url" | sed -E 's|https://github\.com/||; s|/$||; s|\.git$||')
if [[ -z "$repo" || "$repo" != */* ]]; then
report_lines+=("| \`$slug\` | — | — | — | — | ⏭️ Invalid repo |")
continue
fi
checked=$((checked + 1))
# Extract our NODE_VERSION
our_version=$(grep -oP 'NODE_VERSION=\K"?\d+' "$script" | head -1 | grep -oP '\d+' || echo "")
if [[ -z "$our_version" ]]; then
if grep -q 'NODE_VERSION=\$(' "$script"; then
our_version="dynamic"
else
our_version="unset"
fi
fi
# Determine default branch via GitHub API (fast, single call)
detected_branch=""
api_default=$(curl -sf -H "Authorization: token $GH_TOKEN" \
@@ -415,45 +352,40 @@ jobs:
fi
fi
report_lines+=("| \`$slug\` | $our_version | $ct_display | $engines_display | $dockerfile_display | [$repo](https://github.com/$repo)$repo_note | $status |")
report_lines+=("| \`$slug\` | $our_version | $engines_display | $dockerfile_display | [$repo](https://github.com/$repo) | $status |")
# Rate-limit to avoid GitHub secondary rate limits
sleep 0.3
done
sync_count=${#sync_scripts[@]}
# Print summary
echo ""
echo "========================================="
echo " Total scripts with setup_nodejs: $total"
echo " Checked (with GitHub source): $checked"
echo " Version drift detected: $drift_count"
echo " ct/ update out of step: $sync_count"
echo "========================================="
# Export
{
echo "drift_count=$drift_count"
echo "sync_count=$sync_count"
echo "total=$total"
echo "checked=$checked"
} >> "$GITHUB_OUTPUT"
# Save issue details for next step
printf '%s\n' "${issue_scripts[@]}" > /tmp/drift_scripts.txt 2>/dev/null || touch /tmp/drift_scripts.txt
printf '%s\n' "${sync_scripts[@]}" > /tmp/sync_scripts.txt 2>/dev/null || touch /tmp/sync_scripts.txt
# Save full report
{
echo "## Node.js Version Drift Report"
echo ""
echo "**Generated:** $(date -u +%Y-%m-%dT%H:%M:%SZ)"
echo "**Scripts checked:** $total | **With GitHub source:** $checked | **Drift detected:** $drift_count | **ct/ out of step:** $sync_count"
echo "**Scripts checked:** $total | **With GitHub source:** $checked | **Drift detected:** $drift_count"
echo ""
echo "| Script | Our Version | ct/ update | engines.node | Dockerfile | Upstream Repo | Status |"
echo "|--------|-------------|------------|-------------|------------|---------------|--------|"
echo "| Script | Our Version | engines.node | Dockerfile | Upstream Repo | Status |"
echo "|--------|-------------|-------------|------------|---------------|--------|"
printf '%s\n' "${report_lines[@]}" | sort
} > /tmp/drift_report.md
@@ -546,21 +478,12 @@ jobs:
continue
fi
# Without the ct/ line the bump reaches new containers only.
ct_note=""
if [[ -f "ct/${slug}.sh" && " ${changed[*]} " != *" ct/${slug}.sh "* ]]; then
ct_note="> [!WARNING]
> \`ct/${slug}.sh\` sets no Node ${our} in its update, so existing containers stay on it. Add \`NODE_VERSION=\"${upstream}\" setup_nodejs\` to the update before merging."
fi
# The test command is written here rather than left to
# pr-test-command.yml: a PR opened with GITHUB_TOKEN does not start
# another workflow, so that comment would never arrive.
body=$(cat <<PR_EOF
\`${slug}\` pins Node **${our}**, upstream indicates **${upstream}** (${hint}) — [upstream repo](https://github.com/${repo}).
${ct_note}
Opened automatically by the weekly Node.js version drift check. **Nothing here has been tested.** Run it against a host before merging:
\`\`\`bash
@@ -605,7 +528,7 @@ jobs:
cat /tmp/drift_prs.txt
- name: Create or update summary issue
if: steps.check.outputs.drift_count != '0' || steps.check.outputs.sync_count != '0'
if: steps.check.outputs.drift_count != '0'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
@@ -614,7 +537,6 @@ jobs:
TITLE="[Automated] Node.js Version Drift Report"
DATE=$(date -u +%Y-%m-%d)
DRIFT_COUNT="${{ steps.check.outputs.drift_count }}"
SYNC_COUNT="${{ steps.check.outputs.sync_count }}"
TOTAL="${{ steps.check.outputs.total }}"
CHECKED="${{ steps.check.outputs.checked }}"
@@ -645,29 +567,17 @@ jobs:
CHECKLIST+="${mark} **\`${slug}\`** — ours: \`${our_version}\` → upstream: \`${upstream_major}\` (${upstream_hint}) — [repo](https://github.com/${repo}) ${note}"$'\n'
done < /tmp/drift_scripts.txt
SYNC_SECTION=""
if [[ "$SYNC_COUNT" != "0" ]]; then
SYNC_SECTION="### ct/ update out of step with install/"$'\n\n'
SYNC_SECTION+="The update does not run the install's \`setup_nodejs\`, so a Node bump reaches new containers only. Put the install's call at the top of the update's release block."$'\n\n'
while IFS='|' read -r slug our_version ct_version; do
[[ -z "$slug" ]] && continue
SYNC_SECTION+="- [ ] **\`${slug}\`** — install/: \`${our_version}\`, ct/ update: \`${ct_version}\`"$'\n'
done < /tmp/sync_scripts.txt
fi
# Build full report table
REPORT=$(cat /tmp/drift_report.md)
BODY=$(cat <<ISSUE_EOF
## Node.js Version Drift Report — ${DATE}
**${DRIFT_COUNT}** script(s) with version drift detected (out of ${CHECKED} checked / ${TOTAL} total), **${SYNC_COUNT}** ct/ update(s) out of step.
**${DRIFT_COUNT}** script(s) with version drift detected (out of ${CHECKED} checked / ${TOTAL} total).
### Scripts requiring investigation
${CHECKLIST:-None.}
${SYNC_SECTION}
${CHECKLIST}
### How to resolve
@@ -706,7 +616,7 @@ jobs:
fi
- name: Close issue if no drift
if: steps.check.outputs.drift_count == '0' && steps.check.outputs.sync_count == '0'
if: steps.check.outputs.drift_count == '0'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
+1 -31
View File
@@ -591,13 +591,7 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
### 🆕 New Scripts
- 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))
- 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))
@@ -606,33 +600,9 @@ 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))
### 📚 Documentation
- github node drift: find the repo from the script's calls, check ct/ and install/ [@MickLesk](https://github.com/MickLesk) ([#18984](https://github.com/community-scripts/ProxmoxVE/pull/18984))
## 2026-11-22
### 🆕 New Scripts
-2
View File
@@ -31,8 +31,6 @@ 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,8 +33,6 @@ 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,8 +32,6 @@ 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,8 +36,6 @@ 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"
+15 -3
View File
@@ -213,8 +213,20 @@ start
build_container
msg_info "Attaching data storage volume"
ct_attach_volume 1 /opt/authentik-data
$STD ct_exec bash -c "mkdir -p /opt/authentik-data/{certs,media,geoip,templates}; \
$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}; \
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/; \
@@ -223,7 +235,7 @@ $STD ct_exec bash -c "mkdir -p /opt/authentik-data/{certs,media,geoip,templates}
msg_ok "Attached data storage volume"
msg_info "Starting Services"
ct_exec systemctl enable -q --now authentik-server authentik-worker
pct exec "$CTID" -- systemctl enable -q --now authentik-server authentik-worker
msg_ok "Started Services"
description
-2
View File
@@ -34,8 +34,6 @@ 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,8 +32,6 @@ 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,8 +33,6 @@ 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,8 +32,6 @@ 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
@@ -1,78 +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/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,8 +31,6 @@ 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,8 +32,6 @@ 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,8 +32,6 @@ 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,8 +31,6 @@ 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,8 +32,6 @@ 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,8 +33,6 @@ 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,8 +32,6 @@ 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,8 +48,6 @@ 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"
+5 -1
View File
@@ -44,7 +44,11 @@ build_container
description
msg_info "Restarting ${APP} for DietPi's first boot"
ct_restart
if command -v pct &>/dev/null; then
pct reboot "$CTID"
else
incus restart "$CTID"
fi
msg_ok "Restarted ${APP}"
msg_ok "Completed successfully!"
-1
View File
@@ -32,7 +32,6 @@ function update_script() {
fi
if check_for_gh_release "directus" "directus/directus"; then
NODE_VERSION="26" setup_nodejs
msg_info "Stopping Service"
systemctl stop directus
msg_ok "Stopped Service"
-2
View File
@@ -69,8 +69,6 @@ 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,8 +44,6 @@ 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,8 +32,6 @@ 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,8 +35,6 @@ 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,8 +32,6 @@ 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,8 +34,6 @@ 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,8 +32,6 @@ 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,8 +32,6 @@ 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,8 +32,6 @@ 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"
-70
View File
@@ -1,70 +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/freescout-help-desk/freescout
APP="FreeScout"
var_tags="${var_tags:-helpdesk;ticketing}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-1024}"
var_disk="${var_disk:-6}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_arm64="${var_arm64:-yes}"
var_unprivileged="${var_unprivileged:-1}"
export var_admin_email="${var_admin_email:-}"
export var_admin_pass="${var_admin_pass:-}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/freescout ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "freescout" "freescout-help-desk/freescout"; then
msg_info "Stopping FreeScout"
systemctl stop cron nginx php8.4-fpm
pkill -u www-data -f artisan || true
msg_ok "Stopped FreeScout"
create_backup /opt/freescout/.env
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="storage Modules public/modules" fetch_and_deploy_gh_release "freescout" "freescout-help-desk/freescout" "tarball"
restore_backup
msg_info "Updating FreeScout"
cd /opt/freescout
$STD php artisan freescout:after-app-update
$STD php artisan storage:link
chown -R www-data:www-data /opt/freescout
msg_ok "Updated FreeScout"
msg_info "Starting FreeScout"
systemctl start php8.4-fpm nginx cron
msg_ok "Started FreeScout"
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}Admin credentials: ~/freescout.creds (inside the container)${CL}"
-2
View File
@@ -32,8 +32,6 @@ 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,8 +35,6 @@ 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,8 +34,6 @@ 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,8 +78,6 @@ 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,8 +32,6 @@ 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,8 +34,6 @@ 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,8 +32,6 @@ 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"
+3 -10
View File
@@ -80,7 +80,7 @@ EOF
fi
cd /tmp
RELEASE="v3.4.2"
RELEASE="v3.4.1"
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="26" NODE_MODULE="corepack" setup_nodejs
NODE_VERSION="24" 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,14 +270,7 @@ 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)" || 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_REF="$(grep -oP 'futo-org/restic:sha-\K[0-9a-f]+' "$SRC_DIR"/server/Dockerfile)"
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,8 +51,6 @@ 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,8 +40,6 @@ 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
@@ -1,166 +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: 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,8 +32,6 @@ 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,8 +32,6 @@ 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,8 +35,6 @@ 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,8 +32,6 @@ 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,8 +32,6 @@ 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,8 +42,6 @@ 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,8 +32,6 @@ 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,8 +33,6 @@ 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,8 +30,6 @@ 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,8 +32,6 @@ 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,8 +32,6 @@ 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,8 +31,6 @@ 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,8 +30,6 @@ 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,8 +32,6 @@ 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,8 +30,6 @@ 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,8 +33,6 @@ 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,8 +31,6 @@ 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,8 +33,6 @@ 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,8 +32,6 @@ 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,8 +33,6 @@ 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,8 +34,6 @@ 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
-63
View File
@@ -1,63 +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: Marcos Felipe (mfelipe)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/volcengine/OpenViking
APP="OpenViking"
var_tags="${var_tags:-ai;memory;rag}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-8}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_arm64="${var_arm64:-yes}"
var_unprivileged="${var_unprivileged:-1}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/openviking ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating Debian Packages"
$STD apt update
$STD apt -y upgrade
msg_ok "Updated Debian Packages"
if check_for_gh_release "openviking-server" "volcengine/OpenViking"; then
msg_info "Stopping Service"
systemctl stop openviking
msg_ok "Stopped Service"
msg_info "Updating OpenViking"
$STD uv pip install --python /opt/openviking/bin/python --upgrade openviking
msg_ok "Updated OpenViking"
msg_info "Starting Service"
systemctl start openviking
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 "${TAB}${GATEWAY}${BGN}http://${IP}:1933/studio${CL}"
+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}$(ct_exec_hint runuser -u orb -- orb link)${CL}"
echo -e "${TAB}${GATEWAY}${BGN}pct exec ${CTID} -- runuser -u orb -- orb link${CL}"
-2
View File
@@ -30,8 +30,6 @@ 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,8 +34,6 @@ 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"
+4 -3
View File
@@ -228,9 +228,10 @@ 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 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"
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"
read -rp "Have you created a snapshot? [y/N]: " confirm
if [[ ! "$confirm" =~ ^([yY]|[yY][eE][sS])$ ]]; then
-2
View File
@@ -32,8 +32,6 @@ 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,8 +33,6 @@ 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,8 +33,6 @@ 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"
+1 -1
View File
@@ -78,7 +78,7 @@ EOF
create_backup /opt/portabase/.env
NODE_VERSION="24" NODE_MODULE="pnpm@11.8.0" setup_nodejs
NODE_VERSION="22" NODE_MODULE="pnpm@11.8.0" setup_nodejs
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "portabase" "Portabase/portabase" "tarball"
-2
View File
@@ -33,8 +33,6 @@ 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,8 +54,6 @@ 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,8 +31,6 @@ 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,8 +32,6 @@ 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,8 +31,6 @@ 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,8 +31,6 @@ 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,8 +33,6 @@ 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,8 +37,6 @@ 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,8 +32,6 @@ 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
@@ -1,73 +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/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}"
+1 -9
View File
@@ -32,7 +32,6 @@ 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"
@@ -48,7 +47,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 "yt-dlp[default]"
$STD uv pip install -r requirements.txt
msg_ok "Updated Python Dependencies"
msg_info "Building WebUI"
@@ -62,13 +61,6 @@ 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,8 +32,6 @@ 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,8 +39,6 @@ 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,8 +32,6 @@ 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,8 +32,6 @@ 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
@@ -30,8 +30,6 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
NODE_VERSION="26" setup_nodejs
msg_info "Stopping Service"
systemctl stop t3code
-2
View File
@@ -34,8 +34,6 @@ 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,8 +43,6 @@ 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,8 +32,6 @@ 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,8 +37,6 @@ 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,8 +31,6 @@ 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,8 +32,6 @@ 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"
@@ -60,8 +58,6 @@ 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"
+70
View File
@@ -0,0 +1,70 @@
#!/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/typecho/typecho
APP="Typecho"
var_tags="${var_tags:-blog;cms}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-512}"
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}"
export var_admin_user="${var_admin_user:-admin}"
export var_admin_pass="${var_admin_pass:-$(random_password)}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/typecho ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "typecho" "typecho/typecho"; then
msg_info "Stopping Typecho"
systemctl stop nginx
msg_ok "Stopped Typecho"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "typecho" "typecho/typecho" "prebuild" "latest" "/opt/typecho" "typecho.zip"
fetch_and_deploy_from_url "https://github.com/typecho/languages/releases/download/ci/langs.zip" "/opt/typecho_data/usr/langs"
msg_info "Linking Typecho Data"
rm -rf /opt/typecho/usr /opt/typecho/install.php
ln -s /opt/typecho_data/usr /opt/typecho/usr
ln -s /opt/typecho_data/config.inc.php /opt/typecho/config.inc.php
msg_ok "Linked Typecho Data"
msg_info "Starting Typecho"
systemctl start nginx
msg_ok "Started Typecho"
msg_ok "Updated successfully!"
echo -e "${INFO}${YW}Open http://${LOCAL_IP}/admin/ and confirm the database upgrade if Typecho asks for one${CL}"
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}Admin panel: http://${IP}/admin/${CL}"
echo -e "${INFO}${YW}Admin Username: ${var_admin_user}${CL}"
echo -e "${INFO}${YW}Admin Password: ${var_admin_pass}${CL}"
-2
View File
@@ -40,8 +40,6 @@ 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
+3 -1
View File
@@ -15,7 +15,6 @@ 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
@@ -41,6 +40,9 @@ 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
@@ -1,77 +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/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,8 +175,6 @@ 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"
Loaded 100 of 120 files, more files were not shown because too many files have changed in this diff. Show more