lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.55k stars 1.47k forks source link

Question: help debugging startup issues #965

Open zaquestion opened 4 years ago

zaquestion commented 4 years ago

Hoping someone can point me in a direction, the issue is almost certainly something in my environment, but I can't get any info out of lens to debug. If there's any actual bug here it's going to be around the lack of logs...

Describe the bug So I install lens with snap no probs, and was able to launch it and view my clusters. I didn't have /snap/bin in my path when I booted up, so it wasn't available to my launcher (dmenu), but lens started. After logging out and back in, I could access lens in my dmenu, but it won't launch at all. Running it on the command line as I did originally doesn't produce any logs.

To Reproduce I doubt this will be reproducible... my steps are simply executing kontena-lens

Expected behavior It starts, or at the very least logs spew out telling me what's wrong.

Environment (please complete the following information):

zaquestion commented 4 years ago

Okay, upon a snap remove and re snap install kontena-lens --classic, I got a new error on launching

$ kontena-lens
/home/zaq/Desktop was removed, reassigning DESKTOP to homedir
/home/zaq/Downloads was removed, reassigning DOWNLOAD to homedir
/home/zaq/Templates was removed, reassigning TEMPLATES to homedir
/home/zaq/Public was removed, reassigning PUBLICSHARE to homedir
/home/zaq/Documents was removed, reassigning DOCUMENTS to homedir
/home/zaq/Music was removed, reassigning MUSIC to homedir
/home/zaq/Pictures was removed, reassigning PICTURES to homedir
/home/zaq/Videos was removed, reassigning VIDEOS to homedir

Not sure why lens is looking at these, but I don't normally have any of those directories... Upon looking I found some created and they had been symlinked to themselves... lrwxrwxrwx 1 zaq zaq 19 Sep 24 10:46 Documents -> /home/zaq/Documents -- Did lens do this? And if so, why on earth is lens messing with my homedir. Maybe it's a snap thing...

zaquestion commented 4 years ago

After removing the symlinks entirely (essentially all those folders) lens is back to failing startup with no logs.

zaquestion commented 4 years ago

@nevalla @jakolehm any tips? Perhaps theres another place I can find logs, or a debug mode I'm overlooking?

behradeslamifar commented 3 years ago

I have same problem

Nokel81 commented 3 years ago

you can use DEBUG=true for a debug mode.