-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
install-service does not work on Mac OS X 10.11 (El Capitan) #238
Comments
I get the following output when issuing the command below
And nothing more. Is something else expected to happen? |
@kgoderis: Just tried it and I have
@dvanherbergen As you did the integration, any chance that you could have a look at fixing @rrgeorge's problem? |
The problem is due to the non responsive karaf console. Sent from my iPhone
|
FYI, when killing the fault karaf session (the one hanging), then suddenly the openhab:install-service continues. |
If I remember correctly, the JAVA_HOME was not manipulated during the installation, so it should have been set by the underlying Karaf service installation. I'll have look, maybe we can force it. |
I can't reproduce this issue on OSX 10.11.4.
This is because the start.sh calls the setenv.sh, which uses @rrgeorge , did you start openHAB with the start.sh script? Can you still reproduce the issue? |
@dvanherbergen I had the same issue as @rrgeorge on El Capitan, but I did not clear the JAVA_HOME beforehand. |
The issue I'm experiencing is likely due to the fact that I'm not running OpenHAB as myself. I have it running as a system user, and install/upgrade it with a script I run, as root, that finishes with a: |
This issue is still open. |
Yeah,same problem here..clear JAVA_HOME, launch karaf, run install-service..mv to /Library/LaunchDaemons etc.. won't run.. tried editing wrapper.conf sitll not working.. manually running with ./start works fine.. |
finally after much digging I got it working according to here: #401 |
Running install-service on Mac OS X 10.11 does not function properly, because the variable JAVA_HOME is set to null in the generated runtime/karaf/etc/openHAB-wrapper.conf. JAVA_HOME should be derived from running the command /usr/libexec/java_home when generating the openHAB-wrapper.conf file from install-service
The text was updated successfully, but these errors were encountered: