Upgrade Graylog 5.1 to 5.2

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

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

Are there error messages in the browser console?

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

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

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 Graylog package.

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