Compare commits

..

1 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
d9961eed74 Use lejianwen/rustdesk-server releases
Switch repository references from rustdesk/rustdesk-server to lejianwen/rustdesk-server across container templates and installers. Updated GitHub API release lookups, download URLs (zip for Alpine) and fetch_and_deploy_gh_release targets so hbbs/hbbr/utils packages come from lejianwen's builds. Added frontend info explaining the change for API (SSO/OAuth) compatibility and updated source header comments accordingly.
2026-03-06 10:08:05 +01:00
15 changed files with 79 additions and 142 deletions

View File

@@ -410,27 +410,8 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details> </details>
## 2026-03-07
## 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,10 +31,6 @@ 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/rustdesk/rustdesk-server # Source: https://github.com/lejianwen/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,23 +33,17 @@ function update_script() {
systemctl stop cryptpad systemctl stop cryptpad
msg_info "Stopped Service" msg_info "Stopped Service"
msg_info "Creating backup" msg_info "Backing up configuration"
[ -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/
for dir in blob block customize data datastore www/common/onlyoffice/dist onlyoffice-conf; do msg_ok "Backed up configuration"
[ -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 backup" msg_info "Restoring configuration"
mv /opt/config.js /opt/cryptpad/config/ mv /opt/config.js /opt/cryptpad/config/
for dir in blob block customize data datastore www/common/onlyoffice/dist onlyoffice-conf; do msg_ok "Configuration restored"
[ -d "/tmp/cryptpad_${dir//\//_}" ] && mv "/tmp/cryptpad_${dir//\//_}" "/opt/cryptpad/${dir}"
done
msg_ok "Restored backup"
msg_info "Updating CryptPad" msg_info "Updating CryptaPad"
cd /opt/cryptpad cd /opt/cryptpad
$STD npm ci $STD npm ci
$STD npm run install:components $STD npm run install:components

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/rustdesk/rustdesk-server # Source: https://github.com/lejianwen/rustdesk-server
APP="RustDesk Server" APP="RustDesk Server"
var_tags="${var_tags:-remote-desktop}" var_tags="${var_tags:-remote-desktop}"
@@ -29,7 +29,9 @@ function update_script() {
exit exit
fi fi
if check_for_gh_release "rustdesk-api"; then RELEASE=$(curl -fsSL https://api.github.com/repos/lejianwen/rustdesk-server/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
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
@@ -44,7 +46,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-* systemctl start -q rustdesk-* --all
msg_ok "Services started" msg_ok "Services started"
msg_ok "Updated successfully!" msg_ok "Updated successfully!"

View File

@@ -28,34 +28,6 @@ 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,10 +29,6 @@ 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-07T12:08:02Z", "generated": "2026-03-06T06:16:24Z",
"versions": [ "versions": [
{ {
"slug": "2fauth", "slug": "2fauth",
@@ -116,9 +116,9 @@
{ {
"slug": "bentopdf", "slug": "bentopdf",
"repo": "alam00000/bentopdf", "repo": "alam00000/bentopdf",
"version": "v2.4.1", "version": "v2.4.0",
"pinned": false, "pinned": false,
"date": "2026-03-07T09:14:39Z" "date": "2026-03-01T14:25:43Z"
}, },
{ {
"slug": "beszel", "slug": "beszel",
@@ -151,9 +151,9 @@
{ {
"slug": "booklore", "slug": "booklore",
"repo": "booklore-app/BookLore", "repo": "booklore-app/BookLore",
"version": "v2.0.6", "version": "v2.0.5",
"pinned": false, "pinned": false,
"date": "2026-03-06T19:16:29Z" "date": "2026-03-01T16:13:13Z"
}, },
{ {
"slug": "bookstack", "slug": "bookstack",
@@ -193,9 +193,9 @@
{ {
"slug": "checkmate", "slug": "checkmate",
"repo": "bluewave-labs/Checkmate", "repo": "bluewave-labs/Checkmate",
"version": "v3.5.1", "version": "v3.5.0",
"pinned": false, "pinned": false,
"date": "2026-03-06T21:18:36Z" "date": "2026-03-04T19:51:22Z"
}, },
{ {
"slug": "cleanuparr", "slug": "cleanuparr",
@@ -270,9 +270,9 @@
{ {
"slug": "databasus", "slug": "databasus",
"repo": "databasus/databasus", "repo": "databasus/databasus",
"version": "v3.17.0", "version": "v3.16.4",
"pinned": false, "pinned": false,
"date": "2026-03-06T07:07:22Z" "date": "2026-03-01T08:20:17Z"
}, },
{ {
"slug": "dawarich", "slug": "dawarich",
@@ -284,9 +284,9 @@
{ {
"slug": "discopanel", "slug": "discopanel",
"repo": "nickheyer/discopanel", "repo": "nickheyer/discopanel",
"version": "v2.0.1", "version": "v1.0.37",
"pinned": false, "pinned": false,
"date": "2026-03-07T02:43:33Z" "date": "2026-02-18T08:53:43Z"
}, },
{ {
"slug": "dispatcharr", "slug": "dispatcharr",
@@ -326,9 +326,9 @@
{ {
"slug": "drawio", "slug": "drawio",
"repo": "jgraph/drawio", "repo": "jgraph/drawio",
"version": "v29.6.1", "version": "v29.5.2",
"pinned": false, "pinned": false,
"date": "2026-03-06T09:14:17Z" "date": "2026-02-22T10:36:14Z"
}, },
{ {
"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.4", "version": "v6.5.3",
"pinned": false, "pinned": false,
"date": "2026-03-06T09:07:56Z" "date": "2026-03-04T06:53:02Z"
}, },
{ {
"slug": "fladder", "slug": "fladder",
@@ -452,9 +452,9 @@
{ {
"slug": "gitea-mirror", "slug": "gitea-mirror",
"repo": "RayLabsHQ/gitea-mirror", "repo": "RayLabsHQ/gitea-mirror",
"version": "v3.12.5", "version": "v3.12.4",
"pinned": false, "pinned": false,
"date": "2026-03-07T01:30:40Z" "date": "2026-03-06T05:02:40Z"
}, },
{ {
"slug": "glance", "slug": "glance",
@@ -501,9 +501,9 @@
{ {
"slug": "grocy", "slug": "grocy",
"repo": "grocy/grocy", "repo": "grocy/grocy",
"version": "v4.6.0", "version": "v4.5.0",
"pinned": false, "pinned": false,
"date": "2026-03-06T17:35:19Z" "date": "2025-03-28T19:02:22Z"
}, },
{ {
"slug": "guardian", "slug": "guardian",
@@ -550,9 +550,9 @@
{ {
"slug": "homarr", "slug": "homarr",
"repo": "homarr-labs/homarr", "repo": "homarr-labs/homarr",
"version": "v1.55.0", "version": "v1.54.0",
"pinned": false, "pinned": false,
"date": "2026-03-06T19:40:16Z" "date": "2026-02-27T19:38:50Z"
}, },
{ {
"slug": "homebox", "slug": "homebox",
@@ -613,9 +613,9 @@
{ {
"slug": "jackett", "slug": "jackett",
"repo": "Jackett/Jackett", "repo": "Jackett/Jackett",
"version": "v0.24.1307", "version": "v0.24.1292",
"pinned": false, "pinned": false,
"date": "2026-03-07T05:55:30Z" "date": "2026-03-06T05:57:21Z"
}, },
{ {
"slug": "jellystat", "slug": "jellystat",
@@ -641,9 +641,9 @@
{ {
"slug": "kapowarr", "slug": "kapowarr",
"repo": "Casvt/Kapowarr", "repo": "Casvt/Kapowarr",
"version": "V1.3.0", "version": "V1.2.0",
"pinned": false, "pinned": false,
"date": "2026-03-06T16:38:21Z" "date": "2025-04-16T14:55:28Z"
}, },
{ {
"slug": "karakeep", "slug": "karakeep",
@@ -872,9 +872,9 @@
{ {
"slug": "metube", "slug": "metube",
"repo": "alexta69/metube", "repo": "alexta69/metube",
"version": "2026.03.06", "version": "2026.03.03",
"pinned": false, "pinned": false,
"date": "2026-03-06T13:52:56Z" "date": "2026-03-03T19:15:55Z"
}, },
{ {
"slug": "miniflux", "slug": "miniflux",
@@ -1138,9 +1138,9 @@
{ {
"slug": "pocketbase", "slug": "pocketbase",
"repo": "pocketbase/pocketbase", "repo": "pocketbase/pocketbase",
"version": "v0.36.6", "version": "v0.36.5",
"pinned": false, "pinned": false,
"date": "2026-03-06T08:07:09Z" "date": "2026-02-21T11:45:32Z"
}, },
{ {
"slug": "pocketid", "slug": "pocketid",
@@ -1229,9 +1229,9 @@
{ {
"slug": "pulse", "slug": "pulse",
"repo": "rcourtman/Pulse", "repo": "rcourtman/Pulse",
"version": "v5.1.21", "version": "v5.1.20",
"pinned": false, "pinned": false,
"date": "2026-03-06T12:13:08Z" "date": "2026-03-06T00:30:32Z"
}, },
{ {
"slug": "pve-scripts-local", "slug": "pve-scripts-local",
@@ -1285,9 +1285,9 @@
{ {
"slug": "rclone", "slug": "rclone",
"repo": "rclone/rclone", "repo": "rclone/rclone",
"version": "v1.73.2", "version": "v1.73.1",
"pinned": false, "pinned": false,
"date": "2026-03-06T20:42:26Z" "date": "2026-02-17T18:27:21Z"
}, },
{ {
"slug": "rdtclient", "slug": "rdtclient",
@@ -1333,10 +1333,10 @@
}, },
{ {
"slug": "rustdeskserver", "slug": "rustdeskserver",
"repo": "lejianwen/rustdesk-server", "repo": "rustdesk/rustdesk-server",
"version": "v0.1.2", "version": "1.1.15",
"pinned": false, "pinned": false,
"date": "2025-09-01T02:52:30Z" "date": "2026-01-12T05:38:30Z"
}, },
{ {
"slug": "rustypaste", "slug": "rustypaste",
@@ -1355,9 +1355,9 @@
{ {
"slug": "scanopy", "slug": "scanopy",
"repo": "scanopy/scanopy", "repo": "scanopy/scanopy",
"version": "v0.14.15", "version": "v0.14.12",
"pinned": false, "pinned": false,
"date": "2026-03-06T23:06:01Z" "date": "2026-03-05T07:24:59Z"
}, },
{ {
"slug": "scraparr", "slug": "scraparr",
@@ -1411,9 +1411,9 @@
{ {
"slug": "silverbullet", "slug": "silverbullet",
"repo": "silverbulletmd/silverbullet", "repo": "silverbulletmd/silverbullet",
"version": "2.5.2", "version": "2.5.1",
"pinned": false, "pinned": false,
"date": "2026-03-06T12:20:58Z" "date": "2026-03-05T15:13:22Z"
}, },
{ {
"slug": "slskd", "slug": "slskd",
@@ -1467,16 +1467,16 @@
{ {
"slug": "sportarr", "slug": "sportarr",
"repo": "Sportarr/Sportarr", "repo": "Sportarr/Sportarr",
"version": "v4.0.987.1062", "version": "v4.0.986.1061",
"pinned": false, "pinned": false,
"date": "2026-03-07T05:01:48Z" "date": "2026-03-06T01:04:24Z"
}, },
{ {
"slug": "stirling-pdf", "slug": "stirling-pdf",
"repo": "Stirling-Tools/Stirling-PDF", "repo": "Stirling-Tools/Stirling-PDF",
"version": "v2.7.0", "version": "v2.6.0",
"pinned": false, "pinned": false,
"date": "2026-03-06T11:21:47Z" "date": "2026-03-03T20:46:42Z"
}, },
{ {
"slug": "streamlink-webui", "slug": "streamlink-webui",
@@ -1593,9 +1593,9 @@
{ {
"slug": "traefik", "slug": "traefik",
"repo": "traefik/traefik", "repo": "traefik/traefik",
"version": "v3.6.10", "version": "v3.6.9",
"pinned": false, "pinned": false,
"date": "2026-03-06T15:08:35Z" "date": "2026-02-23T17:21:17Z"
}, },
{ {
"slug": "trilium", "slug": "trilium",
@@ -1740,9 +1740,9 @@
{ {
"slug": "wealthfolio", "slug": "wealthfolio",
"repo": "afadil/wealthfolio", "repo": "afadil/wealthfolio",
"version": "v3.0.3", "version": "v3.0.4",
"pinned": true, "pinned": false,
"date": "2026-03-03T21:47:55Z" "date": "2026-03-05T19:58:24Z"
}, },
{ {
"slug": "web-check", "slug": "web-check",
@@ -1796,9 +1796,9 @@
{ {
"slug": "yubal", "slug": "yubal",
"repo": "guillevc/yubal", "repo": "guillevc/yubal",
"version": "v0.6.3", "version": "v0.6.2",
"pinned": false, "pinned": false,
"date": "2026-03-07T03:24:05Z" "date": "2026-02-24T15:15:46Z"
}, },
{ {
"slug": "zerobyte", "slug": "zerobyte",
@@ -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.14.0", "version": "v11.13.0",
"pinned": false, "pinned": false,
"date": "2026-03-06T09:34:32Z" "date": "2026-03-04T15:09:54Z"
} }
] ]
} }

View File

@@ -33,7 +33,7 @@
}, },
"notes": [ "notes": [
{ {
"text": "This instance uses SQLite", "text": "This instance uses BoltDB",
"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/rustdesk/rustdesk-server # Source: https://github.com/lejianwen/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/rustdesk/rustdesk-server # Source: https://github.com/lejianwen/rustdesk-server
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color color
@@ -17,9 +17,6 @@ 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,12 +30,11 @@ 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
{ {
"sqlite": { "bolt": {
"host": "/opt/semaphore/database.sqlite" "host": "/opt/semaphore/semaphore_db.bolt"
}, },
"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" "v3.0.3" fetch_and_deploy_gh_release "wealthfolio" "afadil/wealthfolio" "tarball"
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"