Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
DietPi-Software | Node-RED: Pre-installed modules cannot be updated via webUI #2073
Creating a bug report/issue:
Additional Information (if applicable):
Steps to reproduce:
Could replicate it on Stretch VM:
I mark this as external bug, since we install node-red globally, exactly according to the official instructions: https://nodered.org/docs/getting-started/installation
Really not much to find about it. But for my impression this is an issue about how node-red is installed and how it's needed to update modules via web interface:
Actually when I tried to install a module it failed, because
Please excuse me if this is the wrong place to put this comment.
I've just tried to install Node-Red on DietPi using the software app.
Whatever I did resulted in the systemctl status report saying that the user was spawning. (Which I didn't understand)
What I did do that seems to have worked is to edit the /etc/systemd/system/node-red.service file.
Originally, the User = nodered
I've changed this to User = root
After the normal daemon-reload & restart processes, I'm able to interact with NodeRed just as I can on other machines.
That worked perfectly :-)
All I have to do now is get the NodeRed icon and link in the openHAB2 start page, which their script has done in the past.
Now that you've resolved this issue, I'll just try to run their script again and see what happens.
*** Update ***
It's not a big deal, I'll find out how to add the icon and link manually.
*** Update ***
Adding this text to the /etc/openhab2/services/dashboard.cfg file did the trick