This package allows you to install Node-RED quickly and simply on a YunoHost server. If you don’t have YunoHost, please see here to know how to install and enjoy it.
What is Node-RED?
Flow-based programming for the Internet of Things
Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.
It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.
Right now the app is set to private and will be shared by any user passing the SSO, so set proper access rights if needed. There is external login capability, so who knows what we can do in the future.
Supported architectures
All architectures supporting nginx and nodejs > 12.x.
YunoHost documentation: There is no dedicated documentation, feel free to contribute
Developers information
Only if you know what you are doing AND want to switch to an unstable branch for testing or coding. Instead of merging directly into master, please do your pull request to the testing branch
WARNING - npm ERR! ELOOP: too many symbolic links encountered, open '/opt/yunohost/nodered/node_modules/node-red-node-twitter/npm-shrinkwrap.json'
C’est en dehors de mes compétences, désolé. Après une recherche rapide, il semblerait que ce soit un problème avec n, qui gère l’installation de node. En première approche je te dirais de supprimer cette extension, mettre à jour, puis la réinstaller.
Tu as d’ailleurs beaucoup d’erreurs de la moulinette, à propos de ressources indisponibles. Tu devrais montrer ça aux dev.
It is very cool to be able to have node-red so easily safely installed on ynh! I did get some warnings about outdated bcrypt stuff among others during the installation. I find privacy/security very important with automation tasks like this. Do I need to worry?
I would be cool if someone could update these things so that the warnings are not scaring anyone anymore
Installation completed
Reloading nginx web server... [00h00m,01s]
Configuring SSOwat... [00h00m,00s]
Starting a systemd service... [00h00m,01s]
Configuring log rotation... [00h00m,03s]
Created symlink /etc/systemd/system/multi-user.target.wants/nodered.service → /etc/systemd/system/nodered.service.
Configuring a systemd service... [00h00m,03s]
Configuring php-fpm... [00h00m,02s]
Configuring nginx web server... [00h01m,08s]
npm notice created a lockfile as package-lock.json. You should commit this file.
node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.6 and node@10.22.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.6/bcrypt_lib-v3.0.6-node-v64-linux-arm-glibc.tar.gz
node-pre-gyp WARN Using request for node-pre-gyp https download
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated bcrypt@3.0.6: versions < v5.0.0 do not handle NUL in passwords properly
Installing node-red... [00h00m,12s]
Configuring system user... [00h00m,06s]
Always worry. More seriously, I may have let slip an update or two from the upstream repo. I will have a look into it and update our package if needed.
Hello,
I’ve installed Node-RED and I would like to use the http-in node for automation with python.
Can you please describe who I can secure Node-RED with username/password?
Thank you
If visitors are configured not to have access from the admin panel, you could try using your YunoHost credentials (may be unsafe, depending on how they are stored. You can use a dedicated YunoHost user for that?).
If this is not working, and you need to enable HTTP authentifation for Node-RED, refer to Node-RED’s documentation. I do not think the fact that you are using a YunoHost package for Node-RED would change anything to the procedure, except maybe you would need to login twice.
Thanks for the quick answer, the problem is I’ve already enabled HTTP authentifation in the config.js file but when I restart the Node-RED server the changes will not be accepted.