H2O_King89 Posted September 30, 2018 Share Posted September 30, 2018 (edited) 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, 2018 by H2O_King89 Quote Link to comment
cablecutter Posted November 29, 2018 Share Posted November 29, 2018 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 Quote Link to comment
spants Posted November 29, 2018 Author Share Posted November 29, 2018 (edited) 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, 2018 by spants Quote Link to comment
cablecutter Posted November 30, 2018 Share Posted November 30, 2018 (edited) 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, 2018 by cablecutter Quote Link to comment
beire Posted December 10, 2018 Share Posted December 10, 2018 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 Quote Link to comment
spants Posted December 10, 2018 Author Share Posted December 10, 2018 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..... Quote Link to comment
beire Posted December 11, 2018 Share Posted December 11, 2018 adding --user=root seems to have worked. Thanks! Quote Link to comment
mgranger Posted December 20, 2018 Share Posted December 20, 2018 Is there anyway to set the retain flag to true in this docker? Quote Link to comment
spants Posted December 21, 2018 Author Share Posted December 21, 2018 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/ Quote Link to comment
Mlatx Posted January 4, 2019 Share Posted January 4, 2019 When couchdb updates, I lose my admin account and have to create a new one. How do I prevent this from happening? Quote Link to comment
killeriq Posted January 23, 2019 Share Posted January 23, 2019 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 Quote Link to comment
beire Posted January 23, 2019 Share Posted January 23, 2019 Are you saving data IN the node-red docker?Sent from my ONEPLUS A6013 using Tapatalk Quote Link to comment
killeriq Posted January 23, 2019 Share Posted January 23, 2019 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... Quote Link to comment
beire Posted January 23, 2019 Share Posted January 23, 2019 How is the influxdb node set up? Is the influxdb running on node-red docker (localhost?)Sent from my ONEPLUS A6013 using Tapatalk Quote Link to comment
killeriq Posted January 23, 2019 Share Posted January 23, 2019 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? Quote Link to comment
spants Posted January 26, 2019 Author Share Posted January 26, 2019 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... Quote Link to comment
killeriq Posted January 26, 2019 Share Posted January 26, 2019 (edited) 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, 2019 by killeriq Quote Link to comment
ebnerjoh Posted February 2, 2019 Share Posted February 2, 2019 Hi, Can someone tell me if I can use the Letsencrypt Docker together with the MQTT Docker to have MQTT with SSL from public? Quote Link to comment
Fiservedpi Posted February 22, 2019 Share Posted February 22, 2019 (edited) is there any way to password protect the docker ui? found it http://nodered.org/docs/security.html Edited February 22, 2019 by Fiservedpi i found the answer Quote Link to comment
Bespin Posted June 2, 2019 Share Posted June 2, 2019 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. Quote Link to comment
gbdavidx Posted July 8, 2019 Share Posted July 8, 2019 (edited) 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, 2019 by gbdavidx Quote Link to comment
JustinAiken Posted September 30, 2019 Share Posted September 30, 2019 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 2 Quote Link to comment
spants Posted September 30, 2019 Author Share Posted September 30, 2019 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! Quote Link to comment
mukow Posted October 1, 2019 Share Posted October 1, 2019 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? Quote Link to comment
JustinAiken Posted October 1, 2019 Share Posted October 1, 2019 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 Quote Link to comment
Recommended Posts
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.