September 30, 20187 yr how do I setup a password? I tired editing the settings.js removing the // and putting my password in. but when I try logging in it doesn't take tried making admin node with no luck $ npm install -g --unsafe-perm node-red-admin npm WARN deprecated [email protected]: bcrypt < v2.0.0 is susceptible to bcrypt wrap-around bug. Upgrade to bcrypt >= v2.0.0 for improved support for newer bcrypt hashes npm WARN deprecated [email protected]: Use uuid module instead npm WARN deprecated [email protected]: The major version is no longer supported. Please update to 4.x or newer npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules npm ERR! path /usr/local/lib/node_modules npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules' npm ERR! { Error: EACCES: permission denied, access '/usr/local/lib/node_modules' npm ERR! stack: 'Error: EACCES: permission denied, access \'/usr/local/lib/node_modules\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/local/lib/node_modules' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator (though this is not recommended). npm ERR! A complete log of this run can be found in: npm ERR! /usr/src/node-red/.npm/_logs/2018-10-01T02_24_50_639Z-debug.log Edited October 1, 20187 yr by H2O_King89
November 29, 20187 yr Hey, having an issue with the Node-Red: https://github.com/AYapejian/node-red-contrib-home-assistant/issues/52 Looks like the newest version of Node-Red needs node.js > V8 I just checked and it seems like this docker is packed with v6.14.4
November 29, 20187 yr Author 1 hour ago, cablecutter said: Hey, having an issue with the Node-Red: https://github.com/AYapejian/node-red-contrib-home-assistant/issues/52 Looks like the newest version of Node-Red needs node.js > V8 I just checked and it seems like this docker is packed with v6.14.4 see here: https://nodered.org/docs/platforms/docker Edit the template and set Repository to nodered/node-red-docker:v8 it was mentioned here in the github link you sent: https://github.com/AYapejian/node-red-contrib-home-assistant/issues/52#issuecomment-385034497 Edited November 29, 20187 yr by spants
November 30, 20187 yr Thanks Spants - I'm kind of a newbie when it comes to Docker. All I do is click install on the community apps - haven't really dug much deeper than that. Is there any info you could provide on editing the template itself for use with unRaid? I'd also love to build a docker version of Hass.IO for unraid. I'm currently doing a very stupid work-around of running it on a linux VM on my unraid server. Edited November 30, 20187 yr by cablecutter
December 10, 20187 yr Spants, I use a USB adapter passed through to your node-red docker. The ttyUSB1 device is owned by root and node-red does not have access to it. I can chown ttyUSB1 to node-red user, then it works. But this obvisously does not survive a reboot. Can this be changed? Thx
December 10, 20187 yr Author 4 hours ago, beire said: Spants, I use a USB adapter passed through to your node-red docker. The ttyUSB1 device is owned by root and node-red does not have access to it. I can chown ttyUSB1 to node-red user, then it works. But this obvisously does not survive a reboot. Can this be changed? Thx I used to do the same - and had a similar problem. Does this solve it for you too? https://github.com/node-red/node-red-docker/issues/15 ( add this to the extra parameters in template: --device=/dev/ttyUSB1 --user=root ) or other user.....
December 21, 20187 yr Author 17 hours ago, mgranger said: Is there anyway to set the retain flag to true in this docker? Do you mean persistance? Take a look in the config file and edit the following to suit: persistence false persistence_file mosquitto.db persistence_location /config/data/
January 4, 20197 yr When couchdb updates, I lose my admin account and have to create a new one. How do I prevent this from happening?
January 23, 20197 yr Hello, im using NodeRed to put my data from one system (Loxone) into InfluxDB, but seems like "NodeRed" docker size is growing (now over 8gb) and using most of my docker img space, how can i maintain / remove those old data / logs (what ever is it)? Thanks
January 23, 20197 yr Are you saving data IN the node-red docker?Sent from my ONEPLUS A6013 using Tapatalk
January 23, 20197 yr not sure - i have such option only to send data Even if it would save somewhere - i didnt find any option in NodeRed settings to clear logs...
January 23, 20197 yr How is the influxdb node set up? Is the influxdb running on node-red docker (localhost?)Sent from my ONEPLUS A6013 using Tapatalk
January 23, 20197 yr influxDB is separate Docker, i was assuming that InfluxDB could grow bit higher, but if the "Container Size" option is valid then NodeRed is the highest from all. Even it might grown due to some previous test in NodeRed, but no clue how to clean it up - wipe whole docker and install again?
January 26, 20197 yr Author On 1/23/2019 at 4:02 AM, killeriq said: influxDB is separate Docker, i was assuming that InfluxDB could grow bit higher, but if the "Container Size" option is valid then NodeRed is the highest from all. Even it might grown due to some previous test in NodeRed, but no clue how to clean it up - wipe whole docker and install again? maybe you have your data volume set up wrong? copy your flows out and save in a text file, delete/update container (check directories) and reinstall flows if needed...
January 26, 20197 yr i left it default, cos i didnt thought it can grow that much i was more worried about InfluxDB. So u think backup flows, wipe NodeRed reinstall (with some other data path) and put flows back? EDIT: I just checked now /appdata folder and "nodered" is not even there, so is only inside IMG Edited January 26, 20197 yr by killeriq
February 2, 20197 yr Hi, Can someone tell me if I can use the Letsencrypt Docker together with the MQTT Docker to have MQTT with SSL from public?
February 22, 20197 yr is there any way to password protect the docker ui? found it http://nodered.org/docs/security.html Edited February 22, 20197 yr by Fiservedpi i found the answer
June 2, 20197 yr Hi all, having a issue when I update to 6.7 that node red will not connect to Home assistant but works fine in the pervious version, does anyone know whats changed in unraid to cause this and what can be done to fix it at all because I would really like to upgrade unraid thanks.
July 8, 20197 yr How do i find the username and passwords? Also, if i am using home-assistant in a separete vm what is the ip address of the docker image? Routing Table PROTOCOLROUTEGATEWAYMETRICDELETE IPv4default192.168.1.254 via br0210 IPv4172.17.0.0/16docker01 IPv4172.30.32.0/23hassio1 IPv4192.168.1.0/24br0210 IPv4192.168.122.0/24virbr01 Edited July 8, 20197 yr by gbdavidx
September 30, 20196 yr To update to v1.0 that came out today: - Edit your docker template's repository field from `nodered/node-red-docker` to just `nodered/node-red` - I needed to `chown -R 1000 /path/to/appdir` to update it to the new uid used by the container
September 30, 20196 yr Author 22 minutes ago, JustinAiken said: To update to v1.0 that came out today: - Edit your docker template's repository field from `nodered/node-red-docker` to just `nodered/node-red` - I needed to `chown -R 1000 /path/to/appdir` to update it to the new uid used by the container Thanks for posting - was just about to!
October 1, 20196 yr 7 hours ago, JustinAiken said: To update to v1.0 that came out today: - Edit your docker template's repository field from `nodered/node-red-docker` to just `nodered/node-red` - I needed to `chown -R 1000 /path/to/appdir` to update it to the new uid used by the container Will this prevent you from modifying the files outside of the container?
October 1, 20196 yr 10 hours ago, mukow said: Will this prevent you from modifying the files outside of the container? Just tested, and at least as `root` it worked
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.