Can´t start console in docker image on Synology NAS

Hi guys,

i can´t open the console and i hate it:
I´m running oh2 in a docker (openhab/openhab) on a synology 916+

What I tried:

root@Synobaby916:/root# docker exec -it 8dcf6427fd9d /openhab/runtime/karaf/bin/client
rpc error: code = 2 desc = "oci runtime error: exec failed: exec: “/openhab/runtime/karaf/bin/client”: stat /openhab/runtime/karaf/bin/client: no such file or directory"root@Synobaby916:/root#


root@Synobaby916:/root# ssh openhab@localhost -p 8101
ssh_exchange_identification: Connection closed by remote host

Any hints, please ? :frowning:

Here (https://hub.docker.com/r/openhab/openhab/#accessing-the-console) it says the command is a little different.

docker exec -it <containerID> /openhab/runtime/bin/client
not
docker exec -it <containerID> /openhab/runtime/karaf/bin/client

1 Like

WTF … you´re right … thanks man … for this tipp … but the next will be harder :slight_smile:

docker exec -it 8dcf6427fd9d /openhab/runtime/bin/client
client: Ignoring predefined value for KARAF_HOME
Logging in as openhab
Authentication failed

It doesn´t ask me for password. Just kicks me out :frowning:

update:
When I add
e.g
testuser = mypw,g:admingroup
to user.properties he just says:

docker exec -it  8dcf6427fd9d /openhab/runtime/bin/client
client: Ignoring predefined value for KARAF_HOME
Logging in as testuser
Authentication failed

That is strange.

It works for my.
I dont even have to input a password.

But container (for testing) is 2.0.0-snapshot. (not final).