Skip to content

Installation on MacOS #3706

Open
Open
@alexkorotysh

Description

@alexkorotysh

Describe the problem

I have 2 MacOS, with m1 and m3 chips.
I can install and run on one, but I can't do it on another MacOS.

To Reproduce

Steps to reproduce the behavior:

  1. Install with script
    curl -fsSL https://pkgs.netbird.io/install.sh | sh

Expected behavior
Daemon works, I have a socket

Are you using NetBird Cloud?
It doesn't matter, Cloud of Self-Hosy

NetBird version

0.41.3

Is any other VPN software installed?

WireGuard, ProtonVPN, OpenVPN, Tailscale

Debug output

To help us resolve the problem, please attach the following debug output

netbird status -dA

netbird status -dA
2025-04-18T09:25:42+03:00 INFO ./caller_not_available:0: 2025/04/18 09:25:42 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"

As well as the file created by

netbird debug for 1m -AS

Error: failed to connect to daemon error: context deadline exceeded
If the daemon is not running please run:
netbird service install
netbird service start

We advise reviewing the anonymized output for any remaining personal information.

Screenshots

Image

Additional context
cat /Library/LaunchDaemons/netbird.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Disabled</key>
	<false/>
	<key>KeepAlive</key>
	<true/>
	<key>Label</key>
	<string>netbird</string>
	<key>ProgramArguments</key>
	<array>
		<string>/opt/homebrew/bin/netbird</string>
		<string>service</string>
		<string>run</string>
		<string>--config</string>
		<string>/etc/netbird/config.json</string>
		<string>--log-level</string>
		<string>trace</string>
		<string>--daemon-addr</string>
		<string>unix:///var/run/netbird.sock</string>
		<string>--log-file</string>
		<string>/var/log/netbird/client.log</string>
	</array>
	<key>RunAtLoad</key>
	<false/>
	<key>SessionCreate</key>
	<false/>
	<key>StandardErrorPath</key>
	<string>/var/log/netbird.err.log</string>
	<key>StandardOutPath</key>
	<string>/var/log/netbird.out.log</string>
</dict>
</plist>

If I take the command from netbird.plist and build string and add sudo, it starts to work.

Have you tried these troubleshooting steps?

  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions