[GH-ISSUE #3706] Installation on MacOS #7750

Open
opened 2026-08-05 01:14:23 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @alexkorotysh on GitHub (Apr 18, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/3706

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
Originally created by @alexkorotysh on GitHub (Apr 18, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/3706 **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](https://github.com/user-attachments/assets/20732b61-b08f-49dc-90db-ad900666e4e3) **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?** - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the bugreleasepackagingtriage-needed labels 2026-08-05 01:14:23 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#7750