[Solved]Blank Dashboard

I've not used Dashboard much but dediced to make one for my 433Mhz Maplin mains sockets flow on an old PiZero

I added a couple of switches - went to maplinmote:1880/ui and jsut got a blank page - no error - nothing
I've stopped/restarted node-red a couple of times and cleared browser cache but still zilch

any ideas?

Welcome to Node-RED
===================

28 Sep 21:24:40 - [info] Node-RED version: v0.20.8
28 Sep 21:24:40 - [info] Node.js  version: v10.16.3
28 Sep 21:24:40 - [info] Linux 4.14.79+ arm LE
28 Sep 21:24:46 - [info] Loading palette nodes
28 Sep 21:25:10 - [info] Dashboard version 2.16.3 started at /ui
28 Sep 21:25:14 - [info] Settings file  : /home/pi/.node-red/settings.js
28 Sep 21:25:14 - [info] Context store  : 'default' [module=memory]
28 Sep 21:25:14 - [info] User directory : /home/pi/.node-red
28 Sep 21:25:14 - [warn] Projects disabled : editorTheme.projects.enabled=false
28 Sep 21:25:14 - [info] Flows file     : /home/pi/.node-red/flows_maplinmote.json
28 Sep 21:25:15 - [info] Server now running at http://127.0.0.1:1880/
28 Sep 21:25:15 - [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.
---------------------------------------------------------------------

28 Sep 21:25:15 - [info] Starting flows
28 Sep 21:25:17 - [info] Started flows
28 Sep 21:25:18 - [info] [mqtt-broker:win8] Connected to broker: mqtt://192.168.0.23:1883
28 Sep 21:25:18 - [info] [mqtt-broker:m15.cloudmqtt.com] Connected to broker: mqtt://m15.cloudmqtt.com:16879

You did deploy after adding the switches...right (have to ask :wink:)
what happens if you use the link on the dashboard tab?
dashboard_link

Can you provide the flow?

You have to press deploy? #WhoKnew :slight_smile:

Clikcing on that button gives me the same url with the same blank page

Its got a few contrib nodes in it so wouldn't help - but even if I add a switch or button to a different flow - still nothing appears

If I look at source of the webpage I'm getting this

...comments
 <html lang="en" manifest="dashboard.appcache"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="apple-mobile-web-app-title" content="Node-RED"> <meta name="mobile-web-app-capable" content="yes"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="manifest" href="manifest.json"> <link rel="icon" sizes="192x192" href="icon192x192.png"> <link rel="shortcut icon" type="image/png" href="icon64x64.png"> <link rel="apple-touch-icon" href="icon120x120.png"> <link rel="stylesheet" href="css/app.min.css"> <link rel="stylesheet/less" href="css/app.min.less"> <title></title> </head> <body ng-app="ui" ng-controller="MainController as main" ng-cloak layout="column" style="background: {{main.backgroundColor}}" class="nr-dashboard-theme" ng-swipe-right="onSwipeRight();" ng-swipe-left="onSwipeLeft();"> <md-content ng-if="main.loaded" ng-include="'partials/main.html'" layout="column" flex></md-content> <div ng-if="main.nothing" class="node-red-ui--notabs"> <table><tr><td><center><img src="icon120x120.png"></center></td></tr> <tr><td><center><h2>Welcome to the Node-RED Dashboard</h2></center></td></tr> <tr><td><center>Please add some UI nodes to your flow and redeploy.</center></td></tr></table> </div> <!-- <i class="fa fa-spinner fa-spin fa-4x fa-fw"></i> --> <script src="socket.io/socket.io.js"></script> <script src="js/app.min.js"></script> <script src="i18n.js"></script> </body> </html> 

which looks like I should be seeing something on the screen

I've just installed another copy of node-red on same machine using @TotallyInformation alternative installer https://github.com/TotallyInformation/alternate-node-red-installer and that works fine

So I'll try and copy over my flow and re-isntall my contrib nodes and see what happens then

1 Like

Copied my flow over to the alternate and it all works fine

So I completely wiped /home/pi/.node-red - re-installed using standard script - copied the flow back again -reinstalled the nodes I'm using and it still doesn't work!!!

I'm going to give up on it and just use the alternative install

Did you tried removing your flow andjust using standard nodes and some ui stuff to see if they show up?

Could it be something with the extra nodes that don't work on an ARM6?

[edit]
Even removing all nodes - deploying - add in one dashboard node -deploy - nothing appears on /ui page
[/edit]
Like I said - I made an alternative install in another folder on same machine and copied the flows across and it works fine.

Just going to stick with using the alternate install

I've manged to get standard install to work :slight_smile:

I did

sudo rm /usr/bin/node

re-installed Node-RED using standard script and then did Empty cache and hard reset in my browser and I now have a dashboard :slight_smile:

2 Likes