Closed rkoshak closed 3 years ago
For people using the apt-get installation, they should use the /etc/default/openhab2
file. But for everyone, changing the OPENHAB_HTTP_PORT
and OPENHAB_HTTPS_PORT
environment variables is all that is needed.
Hard to say if this position can be found easily... obviously not by most. Maybe move this one section over to somewhere around http://docs.openhab.org/installation/linux.html#java-network-permissions
@BClark09 Let's do something to clear things up a bit... PR
That'd be fine, but I guess it was put there because the statement applies across all operating systems. If it's moved to Linux, then additional instructions for each operating system need to be added.
Yes but currently it's phrased for Linux, doesn't make sense then.
Ah, so would moving only the apt sentence be appropriate? Keeping the environment variable statement where it is, or do you think it's best to move it to each install type? If the latter then we could add a quick "how to" on setting env vars which would be a little more helpful?
How about a mix of your suggestions. Remove the Linux specific part; Add a hint "check the platform articles for details"; Add a section to all of these.
Did you see the linuxpkg PR?
Sounds like a plan! :smiley:
Wonderful. Who wants to work on it? @rkoshak??
The current location of the docs (Security and Remote Access) is not an intuitive location. I'm more familiar with the docs than most and I never even thought to look there for this information.
(As an aside, what are the thoughts on a search function, do we already have an enhancement issue?)
Now just to be clear, what we are recommending doing is:
Correct?
Search function already exists :) http://docs.openhab.org/search?q=port+8080
List: sounds about right! Would be amazing if you can look into this. The PR from before should play along nicely with this.
I'm blind. <smacks head>
I'll get started this weekend. Shouldn't take too much assuming I can successfully figure out how to switch branches. ;-)
@rkoshak as discussed in https://github.com/openhab/openhab-distro/pull/443 it would be amazing if your addition covered the newly added interface option while you are at it. Thanks!
Update, I think everything is done here except for adding the #443 info.
Then we could close this one, as there is an existing issue for the left topic?
The only problem I see is that #443 is actually on the openhab-distro repo, not this one. I don't know if that issue would be in scope for the updates here.
Ok i am confused now. Are we talking about
or are we talking about
openhab/openhab-distro#443
I was looking for jsr223 stuff now but it seems the reference was just wrong.
Sorry, its openhab-distro#443. The missing part of the docs is that you can set environment variables to change the ports OH listens on.
I was trying to answer this question and realized I couldn't find this information in the docs anywhere.
I expected it to be in the installation docs and then tried the Advanced Functionality and Configuration and couldn't find them there.
I remember there used to be several ways to do it including editing the start scripts and such. But now I don't know if any of those work. I'm pointing the user to edit
/{openhab_home}/userdata/etc/org.ops4j.pax.web.cfg
for now knowing no better way.The "best" way needs to be documented.
I recommend in the installation instructions only because that is the first place I thought to look and that is the place the users will be when they first encounter the problem.
I'd also like to add it to the FAQ posting once I know the proper way to do it.