Skip to content
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

Node-Red update in IOTstack #219

Closed
bburkett52 opened this issue Nov 30, 2020 · 3 comments
Closed

Node-Red update in IOTstack #219

bburkett52 opened this issue Nov 30, 2020 · 3 comments

Comments

@bburkett52
Copy link

I am running Node-Red in IOTstack on RPi. Can anyone pout me in the right direction to update Node-Red to current?

Thanks
~Bob

@Paraphraser
Copy link
Contributor

Hi,

First, please see this project is dormant. It explains why we (IOTstackers) had to fork Graham Garner's repo. You should seriously consider migrating (instructions are in the new repo).

Second, the magic incantation for forcing Node-Red to upgrade is:

$ cd ~/IOTstack
$ docker rmi nodered/node-red
$ docker-compose up --build -d nodered
$ docker system prune

In words, remove the base image. The --build flag forces the Dockerfile to be read to rebuild the local image if needed. The Dockerfile run discovers the missing base image and pulls it from Dockerhub, finds it's newer than the (missing) base used for the current local image, builds a new local image, and does a new-for-old swap at the last moment (so downtime for the Node-Red service is minimal). The prune gets rid of the old image.

And, third, it would be really helpful if you would close this issue. I keep trying to get people to do that so that the "this project is dormant" issue sits near the top where it is more likely to be noticed - with only limited success.🥺

@bburkett52
Copy link
Author

bburkett52 commented Dec 1, 2020 via email

@bburkett52
Copy link
Author

I'll be migrating to the new project!
Thanks for the help!
Regards,
Bob

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

No branches or pull requests

2 participants