mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-12-02 17:52:14 +03:00
Update NetBird to 0.82.0-patch.1 (Fix NetBird page still showing the activation code after connecting)
Fix NetBird page still showing the activation code after connecting The page reads data/www/status.json, which only hooks/post-start wrote, once at app start. Add a small status service on the same NetBird image that marks status.json as connected once the daemon reports Connected, and have the page re-check status.json every few seconds.
This commit is contained in:
1 parent
e27733de91
commit
4f31df4ec5
2 files changed
+24
-14
No files matched your search
@@ -18,6 +18,28 @@ services:
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/app_data:/var/lib/netbird:rw
|
||||
|
||||
# Marks the app page as connected once the device has been activated.
|
||||
# hooks/post-start only reads the activation code once, when the app starts.
|
||||
status:
|
||||
image: ghcr.io/netbirdio/netbird:0.82.0-rootless@sha256:0549219a011305cfdad65d779e37fd2e5f1ac0d1378d3be344ee350efa31663e
|
||||
restart: on-failure
|
||||
user: "1000:1000"
|
||||
entrypoint: ["/bin/bash", "-c"]
|
||||
command:
|
||||
- |
|
||||
trap 'exit 0' TERM INT
|
||||
while true; do
|
||||
if netbird status --json 2>/dev/null | grep -q '"daemonStatus": *"Connected"' \
|
||||
&& ! grep -q '"status":"connected"' /www/status.json 2>/dev/null; then
|
||||
echo '{"status":"connected","message":"Connected to NetBird"}' > /www/status.json.tmp
|
||||
mv -f /www/status.json.tmp /www/status.json
|
||||
fi
|
||||
sleep 5 & wait $$!
|
||||
done
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/app_data:/var/lib/netbird:ro
|
||||
- ${APP_DATA_DIR}/data/www:/www
|
||||
|
||||
web:
|
||||
image: nginx:1.27@sha256:124b44bfc9ccd1f3cedf4b592d4d1e8bddb78b51ec2ed5056c52d3692baebc19
|
||||
restart: on-failure
|
||||
|
||||
+2
-14
@@ -3,7 +3,7 @@ id: netbird
|
||||
name: NetBird
|
||||
tagline: An adaptive client for Zero Trust Networking
|
||||
category: networking
|
||||
version: "0.82.0"
|
||||
version: "0.82.0-patch.1"
|
||||
port: 8479
|
||||
description: >-
|
||||
NetBird is a secure networking platform that creates private, peer-to-peer connections between devices using encrypted communication channels. It builds a trusted network layer that allows seamless and direct communication without exposing data to intermediaries. Every connection is protected with modern encryption standards and managed automatically through a zero trust security model that authenticates identities rather than networks.
|
||||
@@ -30,19 +30,7 @@ gallery:
|
||||
- 2.jpg
|
||||
- 3.jpg
|
||||
releaseNotes: >-
|
||||
This update improves connection stability and SSH security.
|
||||
|
||||
- Reduces unnecessary routing-peer switches to keep long-running connections stable
|
||||
|
||||
- Adds a compact peer table with connection status, latency, and traffic using netbird status --table
|
||||
|
||||
- Fixes a deadlock during signal reconnection shutdown
|
||||
|
||||
- Strengthens SSH root-login restrictions and validation of session environment variables
|
||||
|
||||
Rosenpass support is deprecated but continues to work for now.
|
||||
|
||||
Full release notes can be found at https://github.com/netbirdio/netbird/releases/tag/v0.82.0
|
||||
This update fixes the NetBird page still showing the activation code after your Umbrel has been connected. The page now shows your Umbrel as connected once you approve the device, without restarting the app.
|
||||
dependencies: []
|
||||
path: ""
|
||||
defaultUsername: ""
|
||||
|
||||
Reference in new issue
Block a user