Dashboard wont work

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

Anyone?

Thanks in advance

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?

yes you do.

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

Did you send any data to any of the dashboard nodes?
can you paste an export of your flow in a reply? (read this thread)

This is the export:

[{"id":"2f134b73.ea53f4","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"87fae96a.8c1d38","type":"ui_button","z":"2f134b73.ea53f4","name":"","group":"770569a1.76fdf8","order":0,"width":0,"height":0,"passthru":false,"label":"button","tooltip":"","color":"","bgcolor":"","icon":"","payload":"cmnd/power3 1","payloadType":"str","topic":"son4ch","x":320,"y":140,"wires":[]},{"id":"770569a1.76fdf8","type":"ui_group","z":"","name":"Dashboard","tab":"adf9b6d.875c748","order":1,"disp":true,"width":"6","collapse":false},{"id":"adf9b6d.875c748","type":"ui_tab","z":"","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]

So that is just a button node. I imported it, deployed and it shows up fine.

How do you try to get to the dashboard? Do you use the link in the sidebar?
Screen Shot 2020-06-30 at 11.29.58 AM

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.

Thanks for all the help everyone.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.