Hello gentlemen,
having been attacked as mentionned i made a clean up and reinstall today. Removing nodered, node.js, npm and other files and directories.
I modified /usr/lib/node_modules/node-red/settings.js as Talud08 did.
I AM asked a login and password now.
But : I do not have any settings.js in .node-red/ directory.
So i did as said: start NR, then use node-red-log . It does not display any different path.
(i copied the result below for info)
So when i read all above Colin's answer is a bit confusing.
So is it mine or his' installation that is weird ?
Am i missing something ?
edit> sorry for the bold text , don't know how to get rid of it.
Thanks for your help in getting us understanding all this.
ยงยงยงยงยงยงยงยงยงยงยงยงยงยงยงยงยงยง
node-red-start
Start Node-RED
Once Node-RED has started, point a browser at http://192.168.0.18:1880
On Pi Node-RED works better with the Firefox or Chrome browser
Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
To find more nodes and example flows - go to http://flows.nodered.org
Starting as a systemd service.
pi@raspberrypi:~ $ node-red-log
pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/sbin/modprobe w1-gpio pullup=1
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/sbin/modprobe w1-therm strong_pullup=1
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/sbin/modprobe w1-gpio pullup=1
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/sbin/modprobe w1-therm strong_pullup=1
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/sbin/modprobe w1-gpio pullup=1
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/sbin/modprobe w1-therm strong_pullup=1
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
Stopping Node-RED graphical event wiring tool...
14 Oct 21:32:57 - [info] Stopping flows
14 Oct 21:32:57 - [info] [mqtt-broker:4ab6a67.cae7ad8] Disconnected from broker: mqtt://192.168.0.18:1883
14 Oct 21:32:57 - [info] Stopped flows
Stopped Node-RED graphical event wiring tool.
Starting Node-RED graphical event wiring tool...
Started Node-RED graphical event wiring tool.
14 Oct 21:36:17 - [info]
Welcome to Node-RED
14 Oct 21:36:17 - [info] Node-RED version: v0.19.4
14 Oct 21:36:17 - [info] Node.js version: v4.8.7
14 Oct 21:36:17 - [info] Linux 4.9.35-v7+ arm LE
14 Oct 21:36:18 - [info] Loading palette nodes
14 Oct 21:36:23 - [info] Dashboard version 2.9.8 started at /ui
14 Oct 21:36:18 - [info] Loading palette nodes
14 Oct 21:36:23 - [info] Dashboard version 2.9.8 started at /ui
14 Oct 21:36:24 - [info] Settings file : /usr/lib/node_modules/node-red/settings.js
14 Oct 21:36:24 - [info] Context store : 'default' [module=memory]
14 Oct 21:36:24 - [info] User directory : /home/pi/.node-red
14 Oct 21:36:24 - [warn] Projects disabled : editorTheme.projects.enabled=false
14 Oct 21:36:24 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
14 Oct 21:36:24 - [info] Server now running at http://127.0.0.1:xxxx/
14 Oct 21:36:24 - [warn]
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
14 Oct 21:36:25 - [info] Starting flows
Stopping Node-RED graphical event wiring tool...
14 Oct 21:36:30 - [info] Started flows
14 Oct 21:36:30 - [info] [debug:9e1905d4.5afd2] conn etablieundefined
14 Oct 21:36:31 - [info] Stopping flows
14 Oct 21:36:31 - [info] Stopped flows
Stopped Node-RED graphical event wiring tool.
^Cpi@raspberrypi:~/.node-red
pi@raspberrypi:~ node-red-stop
Stop Node-RED
Use node-red-start to start Node-RED again