# Custom UI Changes on local machine(server machine) is not reflecting on external IP

**URL:** https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458
**Category:** Kibana
**Created:** [January 28, 2021, 6:51am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458 "2021-01-28T06:51:24Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Rakesh\_Rayabarapu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakesh_rayabarapu/32/79132_2.png) [@Rakesh\_Rayabarapu](https://discuss.elastic.co/u/Rakesh_Rayabarapu)
#### Post date: [January 28, 2021, 6:51am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/1 "2021-01-28T06:51:24Z")

</div>

Hi Team,  
I made custom logo changes in these files "template.js", security.chunk.4.js" and "core.entry.js" and generated the file (gz and br) with npx. [Steps from this post - [Custom Logo Kibana 7.10.0 (guide)](https://discuss.elastic.co/t/custom-logo-kibana-7-10-0-guide/257686)]

The logo changes are working fine when accessed directly on the server machine ([http://localhost:5601](http://localhost:5601)), but the logo changes failed to reflect when tried to access externally from other machines ([http://public-ip:5601](http://public-ip:5601)).

Tried deleting cookies, browser data, temp, %temp%, incognito mode, other browsers (edge, mozilla) and from other machines (colleagues). I'm pretty much convinced that the issue is not on the client side, but not sure what else could be causing it.

Appreciate any help or leads on this issue.

Thanks in advance

---

<div class="post-metadata">

### Author: ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)
#### Post date: [January 28, 2021, 10:21am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/2 "2021-01-28T10:21:31Z")

</div>

Hi

What is the replacement you've used for your logo? given it's a different path, is it accessible externally?

Thx & Best,  
Matthias

---

<div class="post-metadata">

### Author: ![Rakesh\_Rayabarapu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakesh_rayabarapu/32/79132_2.png) [@Rakesh\_Rayabarapu](https://discuss.elastic.co/u/Rakesh_Rayabarapu)
#### Post date: [January 28, 2021, 12:17pm UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/3 "2021-01-28T12:17:16Z")

</div>

Hi Matthias..  
Thanks for response..

Used base64 for logos and given custom text.

I found that, The changes are reflecting when accessed with the machine DNS name.

But, The changes are not reflecting when same instance is accessed with public IP.

new update:  
I thought it will get fix once we restart the machine, But after restart, Elastic search is not getting started. throwing error like: failed to retrieve password hash for reserved user [elastic]

Could you please help me to fix this issue..

Thanks in advance.

---

<div class="post-metadata">

### Author: ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)
#### Post date: [January 28, 2021, 5:45pm UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/4 "2021-01-28T17:45:09Z")

</div>

> [@Rakesh\_Rayabarapu](#):
>
> failed to retrieve password hash for reserved user

So the error you're experiencing now it an Elasticsearch error, maybe here is some info about it?

> [@Failed to retrieve password hash for reserved user \[kibana\]](https://discuss.elastic.co/t/failed-to-retrieve-password-hash-for-reserved-user-kibana/193592):
>
> I have to repurpose all the nodes in my cluster, during that process I accidentally deleted the \_security index which is for built in user information. Now in the log it said failed to retrieve password hash for reserved user [kibana]. I don't have snapshot made, how do I restore or rebuild this index so I can get kibana up? thanks!

When you access the instance externally, is the default logo displayed?

Best,  
Matthias

---

<div class="post-metadata">

### Author: ![Rakesh\_Rayabarapu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakesh_rayabarapu/32/79132_2.png) [@Rakesh\_Rayabarapu](https://discuss.elastic.co/u/Rakesh_Rayabarapu)
#### Post date: [January 29, 2021, 3:08am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/5 "2021-01-29T03:08:52Z")

</div>

Hi Matthias,

Elasticsearch error got fixed, thanks for suggestion.

But, default logo did not fixed fully with restart.

Logo get fixed for changes in "formate.js".  
Failed for "Security.chunk.4.js" and "core.entry.js".

I mean logo not reflecting on login page and navbar.

thanks  
Rakesh

---

<div class="post-metadata">

### Author: ![Rakesh\_Rayabarapu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakesh_rayabarapu/32/79132_2.png) [@Rakesh\_Rayabarapu](https://discuss.elastic.co/u/Rakesh_Rayabarapu)
#### Post date: [January 29, 2021, 9:35am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/6 "2021-01-29T09:35:28Z")

</div>

Hello Matthias,

Here is the new update on UI Changes (logo) with external (public IP).

after shutdown and restarting server machine, new public IP has generated and UI changes are reflecting fine on New Public IP.

Thanks for support and response.

Good Bye..

---

<div class="post-metadata">

### Author: ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)
#### Post date: [January 29, 2021, 9:36am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/7 "2021-01-29T09:36:07Z")

</div>

Great!  
Thanks for the feedback!  
Best,  
Matthias

---

<div class="post-metadata">

### Author: ![Rakesh\_Rayabarapu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakesh_rayabarapu/32/79132_2.png) [@Rakesh\_Rayabarapu](https://discuss.elastic.co/u/Rakesh_Rayabarapu)
#### Post date: [January 29, 2021, 10:06am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/8 "2021-01-29T10:06:07Z")

</div>

Thanks Matthias,

I have one more concern in login page.

I need the welcome text to be spilt into two lines, the first line with same font size, but second line to be with small in font size.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/a/9a62d2b18a40f4616ab47b2d798dff1cb40e6241.png)

Could you please help..

we trying the changes in Security.chunk.4.js file. for ref I'm adding screen shot of script.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5d3748592c06e1e287b0d7d4d1d06482901e10f5.png)

Thanks in advance.

---

<div class="post-metadata">

### Author: ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)
#### Post date: [January 29, 2021, 5:06pm UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/9 "2021-01-29T17:06:57Z")

</div>

Well this would be a very complex change working on the build version, you might think of checking out Kibana from source, make those changes, start you own build for that.

---

<div class="post-metadata">

### Author: ![Rakesh\_Rayabarapu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakesh_rayabarapu/32/79132_2.png) [@Rakesh\_Rayabarapu](https://discuss.elastic.co/u/Rakesh_Rayabarapu)
#### Post date: [February 1, 2021, 4:44am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/10 "2021-02-01T04:44:54Z")

</div>

Thanks for the suggestion, Matthias.. 🙂

I will try get in to source for this change.

Thanks once again.

---

<div class="post-metadata">

### Author: ![Rakesh\_Rayabarapu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakesh_rayabarapu/32/79132_2.png) [@Rakesh\_Rayabarapu](https://discuss.elastic.co/u/Rakesh_Rayabarapu)
#### Post date: [February 2, 2021, 3:38pm UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/11 "2021-02-02T15:38:06Z")

</div>

Hello Matthias,

could you please share location of source code for the above changes.

---

<div class="post-metadata">

### Author: ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)
#### Post date: [February 2, 2021, 4:47pm UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/12 "2021-02-02T16:47:22Z")

</div>

You could search for 'xpack.security.loginPage.welcomeTitle' in the code, that should give you the location  
best,  
Matthias

---

<div class="post-metadata">

### Author: ![Rakesh\_Rayabarapu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakesh_rayabarapu/32/79132_2.png) [@Rakesh\_Rayabarapu](https://discuss.elastic.co/u/Rakesh_Rayabarapu)
#### Post date: [February 4, 2021, 5:02am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/13 "2021-02-04T05:02:16Z")

</div>

Hello Matthias,

I found this code in security.chunk.4.js. related to "xpack.security.loginPage.welcomeTitle".

external\_kbnSharedDeps\_React\_default.a.createElement(external\_kbnSharedDeps\_ElasticEui\_["EuiTitle"],{size:"m",className:"loginWelcome\_\_title"},external\_kbnSharedDeps\_React\_default.a.createElement("h1",null,external\_kbnSharedDeps\_React\_default.a.createElement(external\_kbnSharedDeps\_KbnI18nReact\_["FormattedMessage"],{id:"xpack.security.loginPage.welcomeTitle",_defaultMessage:"Welcome to Device Name Performance Monitoring Tool"_}))),

What we would like to get is "_defaultMessage:"Welcome to Device Name Performance Monitoring Tool"_" need spilt into two lines after Device Name, that is text "Performance Monitoring Tool" should come in next line with small font size.

Thanks,  
Rakesh

---

<div class="post-metadata">

### Author: ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)
#### Post date: [February 4, 2021, 5:50am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/14 "2021-02-04T05:50:01Z")

</div>

Hi  
You still work on the compiled code, you'd need to have a look at the source code  
Theoretically, if you still would like to hack on the compiled one, you could duplicate the function creating the element, and change the text.  
Best,  
Matthias

---

<div class="post-metadata">

### Author: ![Rakesh\_Rayabarapu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakesh_rayabarapu/32/79132_2.png) [@Rakesh\_Rayabarapu](https://discuss.elastic.co/u/Rakesh_Rayabarapu)
#### Post date: [February 8, 2021, 9:15am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/15 "2021-02-08T09:15:14Z")

</div>

New Update on Rendering UI changes without changing IP.

Steps:

1. Open Page that need UI Changes in chrome browser
2. F12 (This Opens Developer Tool Tab)
3. Select Network tab.
4. Check the Disable Cache option.
5. Refresh the URL that needs Update UI changes.
6. Uncheck the Disable Cache Option if you want to cache (Optional Step)

Thanks,  
Rakesh R

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 8, 2021, 9:15am UTC](https://discuss.elastic.co/t/custom-ui-changes-on-local-machine-server-machine-is-not-reflecting-on-external-ip/262458/16 "2021-03-08T09:15:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
