Getting sub path issue in Graylog Menu items

Hello,

I have my Graylog instance configured to Nginx proxy for external access.

My Nginx Code

location /Graylog/ {

    proxy_set_header Host $http_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Server $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Graylog-Server-URL ExternalURL/Graylog/;
    proxy_http_version 1.1;
    rewrite    ^/Graylog/(.*)$  /$1  break;
    proxy_pass http://192.168.180.121:9000/;
    }

In Graylog server.conf
http_external_uri = ExternalURL/Graylog/

Testing from the browser https://macweb.in/Graylog/
The Web UI loads able to login. When navigate to the menu options

Search / streams … the URL get change to the following

ExternalURL/Graylog/Graylog/search
ExternalURL/Graylog/Graylog/streams

Getting Page not found.

How to fix this issues.

Hey @MacleanEbi,

which Graylog version are you using? We have fixed related issues in 6.1.0.

The version is 5.1.x

if I need to upgrade to 6.1.0 is it a easy to upgrade.
As my current Graylog is in cluster node.
My backend is OpenSearch 2.x

1 Like

Hey @MacleanEbi,

Do incremental upgrades all the way up to 6.1, if you are doing a rolling upgrade start with the leader node first then move on to the subsequent nodes. At each upgrade make sure you are starting the service on the node checking the upgrade has been a success before moving on to the next node. Once all nodes are on the same version then begin the upgrade to the next incremental version on the leader node.

5.1 β†’ 5.2 β†’ 6.0 β†’ 6.1

If you are Opensearch 2.x then you won’t need to upgrade anything there, Mongo 6 or 7 will all suffice.

@Wine_Merchant
Will do the incremental upgrade.
Once I upgrade to 6.1 the issue in the menu will be auto fix.
Or i need to do any config change

I’m not so sure, at a guess I would say this is the fix if you want further information.

Once I upgrade to 6.1 the issue in the menu will be auto fix.
Or i need to do any config change

No need for any other config change, just updating Graylog should fix the issue.