Updating NetBird #426

Closed
opened 2025-11-20 05:11:11 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @Aqua1ung on GitHub (Aug 23, 2023).

How does one update NetBird when it's been installed "using binary files"?

Originally created by @Aqua1ung on GitHub (Aug 23, 2023). How does one update NetBird when it's been installed "using binary files"?
Author
Owner

@Aqua1ung commented on GitHub (Aug 25, 2023):

The dev team will update the installation script to handle updates for installations using binary files.

@Aqua1ung commented on GitHub (Aug 25, 2023): The dev team will update the installation script to handle updates for installations using binary files.
Author
Owner

@Aqua1ung commented on GitHub (Sep 25, 2023):

Updating Netbird using curl -fsSL https://pkgs.netbird.io/install.sh | sh -s -- --update fails:

mom@Spectre~/Applications $ curl -fsSL https://pkgs.netbird.io/install.sh | sh -s -- --update
Updating NetBird ...

Password: 
NetBird new version (0.23.4) available. Updating...

Initiating NetBird update. This will stop the netbird service and restart it after the update
Netbird service has been stopped
Netbird has been uninstalled
Installing netbird from https://github.com/netbirdio/netbird/releases/download/v0.23.4/netbird_0.23.4__amd64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9  100     9    0     0     52      0 --:--:-- --:--:-- --:--:--    53
mkdir: cannot create directory ‘’: No such file or directory
@Aqua1ung commented on GitHub (Sep 25, 2023): Updating Netbird using `curl -fsSL https://pkgs.netbird.io/install.sh | sh -s -- --update` fails: ``` mom@Spectre~/Applications $ curl -fsSL https://pkgs.netbird.io/install.sh | sh -s -- --update Updating NetBird ... Password: NetBird new version (0.23.4) available. Updating... Initiating NetBird update. This will stop the netbird service and restart it after the update Netbird service has been stopped Netbird has been uninstalled Installing netbird from https://github.com/netbirdio/netbird/releases/download/v0.23.4/netbird_0.23.4__amd64.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9 100 9 0 0 52 0 --:--:-- --:--:-- --:--:-- 53 mkdir: cannot create directory ‘’: No such file or directory ```
Author
Owner

@Aqua1ung commented on GitHub (Sep 29, 2023):

Latest NetBird update (0.23.6) using curl -fsSL https://pkgs.netbird.io/install.sh | sh -s -- --update fails (NB: it was working fine with 0.23.5(!)):

Updating NetBird ...

The installation will be performed using binary files
Password: 
NetBird new version (0.23.6) available. Updating...

Initiating NetBird update. This will stop the netbird service and restart it after the update
Netbird service has been stopped
Netbird has been uninstalled
Installing netbird from https://github.com/netbirdio/netbird/releases/download/v0.23.6/netbird_0.23.6_linux_amd64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9  100     9    0     0     59      0 --:--:-- --:--:-- --:--:--    59
gzip: skipping: <stdin> unrecognized format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
@Aqua1ung commented on GitHub (Sep 29, 2023): Latest NetBird update (0.23.6) using `curl -fsSL https://pkgs.netbird.io/install.sh | sh -s -- --update` fails (NB: it was working fine with 0.23.5(!)): ``` Updating NetBird ... The installation will be performed using binary files Password: NetBird new version (0.23.6) available. Updating... Initiating NetBird update. This will stop the netbird service and restart it after the update Netbird service has been stopped Netbird has been uninstalled Installing netbird from https://github.com/netbirdio/netbird/releases/download/v0.23.6/netbird_0.23.6_linux_amd64.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9 100 9 0 0 59 0 --:--:-- --:--:-- --:--:-- 59 gzip: skipping: <stdin> unrecognized format tar: Child returned status 1 tar: Error is not recoverable: exiting now ```
Author
Owner

@Aqua1ung commented on GitHub (Sep 30, 2023):

The 0.23.6 debacle has been fixed. Nevertheless, it appears that one needs to manually quit netbird-ui before updating netbird using the curl -fsSL https://pkgs.netbird.io/install.sh | sh -s -- --update command, otherwise netbird-ui will not be updated.

@Aqua1ung commented on GitHub (Sep 30, 2023): The 0.23.6 debacle has been fixed. Nevertheless, it appears that one needs to manually _quit_ `netbird-ui` before updating netbird using the `curl -fsSL https://pkgs.netbird.io/install.sh | sh -s -- --update` command, otherwise `netbird-ui` will _not_ be updated.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#426