# Upgrade Graylog 5.1 to 5.2

**URL:** <https://community.graylog.org/t/upgrade-graylog-5-1-to-5-2/31005>\
**Category:** Graylog Central (peer support)\
**Created:** [December 20, 2023, 2:59pm UTC](https://community.graylog.org/t/upgrade-graylog-5-1-to-5-2/31005 "2023-12-20T14:59:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maw](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Maw](https://community.graylog.org/u/Maw)\
**Post date:** [December 20, 2023, 2:59pm UTC](https://community.graylog.org/t/upgrade-graylog-5-1-to-5-2/31005/1 "2023-12-20T14:59:03Z")

</div>

Hello,

I upgraded the graylog server from 5.1.9 to 5.2.2 and now the webgui displays only “Loading component failed: g.colors is undefined.”

![webgui_error](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/4/d/4d89884a098e69375dd942f35ca0b14fe1521d36.png)

OS Information: Archlinux  
Package Version: Graylog-server 5.1.9 to Graylog-server 5.2.2

There is no error message in the log.

Did I miss something during the upgrade or does anyone have an idea what that could be?

Thanks,  
Martin

---

<div class="post-metadata">

**Author:** ![patrickmann](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/patrickmann/32/9091_2.png) [@patrickmann](https://community.graylog.org/u/patrickmann)\
**Post date:** [December 21, 2023, 1:51pm UTC](https://community.graylog.org/t/upgrade-graylog-5-1-to-5-2/31005/2 "2023-12-21T13:51:01Z")

</div>

Are there error messages in the browser console?

---

<div class="post-metadata">

**Author:** ![Maw](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Maw](https://community.graylog.org/u/Maw)\
**Post date:** [December 21, 2023, 2:51pm UTC](https://community.graylog.org/t/upgrade-graylog-5-1-to-5-2/31005/3 "2023-12-21T14:51:13Z")

</div>

Yes, there are errors in the browser console.

TypeError: g.colors is undefined  
m Sawmill.js:58  
z GraylogThemeProvider.tsx:67  
useMemo vendor.f53e43520a75fcc21e18.js:680  
useMemo vendor.f53e43520a75fcc21e18.js:781  
z GraylogThemeProvider.tsx:67  
ne GraylogThemeProvider.tsx:77  
dn vendor.f53e43520a75fcc21e18.js:680  
Ri vendor.f53e43520a75fcc21e18.js:682  
Pi vendor.f53e43520a75fcc21e18.js:682  
Ui vendor.f53e43520a75fcc21e18.js:682  
$s vendor.f53e43520a75fcc21e18.js:680  
Ee vendor.f53e43520a75fcc21e18.js:680  
unstable\_runWithPriority vendor.f53e43520a75fcc21e18.js:689  
\_o vendor.f53e43520a75fcc21e18.js:680  
Ee vendor.f53e43520a75fcc21e18.js:680  
n0 vendor.f53e43520a75fcc21e18.js:689  
onmessage vendor.f53e43520a75fcc21e18.js:689  
4203 vendor.f53e43520a75fcc21e18.js:689  
**webpack\_require** vendor.f53e43520a75fcc21e18.js:858  
4142 vendor.f53e43520a75fcc21e18.js:689  
**webpack\_require** vendor.f53e43520a75fcc21e18.js:858  
4448 vendor.f53e43520a75fcc21e18.js:679  
**webpack\_require** vendor.f53e43520a75fcc21e18.js:858  
3935 vendor.f53e43520a75fcc21e18.js:682  
**webpack\_require** vendor.f53e43520a75fcc21e18.js:858  
zKLlqmvB delegated 3935 from dll-reference \_\_vendor:1  
Webpack 8  
mn  
Fut6  
mn  
uf  
O  
C  
  
  
vendor.f53e43520a75fcc21e18.js:680:76195

TypeError: g.colors is undefined  
m Sawmill.js:58  
z GraylogThemeProvider.tsx:67  
useMemo vendor.f53e43520a75fcc21e18.js:680  
useMemo vendor.f53e43520a75fcc21e18.js:781  
z GraylogThemeProvider.tsx:67  
ne GraylogThemeProvider.tsx:77  
dn vendor.f53e43520a75fcc21e18.js:680  
Ri vendor.f53e43520a75fcc21e18.js:682  
Pi vendor.f53e43520a75fcc21e18.js:682  
Ui vendor.f53e43520a75fcc21e18.js:682  
$s vendor.f53e43520a75fcc21e18.js:680  
Ee vendor.f53e43520a75fcc21e18.js:680  
unstable\_runWithPriority vendor.f53e43520a75fcc21e18.js:689  
\_o vendor.f53e43520a75fcc21e18.js:680  
Ee vendor.f53e43520a75fcc21e18.js:680  
n0 vendor.f53e43520a75fcc21e18.js:689  
onmessage vendor.f53e43520a75fcc21e18.js:689  
4203 vendor.f53e43520a75fcc21e18.js:689  
**webpack\_require** vendor.f53e43520a75fcc21e18.js:858  
4142 vendor.f53e43520a75fcc21e18.js:689  
**webpack\_require** vendor.f53e43520a75fcc21e18.js:858  
4448 vendor.f53e43520a75fcc21e18.js:679  
**webpack\_require** vendor.f53e43520a75fcc21e18.js:858  
3935 vendor.f53e43520a75fcc21e18.js:682  
**webpack\_require** vendor.f53e43520a75fcc21e18.js:858  
zKLlqmvB delegated 3935 from dll-reference \_\_vendor:1  
Webpack 8  
mn  
Fut6  
mn  
uf  
O  
C  
  
  
vendor.f53e43520a75fcc21e18.js:680:76195

---

<div class="post-metadata">

**Author:** ![patrickmann](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/patrickmann/32/9091_2.png) [@patrickmann](https://community.graylog.org/u/patrickmann)\
**Post date:** [December 22, 2023, 8:58am UTC](https://community.graylog.org/t/upgrade-graylog-5-1-to-5-2/31005/4 "2023-12-22T08:58:51Z")

</div>

Looks like a problem in theming. Have you done any customizations there?

---

<div class="post-metadata">

**Author:** ![Maw](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Maw](https://community.graylog.org/u/Maw)\
**Post date:** [December 22, 2023, 11:04am UTC](https://community.graylog.org/t/upgrade-graylog-5-1-to-5-2/31005/5 "2023-12-22T11:04:57Z")

</div>

I haven’t made any customizations or modifications. Sorry, I forgot to mention that the error happens after the login, the login page functions properly. I have a reverse proxy in front of it with the following configuration.

####HTTP settings####  
http\_bind\_address = 127.0.0.1:9000  
http\_publish\_uri = https://  
http\_external\_uri = https:///  
web\_max\_header\_size = 8192  
http\_thread\_pool\_size = 16  
trusted\_proxies = 127.0.0.1/32  
rest\_enable\_cors = false  
http\_enable\_gzip = true  
http\_max\_header\_size = 8192  
http\_thread\_pool\_size = 16  
http\_enable\_tls = false

I used the [https://packages.graylog2.org/releases/graylog/graylog-5.2.2.tgz](https://packages.graylog2.org/releases/graylog/graylog-5.2.2.tgz) Graylog package.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [January 5, 2024, 11:05am UTC](https://community.graylog.org/t/upgrade-graylog-5-1-to-5-2/31005/6 "2024-01-05T11:05:20Z")

</div>

Closed on January 5, 2024, 11:05am UTC

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