OpenLens icon indicating copy to clipboard operation
OpenLens copied to clipboard

OpenLens 6.3.0 Blank UI

Open rajaie-sg opened this issue 2 years ago • 42 comments

I upgraded from OpenLens 6.2.5 to 6.3.0 and now see a blank UI when I connect to any cluster

image

I was not experiencing this issue with 6.2.5. I tried opening and closing the application multiple times, but the same issue persisted. Anyone else having similar issues?

rajaie-sg avatar Dec 22 '22 17:12 rajaie-sg

Same here

felipefda avatar Dec 22 '22 17:12 felipefda

Same.

  • The only thing that solved me for now is cmd+r after you are connected to the cluster and see the blank page.
  • I've tried the deletion of ~/Library/Application Support/Lens with no success.
  • I've tried also: https://github.com/ykursadkaya/homebrew-openlens and it's the same
  • I've tried also downloading the 6.2.5 and it was the same...
  • EDIT: 6.2.5 is working! go down to my msg, explaining how to downgrade back to 6.2.5

ErezWeiss avatar Dec 22 '22 17:12 ErezWeiss

@ErezWeiss thank you for cmd+r, indeed helps

mtomilov avatar Dec 22 '22 18:12 mtomilov

@mtomilov great! Let us know if you solved it somehow

ErezWeiss avatar Dec 22 '22 18:12 ErezWeiss

cmd+r made the UI come back, but it seems that I have to run it every time I open Lens. Another issue I discovered is that the "Exec into container" and "Logs" button is gone from Pods image

rajaie-sg avatar Dec 22 '22 18:12 rajaie-sg

Was it in the previous version?

ErezWeiss avatar Dec 22 '22 18:12 ErezWeiss

Nope. With 6.2.5 I see the "Pod Logs" and "Pod Shell" and "Attach to Pod" buttons

rajaie-sg avatar Dec 22 '22 18:12 rajaie-sg

seems related: https://github.com/lensapp/lens/issues/1690

ErezWeiss avatar Dec 22 '22 18:12 ErezWeiss

I've managed to install 6.2.5 and it seems to be working

ErezWeiss avatar Dec 22 '22 18:12 ErezWeiss

brew uninstall openlens

rm -rf ~/Library/Application Support/OpenLens

rm -rf ~/Library/Logs/OpenLens

vi openlens.rb and paste this:

cask "openlens" do
  arch arm: "-arm64"

  version "6.2.5"
  sha256 arm:   "673a4ad49bb108bd1b995bf0d3eda971254ab6da4f54ad65f067208c8cde99db",
         intel: "e680ca5f0091663435696eff4da6666007d7bc8cb69078f56d1b7d7674cca296"

  url "https://github.com/MuhammedKalkan/OpenLens/releases/download/v#{version}/OpenLens-#{version}#{arch}.dmg"
  name "OpenLens"
  desc "Open source build of Lens Kubernetes IDE"
  homepage "https://github.com/MuhammedKalkan/OpenLens/"

  auto_updates true

  app "OpenLens.app"

  zap trash: [
    "~/Library/Application Support/OpenLens",
    "~/Library/Logs/OpenLens",
  ]
end

brew install --cask openlens.rb

ErezWeiss avatar Dec 22 '22 18:12 ErezWeiss

lensapp/lens#1690

Relevant issue https://github.com/lensapp/lens/issues/6823

rajaie-sg avatar Dec 22 '22 21:12 rajaie-sg

https://github.com/lensapp/lens/issues/6819 Smells of revenue protection disguised as a technical fix. The arch package maintainer has got stuffed by this too. I expect a fork from 6.2.x will be the only solution.

lingwooc avatar Dec 23 '22 10:12 lingwooc

yeah they killed it

https://github.com/lensapp/lens/issues/6823#issuecomment-1363736366

lukjaw avatar Dec 23 '22 11:12 lukjaw

Reading PRs like https://github.com/lensapp/lens/pull/6722 feels like they also want to disable binaries at OpenLens at all.

jkroepke avatar Dec 23 '22 12:12 jkroepke

Wow... Seems like I will change from Lens

ErezWeiss avatar Dec 25 '22 09:12 ErezWeiss

Also additionally to the above experience, I cannot change the sync files and folders option to have a specific config file. Always get reset to the default one.

stafot avatar Dec 27 '22 08:12 stafot

Also additionally to the above experience, I cannot change the sync files and folders option to have a specific config file. Always get reset to the default one.

https://github.com/lensapp/lens/issues/6834

aleksfront avatar Dec 27 '22 09:12 aleksfront

With 6.2.5 dmg, things work as expected. Unfortunately ther is no brew support for installing this specific version.

stafot avatar Dec 27 '22 09:12 stafot

@rajaie-sg Can you test if it's still an issue in latest master?

aleksfront avatar Dec 27 '22 10:12 aleksfront

The good news is, that 6.4.0-alpha.0 fixes this issue and #6834 as well. Tested with local build on macOS Big Sur (M1 silicon)

nepomucen avatar Dec 30 '22 11:12 nepomucen

With 6.2.5 dmg, things work as expected. Unfortunately ther is no brew support for installing this specific version.

I've explained it above

ErezWeiss avatar Jan 02 '23 19:01 ErezWeiss

ErezWeiss

@ErezWeiss, this only works for one time and the application is auto-updated to 6.3.0. tried to brew cu pin openlens and other methods but can't get it to stop updating... any ideas?

kaplanben avatar Jan 03 '23 11:01 kaplanben

Lens decide to make the update non toggleable.

jkroepke avatar Jan 03 '23 11:01 jkroepke

The good news is, that 6.4.0-alpha.0 fixes this issue and #6834 as well. Tested with local build on macOS Big Sur (M1 silicon)

Maybe we have to build this one

ErezWeiss avatar Jan 03 '23 11:01 ErezWeiss

ErezWeiss

@ErezWeiss, this only works for one time and the application is auto-updated to 6.3.0. tried to brew cu pin openlens and other methods but can't get it to stop updating... any ideas?

Hi, after installing version 6.2.5 you can block updates by changing the permissions of the pending folder:

sudo chmod -R 000 ~/Library/Application\ Support/Caches/open-lens-updater/pending

mauros191 avatar Jan 03 '23 13:01 mauros191

same error here, on macOS with v6.3.0

SergioSuarezDev avatar Jan 03 '23 16:01 SergioSuarezDev

Same here

kderck avatar Jan 03 '23 16:01 kderck

Just my 2c, this kind of thing is typically "fork in the road" time to break off from upstream.

djvs avatar Jan 03 '23 17:01 djvs

@djvs feel free to fork

jkroepke avatar Jan 03 '23 17:01 jkroepke

@jkroepke To fork off from the main Lens I mean, not to fork OpenLens, sorry.

djvs avatar Jan 03 '23 17:01 djvs