How troubleshooting run/start netbird-ui? #1153

Closed
opened 2025-11-20 05:24:56 -05:00 by saavagebueno · 7 comments
Owner

Originally created by @patsevanton on GitHub (Aug 14, 2024).

Describe the problem
netbird-ui can not start. netbird-ui not show gui application

Are you using NetBird Cloud?
No
Please specify whether you use NetBird Cloud or self-host NetBird's control plane.
self-host NetBird
NetBird version

netbird version
netbird version
0.28.7

NetBird status -dA output:

If applicable, add the `netbird status -dA' command output.

Daemon status: NeedsLogin

Run UP command to log in with SSO (interactive login):

 netbird up 

If you are running a self-hosted version and no SSO provider has been configured in your Management Server,
you can use a setup-key:

 netbird up --management-url <YOUR_MANAGEMENT_URL> --setup-key <YOUR_SETUP_KEY>

More info: https://docs.netbird.io/how-to/register-machines-using-setup-keys

Do you face any client issues on desktop?

Please provide the file created by netbird debug for 1m -AS.
We advise reviewing the anonymized files for any remaining PII.

Screenshots
image

If applicable, add screenshots to help explain your problem.

Additional context

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=23.10
DISTRIB_CODENAME=mantic
DISTRIB_DESCRIPTION="Ubuntu 23.10"
PRETTY_NAME="Ubuntu 23.10"

Add any other context about the problem here.

Originally created by @patsevanton on GitHub (Aug 14, 2024). **Describe the problem** netbird-ui can not start. netbird-ui not show gui application **Are you using NetBird Cloud?** No Please specify whether you use NetBird Cloud or self-host NetBird's control plane. self-host NetBird **NetBird version** `netbird version` netbird version 0.28.7 **NetBird status -dA output:** If applicable, add the `netbird status -dA' command output. ``` Daemon status: NeedsLogin Run UP command to log in with SSO (interactive login): netbird up If you are running a self-hosted version and no SSO provider has been configured in your Management Server, you can use a setup-key: netbird up --management-url <YOUR_MANAGEMENT_URL> --setup-key <YOUR_SETUP_KEY> More info: https://docs.netbird.io/how-to/register-machines-using-setup-keys ``` **Do you face any client issues on desktop?** Please provide the file created by `netbird debug for 1m -AS`. We advise reviewing the anonymized files for any remaining PII. **Screenshots** ![image](https://github.com/user-attachments/assets/347a64a5-8b35-4ccf-8421-55bb929fa2de) If applicable, add screenshots to help explain your problem. **Additional context** ``` DISTRIB_ID=Ubuntu DISTRIB_RELEASE=23.10 DISTRIB_CODENAME=mantic DISTRIB_DESCRIPTION="Ubuntu 23.10" PRETTY_NAME="Ubuntu 23.10" ``` Add any other context about the problem here.
saavagebueno added the waiting-feedbacktriage-needed labels 2025-11-20 05:24:56 -05:00
Author
Owner

@pascal-fischer commented on GitHub (Aug 14, 2024):

Hi @patsevanton,
there is an option to run netbird-ui -use-log-file this will create a logfile and print any error messages to /tmp/netbird-ui-*.log. If there is no file created that means the ui client didn't encounter any errors.

@pascal-fischer commented on GitHub (Aug 14, 2024): Hi @patsevanton, there is an option to run `netbird-ui -use-log-file` this will create a logfile and print any error messages to `/tmp/netbird-ui-*.log`. If there is no file created that means the ui client didn't encounter any errors.
Author
Owner

@patsevanton commented on GitHub (Aug 14, 2024):

I run

netbird-ui -use-log-file /tmp/netbird-ui.log

and

cat /tmp/netbird-ui.log
cat: /tmp/netbird-ui.log: No such file or directory
@patsevanton commented on GitHub (Aug 14, 2024): I run ``` netbird-ui -use-log-file /tmp/netbird-ui.log ``` and ``` cat /tmp/netbird-ui.log cat: /tmp/netbird-ui.log: No such file or directory ```
Author
Owner

@pascal-fischer commented on GitHub (Aug 14, 2024):

This flag is not straight forward. You can not specify a path after this it really is just netbird-ui -use-log-file and then a file is being created in the temp folder following the format /tmp/netbird-ui-*.log. So there is no option for custom paths.

On a different topic. What window manager are you using? for the more special ones what systray application are you using?

@pascal-fischer commented on GitHub (Aug 14, 2024): This flag is not straight forward. You can not specify a path after this it really is just `netbird-ui -use-log-file` and then a file is being created in the temp folder following the format `/tmp/netbird-ui-*.log`. So there is no option for custom paths. On a different topic. What window manager are you using? for the more special ones what systray application are you using?
Author
Owner

@patsevanton commented on GitHub (Aug 14, 2024):

I run

netbird-ui -use-log-file

i don`t show /tmp/netbird-ui-*.log

cat /tmp/netbird-*
cat: '/tmp/netbird-*': No such file or directory

fastfetch:

OS: Ubuntu mantic 23.10 x86_64
Host: Redmi Book Pro 15 2022
Kernel: Linux 6.5.0-44-generic
Uptime: 2 hours, 17 mins
Packages: 3151 (dpkg), 36 (snap)
Shell: bash 5.2.15
Display (TMX1560): 3200x2000 @ 90 Hz in 16″
DE: GNOME 45.2
WM: Mutter (X11)
WM Theme: Yaru
Theme: Yaru [GTK2/3/4]
Icons: Yaru [GTK2/3/4]
Font: Ubuntu (11pt) [GTK2/3/4]
Cursor: Yaru (24px)
Terminal: GNOME Terminal 3.49.92
Terminal Font: FiraMono Nerd Font (12pt)
CPU: AMD Ryzen 7 6800H (16) @ 4.79 GHz
GPU: AMD Radeon 680M [Integrated]
Memory: 6.63 GiB / 14.80 GiB (45%)
Swap: 0 B / 15.10 GiB (0%)
Disk (/): 198.49 GiB / 467.35 GiB (42%) - ext4
Local IP (wlp1s0): 192.168.0.121/24
Battery: 97% [Charging]
Locale: en_US.UTF-8
@patsevanton commented on GitHub (Aug 14, 2024): I run ``` netbird-ui -use-log-file ``` i don`t show /tmp/netbird-ui-*.log ``` cat /tmp/netbird-* cat: '/tmp/netbird-*': No such file or directory ``` fastfetch: ``` OS: Ubuntu mantic 23.10 x86_64 Host: Redmi Book Pro 15 2022 Kernel: Linux 6.5.0-44-generic Uptime: 2 hours, 17 mins Packages: 3151 (dpkg), 36 (snap) Shell: bash 5.2.15 Display (TMX1560): 3200x2000 @ 90 Hz in 16″ DE: GNOME 45.2 WM: Mutter (X11) WM Theme: Yaru Theme: Yaru [GTK2/3/4] Icons: Yaru [GTK2/3/4] Font: Ubuntu (11pt) [GTK2/3/4] Cursor: Yaru (24px) Terminal: GNOME Terminal 3.49.92 Terminal Font: FiraMono Nerd Font (12pt) CPU: AMD Ryzen 7 6800H (16) @ 4.79 GHz GPU: AMD Radeon 680M [Integrated] Memory: 6.63 GiB / 14.80 GiB (45%) Swap: 0 B / 15.10 GiB (0%) Disk (/): 198.49 GiB / 467.35 GiB (42%) - ext4 Local IP (wlp1s0): 192.168.0.121/24 Battery: 97% [Charging] Locale: en_US.UTF-8 ```
Author
Owner

@kokel commented on GitHub (Aug 30, 2024):

I think I have the same issue, 0.28.5 is working. But the current version (0.28.9) doesn't start here on Archlinux.
The log file isn't created here, neither. Only if I start netbird-ui via root.

I get the following message if I start netbird-ui in user terminal:

❯ netbird-ui -use-log-file
2024/08/30 08:35:53 systray error: failed to register: The name is not activatable
@kokel commented on GitHub (Aug 30, 2024): I think I have the same issue, 0.28.5 is working. But the current version (0.28.9) doesn't start here on Archlinux. The log file isn't created here, neither. Only if I start netbird-ui via root. I get the following message if I start netbird-ui in user terminal: ``` ❯ netbird-ui -use-log-file 2024/08/30 08:35:53 systray error: failed to register: The name is not activatable ```
Author
Owner

@JirakLu commented on GitHub (Aug 30, 2024):

This fixed the issue for me https://github.com/fyne-io/systray/issues/75#issuecomment-1977843140

@JirakLu commented on GitHub (Aug 30, 2024): This fixed the issue for me https://github.com/fyne-io/systray/issues/75#issuecomment-1977843140
Author
Owner

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

Hello @patsevanton,

We're currently reviewing our open issues and would like to verify if this problem still exists in the latest NetBird version.

Could you please confirm if the issue is still there?

We may close this issue temporarily if we don't hear back from you within 2 weeks, but feel free to reopen it with updated information.

Thanks for your contribution to improving the project!

@nazarewk commented on GitHub (Apr 28, 2025): Hello @patsevanton, We're currently reviewing our open issues and would like to verify if this problem still exists in the [latest NetBird version](https://github.com/netbirdio/netbird/releases). Could you please confirm if the issue is still there? We may close this issue temporarily if we don't hear back from you within **2 weeks**, but feel free to reopen it with updated information. Thanks for your contribution to improving the project!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1153