Compare commits

..

18 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
284691700b fix(immich): fix testing repo not being added during update when preferences file already exists
Co-authored-by: michelroegl-brunner <73236783+michelroegl-brunner@users.noreply.github.com>
2026-03-06 22:27:44 +00:00
copilot-swe-agent[bot]
11f1d2a877 Initial plan 2026-03-06 22:22:46 +00:00
community-scripts-pr-app[bot]
c61b0e766a Update CHANGELOG.md (#12629)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-06 20:54:29 +00:00
Slaviša Arežina
9ff1d088c5 Semaphore: Move from BoltDB to SQLite (#12624)
* Fix

* start

* Apply suggestion from @tremor021
2026-03-06 21:53:47 +01:00
community-scripts-pr-app[bot]
be803ced6f Update CHANGELOG.md (#12626)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-06 20:07:11 +00:00
Slaviša Arežina
5949e9e32e Fix (#12625) 2026-03-06 21:06:45 +01:00
community-scripts-pr-app[bot]
bb3276bbbd Update CHANGELOG.md (#12623)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-06 19:44:23 +00:00
Aurélien
b7a09989cb fix(node-red): restart service after update (#12621) 2026-03-06 20:43:58 +01:00
community-scripts-pr-app[bot]
039d046649 chore: update github-versions.json (#12622)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-06 18:13:22 +00:00
community-scripts-pr-app[bot]
58301651e4 Update CHANGELOG.md (#12618)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-06 15:17:25 +00:00
Tobias
b848c2d1bf wealthfolio: update cors (#12617)
* Update wealthfolio-install.sh

* Update wealthfolio.sh
2026-03-06 16:17:00 +01:00
CanbiZ (MickLesk)
9e2bb23d35 fix(wealthfolio): pin to v3.0.3 due to breaking changes 2026-03-06 14:16:54 +01:00
CanbiZ (MickLesk)
eb848fd70f databasus: make fetch_and_deploy_from_url accept empty dir
Pass an explicit empty second argument when downloading MongoDB tools and update fetch_and_deploy_from_url to default the directory parameter to an empty string. This avoids unset/ambiguous directory handling at the call site and ensures the function has a defined directory variable even when none is provided.
2026-03-06 14:11:57 +01:00
community-scripts-pr-app[bot]
176fffff0b Update CHANGELOG.md (#12616)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-06 13:04:52 +00:00
Slaviša Arežina
14e13edeef Add better update handling (#12611) 2026-03-06 14:04:23 +01:00
community-scripts-pr-app[bot]
4f70196444 chore: update github-versions.json (#12613)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-06 12:10:47 +00:00
community-scripts-pr-app[bot]
acc715de82 Update CHANGELOG.md (#12610)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-06 09:21:14 +00:00
Slaviša Arežina
5bfb5f486f RustDesk Server: Switch to updated repository (#12083)
* switch repo

* Add info about Alpine admin password and script usage

---------

Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-03-06 10:20:46 +01:00
16 changed files with 128 additions and 63 deletions

View File

@@ -412,6 +412,23 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
## 2026-03-06 ## 2026-03-06
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- RustDesk Server: Fix update script [@tremor021](https://github.com/tremor021) ([#12625](https://github.com/community-scripts/ProxmoxVE/pull/12625))
- [Node-RED] Restart service after update [@Aurelien30000](https://github.com/Aurelien30000) ([#12621](https://github.com/community-scripts/ProxmoxVE/pull/12621))
- wealthfolio: update cors [@CrazyWolf13](https://github.com/CrazyWolf13) ([#12617](https://github.com/community-scripts/ProxmoxVE/pull/12617))
- CryptPad: Better update handling [@tremor021](https://github.com/tremor021) ([#12611](https://github.com/community-scripts/ProxmoxVE/pull/12611))
- #### ✨ New Features
- RustDesk Server: Switch to updated repository [@tremor021](https://github.com/tremor021) ([#12083](https://github.com/community-scripts/ProxmoxVE/pull/12083))
- #### 💥 Breaking Changes
- Semaphore: Move from BoltDB to SQLite [@tremor021](https://github.com/tremor021) ([#12624](https://github.com/community-scripts/ProxmoxVE/pull/12624))
## 2026-03-05 ## 2026-03-05
### 🆕 New Scripts ### 🆕 New Scripts

View File

@@ -31,6 +31,10 @@ function update_script() {
msg_info "Updating Node-RED" msg_info "Updating Node-RED"
$STD npm install -g --unsafe-perm node-red $STD npm install -g --unsafe-perm node-red
msg_ok "Updated Node-RED" msg_ok "Updated Node-RED"
msg_info "Restarting Node-RED"
$STD rc-service nodered restart
msg_ok "Restarted Node-RED"
msg_ok "Updated successfully!" msg_ok "Updated successfully!"
exit 0 exit 0
} }

View File

@@ -3,7 +3,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
# Copyright (c) 2021-2026 community-scripts ORG # Copyright (c) 2021-2026 community-scripts ORG
# Author: Slaviša Arežina (tremor021) # Author: Slaviša Arežina (tremor021)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/lejianwen/rustdesk-server # Source: https://github.com/rustdesk/rustdesk-server
APP="Alpine-RustDeskServer" APP="Alpine-RustDeskServer"
var_tags="${var_tags:-alpine;monitoring}" var_tags="${var_tags:-alpine;monitoring}"
@@ -41,7 +41,7 @@ function update_script() {
$STD service rustdesk-server-hbbs start $STD service rustdesk-server-hbbs start
$STD service rustdesk-server-hbbr start $STD service rustdesk-server-hbbr start
rm -rf amd64 rm -rf amd64
rm -f $temp_file1 rm -f "$temp_file1"
msg_ok "Updated RustDesk Server" msg_ok "Updated RustDesk Server"
else else
msg_ok "No update required. ${APP} is already at v${RELEASE}" msg_ok "No update required. ${APP} is already at v${RELEASE}"
@@ -56,7 +56,7 @@ function update_script() {
echo "${APIRELEASE}" >~/.rustdesk-api echo "${APIRELEASE}" >~/.rustdesk-api
$STD service rustdesk-api start $STD service rustdesk-api start
rm -rf release rm -rf release
rm -f $temp_file2 rm -f "$temp_file2"
msg_ok "Updated RustDesk API" msg_ok "Updated RustDesk API"
else else
msg_ok "No update required. RustDesk API is already at v${APIRELEASE}" msg_ok "No update required. RustDesk API is already at v${APIRELEASE}"

View File

@@ -33,17 +33,23 @@ function update_script() {
systemctl stop cryptpad systemctl stop cryptpad
msg_info "Stopped Service" msg_info "Stopped Service"
msg_info "Backing up configuration" msg_info "Creating backup"
[ -f /opt/cryptpad/config/config.js ] && mv /opt/cryptpad/config/config.js /opt/ [ -f /opt/cryptpad/config/config.js ] && mv /opt/cryptpad/config/config.js /opt/
msg_ok "Backed up configuration" for dir in blob block customize data datastore www/common/onlyoffice/dist onlyoffice-conf; do
[ -d "/opt/cryptpad/${dir}" ] && mv "/opt/cryptpad/${dir}" "/tmp/cryptpad_${dir//\//_}"
done
msg_ok "Created backup"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cryptpad" "cryptpad/cryptpad" "tarball" CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cryptpad" "cryptpad/cryptpad" "tarball"
msg_info "Restoring configuration" msg_info "Restoring backup"
mv /opt/config.js /opt/cryptpad/config/ mv /opt/config.js /opt/cryptpad/config/
msg_ok "Configuration restored" for dir in blob block customize data datastore www/common/onlyoffice/dist onlyoffice-conf; do
[ -d "/tmp/cryptpad_${dir//\//_}" ] && mv "/tmp/cryptpad_${dir//\//_}" "/opt/cryptpad/${dir}"
done
msg_ok "Restored backup"
msg_info "Updating CryptaPad" msg_info "Updating CryptPad"
cd /opt/cryptpad cd /opt/cryptpad
$STD npm ci $STD npm ci
$STD npm run install:components $STD npm run install:components

View File

@@ -36,9 +36,13 @@ function update_script() {
exit exit
fi fi
if [[ ! -f /etc/apt/preferences.d/preferences ]]; then if ! grep -qE '(^|[[:space:]])testing([[:space:]]|$)' /etc/apt/sources.list.d/debian.sources 2>/dev/null; then
msg_info "Adding Debian Testing repo" msg_info "Adding Debian Testing repo"
sed -i 's/ trixie-updates/ trixie-updates testing/g' /etc/apt/sources.list.d/debian.sources if grep -q "trixie-updates" /etc/apt/sources.list.d/debian.sources 2>/dev/null; then
sed -i 's/ trixie-updates/ trixie-updates testing/g' /etc/apt/sources.list.d/debian.sources
else
sed -i '/^[[:space:]]*Suites:.*trixie/ s/$/ testing/' /etc/apt/sources.list.d/debian.sources
fi
cat <<EOF >/etc/apt/preferences.d/preferences cat <<EOF >/etc/apt/preferences.d/preferences
Package: * Package: *
Pin: release a=unstable Pin: release a=unstable

View File

@@ -3,7 +3,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
# Copyright (c) 2021-2026 community-scripts ORG # Copyright (c) 2021-2026 community-scripts ORG
# Author: Slaviša Arežina (tremor021) # Author: Slaviša Arežina (tremor021)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/lejianwen/rustdesk-server # Source: https://github.com/rustdesk/rustdesk-server
APP="RustDesk Server" APP="RustDesk Server"
var_tags="${var_tags:-remote-desktop}" var_tags="${var_tags:-remote-desktop}"
@@ -29,9 +29,7 @@ function update_script() {
exit exit
fi fi
RELEASE=$(curl -fsSL https://api.github.com/repos/lejianwen/rustdesk-server/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') if check_for_gh_release "rustdesk-api"; then
APIRELEASE=$(curl -fsSL https://api.github.com/repos/lejianwen/rustdesk-api/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ "${RELEASE}" != "$(cat ~/.rustdesk-hbbr)" ]] || [[ "${APIRELEASE}" != "$(cat ~/.rustdesk-api)" ]] || [[ ! -f ~/.rustdesk-hbbr ]] || [[ ! -f ~/.rustdesk-api ]]; then
msg_info "Stopping Service" msg_info "Stopping Service"
systemctl stop rustdesk-hbbr systemctl stop rustdesk-hbbr
systemctl stop rustdesk-hbbs systemctl stop rustdesk-hbbs
@@ -46,7 +44,7 @@ function update_script() {
fetch_and_deploy_gh_release "rustdesk-api" "lejianwen/rustdesk-api" "binary" "latest" "/opt/rustdesk" "rustdesk-api-server*amd64.deb" fetch_and_deploy_gh_release "rustdesk-api" "lejianwen/rustdesk-api" "binary" "latest" "/opt/rustdesk" "rustdesk-api-server*amd64.deb"
msg_info "Starting services" msg_info "Starting services"
systemctl start -q rustdesk-* --all systemctl start -q rustdesk-*
msg_ok "Services started" msg_ok "Services started"
msg_ok "Updated successfully!" msg_ok "Updated successfully!"

View File

@@ -28,6 +28,34 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
if [[ -f /opt/semaphore/semaphore_db.bolt ]]; then
msg_warn "WARNING: Due to bugs with BoltDB database, update script will move your application"
msg_warn "to use SQLite database instead. Unfortunately, this will reset your application and make it a fresh"
msg_warn "installation. All your data will be lost!"
echo ""
read -r -p "${TAB3}Do you want to continue? (y/N): " CONFIRM
if [[ ! "$CONFIRM" =~ ^[Yy]$ ]]; then
exit 0
else
msg_info "Moving from BoltDB to SQLite"
systemctl stop semaphore
rm -rf /opt/semaphore/semaphore_db.bolt
sed -i \
-e 's|"bolt": {|"sqlite": {|' \
-e 's|/semaphore_db.bolt"|/database.sqlite"|' \
-e '/semaphore_db.bolt/d' \
-e '/"dialect"/d' \
-e '/^ },$/a\ "dialect": "sqlite",' \
/opt/semaphore/config.json
SEM_PW=$(cat ~/semaphore.creds)
systemctl start semaphore
$STD semaphore user add --admin --login admin --email admin@helper-scripts.com --name Administrator --password "${SEM_PW}" --config /opt/semaphore/config.json
msg_ok "Moved from BoltDB to SQLite"
fi
fi
if check_for_gh_release "semaphore" "semaphoreui/semaphore"; then if check_for_gh_release "semaphore" "semaphoreui/semaphore"; then
msg_info "Stopping Service" msg_info "Stopping Service"
systemctl stop semaphore systemctl stop semaphore

View File

@@ -29,6 +29,10 @@ function update_script() {
exit exit
fi fi
if grep -q '^WF_CORS_ALLOW_ORIGINS=\*$' /opt/wealthfolio/.env; then
sed -i "s|^WF_CORS_ALLOW_ORIGINS=\*$|WF_CORS_ALLOW_ORIGINS=http://${LOCAL_IP}:8080|" /opt/wealthfolio/.env
fi
if check_for_gh_release "wealthfolio" "afadil/wealthfolio"; then if check_for_gh_release "wealthfolio" "afadil/wealthfolio"; then
msg_info "Stopping Service" msg_info "Stopping Service"
systemctl stop wealthfolio systemctl stop wealthfolio

View File

@@ -1,5 +1,5 @@
{ {
"generated": "2026-03-06T06:16:24Z", "generated": "2026-03-06T18:13:12Z",
"versions": [ "versions": [
{ {
"slug": "2fauth", "slug": "2fauth",
@@ -270,9 +270,9 @@
{ {
"slug": "databasus", "slug": "databasus",
"repo": "databasus/databasus", "repo": "databasus/databasus",
"version": "v3.16.4", "version": "v3.17.0",
"pinned": false, "pinned": false,
"date": "2026-03-01T08:20:17Z" "date": "2026-03-06T07:07:22Z"
}, },
{ {
"slug": "dawarich", "slug": "dawarich",
@@ -284,9 +284,9 @@
{ {
"slug": "discopanel", "slug": "discopanel",
"repo": "nickheyer/discopanel", "repo": "nickheyer/discopanel",
"version": "v1.0.37", "version": "v2.0.0",
"pinned": false, "pinned": false,
"date": "2026-02-18T08:53:43Z" "date": "2026-03-06T08:19:39Z"
}, },
{ {
"slug": "dispatcharr", "slug": "dispatcharr",
@@ -326,9 +326,9 @@
{ {
"slug": "drawio", "slug": "drawio",
"repo": "jgraph/drawio", "repo": "jgraph/drawio",
"version": "v29.5.2", "version": "v29.6.1",
"pinned": false, "pinned": false,
"date": "2026-02-22T10:36:14Z" "date": "2026-03-06T09:14:17Z"
}, },
{ {
"slug": "duplicati", "slug": "duplicati",
@@ -382,9 +382,9 @@
{ {
"slug": "firefly", "slug": "firefly",
"repo": "firefly-iii/firefly-iii", "repo": "firefly-iii/firefly-iii",
"version": "v6.5.3", "version": "v6.5.4",
"pinned": false, "pinned": false,
"date": "2026-03-04T06:53:02Z" "date": "2026-03-06T09:07:56Z"
}, },
{ {
"slug": "fladder", "slug": "fladder",
@@ -501,9 +501,9 @@
{ {
"slug": "grocy", "slug": "grocy",
"repo": "grocy/grocy", "repo": "grocy/grocy",
"version": "v4.5.0", "version": "v4.6.0",
"pinned": false, "pinned": false,
"date": "2025-03-28T19:02:22Z" "date": "2026-03-06T17:35:19Z"
}, },
{ {
"slug": "guardian", "slug": "guardian",
@@ -641,9 +641,9 @@
{ {
"slug": "kapowarr", "slug": "kapowarr",
"repo": "Casvt/Kapowarr", "repo": "Casvt/Kapowarr",
"version": "V1.2.0", "version": "V1.3.0",
"pinned": false, "pinned": false,
"date": "2025-04-16T14:55:28Z" "date": "2026-03-06T16:38:21Z"
}, },
{ {
"slug": "karakeep", "slug": "karakeep",
@@ -872,9 +872,9 @@
{ {
"slug": "metube", "slug": "metube",
"repo": "alexta69/metube", "repo": "alexta69/metube",
"version": "2026.03.03", "version": "2026.03.06",
"pinned": false, "pinned": false,
"date": "2026-03-03T19:15:55Z" "date": "2026-03-06T13:52:56Z"
}, },
{ {
"slug": "miniflux", "slug": "miniflux",
@@ -1138,9 +1138,9 @@
{ {
"slug": "pocketbase", "slug": "pocketbase",
"repo": "pocketbase/pocketbase", "repo": "pocketbase/pocketbase",
"version": "v0.36.5", "version": "v0.36.6",
"pinned": false, "pinned": false,
"date": "2026-02-21T11:45:32Z" "date": "2026-03-06T08:07:09Z"
}, },
{ {
"slug": "pocketid", "slug": "pocketid",
@@ -1229,9 +1229,9 @@
{ {
"slug": "pulse", "slug": "pulse",
"repo": "rcourtman/Pulse", "repo": "rcourtman/Pulse",
"version": "v5.1.20", "version": "v5.1.21",
"pinned": false, "pinned": false,
"date": "2026-03-06T00:30:32Z" "date": "2026-03-06T12:13:08Z"
}, },
{ {
"slug": "pve-scripts-local", "slug": "pve-scripts-local",
@@ -1333,10 +1333,10 @@
}, },
{ {
"slug": "rustdeskserver", "slug": "rustdeskserver",
"repo": "rustdesk/rustdesk-server", "repo": "lejianwen/rustdesk-server",
"version": "1.1.15", "version": "v0.1.2",
"pinned": false, "pinned": false,
"date": "2026-01-12T05:38:30Z" "date": "2025-09-01T02:52:30Z"
}, },
{ {
"slug": "rustypaste", "slug": "rustypaste",
@@ -1355,9 +1355,9 @@
{ {
"slug": "scanopy", "slug": "scanopy",
"repo": "scanopy/scanopy", "repo": "scanopy/scanopy",
"version": "v0.14.12", "version": "v0.14.14",
"pinned": false, "pinned": false,
"date": "2026-03-05T07:24:59Z" "date": "2026-03-06T06:50:38Z"
}, },
{ {
"slug": "scraparr", "slug": "scraparr",
@@ -1411,9 +1411,9 @@
{ {
"slug": "silverbullet", "slug": "silverbullet",
"repo": "silverbulletmd/silverbullet", "repo": "silverbulletmd/silverbullet",
"version": "2.5.1", "version": "2.5.2",
"pinned": false, "pinned": false,
"date": "2026-03-05T15:13:22Z" "date": "2026-03-06T12:20:58Z"
}, },
{ {
"slug": "slskd", "slug": "slskd",
@@ -1474,9 +1474,9 @@
{ {
"slug": "stirling-pdf", "slug": "stirling-pdf",
"repo": "Stirling-Tools/Stirling-PDF", "repo": "Stirling-Tools/Stirling-PDF",
"version": "v2.6.0", "version": "v2.7.0",
"pinned": false, "pinned": false,
"date": "2026-03-03T20:46:42Z" "date": "2026-03-06T11:21:47Z"
}, },
{ {
"slug": "streamlink-webui", "slug": "streamlink-webui",
@@ -1593,9 +1593,9 @@
{ {
"slug": "traefik", "slug": "traefik",
"repo": "traefik/traefik", "repo": "traefik/traefik",
"version": "v3.6.9", "version": "v3.6.10",
"pinned": false, "pinned": false,
"date": "2026-02-23T17:21:17Z" "date": "2026-03-06T15:08:35Z"
}, },
{ {
"slug": "trilium", "slug": "trilium",
@@ -1740,9 +1740,9 @@
{ {
"slug": "wealthfolio", "slug": "wealthfolio",
"repo": "afadil/wealthfolio", "repo": "afadil/wealthfolio",
"version": "v3.0.4", "version": "v3.0.3",
"pinned": false, "pinned": true,
"date": "2026-03-05T19:58:24Z" "date": "2026-03-03T21:47:55Z"
}, },
{ {
"slug": "web-check", "slug": "web-check",
@@ -1838,9 +1838,9 @@
{ {
"slug": "zwave-js-ui", "slug": "zwave-js-ui",
"repo": "zwave-js/zwave-js-ui", "repo": "zwave-js/zwave-js-ui",
"version": "v11.13.0", "version": "v11.14.0",
"pinned": false, "pinned": false,
"date": "2026-03-04T15:09:54Z" "date": "2026-03-06T09:34:32Z"
} }
] ]
} }

View File

@@ -33,7 +33,7 @@
}, },
"notes": [ "notes": [
{ {
"text": "This instance uses BoltDB", "text": "This instance uses SQLite",
"type": "info" "type": "info"
}, },
{ {

View File

@@ -3,7 +3,7 @@
# Copyright (c) 2021-2026 community-scripts ORG # Copyright (c) 2021-2026 community-scripts ORG
# Author: Slaviša Arežina (tremor021) # Author: Slaviša Arežina (tremor021)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/lejianwen/rustdesk-server # Source: https://github.com/rustdesk/rustdesk-server
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color color
@@ -21,9 +21,9 @@ $STD unzip "$temp_file1"
mv amd64 /opt/rustdesk-server mv amd64 /opt/rustdesk-server
mkdir -p /root/.config/rustdesk mkdir -p /root/.config/rustdesk
cd /opt/rustdesk-server cd /opt/rustdesk-server
./rustdesk-utils genkeypair > /tmp/rustdesk_keys.txt ./rustdesk-utils genkeypair >/tmp/rustdesk_keys.txt
grep "Public Key" /tmp/rustdesk_keys.txt | awk '{print $3}' > /root/.config/rustdesk/id_ed25519.pub grep "Public Key" /tmp/rustdesk_keys.txt | awk '{print $3}' >/root/.config/rustdesk/id_ed25519.pub
grep "Secret Key" /tmp/rustdesk_keys.txt | awk '{print $3}' > /root/.config/rustdesk/id_ed25519 grep "Secret Key" /tmp/rustdesk_keys.txt | awk '{print $3}' >/root/.config/rustdesk/id_ed25519
chmod 600 /root/.config/rustdesk/id_ed25519 chmod 600 /root/.config/rustdesk/id_ed25519
chmod 644 /root/.config/rustdesk/id_ed25519.pub chmod 644 /root/.config/rustdesk/id_ed25519.pub
rm /tmp/rustdesk_keys.txt rm /tmp/rustdesk_keys.txt

View File

@@ -33,7 +33,7 @@ done
# Install MongoDB Database Tools via direct .deb (no APT repo for Debian 13) # Install MongoDB Database Tools via direct .deb (no APT repo for Debian 13)
[[ "$(get_os_info id)" == "ubuntu" ]] && MONGO_DIST="ubuntu2204" || MONGO_DIST="debian12" [[ "$(get_os_info id)" == "ubuntu" ]] && MONGO_DIST="ubuntu2204" || MONGO_DIST="debian12"
MONGO_VERSION=$(get_latest_gh_tag "mongodb/mongo-tools" "100." || echo "100.14.1") MONGO_VERSION=$(get_latest_gh_tag "mongodb/mongo-tools" "100." || echo "100.14.1")
fetch_and_deploy_from_url "https://fastdl.mongodb.org/tools/db/mongodb-database-tools-${MONGO_DIST}-x86_64-${MONGO_VERSION}.deb" fetch_and_deploy_from_url "https://fastdl.mongodb.org/tools/db/mongodb-database-tools-${MONGO_DIST}-x86_64-${MONGO_VERSION}.deb" ""
mkdir -p /usr/local/mongodb-database-tools/bin mkdir -p /usr/local/mongodb-database-tools/bin
[[ -f /usr/bin/mongodump ]] && ln -sf /usr/bin/mongodump /usr/local/mongodb-database-tools/bin/mongodump [[ -f /usr/bin/mongodump ]] && ln -sf /usr/bin/mongodump /usr/local/mongodb-database-tools/bin/mongodump
[[ -f /usr/bin/mongorestore ]] && ln -sf /usr/bin/mongorestore /usr/local/mongodb-database-tools/bin/mongorestore [[ -f /usr/bin/mongorestore ]] && ln -sf /usr/bin/mongorestore /usr/local/mongodb-database-tools/bin/mongorestore

View File

@@ -3,7 +3,7 @@
# Copyright (c) 2021-2026 community-scripts ORG # Copyright (c) 2021-2026 community-scripts ORG
# Author: Slaviša Arežina (tremor021) # Author: Slaviša Arežina (tremor021)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/lejianwen/rustdesk-server # Source: https://github.com/rustdesk/rustdesk-server
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color color
@@ -17,6 +17,9 @@ fetch_and_deploy_gh_release "rustdesk-hbbr" "lejianwen/rustdesk-server" "binary"
fetch_and_deploy_gh_release "rustdesk-hbbs" "lejianwen/rustdesk-server" "binary" "latest" "/opt/rustdesk" "rustdesk-server-hbbs*amd64.deb" fetch_and_deploy_gh_release "rustdesk-hbbs" "lejianwen/rustdesk-server" "binary" "latest" "/opt/rustdesk" "rustdesk-server-hbbs*amd64.deb"
fetch_and_deploy_gh_release "rustdesk-utils" "lejianwen/rustdesk-server" "binary" "latest" "/opt/rustdesk" "rustdesk-server-utils*amd64.deb" fetch_and_deploy_gh_release "rustdesk-utils" "lejianwen/rustdesk-server" "binary" "latest" "/opt/rustdesk" "rustdesk-server-utils*amd64.deb"
fetch_and_deploy_gh_release "rustdesk-api" "lejianwen/rustdesk-api" "binary" "latest" "/opt/rustdesk" "rustdesk-api-server*amd64.deb" fetch_and_deploy_gh_release "rustdesk-api" "lejianwen/rustdesk-api" "binary" "latest" "/opt/rustdesk" "rustdesk-api-server*amd64.deb"
systemctl enable -q --now rustdesk-hbbr
systemctl enable -q --now rustdesk-hbbs
systemctl enable -q --now rustdesk-api
motd_ssh motd_ssh
customize customize

View File

@@ -30,11 +30,12 @@ SEM_KEY=$(openssl rand -base64 32)
SEM_PW=$(openssl rand -base64 12) SEM_PW=$(openssl rand -base64 12)
cat <<EOF >/opt/semaphore/config.json cat <<EOF >/opt/semaphore/config.json
{ {
"bolt": { "sqlite": {
"host": "/opt/semaphore/semaphore_db.bolt" "host": "/opt/semaphore/database.sqlite"
}, },
"dialect": "sqlite",
"tmp_path": "/opt/semaphore/tmp", "tmp_path": "/opt/semaphore/tmp",
"cookie_hash": "${SEM_HASH}", "cookie_hash": "${SEM_HASH}",
"cookie_encryption": "${SEM_ENCRYPTION}", "cookie_encryption": "${SEM_ENCRYPTION}",
"access_key_encryption": "${SEM_KEY}" "access_key_encryption": "${SEM_KEY}"
} }

View File

@@ -24,7 +24,7 @@ msg_ok "Installed Dependencies"
setup_rust setup_rust
NODE_VERSION="20" NODE_MODULE="pnpm" setup_nodejs NODE_VERSION="20" NODE_MODULE="pnpm" setup_nodejs
fetch_and_deploy_gh_release "wealthfolio" "afadil/wealthfolio" "tarball" fetch_and_deploy_gh_release "wealthfolio" "afadil/wealthfolio" "tarball" "v3.0.3"
msg_info "Building Frontend (patience)" msg_info "Building Frontend (patience)"
cd /opt/wealthfolio cd /opt/wealthfolio
@@ -51,8 +51,8 @@ WF_DB_PATH=/opt/wealthfolio_data/wealthfolio.db
WF_SECRET_KEY=${SECRET_KEY} WF_SECRET_KEY=${SECRET_KEY}
WF_AUTH_PASSWORD_HASH=${WF_PASSWORD_HASH} WF_AUTH_PASSWORD_HASH=${WF_PASSWORD_HASH}
WF_STATIC_DIR=/opt/wealthfolio/dist WF_STATIC_DIR=/opt/wealthfolio/dist
WF_CORS_ALLOW_ORIGINS=*
WF_REQUEST_TIMEOUT_MS=30000 WF_REQUEST_TIMEOUT_MS=30000
WF_CORS_ALLOW_ORIGINS=http://${LOCAL_IP}:8080
EOF EOF
echo "WF_PASSWORD=${WF_PASSWORD}" >~/wealthfolio.creds echo "WF_PASSWORD=${WF_PASSWORD}" >~/wealthfolio.creds
msg_ok "Configured Wealthfolio" msg_ok "Configured Wealthfolio"

View File

@@ -7999,7 +7999,7 @@ EOF
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
function fetch_and_deploy_from_url() { function fetch_and_deploy_from_url() {
local url="$1" local url="$1"
local directory="$2" local directory="${2:-}"
if [[ -z "$url" ]]; then if [[ -z "$url" ]]; then
msg_error "URL parameter is required" msg_error "URL parameter is required"