mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-24 02:26:28 +01:00
Compare commits
54
Commits
No files matched your search
+115
-25
@@ -207,8 +207,59 @@ 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
|
||||
@@ -222,6 +273,27 @@ 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:
|
||||
@@ -229,29 +301,20 @@ 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 "")
|
||||
if [[ -z "$source_url" ]]; then
|
||||
report_lines+=("| \`$slug\` | — | — | — | — | ⏭️ No GitHub source |")
|
||||
continue
|
||||
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)"
|
||||
fi
|
||||
|
||||
repo=$(echo "$source_url" | sed -E 's|https://github\.com/||; s|/$||; s|\.git$||')
|
||||
if [[ -z "$repo" || "$repo" != */* ]]; then
|
||||
report_lines+=("| \`$slug\` | — | — | — | — | ⏭️ Invalid repo |")
|
||||
if [[ -z "$repo" ]]; then
|
||||
report_lines+=("| \`$slug\` | $our_version | $ct_display | — | — | — | ⏭️ No GitHub source |")
|
||||
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" \
|
||||
@@ -352,40 +415,45 @@ jobs:
|
||||
fi
|
||||
fi
|
||||
|
||||
report_lines+=("| \`$slug\` | $our_version | $engines_display | $dockerfile_display | [$repo](https://github.com/$repo) | $status |")
|
||||
report_lines+=("| \`$slug\` | $our_version | $ct_display | $engines_display | $dockerfile_display | [$repo](https://github.com/$repo)$repo_note | $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"
|
||||
echo "**Scripts checked:** $total | **With GitHub source:** $checked | **Drift detected:** $drift_count | **ct/ out of step:** $sync_count"
|
||||
echo ""
|
||||
echo "| Script | Our Version | engines.node | Dockerfile | Upstream Repo | Status |"
|
||||
echo "|--------|-------------|-------------|------------|---------------|--------|"
|
||||
echo "| Script | Our Version | ct/ update | engines.node | Dockerfile | Upstream Repo | Status |"
|
||||
echo "|--------|-------------|------------|-------------|------------|---------------|--------|"
|
||||
printf '%s\n' "${report_lines[@]}" | sort
|
||||
} > /tmp/drift_report.md
|
||||
|
||||
@@ -478,12 +546,21 @@ 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
|
||||
@@ -528,7 +605,7 @@ jobs:
|
||||
cat /tmp/drift_prs.txt
|
||||
|
||||
- name: Create or update summary issue
|
||||
if: steps.check.outputs.drift_count != '0'
|
||||
if: steps.check.outputs.drift_count != '0' || steps.check.outputs.sync_count != '0'
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
@@ -537,6 +614,7 @@ 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 }}"
|
||||
|
||||
@@ -567,17 +645,29 @@ 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).
|
||||
**${DRIFT_COUNT}** script(s) with version drift detected (out of ${CHECKED} checked / ${TOTAL} total), **${SYNC_COUNT}** ct/ update(s) out of step.
|
||||
|
||||
### Scripts requiring investigation
|
||||
|
||||
${CHECKLIST}
|
||||
${CHECKLIST:-None.}
|
||||
|
||||
${SYNC_SECTION}
|
||||
|
||||
### How to resolve
|
||||
|
||||
@@ -616,7 +706,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Close issue if no drift
|
||||
if: steps.check.outputs.drift_count == '0'
|
||||
if: steps.check.outputs.drift_count == '0' && steps.check.outputs.sync_count == '0'
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
|
||||
@@ -587,8 +587,68 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
</details>
|
||||
|
||||
## 2026-11-23
|
||||
|
||||
### 🆕 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))
|
||||
- OpenViking [@mfelipe](https://github.com/mfelipe) ([#18979](https://github.com/community-scripts/ProxmoxVE/pull/18979))
|
||||
- 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))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- 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))
|
||||
|
||||
### 🧰 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
|
||||
|
||||
- Subwave [@MickLesk](https://github.com/MickLesk) ([#18929](https://github.com/community-scripts/ProxmoxVE/pull/18929))
|
||||
- Gopeed [@MickLesk](https://github.com/MickLesk) ([#18921](https://github.com/community-scripts/ProxmoxVE/pull/18921))
|
||||
- NoteMark [@MickLesk](https://github.com/MickLesk) ([#18920](https://github.com/community-scripts/ProxmoxVE/pull/18920))
|
||||
- Bytechef [@MickLesk](https://github.com/MickLesk) ([#18919](https://github.com/community-scripts/ProxmoxVE/pull/18919))
|
||||
- Lidify [@angusmaul](https://github.com/angusmaul) ([#18918](https://github.com/community-scripts/ProxmoxVE/pull/18918))
|
||||
- Ideon [@MickLesk](https://github.com/MickLesk) ([#18915](https://github.com/community-scripts/ProxmoxVE/pull/18915))
|
||||
- Mathesar [@MickLesk](https://github.com/MickLesk) ([#18914](https://github.com/community-scripts/ProxmoxVE/pull/18914))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Keeper: set the build identity and tz data the services now require [@MickLesk](https://github.com/MickLesk) ([#18933](https://github.com/community-scripts/ProxmoxVE/pull/18933))
|
||||
- Firecrawl: pin nodesig to the commit that matches the 2.11 release [@MickLesk](https://github.com/MickLesk) ([#18934](https://github.com/community-scripts/ProxmoxVE/pull/18934))
|
||||
- Update authentik to 2026.8.6 [@thieneret](https://github.com/thieneret) ([#18912](https://github.com/community-scripts/ProxmoxVE/pull/18912))
|
||||
- FIX: Add flag to Grimmory install script to mitigate CVE-2026-114938 [@zekaptain](https://github.com/zekaptain) ([#18923](https://github.com/community-scripts/ProxmoxVE/pull/18923))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- several scripts: update prompts - take the default or skip when nobody can answer [@MickLesk](https://github.com/MickLesk) ([#18931](https://github.com/community-scripts/ProxmoxVE/pull/18931))
|
||||
- splunk, immich: let var_* answer the last install prompts [@MickLesk](https://github.com/MickLesk) ([#18932](https://github.com/community-scripts/ProxmoxVE/pull/18932))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- incus: install what a Proxmox template ships into Incus containers too [@MickLesk](https://github.com/MickLesk) ([core#293](https://github.com/community-scripts/core/pull/293))
|
||||
- pve/incus: give ct scripts host-side helpers that work on both backends [@MickLesk](https://github.com/MickLesk) ([core#294](https://github.com/community-scripts/core/pull/294))
|
||||
- Reload systemd units after a .deb install [@MickLesk](https://github.com/MickLesk) ([core#291](https://github.com/community-scripts/core/pull/291))
|
||||
- Read github.com when the update check hits the API rate limit [@MickLesk](https://github.com/MickLesk) ([core#292](https://github.com/community-scripts/core/pull/292))
|
||||
- Resume a VM image download that broke off [@MickLesk](https://github.com/MickLesk) ([core#290](https://github.com/community-scripts/core/pull/290))
|
||||
|
||||
## 2026-11-21
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
+9
-6
@@ -34,20 +34,23 @@ function update_script() {
|
||||
|
||||
if check_for_gh_release "airconnect" "philippe44/AirConnect"; then
|
||||
msg_info "Stopping AirConnect"
|
||||
systemctl stop airupnp aircast
|
||||
if systemctl is-active --quiet airupnp; then systemctl stop airupnp; fi
|
||||
if systemctl is-active --quiet aircast; then systemctl stop aircast; fi
|
||||
msg_ok "Stopped AirConnect"
|
||||
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="airupnp.xml aircast.xml" fetch_and_deploy_gh_release "airconnect" "philippe44/AirConnect" "prebuild" "latest" "/opt/airconnect" "AirConnect-*.zip"
|
||||
|
||||
msg_info "Configuring AirConnect"
|
||||
chmod +x /opt/airconnect/airupnp-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/aircast-linux-$(arch_resolve x86_64 aarch64)
|
||||
ln -sf /opt/airconnect/airupnp-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/airupnp
|
||||
ln -sf /opt/airconnect/aircast-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/aircast
|
||||
find /opt/airconnect -maxdepth 1 -type f ! -name "air*linux-$(arch_resolve x86_64 aarch64)*" ! -name "airupnp" ! -name "aircast" ! -name "*.xml" -delete
|
||||
ARCH=$(arch_resolve x86_64 aarch64)
|
||||
chmod +x "/opt/airconnect/airupnp-linux-${ARCH}" "/opt/airconnect/aircast-linux-${ARCH}"
|
||||
ln -sf "/opt/airconnect/airupnp-linux-${ARCH}" /opt/airconnect/airupnp
|
||||
ln -sf "/opt/airconnect/aircast-linux-${ARCH}" /opt/airconnect/aircast
|
||||
find /opt/airconnect -maxdepth 1 -type f ! -name "airupnp-linux-${ARCH}" ! -name "aircast-linux-${ARCH}" ! -name "*.xml" -delete
|
||||
msg_ok "Configured AirConnect"
|
||||
|
||||
msg_info "Starting AirConnect"
|
||||
systemctl start airupnp aircast
|
||||
if systemctl is-enabled --quiet airupnp; then systemctl start airupnp; fi
|
||||
if systemctl is-enabled --quiet aircast; then systemctl start aircast; fi
|
||||
msg_ok "Started AirConnect"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
|
||||
@@ -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"
|
||||
|
||||
+1
-2
@@ -34,8 +34,7 @@ function update_script() {
|
||||
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
|
||||
echo -e "${TAB}${TAB}${GN}update_komodo${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
|
||||
echo ""
|
||||
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
|
||||
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
|
||||
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
|
||||
msg_warn "Migration skipped. The old update will continue to work for now."
|
||||
msg_warn "⚠️ Komodo v2 uses :2 image tags. The :latest tag is deprecated and will not receive v2 updates."
|
||||
msg_warn "Please migrate to the addon script to receive Komodo v2."
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
#!/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: Nicolas Pastorello (opastorello)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://anubis.techaro.lol/
|
||||
|
||||
APP="Anubis"
|
||||
var_tags="${var_tags:-proxy;security}"
|
||||
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_unprivileged="${var_unprivileged:-1}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
|
||||
export var_anubis_target="${var_anubis_target:-}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -f /etc/anubis/main.env ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "anubis" "TecharoHQ/anubis"; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop anubis@main
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
fetch_and_deploy_gh_release "anubis" "TecharoHQ/anubis" "binary"
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start anubis@main
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8923${CL}"
|
||||
@@ -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
-3
@@ -47,9 +47,9 @@ function update_script() {
|
||||
RUST_PROFILE="minimal" RUST_TOOLCHAIN="stable" setup_rust
|
||||
setup_yq
|
||||
|
||||
AUTHENTIK_VERSION="version/2026.8.5"
|
||||
AUTHENTIK_VERSION="version/2026.8.6"
|
||||
# Source: https://github.com/goauthentik/fips/blob/main/Makefile#L26
|
||||
XMLSEC_VERSION="1.3.12"
|
||||
XMLSEC_VERSION="1.3.13"
|
||||
|
||||
if check_for_gh_release "geoipupdate" "maxmind/geoipupdate"; then
|
||||
fetch_and_deploy_gh_release "geoipupdate" "maxmind/geoipupdate" "binary"
|
||||
@@ -93,7 +93,7 @@ function update_script() {
|
||||
fi
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "authentik" "goauthentik/authentik" "tarball" "${AUTHENTIK_VERSION}" "/opt/authentik"
|
||||
UV_PYTHON_INSTALL_DIR="/usr/local/bin" PYTHON_VERSION="3.14.7" UV_PROJECT_DIR="/opt/authentik" setup_uv
|
||||
UV_PYTHON_INSTALL_DIR="/usr/local/bin" PYTHON_VERSION="3.14.10" UV_PROJECT_DIR="/opt/authentik" setup_uv
|
||||
GO_VERSION="$(grep -m1 '^go ' /opt/authentik/go.mod | awk '{print $2}')" setup_go
|
||||
|
||||
msg_info "Configuring rust"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -50,6 +50,10 @@ function update_script() {
|
||||
if [[ -n "$STORAGE_KB" && -n "$FREE_KB" && "$FREE_KB" -lt "$STORAGE_KB" ]]; then
|
||||
echo -e "\n${RD}Warning: migration needs about $((STORAGE_KB / 1024))MB, only $((FREE_KB / 1024))MB free.${CL}"
|
||||
echo -e "${RD}The new bichon-blob store is written alongside the existing fjall data.${CL}"
|
||||
if is_unattended; then
|
||||
msg_warn "Not enough free space for the migration - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
read -r -p "Are you sure you want to proceed with the update? (y/N): " proceed
|
||||
if [[ ! $proceed =~ ^[Yy]$ ]]; then
|
||||
msg_error "Update cancelled by user."
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ function update_script() {
|
||||
systemctl stop bulwark
|
||||
msg_ok "Stopped Bulwark"
|
||||
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
NODE_VERSION="26" setup_nodejs
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "bulwark" "bulwarkmail/webmail" "prebuild" "latest" "/opt/bulwark" "bulwark-standalone-*-linux-$(arch_resolve).tar.gz"
|
||||
|
||||
msg_info "Starting Bulwark"
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
#!/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/bytechefhq/bytechef
|
||||
|
||||
APP="ByteChef"
|
||||
var_tags="${var_tags:-automation;workflow;integration}"
|
||||
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/bytechef ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "bytechef" "bytechefhq/bytechef"; then
|
||||
msg_info "Stopping ByteChef"
|
||||
systemctl stop bytechef
|
||||
msg_ok "Stopped ByteChef"
|
||||
|
||||
JAVA_VERSION="25" setup_java
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "bytechef" "bytechefhq/bytechef" "tarball"
|
||||
|
||||
msg_info "Building ByteChef (Patience)"
|
||||
mv /opt/bytechef /opt/bytechef-build
|
||||
cd /opt/bytechef-build/client
|
||||
$STD npm ci
|
||||
$STD npm run build
|
||||
cd /opt/bytechef-build
|
||||
$STD ./gradlew --no-daemon :server:apps:server-app:bootJar -Pprod -Pkotlin.compiler.execution.strategy=in-process
|
||||
mkdir -p /opt/bytechef/server
|
||||
mv /opt/bytechef-build/server/apps/server-app/build/libs/server-app-*.jar /opt/bytechef/server/server-app.jar
|
||||
mv /opt/bytechef-build/client/dist /opt/bytechef/client
|
||||
rm -rf /opt/bytechef-build
|
||||
msg_ok "Built ByteChef"
|
||||
|
||||
msg_info "Starting ByteChef"
|
||||
systemctl start bytechef
|
||||
msg_ok "Started ByteChef"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
+1
-2
@@ -36,8 +36,7 @@ function update_script() {
|
||||
msg_ok "Updated ${APP} LXC"
|
||||
|
||||
if [[ ! -f /etc/apt/sources.list.d/45drives.sources ]]; then
|
||||
[[ "$(arch_resolve)" == "arm64" ]] || read -r -p "Would you like to install 45Drives' cockpit-file-sharing, cockpit-identities, and cockpit-navigator now? <y/N> " prompt
|
||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||
if [[ "$(arch_resolve)" != "arm64" ]] && prompt_confirm "Would you like to install 45Drives' cockpit-file-sharing, cockpit-identities, and cockpit-navigator now?" "n"; then
|
||||
msg_info "Installing 45Drives' cockpit extensions"
|
||||
setup_deb822_repo "45drives" \
|
||||
"https://repo.45drives.com/key/gpg.asc" \
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -32,6 +32,7 @@ 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"
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-2
@@ -38,8 +38,7 @@ function update_script() {
|
||||
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
|
||||
echo -e "${TAB}${TAB}${GN}update_dockge${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
|
||||
echo ""
|
||||
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
|
||||
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
|
||||
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
|
||||
msg_warn "Migration skipped. The old update will continue to work for now."
|
||||
msg_info "Updating ${APP} (legacy)"
|
||||
cd /opt/dockge
|
||||
|
||||
@@ -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"
|
||||
|
||||
+1
-2
@@ -38,8 +38,7 @@ function update_script() {
|
||||
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
|
||||
echo -e "${TAB}${TAB}${GN}update_dokploy${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
|
||||
echo ""
|
||||
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
|
||||
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
|
||||
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
|
||||
msg_warn "Migration skipped. The old update will continue to work for now."
|
||||
msg_info "Updating ${APP} (legacy)"
|
||||
curl -sSL https://dokploy.com/install.sh | $STD bash -s update
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
@@ -64,6 +66,7 @@ function update_script() {
|
||||
msg_info "Building Firecrawl API"
|
||||
source "$HOME/.cargo/env"
|
||||
cd /opt/firecrawl/apps/api
|
||||
grep -q '^kuchikiki = "0.8.2"' native/Cargo.toml && sed -i 's|^nodesig = { git = "https://github.com/firecrawl/nodesig" }|nodesig = { git = "https://github.com/firecrawl/nodesig", rev = "b8ebc4a71081" }|' native/Cargo.toml
|
||||
$STD pnpm install --frozen-lockfile
|
||||
$STD pnpm build
|
||||
CI=true $STD pnpm prune --prod --ignore-scripts
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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/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}"
|
||||
@@ -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"
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ function update_script() {
|
||||
|
||||
APP_VERSION=$(grep -o '"version": *"[^"]*"' /opt/gitea-mirror/package.json | cut -d'"' -f4)
|
||||
if [[ $APP_VERSION =~ ^2\. ]]; then
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||
if is_unattended; then
|
||||
msg_warn "Version $APP_VERSION detected. Major version upgrade requires interactive confirmation, skipping."
|
||||
exit 75
|
||||
fi
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
#!/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/GopeedLab/gopeed
|
||||
|
||||
APP="Gopeed"
|
||||
var_tags="${var_tags:-downloader;torrent}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-1024}"
|
||||
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/gopeed ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "gopeed" "GopeedLab/gopeed"; then
|
||||
msg_info "Stopping Gopeed"
|
||||
systemctl stop gopeed
|
||||
msg_ok "Stopped Gopeed"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "gopeed" "GopeedLab/gopeed" "prebuild" "latest" "/opt/gopeed" "gopeed-web-v*-linux-$(arch_resolve "amd64" "arm64").zip"
|
||||
|
||||
msg_info "Starting Gopeed"
|
||||
systemctl start gopeed
|
||||
msg_ok "Started Gopeed"
|
||||
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}:9999${CL}"
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
#!/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/3xpyth0n/ideon
|
||||
|
||||
APP="Ideon"
|
||||
var_tags="${var_tags:-notes;canvas;collaboration}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-4096}"
|
||||
var_disk="${var_disk:-10}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/ideon ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
$STD sudo -u postgres psql -c "ALTER ROLE ideon BYPASSRLS;"
|
||||
|
||||
if check_for_gh_release "ideon" "3xpyth0n/ideon"; then
|
||||
msg_info "Stopping Ideon"
|
||||
systemctl stop ideon
|
||||
msg_ok "Stopped Ideon"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ideon" "3xpyth0n/ideon" "tarball"
|
||||
|
||||
msg_info "Building Ideon"
|
||||
cd /opt/ideon
|
||||
$STD npm ci
|
||||
NEXT_TELEMETRY_DISABLED=1 NODE_ENV=production IS_NEXT_BUILD=1 $STD npm run build
|
||||
$STD npm prune --omit=dev
|
||||
rm -rf /opt/ideon/.next/cache ~/.npm
|
||||
ln -s /opt/ideon_data/storage /opt/ideon/storage
|
||||
msg_ok "Built Ideon"
|
||||
|
||||
msg_info "Starting Ideon"
|
||||
systemctl start ideon
|
||||
msg_ok "Started Ideon"
|
||||
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}"
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ function update_script() {
|
||||
echo "Seerr is the new unified Jellyseerr and Overseerr."
|
||||
echo "More info: https://docs.seerr.dev/blog/seerr-release"
|
||||
echo
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||
if is_unattended; then
|
||||
msg_warn "Seerr migration detected - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/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://www.kali.org/
|
||||
|
||||
APP="Kali Linux"
|
||||
var_tags="${var_tags:-os}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-kali}"
|
||||
var_version="${var_version:-current}"
|
||||
#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
|
||||
msg_info "Updating $APP LXC"
|
||||
$STD apt update
|
||||
$STD apt upgrade -y
|
||||
msg_ok "Updated $APP LXC"
|
||||
cleanup_lxc
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed successfully!"
|
||||
msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!"
|
||||
@@ -51,6 +51,13 @@ function update_script() {
|
||||
$STD bun run --cwd applications/web build
|
||||
msg_ok "Built Keeper"
|
||||
|
||||
sed -i -e '/^COMMIT_SHA=/d' -e '/^VERSION=/d' -e '/^ICU_TIMEZONE_FILES_DIR=/d' /opt/keeper_data/.env
|
||||
cat <<EOF >>/opt/keeper_data/.env
|
||||
COMMIT_SHA=v$(cat ~/.keeper)
|
||||
VERSION=$(cat ~/.keeper)
|
||||
ICU_TIMEZONE_FILES_DIR=/opt/keeper/docker/icu-timezone
|
||||
EOF
|
||||
|
||||
msg_info "Migrating Keeper Database"
|
||||
$STD bun --env-file=/opt/keeper_data/.env packages/database/scripts/migrate.ts
|
||||
msg_ok "Migrated Keeper Database"
|
||||
|
||||
@@ -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"
|
||||
|
||||
+1
-2
@@ -38,8 +38,7 @@ function update_script() {
|
||||
msg_custom "ℹ️" "${YW}" "This is a one-time migration. After this, you can update ${APP} anytime with:"
|
||||
echo -e "${TAB}${TAB}${GN}update_komodo${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
|
||||
echo ""
|
||||
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
|
||||
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
|
||||
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
|
||||
msg_warn "Migration skipped. The old update will continue to work for now."
|
||||
msg_warn "⚠️ Komodo v2 uses :2 image tags. The :latest tag is deprecated and will not receive v2 updates."
|
||||
msg_warn "Please migrate to the addon script to receive Komodo v2."
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
#!/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: Tim Moore (angusmaul)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/TheWicklowWolf/Lidify
|
||||
|
||||
APP="Lidify"
|
||||
var_tags="${var_tags:-arr;music}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-1024}"
|
||||
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/lidify ]]; then
|
||||
msg_error "No Lidify Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "lidify" "TheWicklowWolf/Lidify"; then
|
||||
msg_info "Stopping Lidify"
|
||||
systemctl stop lidify
|
||||
msg_ok "Stopped Lidify"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="config" fetch_and_deploy_gh_release "lidify" "TheWicklowWolf/Lidify" "tarball"
|
||||
|
||||
msg_info "Updating Lidify"
|
||||
$STD uv venv --python 3.12 /opt/lidify/.venv
|
||||
$STD uv pip install --python /opt/lidify/.venv/bin/python -r /opt/lidify/requirements.txt
|
||||
cat <<EOF >/opt/lidify/.env
|
||||
RELEASE_VERSION=$(cat ~/.lidify)
|
||||
EOF
|
||||
msg_ok "Updated Lidify"
|
||||
|
||||
msg_info "Starting Lidify"
|
||||
systemctl start lidify
|
||||
msg_ok "Started Lidify"
|
||||
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}:5000${CL}"
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/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://linuxmint.com/
|
||||
|
||||
APP="Linux Mint"
|
||||
var_tags="${var_tags:-os}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-mint}"
|
||||
var_version="${var_version:-zena}"
|
||||
var_arm64="${var_arm64:-no}" # linuxcontainers publishes this one for amd64 only
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
msg_info "Updating $APP LXC"
|
||||
$STD apt update
|
||||
$STD apt upgrade -y
|
||||
msg_ok "Updated $APP LXC"
|
||||
cleanup_lxc
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed successfully!"
|
||||
msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!"
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
#!/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/mathesar-foundation/mathesar
|
||||
|
||||
APP="Mathesar"
|
||||
var_tags="${var_tags:-database;postgresql;spreadsheet}"
|
||||
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/mathesar ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "mathesar" "mathesar-foundation/mathesar"; then
|
||||
msg_info "Stopping Mathesar"
|
||||
systemctl stop mathesar
|
||||
msg_ok "Stopped Mathesar"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="sso.yml file_storage.yml login_page.yml" fetch_and_deploy_gh_release "mathesar" "mathesar-foundation/mathesar" "prebuild" "latest" "/opt/mathesar" "mathesar.tar.gz"
|
||||
|
||||
msg_info "Updating Mathesar"
|
||||
cd /opt/mathesar
|
||||
$STD uv venv --python 3.12 /opt/mathesar/.venv
|
||||
$STD uv pip install --python /opt/mathesar/.venv/bin/python -r requirements.txt
|
||||
set -a
|
||||
source /opt/mathesar_data/.env
|
||||
set +a
|
||||
$STD /opt/mathesar/.venv/bin/python -m mathesar.install
|
||||
msg_ok "Updated Mathesar"
|
||||
|
||||
msg_info "Starting Mathesar"
|
||||
systemctl start mathesar
|
||||
msg_ok "Started Mathesar"
|
||||
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}:8000${CL}"
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
#!/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/enchant97/note-mark
|
||||
|
||||
APP="Note Mark"
|
||||
var_tags="${var_tags:-notes;markdown}"
|
||||
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/notemark ]]; then
|
||||
msg_error "No Note Mark Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "notemark" "enchant97/note-mark"; then
|
||||
msg_info "Stopping Note Mark"
|
||||
systemctl stop notemark
|
||||
msg_ok "Stopped Note Mark"
|
||||
|
||||
setup_go
|
||||
NODE_VERSION="24" NODE_MODULE="pnpm@11" setup_nodejs
|
||||
RUST_PROFILE="minimal" setup_rust
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "notemark" "enchant97/note-mark" "tarball"
|
||||
|
||||
msg_info "Building Note Mark"
|
||||
$STD rustup target add wasm32-unknown-unknown
|
||||
cd /opt/notemark/frontend
|
||||
$STD pnpm install --frozen-lockfile
|
||||
$STD pnpm run wasm
|
||||
$STD pnpm run build
|
||||
cd /opt/notemark/backend
|
||||
$STD go tool sqlc generate
|
||||
CGO_ENABLED=0 $STD go build -ldflags "-X main.Version=$(cat ~/.notemark)" -o /opt/notemark/note-mark
|
||||
rm -rf /opt/notemark/frontend/node_modules /opt/notemark/frontend/renderer/target
|
||||
$STD go clean -cache -modcache
|
||||
msg_ok "Built Note Mark"
|
||||
|
||||
msg_info "Starting Note Mark"
|
||||
systemctl start notemark
|
||||
msg_ok "Started Note Mark"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
#!/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}"
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/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://www.oracle.com/linux/
|
||||
|
||||
APP="Oracle Linux"
|
||||
var_tags="${var_tags:-os}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-oracle}"
|
||||
var_version="${var_version:-9}"
|
||||
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
|
||||
msg_info "Updating $APP LXC"
|
||||
$STD dnf -y upgrade
|
||||
msg_ok "Updated $APP LXC"
|
||||
cleanup_lxc
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed successfully!"
|
||||
msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!"
|
||||
+1
-1
@@ -38,7 +38,7 @@ function update_script() {
|
||||
echo "Seerr is the new unified Jellyseerr and Overseerr."
|
||||
echo "More info: https://docs.seerr.dev/blog/seerr-release"
|
||||
echo
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||
if is_unattended; then
|
||||
msg_warn "Seerr migration detected - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
+2
-2
@@ -63,7 +63,7 @@ function update_script() {
|
||||
echo -e "${GATEWAY}${BGN}https://docs.paperless-ngx.com/migration-v3/#encryption-support${CL}"
|
||||
msg_warn "Before continuing make sure that you do not use encryption or have decrypted all documents."
|
||||
echo ""
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||
if is_unattended; then
|
||||
msg_warn "Paperless-ngx v3 migration detected - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
@@ -75,7 +75,7 @@ function update_script() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]] && ! grep -q "uv run" /etc/systemd/system/paperless-webserver.service; then
|
||||
if is_unattended && ! grep -q "uv run" /etc/systemd/system/paperless-webserver.service; then
|
||||
msg_warn "Paperless-ngx uv migration detected - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
+1
-1
@@ -78,7 +78,7 @@ EOF
|
||||
|
||||
create_backup /opt/portabase/.env
|
||||
|
||||
NODE_VERSION="22" NODE_MODULE="pnpm@11.8.0" setup_nodejs
|
||||
NODE_VERSION="24" NODE_MODULE="pnpm@11.8.0" setup_nodejs
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "portabase" "Portabase/portabase" "tarball"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
+1
-2
@@ -38,8 +38,7 @@ function update_script() {
|
||||
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
|
||||
echo -e "${TAB}${TAB}${GN}update_runtipi${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
|
||||
echo ""
|
||||
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
|
||||
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
|
||||
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
|
||||
msg_warn "Migration skipped. The old update will continue to work for now."
|
||||
msg_info "Updating ${APP} (legacy)"
|
||||
cd /opt/runtipi && ./runtipi-cli update latest
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -38,6 +38,10 @@ function update_script() {
|
||||
msg_warn "WARNING: Due to bugs with BoltDB database, update script will move your application"
|
||||
msg_warn "to use SQLite database instead. Make sure you have a backup of your data!"
|
||||
echo ""
|
||||
if is_unattended; then
|
||||
msg_warn "BoltDB to SQLite migration detected - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
read -r -p "${TAB3}Do you want to continue? (y/N): " CONFIRM
|
||||
if [[ ! "$CONFIRM" =~ ^[Yy]$ ]]; then
|
||||
exit 0
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Loaded 100 of 147 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user