-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
Zwavejs not starting after docker upgrade and reboot. #3860
Comments
Addition: after another full shutdown/reboot my zwave devices are back up in HA. The zwave-js-ui still gives the same error and doesn't render at all. |
Sorry for late reply but I was on vacation, could you try to open Chrome Dev tools and see the response on network requests please? |
That api doesn't have any authorization so if the return code is 401 means you have something between zui and frontend, are you using a proxy? |
Yeah, traefik with basic auth. I'll try bypassing that for a bit to see if that solves the issue. |
Yep, that was the issue. Still weird other apps work fine with auth enabled but zwavejs doesn't. I'll have to do some more testing to see what's going on. Thanks for pointing me in the right direction! |
Maybe this issue could help? #3427 |
Yep, hard refresh did the trick. |
#3825 is more relevant given the response code is 401.
What version were you on prior to upgrading? If it's 9.16.2 or lower, then your JS didn't have #3825 and you need to hard reload to get the JS in your service worker cache to handle the 401 correctly. I've noticed the SW cache is a bit flaky, but it should work. |
Did an apt-get upgrade to update my ubuntu machine running HA + zwave-js-ui and finished with a reboot to boot into the new kernel.
There's nothing in both the docker logs and zwavejs logs after the reboot. I tried shutting down the container and moving the content of the store mount to a different location (in effect a first boot) and the error persists. Updating to zwavejs 9.17.0 also does not fix the problem.
Docker: Docker version 27.1.2, build d01f264
Ubuntu: Ubuntu 22.04.4 LTS
Relevant compose section (hostname redacted):
The text was updated successfully, but these errors were encountered: