-
Hi! I previously used zwavejs2mqtt, and was in the process of updating & moving over... and realized too late that my previous zwavejs2mqtt container was NOT successfully storing its configuration locally. So, starting from scratch, and I cannot reference back to my previous successful zwavejs2mqtt install. :( I am hosting both my HA install and the zwavejsui install on Docker images using docker-compose on an Asustor NAS. HA loads up and is accessible just fine from my NAS' address - http://192.168.10.9:8123 - but zwavejsui does not - http://192.168.10.9:8091 . I get a timeout error At the moment, I've got both in one docker-compose file. Obviously the two are different, but I can't figure out what's wrong with the way I'm setting up the 8091 port that it's not accessible in the same way HA's 8123 is... and how it used to be accessible in my zwavejs2mqtt install. Looking at the container logs for ZWJSUI, there are no errors and it claims to be listening on 8091, but doesn't verify that it's using the NAS' IP address. Is there some kind of override to force it to use its host's IP address?
This is the entire docker-compose file, including the HA bit.
And this is the result of a docker inspect command on the container. I tried to cut out bits I thought were unrelated to networking, but I can post the full thing if it's helpful.
Any help or thoughts would be really appreciated. I'm tearing my hair out, and super frustrated with myself for not noticing the previous local store was not actually up to date. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @m-e-stew, I'm sorry for that! Do you still have the old container? You could try to manually copy files from inside the container BTW back to your problem, I sincerly have no idea what's going on there, everything seems fine. What I could suggest to try is to add |
Beta Was this translation helpful? Give feedback.
-
Oh jeez, no reason to be sorry! It was my own fault.
Unfortunately not, container is gone. Long live the container. This is all
my first foray into Docker, so it's a learning experience. I shouldn't have
deleted it before knowing the new stuff was good.
The good news is the new container is set up right and storing its config.
I know that much - just the dang networking in the way.
I added the network_mode setting to zwavejsui as well, no difference. :(
Great thought.
I appreciate you looking my settings over, I was hoping it was a silly
thing I was missing. My sister is a professional with Cloudfront/Terraform,
so I'll eat my pride and get her insight and report back.
…On Mon, Jan 23, 2023, 3:31 AM Daniel Lando ***@***.***> wrote:
and realized too late that my previous zwavejs2mqtt container was NOT
successfully storing its configuration locally.
Hi @m-e-stew <https://github.com/m-e-stew>, I'm sorry for that! Do you
still have the old container? You could try to manually copy files from
inside the container
BTW back to your problem, I sincerly have no idea what's going on there,
everything seems fine. What I could suggest to try is to add network_mode:
host also to zui container and remove the port mappings
—
Reply to this email directly, view it on GitHub
<#2906 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACGXJGMETBFVE572HR67KJ3WTY6WPANCNFSM6AAAAAAUDMIFNA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Okay, I am not sure how helpful this is to others, but I think I know what was happening in my particular case. The 8091 port was being held up by something, still, and so the new container couldn't really publish it. Spent a while trying to figure out network_mode: host and trying to configure the ip address on the network the container was using, etc etc... then I bailed on docker compose and instead used plain docker run, to the same results - until I changed the port I was publishing to on the host.
So, as I suspected, a very specific issue to my setup. But wanted to post in case someone else has that very specific issue. ;) @robertsLando Thanks for your kindness on this post. |
Beta Was this translation helpful? Give feedback.
Okay, I am not sure how helpful this is to others, but I think I know what was happening in my particular case.
The 8091 port was being held up by something, still, and so the new container couldn't really publish it.
Spent a while trying to figure out network_mode: host and trying to configure the ip address on the network the container was using, etc etc... then I bailed on docker compose and instead used plain docker run, to the same results - until I changed the port I was publishing to on the host.
sudo docker run -d -p 0.0.0.0:8092:8091 -p 0.0.0.0:3000:3000 --name=zwavejsui --rm -it --device=/dev/ttyACM0:/dev/zwave -v $(pwd)/store:/usr/src/app/store zwavejs/zwave-js-ui:latest
works …