Walki Posted October 27, 2022 Share Posted October 27, 2022 Does anyone know how to connect to the installation via ssh for backups? And of course moving backup from RaspberryPi to a Docker. Cheers Dennis Quote Link to comment
NAS-newbie Posted March 12 Share Posted March 12 I noticed that the OpenHAB appdata is owned by root:root - is there a reason for this and will it stop working if I change this to the UnRAID "standard" nobody:users???? Quote Link to comment
Nodiaque Posted March 12 Share Posted March 12 It's because of the docker. The official docker image does a chmod on startup to its own user. I myself created a openhab user and assigned it the Id of the docker. You can check on the official docker image for doc about that. Quote Link to comment
NAS-newbie Posted March 19 Share Posted March 19 (edited) On 3/12/2023 at 2:33 PM, Nodiaque said: It's because of the docker. The official docker image does a chmod on startup to its own user. I myself created a openhab user and assigned it the Id of the docker. You can check on the official docker image for doc about that. Thanks for the info - I found information here https://www.openhab.org/docs/installation/docker.html about creating the openhab user but I am not very knowledgeable about docker (I just install ready made containers in UnRAID and have not had this problem before) so I do not understand how to follow these instructions - should this be done in UnRAID before or after installing the container (I have already done a lot of setup in openhab already so do not want to re-do the installation) or is it something I should do inside the container somehow? Edited March 19 by NAS-newbie Quote Link to comment
SLeugner Posted April 26 Share Posted April 26 Hey Guys, I am just migrating from Raspi to Openhab and try to recreate my setup. Currently I have the problem that my NodeRed is not connecting to Openhab. I am Using you container with OpenHab 3.4.3 and the Unraid NodeRed Container v 3.0.2 from Spants's Repository. To send infos to Openhab I am using the Node Palette "node-red-contrib-openhab3". v. 1.4.9. I did copied my Flows and changed the Controller to my Docker IP Adress and a new API Key as Username. Now I get the following Error Messages: "Error: {"type":"error","message":"connect EHOSTUNREACH 192.168.1.XXX:8080"}" I was only able to find an info that it might be the problem wit running openhab in a container. Anybody is also using this setup and was able to make it work? Thanks a lot. Quote Link to comment
Nodiaque Posted April 26 Share Posted April 26 normally, openhab is on the Host network. You should put your node-red in a custom docker network. Seems like you have a network connectivity issue. Also heck your port mapping in openhab. If you copied from your rasp, make sure that port 8080 is what was used and be sure it's properly mapped in the docker configuration. Quote Link to comment
SLeugner Posted April 26 Share Posted April 26 Well thanks that did the trick. I changed Node Red from Bridge Network into my ipvlan. Now they can communicate. Quote Link to comment
Nodiaque Posted April 26 Share Posted April 26 Yes bridge vlan doesn't allow communication between them. That's why you create your own custom bridge network. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.