Graylog 4.1 upgrade - search page now fails

We had a customized our search page with parameters and some standard widgets.

After the upgrade from 4.0.7 to 4.1.3 we can no longer use the search page because of this error:

hn.a.setWidgetsToSearch is not a function

Stack Trace:

TypeError: hn.a.setWidgetsToSearch is not a function
...

Component Stack:

    in nm
    in Unknown
    in Unknown
    in gm
    in bm
    in s
    in Unknown
    in n
    in Unknown
    in n
    in t
    in t
    in div
    in App__PageContent
    in i
    in tt
    in div
    in App__AppLayout
    in h
    in yt
    in t
    in t
    in o
    in t
    in bt
    in Unknown
    in ConnectStoresWrapper[Unknown/Anonymous] stores=streams
    in Ne
    in L
    in Et
    in At
    in Tt
    in Pt
    in u
    in Lt
    in Unknown
    in n
    in Q
    in ConnectStoresWrapper[Q] stores=currentUser,server,sessionId
    in Ne
    in L
    in ce

Hey there, have you seen this issue yet on Github hn.a.setWidgetsToSearch is not a function · Issue #11107 · Graylog2/graylog2-server · GitHub ? The useful bits start here: hn.a.setWidgetsToSearch is not a function · Issue #11107 · Graylog2/graylog2-server · GitHub. TL;DR, check your plugin versions to make sure they are all the same version as graylog-server and remove any plugins that aren’t the same version or have a different extension other than .jar from /usr/share/graylog-server/plugin/

Success!

  1. I had to fully erase old JAR versions - not just rename them
  2. I didn’t include the es6/7 JARs from the latest enterprise plugin (https://downloads.graylog.org/releases/graylog-enterprise/graylog-enterprise-plugins-4.1.3.tgz)

Awesome! Glad to hear that worked!

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