Skip to content

Can't update Node-RED to 2.1 #473

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

Closed
DIYtechie opened this issue Jan 7, 2022 · 2 comments · Fixed by #576
Closed

Can't update Node-RED to 2.1 #473

DIYtechie opened this issue Jan 7, 2022 · 2 comments · Fixed by #576

Comments

@DIYtechie
Copy link

tried updating the project, pulling latest image, rebuilding the stack, but I'm stuck on 1.0.6

Can I just use portainer to change the environment variables? And what should they be?

@Paraphraser
Copy link

Did you follow the instructions in the IOTstack Node-RED documentation?

It sounds like you're just doing a simple pull. That won't work when a Dockerfile is involved. It's explained in that doco.

If that still doesn't work you can try brute force. Stop the nodered container (or your entire stack), then run docker images and, for each image that mentions nodered, do a docker rmi IMAGEID where the IMAGEID comes from the images output. Once all the images have been removed, bring up the container again. Then docker has no choice but to pull down the most recent base image and run the Dockerfile on top of that to produce a new local image.

@Paraphraser
Copy link

If none of the above helps, run

$ cat ~/IOTstack/services/nodered/Dockerfile

and paste the result here (a line of triple back-ticks - ``` - then paste the text, then another line of triple back-ticks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants