Open patsevanton opened 3 months ago
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.
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
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?
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
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
This fixed the issue for me https://github.com/fyne-io/systray/issues/75#issuecomment-1977843140
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.7NetBird status -dA output:
If applicable, add the `netbird status -dA' command output.
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
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.