Installation on MacOS #1825

Open
opened 2025-11-20 06:07:26 -05:00 by saavagebueno · 41 comments
Owner

Originally created by @alexkorotysh on GitHub (Apr 18, 2025).

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). **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 2025-11-20 06:07:26 -05:00
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

netbird service install

Init already exists: /Library/LaunchDaemons/netbird.plist
Error: Init already exists: /Library/LaunchDaemons/netbird.plist

netbird service start

"launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead.
`launchctl bootstrap` is a recommended alternative.
Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

Error: "launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead.
`launchctl bootstrap` is a recommended alternative.
Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.
@alexkorotysh commented on GitHub (Apr 18, 2025): netbird service install ``` Init already exists: /Library/LaunchDaemons/netbird.plist Error: Init already exists: /Library/LaunchDaemons/netbird.plist ``` netbird service start ``` "launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead. `launchctl bootstrap` is a recommended alternative. Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. Error: "launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead. `launchctl bootstrap` is a recommended alternative. Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. ```
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

Add a few words, m3, like a new laptop, I mean, I don't use m3, but here during installation I saw the same issue, but socket started.
M1 is my main laptop. Previously, maybe 6 months ago, Netbird worked, but I deleted the client cause smth happened with the client and it didn't work
Now I'm back to Netbird, I can't debug what is going on with the starting daemon.

If I run and keep opened terminal open
sudo /opt/homebrew/bin/netbird service run --config /etc/netbird/config.json --log-level info --daemon-addr unix:///var/run/netbird.sock

and run
netbird up --management-url https://netbird.mod5.tech:33073 --admin-url https://netbird.mod5.tech

it starts working

@alexkorotysh commented on GitHub (Apr 18, 2025): Add a few words, m3, like a new laptop, I mean, I don't use m3, but here during installation I saw the same issue, but socket started. M1 is my main laptop. Previously, maybe 6 months ago, Netbird worked, but I deleted the client cause smth happened with the client and it didn't work Now I'm back to Netbird, I can't debug what is going on with the starting daemon. If I run and keep opened terminal open ```sudo /opt/homebrew/bin/netbird service run --config /etc/netbird/config.json --log-level info --daemon-addr unix:///var/run/netbird.sock``` and run ```netbird up --management-url https://netbird.mod5.tech:33073 --admin-url https://netbird.mod5.tech``` it starts working
Author
Owner

@nazarewk commented on GitHub (Apr 18, 2025):

I don't see much detail on what is not working, but it is currently required to remove the config.json manually when it stops matching the Peer in the Dashboard:

  • Peer removed from Dashboard,
  • switching NetBird accounts (can provide a config path manually instead),
  • changing logged in user or switching to/from Setup Keys (seen it happen a few times on corporate device handovers)

to summarize:

  1. the launchctl error is clearly due to missing sudo
  2. the top post errors are due to the system daemon not starting

so I have those questions:

  1. Can you clear up which device is not working for you? Is it a new one or the old one?
  2. Did you configure both devices with brew?
  3. for the daemon not starting issue were you able to find anything in /var/log/netbird/client.log or the MacOS logs?
@nazarewk commented on GitHub (Apr 18, 2025): I don't see much detail on what is not working, but it is currently required to [remove the `config.json` manually](https://docs.netbird.io/how-to/troubleshooting-client#client-login-failures) when it stops matching the Peer in the Dashboard: - Peer removed from Dashboard, - switching NetBird accounts (can provide a config path manually instead), - changing logged in user or switching to/from Setup Keys (seen it happen a few times on corporate device handovers) to summarize: 1. the launchctl error is clearly due to missing `sudo` 2. the top post errors are due to the system daemon not starting so I have those questions: 1. Can you clear up which device is not working for you? Is it a new one or the old one? 2. Did you configure both devices with `brew`? 3. for the daemon not starting issue were you able to find anything in `/var/log/netbird/client.log` or the MacOS logs?
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

  1. Doesn't work with the old one (Apple M1 Pro - 15.4.1 (24E263))
  2. Yes, brew is used for both
  3. There are no logs, a log file is created only if I run the daemon with sudo
sudo cat /var/log/netbird/client.log
cat: /var/log/netbird/client.log: No such file or directory
###
ls -la /var/log/netbird/
total 0
drwxr-xr-x   2 root  wheel    64 18 Apr 09:17 .
drwxr-xr-x  50 root  wheel  1600 18 Apr 00:30 ..

❯ sudo rm /etc/netbird/config.json
Password:
rm: /etc/netbird/config.json: No such file or directory
~
❯ netbird up --management-url https://netbird.XXXXX.XXXXX:33073 --admin-url https://netbird.XXXXXX.XXXXX
2025-04-18T10:42:50+03:00 INFO ./caller_not_available:0: 2025/04/18 10:42:50 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"
2025-04-18T10:42:51+03:00 INFO ./caller_not_available:0: 2025/04/18 10:42:51 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"
2025-04-18T10:42:53+03:00 INFO ./caller_not_available:0: 2025/04/18 10:42:53 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"
Error: failed to connect to daemon error: context deadline exceeded
If the daemon is not running please run:
netbird service install
netbird service start

~                                                                                                                                                                      3s
❯ netbird service start
"launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead.
`launchctl bootstrap` is a recommended alternative.
Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

Error: "launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead.
`launchctl bootstrap` is a recommended alternative.
Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.
@alexkorotysh commented on GitHub (Apr 18, 2025): 1. Doesn't work with the old one (Apple M1 Pro - 15.4.1 (24E263)) 2. Yes, brew is used for both 3. There are no logs, a log file is created only if I run the daemon with sudo ``` sudo cat /var/log/netbird/client.log cat: /var/log/netbird/client.log: No such file or directory ### ls -la /var/log/netbird/ total 0 drwxr-xr-x 2 root wheel 64 18 Apr 09:17 . drwxr-xr-x 50 root wheel 1600 18 Apr 00:30 .. ``` ``` ❯ sudo rm /etc/netbird/config.json Password: rm: /etc/netbird/config.json: No such file or directory ~ ❯ netbird up --management-url https://netbird.XXXXX.XXXXX:33073 --admin-url https://netbird.XXXXXX.XXXXX 2025-04-18T10:42:50+03:00 INFO ./caller_not_available:0: 2025/04/18 10:42:50 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" 2025-04-18T10:42:51+03:00 INFO ./caller_not_available:0: 2025/04/18 10:42:51 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" 2025-04-18T10:42:53+03:00 INFO ./caller_not_available:0: 2025/04/18 10:42:53 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" Error: failed to connect to daemon error: context deadline exceeded If the daemon is not running please run: netbird service install netbird service start ~ 3s ❯ netbird service start "launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead. `launchctl bootstrap` is a recommended alternative. Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. Error: "launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead. `launchctl bootstrap` is a recommended alternative. Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. ```
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

  • Peer removed from Dashboard,
  • switching NetBird accounts (can provide a config path manually instead),
  • changing logged in user or switching to/from Setup Keys (seen it happen a few times on corporate device handovers)

I can't remove, cause I can't add peer, it doesn't work with cloud and self-hosted

@alexkorotysh commented on GitHub (Apr 18, 2025): > * Peer removed from Dashboard, > * switching NetBird accounts (can provide a config path manually instead), > * changing logged in user or switching to/from Setup Keys (seen it happen a few times on corporate device handovers) I can't remove, cause I can't add peer, it doesn't work with cloud and self-hosted
Author
Owner

@nazarewk commented on GitHub (Apr 18, 2025):

❯ netbird service start

I'm pretty sure you need to prefix all/most netbird service commands with sudo on all unix systems

@nazarewk commented on GitHub (Apr 18, 2025): > ❯ netbird service start I'm pretty sure you need to prefix all/most `netbird service` commands with `sudo` on all unix systems
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

sudo netbird service install

Init already exists: /Library/LaunchDaemons/netbird.plist
Error: Init already exists: /Library/LaunchDaemons/netbird.plist

sudo netbird service start

"launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

Error: "launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.
@alexkorotysh commented on GitHub (Apr 18, 2025): sudo netbird service install ``` Init already exists: /Library/LaunchDaemons/netbird.plist Error: Init already exists: /Library/LaunchDaemons/netbird.plist ``` sudo netbird service start ``` "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. Error: "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. ```
Author
Owner

@nazarewk commented on GitHub (Apr 18, 2025):

did you try running sudo netbird service uninstall followed by sudo netbird service install to see if this resolves your issue?

@nazarewk commented on GitHub (Apr 18, 2025): did you try running `sudo netbird service uninstall` followed by `sudo netbird service install` to see if this resolves your issue?
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

❯ sudo netbird service uninstall

Netbird service has been uninstalled

❯ sudo netbird service install

Netbird service has been installed

❯ sudo netbird service start

"launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

Error: "launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.
@alexkorotysh commented on GitHub (Apr 18, 2025): ❯ sudo netbird service uninstall ``` Netbird service has been uninstalled ``` ❯ sudo netbird service install ``` Netbird service has been installed ``` ❯ sudo netbird service start ``` "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. Error: "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. ```
Author
Owner

@nazarewk commented on GitHub (Apr 18, 2025):

seems to be caused by launchctl list.

for my MacOS VM it looks like:

kdn@oams ~> ssh anji-vm-macos-01.lan.etra.net.int.kdn.im. launchctl list | grep netbird
597	0	application.io.netbird.client.56499.56507
kdn@oams ~> ssh anji-vm-macos-01.lan.etra.net.int.kdn.im. launchctl list application.io.netbird.client.56499.56507
{
	"LimitLoadToSessionType" = "Aqua";
	"_AdditionalProperties" = {
		"RunningBoard" = {
			"HOME" = "/Users/kdn";
			"RunningBoardLaunchedIdentity" = {
				"AJL" = "application.io.netbird.client.56499.56507";
				"TYPE" = 1;
				"EAI" = "io.netbird.client";
				"AUID" = 				"PLAT" = 			};
			"RunningBoardLaunched" = true;
		};
	};
	"Label" = "application.io.netbird.client.56499.56507";
	"OnDemand" = true;
	"LastExitStatus" = 0;
	"PID" = 597;
	"Program" = "/Applications/NetBird UI.app/netbird-ui";
	"ProgramArguments" = (
		"/Applications/NetBird UI.app/netbird-ui";
	);
	"PerJobMachServices" = {
		"com.apple.tsm.portname" = mach-port-object;
		"com.apple.coredrag" = mach-port-object;
		"com.apple.axserver" = mach-port-object;
	};
};

Can you try running equivalent commands to identify a NetBird service in the launchctll and run the same launhctl list with discovered service name directly in your terminal? I am not a MacOS expert, but I feel like there might be something wrong with the OS configuration itself.

@nazarewk commented on GitHub (Apr 18, 2025): seems to be caused by [`launchctl list`](https://github.com/netbirdio/service/blob/f62744f42502d8d92f3d6c37f9e723d0d888d13a/service_darwin.go#L217-L222). for my MacOS VM it looks like: ``` kdn@oams ~> ssh anji-vm-macos-01.lan.etra.net.int.kdn.im. launchctl list | grep netbird 597 0 application.io.netbird.client.56499.56507 kdn@oams ~> ssh anji-vm-macos-01.lan.etra.net.int.kdn.im. launchctl list application.io.netbird.client.56499.56507 { "LimitLoadToSessionType" = "Aqua"; "_AdditionalProperties" = { "RunningBoard" = { "HOME" = "/Users/kdn"; "RunningBoardLaunchedIdentity" = { "AJL" = "application.io.netbird.client.56499.56507"; "TYPE" = 1; "EAI" = "io.netbird.client"; "AUID" = "PLAT" = }; "RunningBoardLaunched" = true; }; }; "Label" = "application.io.netbird.client.56499.56507"; "OnDemand" = true; "LastExitStatus" = 0; "PID" = 597; "Program" = "/Applications/NetBird UI.app/netbird-ui"; "ProgramArguments" = ( "/Applications/NetBird UI.app/netbird-ui"; ); "PerJobMachServices" = { "com.apple.tsm.portname" = mach-port-object; "com.apple.coredrag" = mach-port-object; "com.apple.axserver" = mach-port-object; }; }; ``` Can you try running equivalent commands to identify a NetBird service in the `launchctll` and run the same `launhctl list` with discovered service name directly in your terminal? I am not a MacOS expert, but I feel like there might be something wrong with the OS configuration itself.
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

❯ launchctl list | grep netbird

PID	Status	Label
-	78	netbird
22722	0	application.io.netbird.client.168195799.168195808

❯ launchctl list application.io.netbird.client.168195799.168195808

{
	"LimitLoadToSessionType" = "Aqua";
	"_AdditionalProperties" = {
		"RunningBoard" = {
			"TMPDIR" = "/var/folders/jh/6mggjmnd13920q9wqtl52p5r0000gn/T/";
			"HOME" = "/Users/koro";
			"RunningBoardLaunchedIdentity" = {
				"AJL" = "application.io.netbird.client.168195799.168195808";
				"TYPE" = 1;
				"EAI" = "io.netbird.client";
				"AUID" = 				"PLAT" = 			};
			"RunningBoardLaunched" = true;
		};
	};
	"Label" = "application.io.netbird.client.168195799.168195808";
	"OnDemand" = true;
	"LastExitStatus" = 0;
	"PID" = 22722;
	"Program" = "/Applications/Netbird UI.app/netbird-ui";
	"ProgramArguments" = (
		"/Applications/Netbird UI.app/netbird-ui";
	);
	"PerJobMachServices" = {
		"com.apple.tsm.portname" = mach-port-object;
		"com.apple.coredrag" = mach-port-object;
		"com.apple.axserver" = mach-port-object;
	};
};

❯ launchctl list netbird

{
	"StandardOutPath" = "/var/log/netbird.out.log";
	"LimitLoadToSessionType" = "Aqua";
	"StandardErrorPath" = "/var/log/netbird.err.log";
	"Label" = "netbird";
	"OnDemand" = false;
	"LastExitStatus" = 19968;
	"Program" = "/opt/homebrew/bin/netbird";
	"ProgramArguments" = (
		"/opt/homebrew/bin/netbird";
		"service";
		"run";
		"--config";
		"/etc/netbird/config.json";
		"--log-level";
		"info";
		"--daemon-addr";
		"unix:///var/run/netbird.sock";
		"--log-file";
		"/var/log/netbird/client.log";
	);
};
@alexkorotysh commented on GitHub (Apr 18, 2025): ❯ launchctl list | grep netbird ``` PID Status Label - 78 netbird 22722 0 application.io.netbird.client.168195799.168195808 ``` ❯ launchctl list application.io.netbird.client.168195799.168195808 ``` { "LimitLoadToSessionType" = "Aqua"; "_AdditionalProperties" = { "RunningBoard" = { "TMPDIR" = "/var/folders/jh/6mggjmnd13920q9wqtl52p5r0000gn/T/"; "HOME" = "/Users/koro"; "RunningBoardLaunchedIdentity" = { "AJL" = "application.io.netbird.client.168195799.168195808"; "TYPE" = 1; "EAI" = "io.netbird.client"; "AUID" = "PLAT" = }; "RunningBoardLaunched" = true; }; }; "Label" = "application.io.netbird.client.168195799.168195808"; "OnDemand" = true; "LastExitStatus" = 0; "PID" = 22722; "Program" = "/Applications/Netbird UI.app/netbird-ui"; "ProgramArguments" = ( "/Applications/Netbird UI.app/netbird-ui"; ); "PerJobMachServices" = { "com.apple.tsm.portname" = mach-port-object; "com.apple.coredrag" = mach-port-object; "com.apple.axserver" = mach-port-object; }; }; ``` ❯ launchctl list netbird ``` { "StandardOutPath" = "/var/log/netbird.out.log"; "LimitLoadToSessionType" = "Aqua"; "StandardErrorPath" = "/var/log/netbird.err.log"; "Label" = "netbird"; "OnDemand" = false; "LastExitStatus" = 19968; "Program" = "/opt/homebrew/bin/netbird"; "ProgramArguments" = ( "/opt/homebrew/bin/netbird"; "service"; "run"; "--config"; "/etc/netbird/config.json"; "--log-level"; "info"; "--daemon-addr"; "unix:///var/run/netbird.sock"; "--log-file"; "/var/log/netbird/client.log"; ); }; ```
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

I didn't want to close the issue

@alexkorotysh commented on GitHub (Apr 18, 2025): I didn't want to close the issue
Author
Owner

@nazarewk commented on GitHub (Apr 18, 2025):

Seems like you are having a duplicate service: the short netbird and the longer application.io.netbird.client.XXX.YYY. I am guessing the longer name is the correct one, but I don't have enough MacOS and/or release process knowledge to determine which one is correct and how to clean it up.

Do you remember whether you have always used brew or used some other installation methods too? It would be great to know how did you arrive at this state of the system to prevent it in the future.

I will notify the team and we will get back to you sometime after the Easter break, ok?

@nazarewk commented on GitHub (Apr 18, 2025): Seems like you are having a duplicate service: the short `netbird` and the longer `application.io.netbird.client.XXX.YYY`. I am guessing the longer name is the correct one, but I don't have enough MacOS and/or release process knowledge to determine which one is correct and how to clean it up. Do you remember whether you have always used `brew` or used some other installation methods too? It would be great to know how did you arrive at this state of the system to prevent it in the future. I will notify the team and we will get back to you sometime after the Easter break, ok?
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

@nazarewk sure,
I remember that I could use for installing your pkg package from Netbird, but usually I use brew as much as possible.
I guess it's normal to have 2 plists, one for the socket (engine), one for netbird-ui.

I don't have issues with installing other software, including other VPN services, so it's a reason why I opened the issue.
I spent much of time debugging it locally, but nothing worked.

@alexkorotysh commented on GitHub (Apr 18, 2025): @nazarewk sure, I remember that I could use for installing your pkg package from Netbird, but usually I use brew as much as possible. I guess it's normal to have 2 plists, one for the socket (engine), one for netbird-ui. I don't have issues with installing other software, including other VPN services, so it's a reason why I opened the issue. I spent much of time debugging it locally, but nothing worked.
Author
Owner

@nazarewk commented on GitHub (Apr 18, 2025):

I don't think there should be 2 plists at all (I'm not observing it and neither other team member has it), the long-form seems to be the correct one.

Can you try running sudo find /Library/LaunchDaemons /Library/LaunchAgents ~/Library/LaunchAgents -name "*netbird*.plist" to identify all possible netbird plist files? Maybe you have some leftover from an old installer.

@nazarewk commented on GitHub (Apr 18, 2025): I don't think there should be 2 plists at all (I'm not observing it and neither other team member has it), the long-form seems to be the correct one. Can you try running `sudo find /Library/LaunchDaemons /Library/LaunchAgents ~/Library/LaunchAgents -name "*netbird*.plist"` to identify all possible netbird plist files? Maybe you have some leftover from an old installer.
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

I grab my logs from other laptop

❯ curl -fsSL https://pkgs.netbird.io/install.sh | sh
The installation will be performed using brew package manager

==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
erlfmt                     intermodal                 nip4
==> New Casks
notion-mail

You have 4 outdated formulae installed.

==> Tapping netbirdio/tap
Cloning into '/opt/homebrew/Library/Taps/netbirdio/homebrew-tap'...
remote: Enumerating objects: 1360, done.
remote: Counting objects: 100% (42/42), done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 1360 (delta 15), reused 18 (delta 5), pack-reused 1318 (from 2)
Receiving objects: 100% (1360/1360), 197.29 KiB | 856.00 KiB/s, done.
Resolving deltas: 100% (569/569), done.
Tapped 1 cask and 1 formula (15 files, 247.4KB).
==> Fetching netbirdio/tap/netbird
==> Downloading https://github.com/netbirdio/netbird/releases/download/v0.41.3/n
==> Downloading from https://objects.githubusercontent.com/github-production-rel
######################################################################### 100.0%
==> Installing netbird from netbirdio/tap
🍺  /opt/homebrew/Cellar/netbird/0.41.3: 6 files, 25.8MB, built in 2 seconds
==> Running `brew cleanup netbird`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Downloading https://github.com/netbirdio/netbird/releases/download/v0.41.3/n
==> Downloading from https://objects.githubusercontent.com/github-production-rel
######################################################################### 100.0%


All dependencies satisfied.
==> Installing Cask netbird-ui
==> Moving App 'netbird_ui_darwin' to '/Applications/Netbird UI.app'
Password:
Sorry, try again.
Password:
Error: "launchctl" failed with stderr: Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.

Error: remove /Library/LaunchDaemons/netbird.plist: no such file or directory
🍺  netbird-ui was successfully installed!
Init already exists: /Library/LaunchDaemons/netbird.plist
Error: Init already exists: /Library/LaunchDaemons/netbird.plist
NetBird service has already been loaded
"launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

Error: "launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

NetBird service has already been started
Installation has been finished. To connect, you need to run NetBird by executing the following command:

netbird up
❯ netbird up --management-url https://netbird.XXXXX.XXXXXX:33073 --admin-url https://netbird.XXXXX.XXXXXX
Please do the SSO login in your browser.
If your browser didn't open automatically, use this URL to log in:

https://sso.XXXXXX.XXXXX/application/o/authorize/?audience=BEDeDJGBGcS0zZMnrIdx96mVuzUNhZx2uzxBz74Q&client_id=BEDeDJGBGcS0zZMnrIdx96mVuzUNhZx2uzxBz74Q&code_challenge=jLC6yQWdFKiPFVWt3WVSi7kgH6brTaNk67_fwSEmMxQ&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A53000&response_type=code&scope=openid+profile+email+offline_access+api&state=24ac6cf5b009deb03a1ff4bc549969814a2f59a97f4022c9

Strange on a workable laptop has only one service
launchctl list | grep netbird

6776	0	application.io.netbird.client.13228819.13228828
@alexkorotysh commented on GitHub (Apr 18, 2025): I grab my logs from other laptop ``` ❯ curl -fsSL https://pkgs.netbird.io/install.sh | sh The installation will be performed using brew package manager ==> Auto-updating Homebrew... Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). ==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and homebrew/cask). ==> New Formulae erlfmt intermodal nip4 ==> New Casks notion-mail You have 4 outdated formulae installed. ==> Tapping netbirdio/tap Cloning into '/opt/homebrew/Library/Taps/netbirdio/homebrew-tap'... remote: Enumerating objects: 1360, done. remote: Counting objects: 100% (42/42), done. remote: Compressing objects: 100% (31/31), done. remote: Total 1360 (delta 15), reused 18 (delta 5), pack-reused 1318 (from 2) Receiving objects: 100% (1360/1360), 197.29 KiB | 856.00 KiB/s, done. Resolving deltas: 100% (569/569), done. Tapped 1 cask and 1 formula (15 files, 247.4KB). ==> Fetching netbirdio/tap/netbird ==> Downloading https://github.com/netbirdio/netbird/releases/download/v0.41.3/n ==> Downloading from https://objects.githubusercontent.com/github-production-rel ######################################################################### 100.0% ==> Installing netbird from netbirdio/tap 🍺 /opt/homebrew/Cellar/netbird/0.41.3: 6 files, 25.8MB, built in 2 seconds ==> Running `brew cleanup netbird`... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). ==> Downloading https://github.com/netbirdio/netbird/releases/download/v0.41.3/n ==> Downloading from https://objects.githubusercontent.com/github-production-rel ######################################################################### 100.0% All dependencies satisfied. ==> Installing Cask netbird-ui ==> Moving App 'netbird_ui_darwin' to '/Applications/Netbird UI.app' Password: Sorry, try again. Password: Error: "launchctl" failed with stderr: Unload failed: 5: Input/output error Try running `launchctl bootout` as root for richer errors. Error: remove /Library/LaunchDaemons/netbird.plist: no such file or directory 🍺 netbird-ui was successfully installed! Init already exists: /Library/LaunchDaemons/netbird.plist Error: Init already exists: /Library/LaunchDaemons/netbird.plist NetBird service has already been loaded "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. Error: "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. NetBird service has already been started Installation has been finished. To connect, you need to run NetBird by executing the following command: netbird up ❯ netbird up --management-url https://netbird.XXXXX.XXXXXX:33073 --admin-url https://netbird.XXXXX.XXXXXX Please do the SSO login in your browser. If your browser didn't open automatically, use this URL to log in: https://sso.XXXXXX.XXXXX/application/o/authorize/?audience=BEDeDJGBGcS0zZMnrIdx96mVuzUNhZx2uzxBz74Q&client_id=BEDeDJGBGcS0zZMnrIdx96mVuzUNhZx2uzxBz74Q&code_challenge=jLC6yQWdFKiPFVWt3WVSi7kgH6brTaNk67_fwSEmMxQ&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A53000&response_type=code&scope=openid+profile+email+offline_access+api&state=24ac6cf5b009deb03a1ff4bc549969814a2f59a97f4022c9 ``` Strange on a workable laptop has only one service launchctl list | grep netbird ``` 6776 0 application.io.netbird.client.13228819.13228828 ```
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

From m1 (not worked)

❯ sudo find /Library/LaunchDaemons /Library/LaunchAgents ~/Library/LaunchAgents -name "netbird.plist"

/Library/LaunchDaemons/netbird.plist
@alexkorotysh commented on GitHub (Apr 18, 2025): From m1 (not worked) ❯ sudo find /Library/LaunchDaemons /Library/LaunchAgents ~/Library/LaunchAgents -name "*netbird*.plist" ``` /Library/LaunchDaemons/netbird.plist ```
Author
Owner

@nazarewk commented on GitHub (Apr 18, 2025):

I guess it's normal to have 2 plists, one for the socket (engine), one for netbird-ui.

Looks like you were correct, I do get different results depending on whether I run with or without sudo:

kdn@oams ~> ssh anji-vm-macos-01.lan.etra.net.int.kdn.im. sudo launchctl list | grep netbird
361	0	netbird
kdn@oams ~> ssh anji-vm-macos-01.lan.etra.net.int.kdn.im. launchctl list | grep netbird
597	0	application.io.netbird.client.56499.56507
kdn@oams ~> 

The long-form seems to be specific to the UI service, while the short form is the OS service.

Looks like this is a dead end and we need to figure out what else can be the issue.

@nazarewk commented on GitHub (Apr 18, 2025): > I guess it's normal to have 2 plists, one for the socket (engine), one for netbird-ui. Looks like you were correct, I do get different results depending on whether I run with or without `sudo`: ``` kdn@oams ~> ssh anji-vm-macos-01.lan.etra.net.int.kdn.im. sudo launchctl list | grep netbird 361 0 netbird kdn@oams ~> ssh anji-vm-macos-01.lan.etra.net.int.kdn.im. launchctl list | grep netbird 597 0 application.io.netbird.client.56499.56507 kdn@oams ~> ``` The long-form seems to be specific to the UI service, while the short form is the OS service. Looks like this is a dead end and we need to figure out what else can be the issue.
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

Just, tried to fresh reinstall, just share log, maybe it helps

❯ curl -fsSL https://pkgs.netbird.io/install.sh | sh
The installation will be performed using brew package manager
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Installing from the API is now the default behaviour!
You can save space and time by running:
  brew untap homebrew/core
  brew untap homebrew/cask
==> Auto-updated Homebrew!
Updated 1 tap (aquasecurity/trivy).

You have 1 outdated formula installed.

==> Fetching netbirdio/tap/netbird
==> Downloading https://github.com/netbirdio/netbird/releases/download/v0.41.3/n
Already downloaded: /Users/koro/Library/Caches/Homebrew/downloads/5918a36b16653fa703f9ce57b7352f6e042aea75fdef945dca860c0733194f55--netbird_0.41.3_darwin_arm64.tar.gz
==> Installing netbird from netbirdio/tap
🍺  /opt/homebrew/Cellar/netbird/0.41.3: 6 files, 25.8MB, built in 1 second
==> Running `brew cleanup netbird`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Downloading https://github.com/netbirdio/netbird/releases/download/v0.41.3/n
Already downloaded: /Users/koro/Library/Caches/Homebrew/downloads/cda956c3fbb978d5712121e11f07a58d78102e2bbed75d4219c815489f20e9fc--netbird-ui_0.41.3_darwin_arm64_signed.zip
All dependencies satisfied.
==> Installing Cask netbird-ui
==> Moving App 'netbird_ui_darwin' to '/Applications/Netbird UI.app'
Password:
Error: "launchctl" failed with stderr: Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.

Error: remove /Library/LaunchDaemons/netbird.plist: no such file or directory
"launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

Error: "launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

🍺  netbird-ui was successfully installed!
Init already exists: /Library/LaunchDaemons/netbird.plist
Error: Init already exists: /Library/LaunchDaemons/netbird.plist
NetBird service has already been loaded
"launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

Error: "launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

NetBird service has already been started
Installation has been finished. To connect, you need to run NetBird by executing the following command:

netbird up
~                                                                                                                                                                     22s
❯ netbird up --management-url https://netbird.XXXXXXXX:33073 --admin-url https://netbird.XXXXXX
2025-04-18T13:19:35+03:00 INFO ./caller_not_available:0: 2025/04/18 13:19:35 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"
2025-04-18T13:19:36+03:00 INFO ./caller_not_available:0: 2025/04/18 13:19:36 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"
2025-04-18T13:19:37+03:00 INFO ./caller_not_available:0: 2025/04/18 13:19:37 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"
Error: failed to connect to daemon error: context deadline exceeded
If the daemon is not running please run:
netbird service install
netbird service start

~                                                                                                                                                                      3s
❯ sudo netbird service start
"launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

Error: "launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

~
❯ sudo netbird service install
Init already exists: /Library/LaunchDaemons/netbird.plist
Error: Init already exists: /Library/LaunchDaemons/netbird.plist
~
❯ netbird up
2025-04-18T13:20:02+03:00 INFO ./caller_not_available:0: 2025/04/18 13:20:02 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"
2025-04-18T13:20:03+03:00 INFO ./caller_not_available:0: 2025/04/18 13:20:03 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"
2025-04-18T13:20:05+03:00 INFO ./caller_not_available:0: 2025/04/18 13:20:05 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"
Error: failed to connect to daemon error: context deadline exceeded
If the daemon is not running please run:
netbird service install
netbird service start
@alexkorotysh commented on GitHub (Apr 18, 2025): Just, tried to fresh reinstall, just share log, maybe it helps ``` ❯ curl -fsSL https://pkgs.netbird.io/install.sh | sh The installation will be performed using brew package manager ==> Auto-updating Homebrew... Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). Installing from the API is now the default behaviour! You can save space and time by running: brew untap homebrew/core brew untap homebrew/cask ==> Auto-updated Homebrew! Updated 1 tap (aquasecurity/trivy). You have 1 outdated formula installed. ==> Fetching netbirdio/tap/netbird ==> Downloading https://github.com/netbirdio/netbird/releases/download/v0.41.3/n Already downloaded: /Users/koro/Library/Caches/Homebrew/downloads/5918a36b16653fa703f9ce57b7352f6e042aea75fdef945dca860c0733194f55--netbird_0.41.3_darwin_arm64.tar.gz ==> Installing netbird from netbirdio/tap 🍺 /opt/homebrew/Cellar/netbird/0.41.3: 6 files, 25.8MB, built in 1 second ==> Running `brew cleanup netbird`... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). ==> Downloading https://github.com/netbirdio/netbird/releases/download/v0.41.3/n Already downloaded: /Users/koro/Library/Caches/Homebrew/downloads/cda956c3fbb978d5712121e11f07a58d78102e2bbed75d4219c815489f20e9fc--netbird-ui_0.41.3_darwin_arm64_signed.zip All dependencies satisfied. ==> Installing Cask netbird-ui ==> Moving App 'netbird_ui_darwin' to '/Applications/Netbird UI.app' Password: Error: "launchctl" failed with stderr: Unload failed: 5: Input/output error Try running `launchctl bootout` as root for richer errors. Error: remove /Library/LaunchDaemons/netbird.plist: no such file or directory "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. Error: "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. 🍺 netbird-ui was successfully installed! Init already exists: /Library/LaunchDaemons/netbird.plist Error: Init already exists: /Library/LaunchDaemons/netbird.plist NetBird service has already been loaded "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. Error: "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. NetBird service has already been started Installation has been finished. To connect, you need to run NetBird by executing the following command: netbird up ~ 22s ❯ netbird up --management-url https://netbird.XXXXXXXX:33073 --admin-url https://netbird.XXXXXX 2025-04-18T13:19:35+03:00 INFO ./caller_not_available:0: 2025/04/18 13:19:35 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" 2025-04-18T13:19:36+03:00 INFO ./caller_not_available:0: 2025/04/18 13:19:36 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" 2025-04-18T13:19:37+03:00 INFO ./caller_not_available:0: 2025/04/18 13:19:37 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" Error: failed to connect to daemon error: context deadline exceeded If the daemon is not running please run: netbird service install netbird service start ~ 3s ❯ sudo netbird service start "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. Error: "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. ~ ❯ sudo netbird service install Init already exists: /Library/LaunchDaemons/netbird.plist Error: Init already exists: /Library/LaunchDaemons/netbird.plist ~ ❯ netbird up 2025-04-18T13:20:02+03:00 INFO ./caller_not_available:0: 2025/04/18 13:20:02 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" 2025-04-18T13:20:03+03:00 INFO ./caller_not_available:0: 2025/04/18 13:20:03 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" 2025-04-18T13:20:05+03:00 INFO ./caller_not_available:0: 2025/04/18 13:20:05 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" Error: failed to connect to daemon error: context deadline exceeded If the daemon is not running please run: netbird service install netbird service start ```
Author
Owner

@mlsmaycon commented on GitHub (Apr 18, 2025):

@alexkorotysh, it seems like another installation might be affecting your current attempt.

can you please run the following commands?

sudo launchctl list | grep netbird
which netbird
ps aux | grep netbird
sudo netbird service stop
sudo netbird service uninstall
sudo launchctl list | grep netbird
ps aux | grep netbird

Save the output to share with us later.
If your last command doesn't return anything, please run:

sudo launchctl list | grep netbird
sudo netbird service install
sudo netbird service start
sudo launchctl list | grep netbird
netbird status
@mlsmaycon commented on GitHub (Apr 18, 2025): @alexkorotysh, it seems like another installation might be affecting your current attempt. can you please run the following commands? ```shell sudo launchctl list | grep netbird which netbird ps aux | grep netbird sudo netbird service stop sudo netbird service uninstall sudo launchctl list | grep netbird ps aux | grep netbird ``` Save the output to share with us later. If your last command doesn't return anything, please run: ```shell sudo launchctl list | grep netbird sudo netbird service install sudo netbird service start sudo launchctl list | grep netbird netbird status ```
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

Part1

❯ sudo launchctl list | grep netbird
~                                                                                                                                                                   ✘ 0|1
❯ which netbird

/opt/homebrew/bin/netbird
~
❯ ps aux | grep netbird

koro             10991   0.1  0.3 412817264  52496   ??  S     1:19p.m.   0:02.36 /Applications/Netbird UI.app/netbird-ui
koro             19734   0.0  0.0 410733472   1552 s003  S+    1:32p.m.   0:00.01 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv netbird
~
❯ sudo netbird service stop
Error: "launchctl" failed with stderr: Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.

~
❯ sudo netbird service uninstall
Netbird service has been uninstalled
~
❯ sudo launchctl list | grep netbird
~                                                                                                                                                                   ✘ 0|1
❯ ps aux | grep netbird
koro             19961   0.0  0.0 410733472   1520 s003  S+    1:32p.m.   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv netbird
koro             10991   0.0  0.3 412817264  52992   ??  S     1:19p.m.   0:02.41 /Applications/Netbird UI.app/netbird-ui

Part2

❯ sudo launchctl list | grep netbird

~                                                                                                                                                                   ✘ 0|1
❯ sudo netbird service install

Netbird service has been installed
~
❯ sudo netbird service start
"launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

Error: "launchctl" failed with stderr: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

~
❯ sudo launchctl list | grep netbird
~                                                                                                                                                                   ✘ 0|1
❯ netbird status
2025-04-18T13:33:37+03:00 INFO ./caller_not_available:0: 2025/04/18 13:33:37 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"
2025-04-18T13:33:38+03:00 INFO ./caller_not_available:0: 2025/04/18 13:33:38 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"
2025-04-18T13:33:40+03:00 INFO ./caller_not_available:0: 2025/04/18 13:33:40 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"
Error: failed to connect to daemon error: context deadline exceeded
If the daemon is not running please run:
netbird service install
netbird service start
@alexkorotysh commented on GitHub (Apr 18, 2025): Part1 ``` ❯ sudo launchctl list | grep netbird ~ ✘ 0|1 ❯ which netbird /opt/homebrew/bin/netbird ~ ❯ ps aux | grep netbird koro 10991 0.1 0.3 412817264 52496 ?? S 1:19p.m. 0:02.36 /Applications/Netbird UI.app/netbird-ui koro 19734 0.0 0.0 410733472 1552 s003 S+ 1:32p.m. 0:00.01 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv netbird ~ ❯ sudo netbird service stop Error: "launchctl" failed with stderr: Unload failed: 5: Input/output error Try running `launchctl bootout` as root for richer errors. ~ ❯ sudo netbird service uninstall Netbird service has been uninstalled ~ ❯ sudo launchctl list | grep netbird ~ ✘ 0|1 ❯ ps aux | grep netbird koro 19961 0.0 0.0 410733472 1520 s003 S+ 1:32p.m. 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv netbird koro 10991 0.0 0.3 412817264 52992 ?? S 1:19p.m. 0:02.41 /Applications/Netbird UI.app/netbird-ui ``` Part2 ``` ❯ sudo launchctl list | grep netbird ~ ✘ 0|1 ❯ sudo netbird service install Netbird service has been installed ~ ❯ sudo netbird service start "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. Error: "launchctl" failed with stderr: Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. ~ ❯ sudo launchctl list | grep netbird ~ ✘ 0|1 ❯ netbird status 2025-04-18T13:33:37+03:00 INFO ./caller_not_available:0: 2025/04/18 13:33:37 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" 2025-04-18T13:33:38+03:00 INFO ./caller_not_available:0: 2025/04/18 13:33:38 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" 2025-04-18T13:33:40+03:00 INFO ./caller_not_available:0: 2025/04/18 13:33:40 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" Error: failed to connect to daemon error: context deadline exceeded If the daemon is not running please run: netbird service install netbird service start ```
Author
Owner

@mlsmaycon commented on GitHub (Apr 18, 2025):

@alexkorotysh is there any pending privacy warning for the daemon or in some cases for your terminal to be accepted?

Also, do you have any MDM or external controller that could change the system security?

Lastly, we could try with pkg:

brew remove --cask netbird-ui
brew remove netbird

then downloading and installing from: https://app.netbird.io/install

@mlsmaycon commented on GitHub (Apr 18, 2025): @alexkorotysh is there any pending privacy warning for the daemon or in some cases for your terminal to be accepted? Also, do you have any MDM or external controller that could change the system security? Lastly, we could try with pkg: ```shell brew remove --cask netbird-ui brew remove netbird ``` then downloading and installing from: https://app.netbird.io/install
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

The same with pkg :(

I can run only this line manually, and get a daemon socket,

sudo netbird service run --config /etc/netbird/config.json --log-level info --daemon-addr unix:///var/run/netbird.sock

or

sudo netbird service run
@alexkorotysh commented on GitHub (Apr 18, 2025): The same with pkg :( I can run only this line manually, and get a daemon socket, ``` sudo netbird service run --config /etc/netbird/config.json --log-level info --daemon-addr unix:///var/run/netbird.sock ``` or ``` sudo netbird service run ```
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

So, the original issue, that the daemon couldn't start, I need to run it manually

@alexkorotysh commented on GitHub (Apr 18, 2025): So, the original issue, that the daemon couldn't start, I need to run it manually
Author
Owner

@hakansa commented on GitHub (Apr 18, 2025):

@alexkorotysh let's check .plist file and binary permissions, run the following commands and share output please

ls -l /Library/LaunchDaemons/netbird.plist
ls -l $(which netbird)
plutil /Library/LaunchDaemons/netbird.plist
cat  /Library/LaunchDaemons/netbird.plist
@hakansa commented on GitHub (Apr 18, 2025): @alexkorotysh let's check .plist file and binary permissions, run the following commands and share output please ``` ls -l /Library/LaunchDaemons/netbird.plist ls -l $(which netbird) plutil /Library/LaunchDaemons/netbird.plist cat /Library/LaunchDaemons/netbird.plist ```
Author
Owner

@alexkorotysh commented on GitHub (Apr 18, 2025):

❯ ls -l /Library/LaunchDaemons/netbird.plist

-rw-r--r--  1 root  wheel  934 18 Apr 14:08 /Library/LaunchDaemons/netbird.plist
~
❯ ls -l $(which netbird)

lrwxr-xr-x  1 koro  admin  36 18 Apr 14:07 /opt/homebrew/bin/netbird -> ../Cellar/netbird/0.41.3/bin/netbird
~
❯ ls -l /opt/homebrew/Cellar/netbird/0.41.3/bin/netbird

-r-xr-xr-x  1 koro  admin  27063554 16 Apr 17:04 /opt/homebrew/Cellar/netbird/0.41.3/bin/netbird
~
❯ plutil /Library/LaunchDaemons/netbird.plist
/Library/LaunchDaemons/netbird.plist: OK
~
❯ 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>info</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>
@alexkorotysh commented on GitHub (Apr 18, 2025): ``` ❯ ls -l /Library/LaunchDaemons/netbird.plist -rw-r--r-- 1 root wheel 934 18 Apr 14:08 /Library/LaunchDaemons/netbird.plist ~ ❯ ls -l $(which netbird) lrwxr-xr-x 1 koro admin 36 18 Apr 14:07 /opt/homebrew/bin/netbird -> ../Cellar/netbird/0.41.3/bin/netbird ~ ❯ ls -l /opt/homebrew/Cellar/netbird/0.41.3/bin/netbird -r-xr-xr-x 1 koro admin 27063554 16 Apr 17:04 /opt/homebrew/Cellar/netbird/0.41.3/bin/netbird ~ ❯ plutil /Library/LaunchDaemons/netbird.plist /Library/LaunchDaemons/netbird.plist: OK ~ ❯ 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>info</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> ```
Author
Owner

@xromansx commented on GitHub (Apr 23, 2025):

I have exactly the same problem on OpenWRT 0.41.3.

@xromansx commented on GitHub (Apr 23, 2025): I have exactly the same problem on OpenWRT 0.41.3.
Author
Owner

@ernestp commented on GitHub (Jun 2, 2025):

Same issue with starting service

After reboot service does not starting automatically.

sudo netbird service start works, but have to run it manually

Using package installation from https://pkgs.netbird.io/macos/arm64

On M2 Mac Sequoia 15.5 (24F74)

@ernestp commented on GitHub (Jun 2, 2025): Same issue with starting service After reboot service does not starting automatically. `sudo netbird service start` works, but have to run it manually Using package installation from https://pkgs.netbird.io/macos/arm64 On M2 Mac Sequoia 15.5 (24F74)
Author
Owner

@mlsmaycon commented on GitHub (Jun 2, 2025):

@ernestp can you please run the following command to generate a debug bundle for our analysis?

netbird debug bundle --anonymize --upload-bundle

This will upload the bundle file and output an upload key which you can share with us.

@mlsmaycon commented on GitHub (Jun 2, 2025): @ernestp can you please run the following command to generate a debug bundle for our analysis? ```shell netbird debug bundle --anonymize --upload-bundle ``` This will upload the bundle file and output an upload key which you can share with us.
Author
Owner

@ernestp commented on GitHub (Jun 2, 2025):

Upload file key:
9ca455295f6c62035bbdf6654a368a4d469b490333bacd809d93cdf2049cdc63/7e4fd97c-8639-43cd-8007-c281b476ff78

@ernestp can you please run the following command to generate a debug bundle for our analysis?

netbird debug bundle --anonymize --upload-bundle

This will upload the bundle file and output an upload key which you can share with us.

@ernestp commented on GitHub (Jun 2, 2025): Upload file key: 9ca455295f6c62035bbdf6654a368a4d469b490333bacd809d93cdf2049cdc63/7e4fd97c-8639-43cd-8007-c281b476ff78 > [@ernestp](https://github.com/ernestp) can you please run the following command to generate a debug bundle for our analysis? > > netbird debug bundle --anonymize --upload-bundle > > This will upload the bundle file and output an upload key which you can share with us.
Author
Owner

@mlsmaycon commented on GitHub (Jun 2, 2025):

@ernestp can you confirm the following:
Stopping time

2025-05-30T22:36:04+07:00 INFO client/internal/engine.go:329: stopped Netbird Engine
2025-05-30T22:36:04+07:00 INFO client/server/server.go:672: service is down
2025-05-30T22:36:04+07:00 INFO client/internal/connect.go:305: stopped NetBird client
2025-05-30T22:36:04+07:00 ERRO client/server/server.go:215: received an error when trying to connect: <nil>
2025-05-30T22:36:07+07:00 INFO client/cmd/service_controller.go:99: stopped Netbird service

Starting time

2025-06-02T11:18:50+07:00 INFO client/cmd/service_controller.go:25: starting Netbird service
2025-06-02T11:18:50+07:00 INFO client/internal/statemanager/manager.go:412: cleaning up state route_state
2025-06-02T11:18:50+07:00 INFO client/cmd/service_controller.go:73: started daemon server: /var/run/netbird.sock
2025-06-02T11:18:58+07:00 INFO client/internal/connect.go:122: starting NetBird client version 0.45.1 on darwin/arm64

On 2025-05-30T22:36 you've shut down the computer?

and between 2025-05-30T22:36 and 2025-06-02T11:18 the computer was off, or you just notice that the service was stopped today?

@mlsmaycon commented on GitHub (Jun 2, 2025): @ernestp can you confirm the following: Stopping time ```shell 2025-05-30T22:36:04+07:00 INFO client/internal/engine.go:329: stopped Netbird Engine 2025-05-30T22:36:04+07:00 INFO client/server/server.go:672: service is down 2025-05-30T22:36:04+07:00 INFO client/internal/connect.go:305: stopped NetBird client 2025-05-30T22:36:04+07:00 ERRO client/server/server.go:215: received an error when trying to connect: <nil> 2025-05-30T22:36:07+07:00 INFO client/cmd/service_controller.go:99: stopped Netbird service ``` Starting time ```shell 2025-06-02T11:18:50+07:00 INFO client/cmd/service_controller.go:25: starting Netbird service 2025-06-02T11:18:50+07:00 INFO client/internal/statemanager/manager.go:412: cleaning up state route_state 2025-06-02T11:18:50+07:00 INFO client/cmd/service_controller.go:73: started daemon server: /var/run/netbird.sock 2025-06-02T11:18:58+07:00 INFO client/internal/connect.go:122: starting NetBird client version 0.45.1 on darwin/arm64 ``` On 2025-05-30T22:36 you've shut down the computer? and between 2025-05-30T22:36 and 2025-06-02T11:18 the computer was off, or you just notice that the service was stopped today?
Author
Owner

@ernestp commented on GitHub (Jun 2, 2025):

On every restart service is not starting. It started happening recently, was working fine for some time.
At first I found that reinstalling helping to connect. So I reinstall after every reboot.
Then I figured out that service is not starting, tried to start from user, but it did not work, then after adding sudo I was able to start service.

Usually I restart every day, but seems forgot to turn off last night.

I can restart and try to get logs, but it seems only work when service is running.

@ernestp commented on GitHub (Jun 2, 2025): On every restart service is not starting. It started happening recently, was working fine for some time. At first I found that reinstalling helping to connect. So I reinstall after every reboot. Then I figured out that service is not starting, tried to start from user, but it did not work, then after adding sudo I was able to start service. Usually I restart every day, but seems forgot to turn off last night. I can restart and try to get logs, but it seems only work when service is running.
Author
Owner

@mlsmaycon commented on GitHub (Jun 2, 2025):

Got it. Can you also confirm the timeline so that we have more context?

@mlsmaycon commented on GitHub (Jun 2, 2025): Got it. Can you also confirm the timeline so that we have more context?
Author
Owner

@ernestp commented on GitHub (Jun 2, 2025):

On May 30 it wasn't connecting normally for 2-3 days.

@ernestp commented on GitHub (Jun 2, 2025): On May 30 it wasn't connecting normally for 2-3 days.
Author
Owner

@mlsmaycon commented on GitHub (Jun 2, 2025):

On May 30 it wasn't connecting normally for 2-3 days.

Ok, so the computer has been online since May 30th?

@mlsmaycon commented on GitHub (Jun 2, 2025): > On May 30 it wasn't connecting normally for 2-3 days. Ok, so the computer has been online since May 30th?
Author
Owner

@ernestp commented on GitHub (Jun 2, 2025):

Ok, so the computer has been online since May 30th?

Computer restarting every day before May 30 and after, excluding 1 June when it was not shutdown

@ernestp commented on GitHub (Jun 2, 2025): > Ok, so the computer has been online since May 30th? Computer restarting every day before May 30 and after, excluding 1 June when it was not shutdown
Author
Owner

@mlsmaycon commented on GitHub (Jun 2, 2025):

That's clear now. Thanks.

Can you please run the following command too?

sudo grep -ir netbird /var/log | egrep -v '/var/log/netbird|/var/log/install.log'
@mlsmaycon commented on GitHub (Jun 2, 2025): That's clear now. Thanks. Can you please run the following command too? ```shell sudo grep -ir netbird /var/log | egrep -v '/var/log/netbird|/var/log/install.log' ```
Author
Owner

@ernestp commented on GitHub (Jun 2, 2025):

biglog.txt.zip

@ernestp commented on GitHub (Jun 2, 2025): [biglog.txt.zip](https://github.com/user-attachments/files/20547347/biglog.txt.zip)
Author
Owner

@alexkorotysh commented on GitHub (Jun 4, 2025):

❯ netbird debug bundle --anonymize --upload-bundle
Error: failed to connect to daemon error: context deadline exceeded
If the daemon is not running please run:
netbird service install
netbird service start

~                                                                                                                                                                                                                                                                                             3s
❯ netbird service install
Init already exists: /Library/LaunchDaemons/netbird.plist
Error: Init already exists: /Library/LaunchDaemons/netbird.plist
~
❯ netbird service start
"launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead.
`launchctl bootstrap` is a recommended alternative.

Error: "launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead.
`launchctl bootstrap` is a recommended alternative.

~
❯ sudo netbird service run 



❯ netbird debug bundle --anonymize --upload-bundle
Local file:
/tmp/netbird.debug.2121084935.zip
Upload file key:
166245954fce0aaab11db888d8c0c91c2ec5baf6e4e0d8eeb70914d7f34c3087/53997176-1fae-4bc5-bc4b-ee07b52d04ea
sudo grep -ir netbird /var/log | egrep -v '/var/log/netbird|/var/log/install.log'

Password:
Binary file /var/log/DiagnosticMessages/2025.06.04.asl matches
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.186788 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: internal event: WILL_SPAWN, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.186797 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: service state: spawn scheduled
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.186798 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: service state: spawning
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.186859 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: launching: launch job demand
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.187267 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: xpcproxy spawned with pid 82142
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.187284 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: internal event: SPAWNED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.187285 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: service state: xpcproxy
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.187325 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: internal event: SOURCE_ATTACH, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.248424 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: service state: running
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.248493 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: internal event: INIT, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.248500 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: job state = running
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.248570 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: Successfully spawned netbird-ui[82142] because launch job demand
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.580072 (pid/82142 [netbird-ui]) <Notice>: uncorking exec source upfront
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.580086 (pid/82142 [netbird-ui]) <Notice>: created
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845020 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: exited due to exit(0), ran for 9653ms
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845055 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: service state: exited
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845100 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: internal event: EXITED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845103 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: job state = exited
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845544 (gui/501 [100018]) <Notice>: service inactive: application.io.netbird.client.168303396.177565208
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845783 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: service state: not running
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845794 (pid/82142 [netbird-ui]) <Notice>: shutting down
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845798 (pid/82142 [netbird-ui]) <Notice>: cleaning up
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.850332 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: removing job: caller = runningboardd
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.850346 (gui/501 [100018]) <Notice>: removing service: application.io.netbird.client.168303396.177565208
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.850356 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: internal event: PETRIFIED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.850358 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: job state = removed
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461030 (netbird) <Notice>: This service is defined to be constantly running and is inherently inefficient.
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461056 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461067 (gui/501/netbird) <Notice>: service state: spawn scheduled
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461068 (gui/501/netbird) <Notice>: service state: spawning
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461092 (gui/501/netbird) <Notice>: launching: speculative
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461450 (gui/501/netbird [83109]) <Notice>: xpcproxy spawned with pid 83109
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461456 (gui/501/netbird [83109]) <Notice>: internal event: SPAWNED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461460 (gui/501/netbird [83109]) <Notice>: service state: xpcproxy
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461662 (gui/501/netbird [83109]) <Notice>: internal event: SOURCE_ATTACH, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.474335 (gui/501/netbird [83109]) <Error>: Service could not initialize: posix_spawn(/opt/homebrew/bin/netbird), error 0xd - Permission denied
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.474376 (gui/501/netbird [83109]) <Error>: initialization failure: 24F74: xpcproxy + 17336 [1094][0FF843A8-269B-3DDF-B5E3-7C2BAC44EFD2]: 0xd
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.474381 (gui/501/netbird [83109]) <Notice>: internal event: INIT, code = 13
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475063 (gui/501/netbird [83109]) <Notice>: xpcproxy exited due to exit(78)
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475069 (gui/501/netbird [83109]) <Notice>: exited due to exit(78), ran for 13ms
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475073 (gui/501/netbird [83109]) <Notice>: already handled failed init, ignoring
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475078 (gui/501/netbird [83109]) <Notice>: service state: exited
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475086 (gui/501/netbird [83109]) <Notice>: internal event: EXITED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475090 (gui/501 [100018]) <Notice>: service inactive: netbird
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475095 (gui/501/netbird [83109]) <Notice>: service state: not running
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475100 (gui/501/netbird) <Notice>: Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475175 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475181 (gui/501/netbird) <Notice>: service state: spawn scheduled
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475184 (gui/501/netbird) <Notice>: service spawn deferred by 10 seconds due to throttle
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.480295 (gui/501/netbird) <Notice>: service state: spawning
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.480452 (gui/501/netbird) <Notice>: launching: inefficient
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.483800 (gui/501/netbird [83183]) <Notice>: xpcproxy spawned with pid 83183
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.484044 (gui/501/netbird [83183]) <Notice>: internal event: SPAWNED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.484087 (gui/501/netbird [83183]) <Notice>: service state: xpcproxy
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.484111 (gui/501/netbird [83183]) <Notice>: deferred event: domain spawn response: 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.484130 (gui/501/netbird [83183]) <Notice>: internal event: SOURCE_ATTACH, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.510637 (gui/501/netbird [83183]) <Error>: Service could not initialize: posix_spawn(/opt/homebrew/bin/netbird), error 0xd - Permission denied
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.510673 (gui/501/netbird [83183]) <Error>: initialization failure: 24F74: xpcproxy + 17336 [1094][0FF843A8-269B-3DDF-B5E3-7C2BAC44EFD2]: 0xd
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.510679 (gui/501/netbird [83183]) <Notice>: internal event: INIT, code = 13
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511378 (gui/501/netbird [83183]) <Notice>: xpcproxy exited due to exit(78)
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511390 (gui/501/netbird [83183]) <Notice>: exited due to exit(78), ran for 30ms
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511394 (gui/501/netbird [83183]) <Notice>: already handled failed init, ignoring
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511400 (gui/501/netbird [83183]) <Notice>: service state: exited
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511411 (gui/501/netbird [83183]) <Notice>: internal event: EXITED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511417 (gui/501 [100018]) <Notice>: service inactive: netbird
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511422 (gui/501/netbird [83183]) <Notice>: service state: not running
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511430 (gui/501/netbird) <Notice>: Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511563 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511649 (gui/501/netbird) <Notice>: service state: spawn scheduled
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511652 (gui/501/netbird) <Notice>: service spawn deferred by 10 seconds due to throttle
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.516611 (gui/501/netbird) <Notice>: service state: spawning
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.516716 (gui/501/netbird) <Notice>: launching: inefficient
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.519899 (gui/501/netbird [83272]) <Notice>: xpcproxy spawned with pid 83272
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.519962 (gui/501/netbird [83272]) <Notice>: internal event: SPAWNED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.519972 (gui/501/netbird [83272]) <Notice>: service state: xpcproxy
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.519980 (gui/501/netbird [83272]) <Notice>: deferred event: domain spawn response: 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.519992 (gui/501/netbird [83272]) <Notice>: internal event: SOURCE_ATTACH, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.537933 (gui/501/netbird [83272]) <Error>: Service could not initialize: posix_spawn(/opt/homebrew/bin/netbird), error 0xd - Permission denied
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.537952 (gui/501/netbird [83272]) <Error>: initialization failure: 24F74: xpcproxy + 17336 [1094][0FF843A8-269B-3DDF-B5E3-7C2BAC44EFD2]: 0xd
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.537959 (gui/501/netbird [83272]) <Notice>: internal event: INIT, code = 13
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538698 (gui/501/netbird [83272]) <Notice>: xpcproxy exited due to exit(78)
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538705 (gui/501/netbird [83272]) <Notice>: exited due to exit(78), ran for 21ms
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538709 (gui/501/netbird [83272]) <Notice>: already handled failed init, ignoring
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538713 (gui/501/netbird [83272]) <Notice>: service state: exited
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538727 (gui/501/netbird [83272]) <Notice>: internal event: EXITED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538733 (gui/501 [100018]) <Notice>: service inactive: netbird
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538740 (gui/501/netbird [83272]) <Notice>: service state: not running
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538747 (gui/501/netbird) <Notice>: Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538839 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538871 (gui/501/netbird) <Notice>: service state: spawn scheduled
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538875 (gui/501/netbird) <Notice>: service spawn deferred by 10 seconds due to throttle
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.539322 (gui/501/netbird) <Notice>: service state: spawning
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.539411 (gui/501/netbird) <Notice>: launching: inefficient
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.540991 (gui/501/netbird [83377]) <Notice>: xpcproxy spawned with pid 83377
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.541039 (gui/501/netbird [83377]) <Notice>: internal event: SPAWNED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.541047 (gui/501/netbird [83377]) <Notice>: service state: xpcproxy
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.541054 (gui/501/netbird [83377]) <Notice>: deferred event: domain spawn response: 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.541064 (gui/501/netbird [83377]) <Notice>: internal event: SOURCE_ATTACH, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.556432 (gui/501/netbird [83377]) <Error>: Service could not initialize: posix_spawn(/opt/homebrew/bin/netbird), error 0xd - Permission denied
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.556453 (gui/501/netbird [83377]) <Error>: initialization failure: 24F74: xpcproxy + 17336 [1094][0FF843A8-269B-3DDF-B5E3-7C2BAC44EFD2]: 0xd
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.556461 (gui/501/netbird [83377]) <Notice>: internal event: INIT, code = 13
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557420 (gui/501/netbird [83377]) <Notice>: xpcproxy exited due to exit(78)
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557426 (gui/501/netbird [83377]) <Notice>: exited due to exit(78), ran for 17ms
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557429 (gui/501/netbird [83377]) <Notice>: already handled failed init, ignoring
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557434 (gui/501/netbird [83377]) <Notice>: service state: exited
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557440 (gui/501/netbird [83377]) <Notice>: internal event: EXITED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557443 (gui/501 [100018]) <Notice>: service inactive: netbird
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557447 (gui/501/netbird [83377]) <Notice>: service state: not running
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557452 (gui/501/netbird) <Notice>: Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557515 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557537 (gui/501/netbird) <Notice>: service state: spawn scheduled
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557540 (gui/501/netbird) <Notice>: service spawn deferred by 10 seconds due to throttle
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.562612 (gui/501/netbird) <Notice>: service state: spawning
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.562778 (gui/501/netbird) <Notice>: launching: inefficient
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.564206 (gui/501/netbird [83462]) <Notice>: xpcproxy spawned with pid 83462
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.564262 (gui/501/netbird [83462]) <Notice>: internal event: SPAWNED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.564269 (gui/501/netbird [83462]) <Notice>: service state: xpcproxy
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.564288 (gui/501/netbird [83462]) <Notice>: deferred event: domain spawn response: 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.564296 (gui/501/netbird [83462]) <Notice>: internal event: SOURCE_ATTACH, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585101 (gui/501/netbird [83462]) <Error>: Service could not initialize: posix_spawn(/opt/homebrew/bin/netbird), error 0xd - Permission denied
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585123 (gui/501/netbird [83462]) <Error>: initialization failure: 24F74: xpcproxy + 17336 [1094][0FF843A8-269B-3DDF-B5E3-7C2BAC44EFD2]: 0xd
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585127 (gui/501/netbird [83462]) <Notice>: internal event: INIT, code = 13
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585796 (gui/501/netbird [83462]) <Notice>: xpcproxy exited due to exit(78)
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585802 (gui/501/netbird [83462]) <Notice>: exited due to exit(78), ran for 22ms
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585820 (gui/501/netbird [83462]) <Notice>: already handled failed init, ignoring
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585825 (gui/501/netbird [83462]) <Notice>: service state: exited
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585831 (gui/501/netbird [83462]) <Notice>: internal event: EXITED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585843 (gui/501 [100018]) <Notice>: service inactive: netbird
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585847 (gui/501/netbird [83462]) <Notice>: service state: not running
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585851 (gui/501/netbird) <Notice>: Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585908 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585935 (gui/501/netbird) <Notice>: service state: spawn scheduled
/var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585937 (gui/501/netbird) <Notice>: service spawn deferred by 10 seconds due to throttle
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590676 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: exited due to exit(0), ran for 15229057ms
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590687 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: service state: exited
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590692 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: internal event: EXITED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590694 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: job state = exited
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590746 (gui/501 [100018]) <Notice>: service inactive: application.io.netbird.client.168303396.176656204
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590747 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: service state: not running
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590756 (pid/25845 [netbird-ui]) <Notice>: shutting down
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590767 (pid/25845 [netbird-ui]) <Notice>: cleaning up
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.597232 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: removing job: caller = runningboardd
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.597248 (gui/501 [100018]) <Notice>: removing service: application.io.netbird.client.168303396.176656204
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.597261 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: internal event: PETRIFIED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.597264 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: job state = removed
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.367742 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: internal event: WILL_SPAWN, code = 0
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.367757 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: service state: spawn scheduled
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.367759 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: service state: spawning
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.367853 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: launching: launch job demand
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.368498 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: xpcproxy spawned with pid 25845
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.368514 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: internal event: SPAWNED, code = 0
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.368515 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: service state: xpcproxy
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.368548 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: internal event: SOURCE_ATTACH, code = 0
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.393509 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: service state: running
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.393568 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: internal event: INIT, code = 0
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.393572 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: job state = running
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.393630 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: Successfully spawned netbird-ui[25845] because launch job demand
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.479033 (pid/25845 [netbird-ui]) <Notice>: uncorking exec source upfront
/var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.479064 (pid/25845 [netbird-ui]) <Notice>: created
@alexkorotysh commented on GitHub (Jun 4, 2025): ``` ❯ netbird debug bundle --anonymize --upload-bundle Error: failed to connect to daemon error: context deadline exceeded If the daemon is not running please run: netbird service install netbird service start ~ 3s ❯ netbird service install Init already exists: /Library/LaunchDaemons/netbird.plist Error: Init already exists: /Library/LaunchDaemons/netbird.plist ~ ❯ netbird service start "launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead. `launchctl bootstrap` is a recommended alternative. Error: "launchctl" failed with stderr: Warning: Expecting a LaunchAgents path since the command was ran as user. Got LaunchDaemons instead. `launchctl bootstrap` is a recommended alternative. ~ ❯ sudo netbird service run ❯ netbird debug bundle --anonymize --upload-bundle Local file: /tmp/netbird.debug.2121084935.zip Upload file key: 166245954fce0aaab11db888d8c0c91c2ec5baf6e4e0d8eeb70914d7f34c3087/53997176-1fae-4bc5-bc4b-ee07b52d04ea ``` ``` sudo grep -ir netbird /var/log | egrep -v '/var/log/netbird|/var/log/install.log' Password: Binary file /var/log/DiagnosticMessages/2025.06.04.asl matches /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.186788 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: internal event: WILL_SPAWN, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.186797 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: service state: spawn scheduled /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.186798 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: service state: spawning /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.186859 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: launching: launch job demand /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.187267 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: xpcproxy spawned with pid 82142 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.187284 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: internal event: SPAWNED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.187285 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: service state: xpcproxy /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.187325 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: internal event: SOURCE_ATTACH, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.248424 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: service state: running /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.248493 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: internal event: INIT, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.248500 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: job state = running /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.248570 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: Successfully spawned netbird-ui[82142] because launch job demand /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.580072 (pid/82142 [netbird-ui]) <Notice>: uncorking exec source upfront /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:10.580086 (pid/82142 [netbird-ui]) <Notice>: created /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845020 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: exited due to exit(0), ran for 9653ms /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845055 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: service state: exited /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845100 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: internal event: EXITED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845103 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: job state = exited /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845544 (gui/501 [100018]) <Notice>: service inactive: application.io.netbird.client.168303396.177565208 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845783 (gui/501/application.io.netbird.client.168303396.177565208 [82142]) <Notice>: service state: not running /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845794 (pid/82142 [netbird-ui]) <Notice>: shutting down /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.845798 (pid/82142 [netbird-ui]) <Notice>: cleaning up /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.850332 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: removing job: caller = runningboardd /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.850346 (gui/501 [100018]) <Notice>: removing service: application.io.netbird.client.168303396.177565208 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.850356 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: internal event: PETRIFIED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:31:19.850358 (gui/501/application.io.netbird.client.168303396.177565208) <Notice>: job state = removed /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461030 (netbird) <Notice>: This service is defined to be constantly running and is inherently inefficient. /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461056 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461067 (gui/501/netbird) <Notice>: service state: spawn scheduled /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461068 (gui/501/netbird) <Notice>: service state: spawning /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461092 (gui/501/netbird) <Notice>: launching: speculative /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461450 (gui/501/netbird [83109]) <Notice>: xpcproxy spawned with pid 83109 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461456 (gui/501/netbird [83109]) <Notice>: internal event: SPAWNED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461460 (gui/501/netbird [83109]) <Notice>: service state: xpcproxy /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.461662 (gui/501/netbird [83109]) <Notice>: internal event: SOURCE_ATTACH, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.474335 (gui/501/netbird [83109]) <Error>: Service could not initialize: posix_spawn(/opt/homebrew/bin/netbird), error 0xd - Permission denied /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.474376 (gui/501/netbird [83109]) <Error>: initialization failure: 24F74: xpcproxy + 17336 [1094][0FF843A8-269B-3DDF-B5E3-7C2BAC44EFD2]: 0xd /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.474381 (gui/501/netbird [83109]) <Notice>: internal event: INIT, code = 13 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475063 (gui/501/netbird [83109]) <Notice>: xpcproxy exited due to exit(78) /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475069 (gui/501/netbird [83109]) <Notice>: exited due to exit(78), ran for 13ms /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475073 (gui/501/netbird [83109]) <Notice>: already handled failed init, ignoring /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475078 (gui/501/netbird [83109]) <Notice>: service state: exited /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475086 (gui/501/netbird [83109]) <Notice>: internal event: EXITED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475090 (gui/501 [100018]) <Notice>: service inactive: netbird /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475095 (gui/501/netbird [83109]) <Notice>: service state: not running /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475100 (gui/501/netbird) <Notice>: Service only ran for 0 seconds. Pushing respawn out by 10 seconds. /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475175 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475181 (gui/501/netbird) <Notice>: service state: spawn scheduled /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:32:56.475184 (gui/501/netbird) <Notice>: service spawn deferred by 10 seconds due to throttle /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.480295 (gui/501/netbird) <Notice>: service state: spawning /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.480452 (gui/501/netbird) <Notice>: launching: inefficient /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.483800 (gui/501/netbird [83183]) <Notice>: xpcproxy spawned with pid 83183 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.484044 (gui/501/netbird [83183]) <Notice>: internal event: SPAWNED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.484087 (gui/501/netbird [83183]) <Notice>: service state: xpcproxy /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.484111 (gui/501/netbird [83183]) <Notice>: deferred event: domain spawn response: 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.484130 (gui/501/netbird [83183]) <Notice>: internal event: SOURCE_ATTACH, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.510637 (gui/501/netbird [83183]) <Error>: Service could not initialize: posix_spawn(/opt/homebrew/bin/netbird), error 0xd - Permission denied /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.510673 (gui/501/netbird [83183]) <Error>: initialization failure: 24F74: xpcproxy + 17336 [1094][0FF843A8-269B-3DDF-B5E3-7C2BAC44EFD2]: 0xd /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.510679 (gui/501/netbird [83183]) <Notice>: internal event: INIT, code = 13 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511378 (gui/501/netbird [83183]) <Notice>: xpcproxy exited due to exit(78) /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511390 (gui/501/netbird [83183]) <Notice>: exited due to exit(78), ran for 30ms /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511394 (gui/501/netbird [83183]) <Notice>: already handled failed init, ignoring /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511400 (gui/501/netbird [83183]) <Notice>: service state: exited /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511411 (gui/501/netbird [83183]) <Notice>: internal event: EXITED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511417 (gui/501 [100018]) <Notice>: service inactive: netbird /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511422 (gui/501/netbird [83183]) <Notice>: service state: not running /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511430 (gui/501/netbird) <Notice>: Service only ran for 0 seconds. Pushing respawn out by 10 seconds. /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511563 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511649 (gui/501/netbird) <Notice>: service state: spawn scheduled /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:06.511652 (gui/501/netbird) <Notice>: service spawn deferred by 10 seconds due to throttle /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.516611 (gui/501/netbird) <Notice>: service state: spawning /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.516716 (gui/501/netbird) <Notice>: launching: inefficient /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.519899 (gui/501/netbird [83272]) <Notice>: xpcproxy spawned with pid 83272 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.519962 (gui/501/netbird [83272]) <Notice>: internal event: SPAWNED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.519972 (gui/501/netbird [83272]) <Notice>: service state: xpcproxy /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.519980 (gui/501/netbird [83272]) <Notice>: deferred event: domain spawn response: 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.519992 (gui/501/netbird [83272]) <Notice>: internal event: SOURCE_ATTACH, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.537933 (gui/501/netbird [83272]) <Error>: Service could not initialize: posix_spawn(/opt/homebrew/bin/netbird), error 0xd - Permission denied /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.537952 (gui/501/netbird [83272]) <Error>: initialization failure: 24F74: xpcproxy + 17336 [1094][0FF843A8-269B-3DDF-B5E3-7C2BAC44EFD2]: 0xd /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.537959 (gui/501/netbird [83272]) <Notice>: internal event: INIT, code = 13 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538698 (gui/501/netbird [83272]) <Notice>: xpcproxy exited due to exit(78) /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538705 (gui/501/netbird [83272]) <Notice>: exited due to exit(78), ran for 21ms /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538709 (gui/501/netbird [83272]) <Notice>: already handled failed init, ignoring /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538713 (gui/501/netbird [83272]) <Notice>: service state: exited /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538727 (gui/501/netbird [83272]) <Notice>: internal event: EXITED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538733 (gui/501 [100018]) <Notice>: service inactive: netbird /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538740 (gui/501/netbird [83272]) <Notice>: service state: not running /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538747 (gui/501/netbird) <Notice>: Service only ran for 0 seconds. Pushing respawn out by 10 seconds. /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538839 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538871 (gui/501/netbird) <Notice>: service state: spawn scheduled /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:16.538875 (gui/501/netbird) <Notice>: service spawn deferred by 10 seconds due to throttle /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.539322 (gui/501/netbird) <Notice>: service state: spawning /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.539411 (gui/501/netbird) <Notice>: launching: inefficient /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.540991 (gui/501/netbird [83377]) <Notice>: xpcproxy spawned with pid 83377 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.541039 (gui/501/netbird [83377]) <Notice>: internal event: SPAWNED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.541047 (gui/501/netbird [83377]) <Notice>: service state: xpcproxy /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.541054 (gui/501/netbird [83377]) <Notice>: deferred event: domain spawn response: 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.541064 (gui/501/netbird [83377]) <Notice>: internal event: SOURCE_ATTACH, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.556432 (gui/501/netbird [83377]) <Error>: Service could not initialize: posix_spawn(/opt/homebrew/bin/netbird), error 0xd - Permission denied /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.556453 (gui/501/netbird [83377]) <Error>: initialization failure: 24F74: xpcproxy + 17336 [1094][0FF843A8-269B-3DDF-B5E3-7C2BAC44EFD2]: 0xd /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.556461 (gui/501/netbird [83377]) <Notice>: internal event: INIT, code = 13 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557420 (gui/501/netbird [83377]) <Notice>: xpcproxy exited due to exit(78) /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557426 (gui/501/netbird [83377]) <Notice>: exited due to exit(78), ran for 17ms /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557429 (gui/501/netbird [83377]) <Notice>: already handled failed init, ignoring /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557434 (gui/501/netbird [83377]) <Notice>: service state: exited /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557440 (gui/501/netbird [83377]) <Notice>: internal event: EXITED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557443 (gui/501 [100018]) <Notice>: service inactive: netbird /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557447 (gui/501/netbird [83377]) <Notice>: service state: not running /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557452 (gui/501/netbird) <Notice>: Service only ran for 0 seconds. Pushing respawn out by 10 seconds. /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557515 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557537 (gui/501/netbird) <Notice>: service state: spawn scheduled /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:26.557540 (gui/501/netbird) <Notice>: service spawn deferred by 10 seconds due to throttle /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.562612 (gui/501/netbird) <Notice>: service state: spawning /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.562778 (gui/501/netbird) <Notice>: launching: inefficient /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.564206 (gui/501/netbird [83462]) <Notice>: xpcproxy spawned with pid 83462 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.564262 (gui/501/netbird [83462]) <Notice>: internal event: SPAWNED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.564269 (gui/501/netbird [83462]) <Notice>: service state: xpcproxy /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.564288 (gui/501/netbird [83462]) <Notice>: deferred event: domain spawn response: 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.564296 (gui/501/netbird [83462]) <Notice>: internal event: SOURCE_ATTACH, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585101 (gui/501/netbird [83462]) <Error>: Service could not initialize: posix_spawn(/opt/homebrew/bin/netbird), error 0xd - Permission denied /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585123 (gui/501/netbird [83462]) <Error>: initialization failure: 24F74: xpcproxy + 17336 [1094][0FF843A8-269B-3DDF-B5E3-7C2BAC44EFD2]: 0xd /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585127 (gui/501/netbird [83462]) <Notice>: internal event: INIT, code = 13 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585796 (gui/501/netbird [83462]) <Notice>: xpcproxy exited due to exit(78) /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585802 (gui/501/netbird [83462]) <Notice>: exited due to exit(78), ran for 22ms /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585820 (gui/501/netbird [83462]) <Notice>: already handled failed init, ignoring /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585825 (gui/501/netbird [83462]) <Notice>: service state: exited /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585831 (gui/501/netbird [83462]) <Notice>: internal event: EXITED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585843 (gui/501 [100018]) <Notice>: service inactive: netbird /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585847 (gui/501/netbird [83462]) <Notice>: service state: not running /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585851 (gui/501/netbird) <Notice>: Service only ran for 0 seconds. Pushing respawn out by 10 seconds. /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585908 (gui/501/netbird) <Notice>: internal event: WILL_SPAWN, code = 0 /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585935 (gui/501/netbird) <Notice>: service state: spawn scheduled /var/log/com.apple.xpc.launchd/launchd.log:2025-06-04 22:33:36.585937 (gui/501/netbird) <Notice>: service spawn deferred by 10 seconds due to throttle /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590676 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: exited due to exit(0), ran for 15229057ms /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590687 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: service state: exited /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590692 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: internal event: EXITED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590694 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: job state = exited /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590746 (gui/501 [100018]) <Notice>: service inactive: application.io.netbird.client.168303396.176656204 /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590747 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: service state: not running /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590756 (pid/25845 [netbird-ui]) <Notice>: shutting down /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.590767 (pid/25845 [netbird-ui]) <Notice>: cleaning up /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.597232 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: removing job: caller = runningboardd /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.597248 (gui/501 [100018]) <Notice>: removing service: application.io.netbird.client.168303396.176656204 /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.597261 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: internal event: PETRIFIED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log.1:2025-06-04 21:06:32.597264 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: job state = removed /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.367742 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: internal event: WILL_SPAWN, code = 0 /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.367757 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: service state: spawn scheduled /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.367759 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: service state: spawning /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.367853 (gui/501/application.io.netbird.client.168303396.176656204) <Notice>: launching: launch job demand /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.368498 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: xpcproxy spawned with pid 25845 /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.368514 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: internal event: SPAWNED, code = 0 /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.368515 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: service state: xpcproxy /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.368548 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: internal event: SOURCE_ATTACH, code = 0 /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.393509 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: service state: running /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.393568 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: internal event: INIT, code = 0 /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.393572 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: job state = running /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.393630 (gui/501/application.io.netbird.client.168303396.176656204 [25845]) <Notice>: Successfully spawned netbird-ui[25845] because launch job demand /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.479033 (pid/25845 [netbird-ui]) <Notice>: uncorking exec source upfront /var/log/com.apple.xpc.launchd/launchd.log.2:2025-06-04 16:52:43.479064 (pid/25845 [netbird-ui]) <Notice>: created ```
Author
Owner

@ernestp commented on GitHub (Jun 30, 2025):

Service is starting normally for me after updating to v0.49.0

Not sure it was update or my manipulation with service config, but likely due to update.

@ernestp commented on GitHub (Jun 30, 2025): Service is starting normally for me after updating to v0.49.0 Not sure it was update or my manipulation with service config, but likely due to update.
Author
Owner

@CollinAtRewst commented on GitHub (Jul 18, 2025):

I'm having this issue now on v0.51.1

I had installed via the .pkg but then tried to install via brew to debug a connection problem to my company's resources. Now Netbird is not creating/able to connect to the socket:

> netbird status -dA
2025-07-18T13:30:56-04:00 INFO ./caller_not_available:0: 2025/07/18 13:30:56 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"
2025-07-18T13:30:57-04:00 INFO ./caller_not_available:0: 2025/07/18 13:30:57 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"
2025-07-18T13:30:58-04:00 INFO ./caller_not_available:0: 2025/07/18 13:30:58 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"
Error: failed to connect to daemon error: context deadline exceeded

I tried to uninstall and erase all references to netbird from my system but it won't work even with a clean install of the .pkg.

EDIT: I am noticing that my Advanced Settings window isn't saving. I had a lot of similar symptoms to the OP and followed the steps they did, with very similar outputs. However, they never mentioned their Advanced Settings not saving, so if this should be a separate issue I am happy to do that and pull the debug information needed.

EDIT2: I used https://freemacsoft.net/appcleaner/ to uninstall net bird and then reinstall and it is working again. Sorry for the noise.

@CollinAtRewst commented on GitHub (Jul 18, 2025): I'm having this issue now on v0.51.1 I had installed via the `.pkg` but then tried to install via `brew` to debug a connection problem to my company's resources. Now Netbird is not creating/able to connect to the socket: ``` > netbird status -dA 2025-07-18T13:30:56-04:00 INFO ./caller_not_available:0: 2025/07/18 13:30:56 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" 2025-07-18T13:30:57-04:00 INFO ./caller_not_available:0: 2025/07/18 13:30:57 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" 2025-07-18T13:30:58-04:00 INFO ./caller_not_available:0: 2025/07/18 13:30:58 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" Error: failed to connect to daemon error: context deadline exceeded ``` I tried to uninstall and erase all references to `netbird` from my system but it won't work even with a clean install of the `.pkg`. EDIT: I am noticing that my `Advanced Settings` window isn't saving. I had a lot of similar symptoms to the OP and followed the steps they did, with very similar outputs. However, they never mentioned their `Advanced Settings` not saving, so if this should be a separate issue I am happy to do that and pull the debug information needed. EDIT2: I used https://freemacsoft.net/appcleaner/ to uninstall net bird and then reinstall and it is working again. Sorry for the noise.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1825