# Changing Logo for the OpenBoxes Application

**URL:** https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606
**Category:** troubleshooting
**Created:** [July 18, 2022, 7:52pm UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606 "2022-07-18T19:52:54Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![cpburki](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@cpburki](https://community.openboxes.com/u/cpburki)
#### Post date: [July 18, 2022, 7:52pm UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/1 "2022-07-18T19:52:54Z")

</div>

I have followed the documentation for changing the logo but I am unable to get this to work. I changed the openboxes-config.properties file with the following but it always stays as “[https://openboxes.com/img/logo\_30.png](https://openboxes.com/img/logo_30.png)”:

openboxes.logo.url = [https://inventory-dev.innovativelogics.com/web-app/images/logos/New-Logo-Web.png](https://inventory-dev.innovativelogics.com/web-app/images/logos/New-Logo-Web.png)

I even used logos from your site such as “[https://openboxes.com/img/logo\_100.png](https://openboxes.com/img/logo_100.png)” and it still does not change. Am I missing something?

Thank,  
Chuck

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 18, 2022, 8:24pm UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/2 "2022-07-18T20:24:29Z")

</div>

Can you share the openboxes-config.properties file with your database credentials redacted?

---

<div class="post-metadata">

### Author: ![cpburki](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@cpburki](https://community.openboxes.com/u/cpburki)
#### Post date: [July 18, 2022, 9:04pm UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/3 "2022-07-18T21:04:46Z")

</div>

Where is the openboxes-config.properties file supposed to be located? Your documentation said it should be under the Tomcat directory in /opt/tomcat/.grails/ but I can only find it under openboxes/docker.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 19, 2022, 1:33am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/4 "2022-07-19T01:33:33Z")

</div>

Are you sure the logo URL is valid? I’m getting 404s for that image.

[https://inventory-dev.innovativelogics.com/web-app/images/logos/New-Logo-Web.png](https://inventory-dev.innovativelogics.com/web-app/images/logos/New-Logo-Web.png)

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 19, 2022, 1:52am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/5 "2022-07-19T01:52:52Z")

</div>

And to respond to your question … you seem to be using the correct openboxes-config.properties. The mechanics of docker are still somewhat confusing to me. When you start up your docker container, the “volumes” configuration is used to map the files on the host file system to the container’s file system.

```
  - ./openboxes-config.properties:/root/.grails/openboxes-config.properties
  - ./openboxes-setenv.sh:/usr/share/tomcat7/bin/setenv.sh
  - ./openboxes-run.sh:/root/openboxes-run.sh
  - ../openboxes:/app

```

I don’t know whether changes to these files are seen by the application when the container is running but my assumption is that you can change most files and the application will respond accordingly. Worse case scenario you may need to restart a particular service (in this case “grails”) in order to get the openboxes-config.properties changes to be refreshed.

---

<div class="post-metadata">

### Author: ![cpburki](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@cpburki](https://community.openboxes.com/u/cpburki)
#### Post date: [July 19, 2022, 1:54am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/6 "2022-07-19T01:54:01Z")

</div>

Yes the file is a png file I just moved it elsewhere. if you look at the file I am testing with your png files to test and I commented out all references to my png files. Does openboxes use the /openboxes/docker/openboxes-config.properties file or is it supposed to be located elsewhere? I ask since when I try to change the log to logo\_100.png it doesn’t work and I know that this file exists.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 19, 2022, 1:56am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/7 "2022-07-19T01:56:54Z")

</div>

Are you using docker within the openboxes project?

---

<div class="post-metadata">

### Author: ![cpburki](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@cpburki](https://community.openboxes.com/u/cpburki)
#### Post date: [July 19, 2022, 1:56am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/8 "2022-07-19T01:56:58Z")

</div>

I just saw your other response so I will try to restart grails.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 19, 2022, 1:58am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/9 "2022-07-19T01:58:05Z")

</div>

My instructions were in reference to the openboxes-docker repo, which is a developer-centric way of using OpenBoxes. I’ll need to review the openboxes/docker directory.

---

<div class="post-metadata">

### Author: ![cpburki](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@cpburki](https://community.openboxes.com/u/cpburki)
#### Post date: [July 19, 2022, 2:01am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/10 "2022-07-19T02:01:31Z")

</div>

OK, thanks for any help on this.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 19, 2022, 2:16am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/11 "2022-07-19T02:16:26Z")

</div>

So if you’re using the docker-compose.yml within the openboxes repo

> <https://github.com/openboxes/openboxes/blob/develop/docker/docker-compose.yml>

then yes the openboxes-config.properties under the docker directory is where you want to make changes. This file will be mounted to the container file system. When the application is started, I believe it should look for this file in that directory.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 19, 2022, 2:18am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/12 "2022-07-19T02:18:37Z")

</div>

I just started up a docker container running 0.8.15 (a very old version) and saw that the logo does get refreshed when you edit openboxes-config.properties, but only for non-React pages.

[https://watch.screencastify.com/v/BUrcmY7nmGStfLkDBXV5](https://watch.screencastify.com/v/BUrcmY7nmGStfLkDBXV5)  
[https://watch.screencastify.com/v/oHmk37Cd2V7XV4Ye87wR](https://watch.screencastify.com/v/oHmk37Cd2V7XV4Ye87wR)

I’ll update the WAR I’m using to the latest version of OpenBoxes to see if that bug was fixed.

Justin

---

<div class="post-metadata">

### Author: ![cpburki](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@cpburki](https://community.openboxes.com/u/cpburki)
#### Post date: [July 19, 2022, 2:19am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/13 "2022-07-19T02:19:17Z")

</div>

I am running on GoDaddy Windows Server.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 19, 2022, 3:06am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/14 "2022-07-19T03:06:44Z")

</div>

Looks like it might be a bug. But we use logos with non-docker instances, so the root cause must be specific to Docker.

Here’s a video of my debugging session (in case someone sees something that I don’t see).  
[https://watch.screencastify.com/v/7NAs3jvabMhHQTeQfmKT](https://watch.screencastify.com/v/7NAs3jvabMhHQTeQfmKT)

Unfortunately, I can’t give a timetable for a fix but will investigate this further as soon as I can. For now your best bet might be to hardcode the URL in the code and build your own WAR file.

---

<div class="post-metadata">

### Author: ![cpburki](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@cpburki](https://community.openboxes.com/u/cpburki)
#### Post date: [July 19, 2022, 3:07am UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/15 "2022-07-19T03:07:55Z")

</div>

Thanks for all the help on this.

---

<div class="post-metadata">

### Author: ![cpburki](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@cpburki](https://community.openboxes.com/u/cpburki)
#### Post date: [July 19, 2022, 7:57pm UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/16 "2022-07-19T19:57:50Z")

</div>

Can you tell me how to control the size of the logo png file. When I upload the png file through Configuration-\>Location it initially shows it correctly but when you start using the OpenBoxes Application it reduces the png image to a very small image that you can hardly see it.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 19, 2022, 8:04pm UTC](https://community.openboxes.com/t/changing-logo-for-the-openboxes-application/606/17 "2022-07-19T20:04:25Z")

</div>

Upload a screenshot so I can see what you mean.
