Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kibana missing styles after optimization #11588

Closed
jeroen-80 opened this issue May 3, 2017 · 6 comments
Closed

Kibana missing styles after optimization #11588

jeroen-80 opened this issue May 3, 2017 · 6 comments
Labels
bug Fixes for quality problems that affect the customer experience Team:Operations Team label for Operations Team

Comments

@jeroen-80
Copy link

jeroen-80 commented May 3, 2017

Kibana version:
5.3.1
Elasticsearch version:
5.3.1
Server OS version:
Ubuntu 16.04 LTS
Browser version:
Chrome 57
Browser OS version:
Windows 10
Original install method (e.g. download page, yum, from source, etc.):
.deb
Description of the problem including expected versus actual behavior:
I want to permanently disable the Xpack opt-out and dismiss messages that are shown after Kibana logon. So Iv'e updated the Kibana config:

xpack.monitoring.report_stats: false

Restart of Kibana took a long time: "message":"Optimizing and caching bundles for graph, monitoring, kibana, timelion, login, logout and status_page."

After this the navigation menu is completeky screwed up:

  • Graphics on navigation bar left are gone.
  • Main windows location and formatting is a mess.

Removing the config line doens't help: the dismiss message will be shown again but the formatting is still screwed up.

Steps to reproduce:

  1. xpack.monitoring.report_stats: false
  2. restart ELK
  3. logon in Kibana
@jbudz
Copy link
Member

jbudz commented May 8, 2017

Certain settings in kibana will cause it to rebundle assets and occasionally this process goes wrong. We're tracking the removal of settings and plugins rebundling here. Does clearing out the optimize/bundles folder and restarting the server help?

@jbudz jbudz added Team:Operations Team label for Operations Team feedback_needed labels May 8, 2017
@jeroen-80
Copy link
Author

Thanks for your reply. In the meantime I figured out that re-optimizing the bundle (by removing and reinstalling XPack in Kibana) was the way to go. If the problem re-occurs I'll try clearing the folder.

Is there b.t.w. (off-topic) a way to trigger a optimize and cache bundles manually (like a command line tool or option)?

@jbudz
Copy link
Member

jbudz commented May 8, 2017

There isn't anything explicit. Installing a plugin, removing the optimize/bundles folder, or changing settings that cause bundle modifications in kibana.yml are the options currently.

@jbudz jbudz added bug Fixes for quality problems that affect the customer experience and removed feedback_needed labels May 8, 2017
@jbudz jbudz changed the title Kibana screwed up after using "xpack.monitoring.report_stats: false" Kibana missing styles after optimization May 8, 2017
@jbudz
Copy link
Member

jbudz commented May 8, 2017

I renamed this for now, there's a few similar errors floating around with the same root cause. #9369 is another. It may be worth consolidating.

@tsullivan
Copy link
Member

Is there b.t.w. (off-topic) a way to trigger a optimize and cache bundles manually (like a command line tool or option)?

This feature was added in 6.5.0: #16302

@jbudz with the workarounds available, is this good to close?

@tsullivan
Copy link
Member

Closing this, as a workaround exists to trigger an optimize and cache of the bundles manually.

Feel free to re-open if this needs more discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Operations Team label for Operations Team
Projects
None yet
Development

No branches or pull requests

3 participants