-
-
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
sh: npm: not found error.... #3475
Comments
Could you paste here the full error log you see in console? That's strange as many other users already updated to latest without any problem |
That's all that was in the log unless I need to be pulling something else. I've rarely had any issues with upgrading anything as Docker is self contained, which is why this one stumps me. If it were a common problem, it would be posted everywhere.... |
Post at least a screenshot of the command you lunch+the output |
I'll post the relevant service from the docker-compose file and the log when I get back home.... |
I would also try to pull master tag instead of latest to see if something changes |
Here's the docker-compose for the service.
With the image that's commented out, the only thing that shows in the log (under portainer) is the error listed in the subject. It just repeats over and over... I don't have a log in my config folder at the moment. I do see this running the 9.3.1 version...
|
To fix it, you would need to install healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8091/"] But I don't think this health check is very effective, what scenario would ZUI be running but the UI not available? The recommended health check is a little more involved (here's a wget version). @robertsLando Would it hurt to add |
I didn't add the command line, it came from one of the guides somewhere else. That said, I missed the reference to npm in it. As for the healthcheck, I'll check your version out as I'm always interested in a better way to do it although I think I already incorporated it from the github documentation. :-) |
Yeah like @kpine said the problem is the command you use to start the application, dunno where you picked that up from but I suggest to always refer to official docs: https://zwave-js.github.io/zwave-js-ui/#/getting-started/docker?id=healthcheck |
Back when I added the healthcheck, I didn't see anything in the docs about it. The command was added from another guide to add curl for the healthcheck. It's been long enough that I actually forgot about it and missed it when looking over things when it suddenly didn't work. Thank you for all for helping e figure this out. All is well again. :-) |
I updated the zwavejs/zwavejs2mqtt docker image today to the latest and began getting nothing but the error listed in the subject. I rolled back to the 9.3.1 tag and everything is fine. I just saw that zwavejs2mqtt has been renamed to zwave-js-ui so here I am.
I'm running on an Intel i5 processor running Alpine Linux and Docker. Everything was fine until I pulled whatever the latest is. 9.4.1 didn't work either so I went with 9.3.1. Guessing it's something I need to do, but so far I haven't figured out what...
The text was updated successfully, but these errors were encountered: