When i try to open dashboard, i get Welcome to the Node-red dashboard. Please add some UI nodes and redeploy. The UI nodes are there. This is the log file and im wondering if it might have to do with the connection issue in the last lines of the log file.
des
30 Jun 06:01:45 - [info] Dashboard version 2.22.1 started at /ui
30 Jun 06:01:46 - [info] Settings file : /home/pi/.node-red/settings.js
30 Jun 06:01:46 - [info] Context store : 'default' [module=memory]
30 Jun 06:01:46 - [info] User directory : /home/pi/.node-red
30 Jun 06:01:46 - [warn] Projects disabled : editorTheme.projects.enabled=false
30 Jun 06:01:46 - [info] Flows file : /home/pi/.node-red/log
30 Jun 06:01:46 - [info] Creating new flow file
30 Jun 06:01:46 - [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.
30 Jun 06:01:46 - [info] Starting flows
30 Jun 06:01:46 - [info] Started flows
30 Jun 06:01:46 - [error] Unable to listen on http://127.0.0.1:1880/
30 Jun 06:01:46 - [error] Error: port in use
hello, many people had this error at the beginning in node-red.
a simple search through the forum can always be helpful. The problem is in port 1880 that is in use, try starting node-red on another port: node-red -p 1881
Thanks, i did try that and all i get is a blank screen. I dont get the message any longer, the screen is just grey. I also noticed that it still runs on 1880. Is it possible that i have two instances of it running?
ok then, i shut everything down and started back up. My log:
Welcome to Node-RED
30 Jun 07:51:43 - [info] Node-RED version: v1.0.6
30 Jun 07:51:43 - [info] Node.js version: v12.18.1
30 Jun 07:51:43 - [info] Linux 4.19.118-v7l+ arm LE
30 Jun 07:51:44 - [info] Loading palette nodes
30 Jun 07:51:45 - [info] Dashboard version 2.22.1 started at /ui
30 Jun 07:51:45 - [info] Settings file : /home/pi/.node-red/settings.js
30 Jun 07:51:45 - [info] Context store : 'default' [module=memory]
30 Jun 07:51:45 - [info] User directory : /home/pi/.node-red
30 Jun 07:51:45 - [warn] Projects disabled : editorTheme.projects.enabled=false
30 Jun 07:51:45 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
30 Jun 07:51:46 - [info] Server now running at http://127.0.0.1:1880/
30 Jun 07:51:46 - [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.
30 Jun 07:51:46 - [info] Starting flows
30 Jun 07:51:46 - [info] Started flows
Now i am still getting a blank screen. No message, just a grey screen
I have it worked out. I am using chrome and i think the browser was hanging things up. I shut the browser down altogether and started it back up and it is now working.