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
Error executing command: java.lang.NullPointerException #133
Comments
Did you also apply the instructions from the release notes @dhermanns?
|
Ah - sorry. I missed that and will try it. Thanks so far!!
Wouter Born <notifications@github.com> schrieb am Mi. 20. Dez. 2017 um
12:13:
… Did you also apply the instructions from the release notes
<https://github.com/openhab/openhab-distro/releases/tag/2.2.0> @dhermanns
<https://github.com/dhermanns>?
Running openhab using docker
There are small changes for running openHAB using docker. For both docker
and docker-compose you have to pass a parameter to inform docker that it
should 'allocate a pseudo-TTY'. The examples have been updated but the
short explanation is that docker run needs either the -t or --tty parameter
and docker-compose needs configuration format 2.1 and tty: true.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADDwlZLWGBWDDh3GU8sQhAvH2mo0g_yhks5tCOvfgaJpZM4RHkQ9>
.
|
That's OK. Just tell us if it fixes your issue @dhermanns so it can be closed. If you also use E.g. when your container is named 'openhab' use: Then you can issue console commands like |
It's already mentioned in the readme, see: |
How and at which point should this be mentioned in the readme? |
@cniweb I meant adding Do you mean that as well or did you mean that the containers now need to be started with What I had in mind was adding some text about docker attach to the following section: Accessing the consoleYou can connect to a console of an already running openHAB container with following command:
The default password for login via the client is |
Even with tty: true, I now run into another problem, which is probably related to docker:
The workaround is to start as daemon: Maybe this is helpful to someone else... |
Upgrading docker-compose probably fixes that @dhermanns , see: docker/compose#4758 |
Yes - I will try this. |
* Add docker attach Fix #133 Signed-off-by: Christian Häussler <c-n-i@web.de>
Hi!
I just tried the new version 2.2.0. Both the alpine and the debian version running on my raspberry pi3.
V2.1.0 works fine, but with the new version, I got with both images:
The openhab.log says:
My docker version is 1.11.1. Docker-compose is 1.9.0.
Does someone else experience the same problems?
The text was updated successfully, but these errors were encountered: