-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
ui_content_path option doesn't seem to work #6346
Comments
@s-christoff Any idea on the timeline for this. We prefer to use the config over the command line because we put consul in our VM images. Given that consul is in our base image (which should be general for use with all our VMS), it's much easier to add another config file on the VMs where we want the UI to turn on rather than having to change the consul command line :) |
@pvandervelde Hey, thanks for the follow up. It's incoming :) |
Awesome thanks! |
@s-christoff Did this make it to Consul 1.6.2. The merge date on that PR suggests it does but I have a 1.6.2 version of Consul running with the the following config for the UI
But the consul UI shows on |
Hey @pvandervelde , I'm sorry to hear this is still causing trouble for you. I went ahead and tried to replicate this locally by creating a |
@s-christoff I suspect I got the configuration option wrong. Is it |
That was my bad in the above comment, I am really used to typing
I added the |
I'll try your config file with the version of Consul I have installed when I get near my machine tonight |
Hey - apologies again on all the clarifying questions. How many agents are you setting up at a time, and are you setting one of them specifically to be a server? I am asking this due to the |
More clarification is always good :) Ask as many questions as you need to help me figure out where things are broken. I'm pretty sure I stuffed up a configuration somewhere :( I've got about 6 machines running in my test environment. There is one server (which is a different machine than the one that is serving the UI). Because it's a test setup I haven't configured it so that it auto-joins (all machines are on DHCP with machine names not being pushed to a DNS, so join is done via IP addresses) When I grabbed a snapshot of the log I hadn't done a When you say only servers can serve up the UI what do you mean with that? Because the machine I'm serving the UI from isn't a server machine (and it won't serve the UI when it's not connected to a server) but it definitely serves the UI from that machine when I use the command line argument (it probably gets all the internal information from the server instance though, but the HTML pages originate from the UI machine). If it's helpful I can grab the output of |
Okay - so I've found that in 1.7.0-beta we made some changes to some of the primary code around how we load the index (you can check it out here). Can you perhaps try using the
and was able to recreate your issue, however I think I was running 1.7.0 locally (accidentally) and wasn't able to recreate previously. When I reran the following command with 1.7.0, it worked!
Let me know! :) |
@s-christoff, just as an FYI I haven't been able to run a test yet, work has been silly busy. When I come up for a breath I'll try to run a test but I currently don't know when that is :( |
Hey there, This issue has been automatically locked because it is closed and there hasn't been any activity for at least 30 days. If you are still experiencing problems, or still have questions, feel free to open a new one 👍. |
@s-christoff .. We are having the same issue as @pvandervelde. And after testing as you mentioned last, I do see that it works for 1.7.0-beta4, but not for any of the stable version 1.6.2, 1.6.3. Is it possible to have this fix in any stable release ? or by when can we expect 1.7.0 stable release to be available? |
Howdy @gauravkohli, I'm sorry you're having this issue too. :( |
Overview of the Issue
When providing
ui_content_path
in a json config, it doesn't seem to work in contrast to the cli flag-ui-content-path
Reproduction Steps
Steps to reproduce this issue, eg:
cat '{"ui_content_path":"consul"}' > test.json
consul agent -dev -config-file test.json
OS, Architecture, and any other information you can provide about the environment.
Log Fragments
Include appropriate Client or Server log fragments. If the log is longer than a few dozen lines, please include the URL to the gist of the log instead of posting it in the issue. Use
-log-level=TRACE
on the client and server to capture the maximum log detail.The text was updated successfully, but these errors were encountered: