Package Details: netbird-server 0.74.7-1

Git Clone URL: https://aur.archlinux.org/netbird.git (read-only, click to copy)
Package Base: netbird
Description: WireGuard-based overlay network: single-binary server
Upstream URL: https://netbird.io
Keywords: mesh network vpn wireguard
Licenses: AGPL-3.0-only
Replaces: netbird-management, netbird-relay, netbird-signal
Submitter: tarball
Maintainer: tarball
Last Packager: tarball
Votes: 28
Popularity: 4.71
First Submitted: 2022-05-30 19:18 (UTC)
Last Updated: 2026-07-17 15:16 (UTC)

Dependencies (11)

Required by (0)

Sources (2)

Pinned Comments

shuurilabs commented on 2026-02-25 13:33 (UTC) (edited on 2026-02-26 15:07 (UTC) by shuurilabs)

Hi @tarball, I'm from the NetBird team.

This socket path mismatch has been fixed upstream. The CLI, UI, and SSH client now auto-discover the daemon socket when the default /var/run/netbird.sock doesn't exist - they scan /var/run/netbird/*.sock and use it if exactly one is found. So netbird@main.service will work out of the box without needing --daemon-addr or NB_DAEMON_ADDR.

The fix is in https://github.com/netbirdio/netbird/commit/ef82905526a5944e9aac96e04b8b7ee67d27c9b9. It's included as of v0.66.

Latest Comments

1 2 3 4 Next › Last »

codewhiz commented on 2026-07-13 09:14 (UTC) (edited on 2026-07-13 09:41 (UTC) by codewhiz)

marco44, this might be your fix:

sudo systemctl start netbird
sudo systemctl enable netbird
# or simply just
sudo systemctl enable --now netbird

If someone is getting context deadline exceeded error then do a proper uninstallation of netbird first following this comment: https://github.com/netbirdio/netbird/issues/1048#issuecomment-2440058691

sudo systemctl stop netbird
sudo systemctl disable netbird

sudo rm /usr/local/bin/netbird
sudo rm /usr/local/bin/netbird-ui
sudo rm /usr/bin/netbird
sudo rm /usr/bin/netbird-ui
sudo rm -rf /etc/netbird
sudo rm -rf /var/lib/netbird

sudo pacman -R netbird
sudo pacman -R netbird-bin-debug

and then install netbird fresh, it should work

tarball commented on 2026-07-01 14:22 (UTC)

Probably best to discuss this in their bugtracker. I don't really test or use -ui, it's there to be consumed by https://chaotic.cx.

marco44 commented on 2026-07-01 07:20 (UTC)

Is the issue really fixed on netbird-ui ? I still get 2026-07-01T09:04:47.371+02:00 INFO ./caller_not_available:0: 2026/07/01 09:04:47 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: "/var/run/netbird.sock", ServerName: "localhost", Attributes: {"<%!p(networktype.keyType=grpc.internal.transport.networktype)>": "unix" }, }. Err: connection error: desc = "transport: Error while dialing: dial unix /var/run/netbird.sock: connect: no such file or directory"

I straced netbird-ui, it never tries anything else, just /var/run/netbird.sock. It never tries to see if there's a /var/run/netbird/ directory, nor doing a readdir on it

tarball commented on 2026-06-14 16:35 (UTC)

Both are pulled in by base-devel, which is implicitly assumed to be present on any system used to build packages:

https://wiki.archlinux.org/title/PKGBUILD#makedepends

The package base-devel is assumed to be already installed when building with makepkg. Dependencies of this package should not be included in makedepends array.

If in doubt, try building in a chroot, or refer to chaotic-AUR which (afaik) does just that:

https://gitlab.com/chaotic-aur/pkgbuilds/-/tree/main/netbird

ProdigySim commented on 2026-06-13 14:08 (UTC) (edited on 2026-06-13 14:09 (UTC) by ProdigySim)

I think there are 2 other unlisted requirements for this package: a C compiler and pkg-config.

If you try to makepkg without a C compiler, you will get:

-linkmode=external requires external (cgo) linking, but cgo is not enabled

Installing gcc seems to fix it.

Then, you will get

github.com/go-gl/gl/v2.1/gl: exec: "pkg-config": executable file not found in $PATH

which is resolved by installing pkg-config

tarball commented on 2026-04-23 13:53 (UTC)

.. to upstream systemd units instead of those that came with the package previously.

The package itself is still in the AUR. There was some interest in adopting it into extra a couple of years ago, but nothing came of it.

If/when it gets merged into official repositories, this AUR package will quickly disappear.

xpufx commented on 2026-04-23 12:53 (UTC)

@tarball You said the package has been moved to upstream but pacman -Ss is not returning a result and the arch wiki netbird page is pointing to this aur for the install.

brody commented on 2026-04-13 15:27 (UTC)

It seams the temp. Go 1.26 patch is not needed anymore.

tarball commented on 2026-02-25 13:41 (UTC)

Great, thank you. There's nothing really for me to do since this package has been moved to upstream configs months ago. I'll pin your comment for visibility.

shuurilabs commented on 2026-02-25 13:33 (UTC) (edited on 2026-02-26 15:07 (UTC) by shuurilabs)

Hi @tarball, I'm from the NetBird team.

This socket path mismatch has been fixed upstream. The CLI, UI, and SSH client now auto-discover the daemon socket when the default /var/run/netbird.sock doesn't exist - they scan /var/run/netbird/*.sock and use it if exactly one is found. So netbird@main.service will work out of the box without needing --daemon-addr or NB_DAEMON_ADDR.

The fix is in https://github.com/netbirdio/netbird/commit/ef82905526a5944e9aac96e04b8b7ee67d27c9b9. It's included as of v0.66.