Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Graylog in /subfolder/ is not possible #5702

Closed
jalogisch opened this Issue Feb 20, 2019 · 7 comments

Comments

Projects
None yet
6 participants
@jalogisch
Copy link
Member

jalogisch commented Feb 20, 2019

Expected Behavior

Graylog should run on a subfolder from a proxy setup that you can access http://your-proxy/graylog/ to get Graylog that is running in the network somewhere.

Current Behavior

ezgif com-gif-maker

Steps to Reproduce (for bugs)

  1. Install Graylog
  2. Install NGINX taking config from: http://docs.graylog.org/en/3.0/pages/configuration/web_interface.html#nginx
  3. Adjust to your local Networt
    screenshot 2019-02-20 16 48 07

Context

It is not uncommon to have Graylog running in a subfolder when you expose it via proxy from a network to another. That worked before and should work again. To not break existing setups when they upgrade.

Your Environment

  • Graylog Version: 3.0
  • Elasticsearch Version: 6.6.0
  • MongoDB Version:4.0
  • Operating System: Linux
  • NGINX: 1.12.2

@jalogisch jalogisch added the bug label Feb 20, 2019

@dennisoelkers dennisoelkers self-assigned this Feb 20, 2019

dennisoelkers added a commit that referenced this issue Feb 20, 2019

Prevent double prefixing paths for navigation items in system menu.
In #5193, the newly created `NavigationLink` component performs
prefixing the path passed to it with the application prefix. This is
happening although in `Routes.jsx` all routes are already being prefixed
before being exported.

This change is removing the prefixing in `NavigationLink`.

Fixes #5702.
@jlcrow

This comment has been minimized.

Copy link

jlcrow commented Feb 22, 2019

3.0 really screwed the config on this one. I followed the document http://docs.graylog.org/en/3.0/pages/upgrade/graylog-3.0.html to upgrade from 2.5 to 3.0 and updated the variables in the configuration with the external url. Everything fails, I've tried updating several properities including the http_external_uri, http_bind_address, and http_publish_uri with various options trying to mirror the functionality provided by web_endpoint_uri, web_listen_uri, and rest_listen_uri previously. Nothing works properly.

@deeshe deeshe added the triaged label Feb 25, 2019

@kmerz kmerz closed this in #5703 Feb 26, 2019

kmerz added a commit that referenced this issue Feb 26, 2019

Prevent double prefixing paths for navigation items in system menu. (#…
…5703)

* Prevent double prefixing paths for navigation items in system menu.

In #5193, the newly created `NavigationLink` component performs
prefixing the path passed to it with the application prefix. This is
happening although in `Routes.jsx` all routes are already being prefixed
before being exported.

This change is removing the prefixing in `NavigationLink`.

Fixes #5702.

* Removing unneeded import.

dennisoelkers added a commit that referenced this issue Mar 12, 2019

Prevent double prefixing paths for navigation items in system menu.
This PR is backporting #5703 to `3.0`.

In #5193, the newly created `NavigationLink` component performs
prefixing the path passed to it with the application prefix. This is
happening although in `Routes.jsx` all routes are already being prefixed
before being exported.

This change is removing the prefixing in `NavigationLink`.

Fixes #5702.

(cherry picked from commit bcf53ec)

kmerz added a commit that referenced this issue Mar 14, 2019

Prevent double prefixing paths for navigation items in system menu. (#…
…5765)

This PR is backporting #5703 to `3.0`.

In #5193, the newly created `NavigationLink` component performs
prefixing the path passed to it with the application prefix. This is
happening although in `Routes.jsx` all routes are already being prefixed
before being exported.

This change is removing the prefixing in `NavigationLink`.

Fixes #5702.

(cherry picked from commit bcf53ec)
@marif1989

This comment has been minimized.

Copy link

marif1989 commented Mar 27, 2019

I am facing the same issue? please let me know what was the solution?

@bernd

This comment has been minimized.

Copy link
Member

bernd commented Mar 27, 2019

@marif1989 The upcoming version 3.0.1 of Graylog has a fix for this.

@marif1989

This comment has been minimized.

Copy link

marif1989 commented Mar 27, 2019

@bernd

This comment has been minimized.

Copy link
Member

bernd commented Mar 27, 2019

@marif1989 We are planning to release it next week.

@marif1989

This comment has been minimized.

Copy link

marif1989 commented Apr 3, 2019

is graylog version 3.0.1 version released?

@bernd

This comment has been minimized.

Copy link
Member

bernd commented Apr 3, 2019

@marif1989 Yes, please see the announcement blog post: https://www.graylog.org/post/announcing-graylog-3-0-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.