UI dash board displayed just blank page

#1

Hi,
No sure what I ve done, but the dashboard loads ok, but just shows a blank page no errors (localhost:1880/ui/)
I am sure it worked before.

Information below:

Environment:
HW Pi2
NR v0185
Dash ver: 2.12.1

Screenshot:

Log:

pi@raspberrypi:~ $ node-red -log
14 Dec 10:31:44 - [info]

Welcome to Node-RED

14 Dec 10:31:44 - [info] Node-RED version: v0.18.5
14 Dec 10:31:44 - [info] Node.js version: v8.11.3
14 Dec 10:31:44 - [info] Linux 4.14.52-v7+ arm LE
14 Dec 10:31:46 - [info] Loading palette nodes
14 Dec 10:31:56 - [info] Dashboard version 2.12.2 started at /ui
14 Dec 10:31:59 - [info] Settings file : /home/pi/.node-red/settings.js
14 Dec 10:31:59 - [info] User directory : /home/pi/.node-red
14 Dec 10:31:59 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
14 Dec 10:31:59 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
14 Dec 10:31:59 - [error] Unable to listen on http://127.0.0.1:1880/
14 Dec 10:31:59 - [error] Error: port in use

The Flow: Just a slider and gauge
[{"id":"36fce3a2.8fc19c","type":"ui_slider","z":"8bed80ab.a57f","name":"","label":"slider","tooltip":"","group":"4b83e494.d25e2c","order":2,"width":0,"height":0,"passthru":true,"outs":"all","topic":"","min":0,"max":10,"step":1,"x":176,"y":304,"wires":[["4f671ff9.34786"]]},{"id":"4f671ff9.34786","type":"ui_gauge","z":"8bed80ab.a57f","name":"","group":"4b83e494.d25e2c","order":1,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":341,"y":307,"wires":},{"id":"4b83e494.d25e2c","type":"ui_group","z":"","name":"Default","tab":"bbd7322e.c5c82","disp":true,"width":"6","collapse":false},{"id":"bbd7322e.c5c82","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]

Thanks,
Ken

0 Likes

#2

would suggest you already have another copy of Node-RED open. Have you tried rebooting your pi and seeing if it fixes it?

Also the latest version of Node-RED is v0.19.5 so it might be worth upgrading to gain access to the latest functionality improvements, there’s a script you can run that’s linked from the raspberry pi page in the docs

0 Likes

#3

Hi,
have tried rebooted many times and also stop other flow tabs. below is ps -aux list of process running

pi@raspberrypi:~ $ ps -aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 1.3 0.6 9548 5928 ? Ss 12:37 0:02 /sbin/init spla
root 2 0.0 0.0 0 0 ? S 12:37 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/0:0]
root 4 0.0 0.0 0 0 ? I< 12:37 0:00 [kworker/0:0H]
root 5 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/u8:0]
root 6 0.0 0.0 0 0 ? I< 12:37 0:00 [mm_percpu_wq]
root 7 0.0 0.0 0 0 ? S 12:37 0:00 [ksoftirqd/0]
root 8 0.1 0.0 0 0 ? I 12:37 0:00 [rcu_sched]
root 9 0.0 0.0 0 0 ? I 12:37 0:00 [rcu_bh]
root 10 0.0 0.0 0 0 ? S 12:37 0:00 [migration/0]
root 11 0.0 0.0 0 0 ? S 12:37 0:00 [cpuhp/0]
root 12 0.0 0.0 0 0 ? S 12:37 0:00 [cpuhp/1]
root 13 0.0 0.0 0 0 ? S 12:37 0:00 [migration/1]
root 14 0.0 0.0 0 0 ? S 12:37 0:00 [ksoftirqd/1]
root 15 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/1:0]
root 16 0.0 0.0 0 0 ? I< 12:37 0:00 [kworker/1:0H]
root 17 0.0 0.0 0 0 ? S 12:37 0:00 [cpuhp/2]
root 18 0.0 0.0 0 0 ? S 12:37 0:00 [migration/2]
root 19 0.0 0.0 0 0 ? S 12:37 0:00 [ksoftirqd/2]
root 20 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/2:0]
root 21 0.0 0.0 0 0 ? I< 12:37 0:00 [kworker/2:0H]
root 22 0.0 0.0 0 0 ? S 12:37 0:00 [cpuhp/3]
root 23 0.0 0.0 0 0 ? S 12:37 0:00 [migration/3]
root 24 0.0 0.0 0 0 ? S 12:37 0:00 [ksoftirqd/3]
root 25 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/3:0]
root 26 0.0 0.0 0 0 ? I< 12:37 0:00 [kworker/3:0H]
root 27 0.0 0.0 0 0 ? S 12:37 0:00 [kdevtmpfs]
root 28 0.0 0.0 0 0 ? I< 12:37 0:00 [netns]
root 29 0.1 0.0 0 0 ? I 12:37 0:00 [kworker/0:1]
root 30 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/1:1]
root 31 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/2:1]
root 32 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/3:1]
root 33 0.0 0.0 0 0 ? S 12:37 0:00 [khungtaskd]
root 34 0.0 0.0 0 0 ? S 12:37 0:00 [oom_reaper]
root 35 0.0 0.0 0 0 ? I< 12:37 0:00 [writeback]
root 36 0.0 0.0 0 0 ? S 12:37 0:00 [kcompactd0]
root 37 0.0 0.0 0 0 ? I< 12:37 0:00 [crypto]
root 38 0.0 0.0 0 0 ? I< 12:37 0:00 [kblockd]
root 39 0.0 0.0 0 0 ? I< 12:37 0:00 [watchdogd]
root 40 0.0 0.0 0 0 ? I< 12:37 0:00 [rpciod]
root 41 0.0 0.0 0 0 ? I< 12:37 0:00 [xprtiod]
root 42 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/u8:1]
root 44 0.0 0.0 0 0 ? S 12:37 0:00 [kswapd0]
root 45 0.0 0.0 0 0 ? I< 12:37 0:00 [nfsiod]
root 55 0.0 0.0 0 0 ? I< 12:37 0:00 [kthrotld]
root 56 0.0 0.0 0 0 ? I< 12:37 0:00 [iscsi_eh]
root 57 0.0 0.0 0 0 ? I< 12:37 0:00 [dwc_otg]
root 58 0.0 0.0 0 0 ? I< 12:37 0:00 [DWC Notificati
root 59 0.0 0.0 0 0 ? S< 12:37 0:00 [vchiq-slot/0]
root 60 0.0 0.0 0 0 ? S< 12:37 0:00 [vchiq-recy/0]
root 61 0.0 0.0 0 0 ? S< 12:37 0:00 [vchiq-sync/0]
root 62 0.0 0.0 0 0 ? S 12:37 0:00 [vchiq-keep/0]
root 63 0.0 0.0 0 0 ? S< 12:37 0:00 [SMIO]
root 64 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/0:2]
root 65 1.1 0.0 0 0 ? S 12:37 0:02 [mmcqd/0]
root 66 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/0:3]
root 67 0.0 0.0 0 0 ? S 12:37 0:00 [jbd2/mmcblk0p7
root 68 0.0 0.0 0 0 ? I< 12:37 0:00 [ext4-rsv-conve
root 69 0.0 0.0 0 0 ? I< 12:37 0:00 [ipv6_addrconf]
root 84 0.0 0.0 0 0 ? I< 12:37 0:00 [kworker/2:1H]
root 92 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/1:2]
root 96 0.5 0.4 26924 4544 ? Ss 12:37 0:01 /lib/systemd/sy
root 125 0.3 0.3 14676 3412 ? Ss 12:37 0:00 /lib/systemd/sy
root 128 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/3:2]
root 132 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/2:2]
root 135 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/u8:2]
root 197 0.0 0.0 0 0 ? I< 12:37 0:00 [cfg80211]
root 232 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/3:3]
root 237 0.0 0.0 0 0 ? I 12:37 0:00 [kworker/u8:3]
systemd+ 243 0.0 0.3 17280 3568 ? Ssl 12:37 0:00 /lib/systemd/sy
root 269 0.0 0.2 23748 2472 ? Ssl 12:37 0:00 /usr/sbin/rsysl
root 270 0.0 0.2 5300 2412 ? Ss 12:37 0:00 /usr/sbin/cron
message+ 272 0.2 0.3 6612 3660 ? Ss 12:37 0:00 /usr/bin/dbus-d
nobody 281 0.0 0.2 5296 2424 ? Ss 12:37 0:00 /usr/sbin/thd -
root 283 0.0 0.4 7380 4204 ? Ss 12:37 0:00 /lib/systemd/sy
pi 284 10.9 7.0 160896 66564 ? SNsl 12:37 0:22 node-red
avahi 287 0.0 0.3 6404 3188 ? Ss 12:37 0:00 avahi-daemon: r
root 303 0.0 0.1 2948 1796 ? Ss 12:37 0:00 /sbin/dhcpcd -q
avahi 304 0.0 0.0 6404 324 ? S 12:37 0:00 avahi-daemon: c
root 331 0.0 0.0 0 0 ? S 12:37 0:00 [RTW_CMD_THREAD
root 334 0.0 0.0 0 0 ? I< 12:37 0:00 [kworker/3:1H]
root 335 0.0 0.4 10160 4108 ? Ss 12:37 0:00 wpa_supplicant
root 386 0.1 0.7 39964 7312 ? Ssl 12:37 0:00 /usr/sbin/light
root 388 0.0 0.0 0 0 ? I< 12:37 0:00 [kworker/1:1H]
root 391 0.0 0.1 4196 1536 tty1 Ss+ 12:37 0:00 /sbin/agetty --
root 399 9.2 1.1 164960 11168 ? Sl 12:38 0:18 /opt/teamviewer
root 421 3.5 7.3 223976 69392 tty7 Rsl+ 12:38 0:07 /usr/lib/xorg/X
root 445 0.0 0.8 32188 7628 ? Sl 12:38 0:00 lightdm --sessi
pi 453 0.1 0.6 9756 6004 ? Ss 12:38 0:00 /lib/systemd/sy
pi 456 0.0 0.1 11212 1312 ? S 12:38 0:00 (sd-pam)
pi 464 2.3 7.4 346812 70560 ? Sl 12:38 0:04
pi 467 0.2 1.2 52180 12248 ? Ssl 12:38 0:00 /usr/bin/lxsess
pi 479 0.1 0.3 6512 3516 ? Ss 12:38 0:00 /usr/bin/dbus-d
pi 589 0.0 0.0 3796 228 ? Ss 12:38 0:00 /usr/bin/ssh-ag
pi 609 0.0 0.6 39468 5768 ? Ssl 12:38 0:00 /usr/lib/gvfs/g
pi 614 0.0 0.6 56484 6540 ? Sl 12:38 0:00 /usr/lib/gvfs/g
pi 634 0.4 1.5 53864 14788 ? S 12:38 0:00 openbox --confi
pi 635 0.0 0.9 42752 8732 ? Sl 12:38 0:00 lxpolkit
pi 637 1.5 2.5 139756 23744 ? Sl 12:38 0:02 lxpanel --profi
pi 644 1.5 2.7 133268 26028 ? Sl 12:38 0:02 pcmanfm --deskt
root 650 0.0 0.0 0 0 ? I< 12:38 0:00 [kworker/0:1H]
pi 655 0.0 0.0 3796 228 ? Ss 12:38 0:00 /usr/bin/ssh-ag
root 659 0.1 0.9 41468 8584 ? Ssl 12:38 0:00 /usr/lib/policy
pi 682 0.0 0.6 28444 6192 ? Ssl 12:38 0:00 /usr/lib/menu-c
pi 693 0.0 0.0 0 0 ? Z 12:38 0:00 [sh]
pi 698 0.1 1.0 83532 10440 ? Ssl 12:38 0:00 /usr/lib/gvfs/g
root 701 0.2 0.9 59356 9192 ? Ssl 12:38 0:00 /usr/lib/udisks
pi 708 0.0 0.4 37160 4404 ? Ssl 12:38 0:00 /usr/lib/gvfs/g
pi 712 0.0 0.5 37108 4856 ? Ssl 12:38 0:00 /usr/lib/gvfs/g
pi 716 0.0 0.5 38680 5124 ? Ssl 12:38 0:00 /usr/lib/gvfs/g
pi 720 0.0 0.5 50784 4748 ? Ssl 12:38 0:00 /usr/lib/gvfs/g
pi 737 0.1 0.8 51152 7784 ? Sl 12:38 0:00 /usr/lib/gvfs/g
root 744 0.0 0.0 0 0 ? S 12:38 0:00 [jbd2/mmcblk0p5
root 745 0.0 0.0 0 0 ? I< 12:38 0:00 [ext4-rsv-conve
pi 753 25.6 20.0 688088 190556 ? Sl 12:38 0:43 /usr/lib/chromi
pi 775 0.1 3.5 209768 33464 ? S 12:38 0:00 /usr/lib/chromi
pi 777 0.0 0.9 209768 8684 ? S 12:38 0:00 /usr/lib/chromi
pi 788 1.0 1.9 46736 18800 ? Rl 12:38 0:01 lxterminal
pi 789 0.0 0.1 2360 1448 ? S 12:38 0:00 gnome-pty-helpe
pi 790 0.1 0.4 6112 4080 pts/0 Ss 12:38 0:00 bash
pi 908 0.9 6.1 338424 58324 ? Sl 12:38 0:01 /usr/lib/chromi
pi 910 7.3 8.8 397380 84264 ? Sl 12:38 0:11 /usr/lib/chromi
pi 936 5.1 9.1 396816 87292 ? Sl 12:38 0:08 /usr/lib/chromi
pi 1128 24.4 12.4 451180 118128 ? Sl 12:38 0:36 /usr/lib/chromi
pi 1144 12.5 11.7 422188 111580 ? Sl 12:38 0:18 /usr/lib/chromi
pi 1162 19.2 14.7 470092 140208 ? Sl 12:38 0:28 /usr/lib/chromi
pi 1213 0.0 0.3 7744 2984 pts/0 R+ 12:41 0:00 ps -aux

thanks,

0 Likes

#4

Sorry the first log was wrong forgot a -
below is Log:
pi@raspberrypi:~ $ node-red-log

14 Dec 12:37:46 - [info] Linux 4.14.52-v7+ arm LE
14 Dec 12:37:49 - [info] Loading palette nodes
14 Dpi@raspberrypi:~ $ node-red-log

14 Dec 12:37:46 - [info] Linux 4.14.52-v7+ arm LE
14 Dec 12:37:49 - [info] Loading palette nodes
14 Dec 12:38:02 - [info] Dashboard version 2.12.2 started at /ui
14 Dec 12:38:29 - [info] Settings file : /home/pi/.node-red/settings.js
14 Dec 12:38:29 - [info] User directory : /home/pi/.node-red
14 Dec 12:38:29 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
14 Dec 12:38:29 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
14 Dec 12:38:29 - [info] Server now running at http://127.0.0.1:1880/
14 Dec 12:38:29 - [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 Dec 12:38:29 - [info] Starting flows
14 Dec 12:38:29 - [info] Started flows
14 Dec 12:38:29 - [error] [arduino-board:ad9371f6.9b0b] port not found : /dev/ttyACM0
Stopping Node-RED graphical event wiring tool...
14 Dec 12:47:28 - [info] Stopping flows
14 Dpi@raspberrypi:~ $ node-red-log

14 Dec 12:37:46 - [info] Linux 4.14.52-v7+ arm LE
14 Dec 12:37:49 - [info] Loading palette nodes
14 Dec 12:38:02 - [info] Dashboard version 2.12.2 started at /ui
14 Dec 12:38:29 - [info] Settings file : /home/pi/.node-red/settings.js
14 Dec 12:38:29 - [info] User directory : /home/pi/.node-red
14 Dec 12:38:29 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
14 Dec 12:38:29 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
14 Dec 12:38:29 - [info] Server now running at http://127.0.0.1:1880/
14 Dec 12:38:29 - [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 Dec 12:38:29 - [info] Starting flows
14 Dec 12:38:29 - [info] Started flows
14 Dec 12:38:29 - [error] [arduino-board:ad9371f6.9b0b] port not found : /dev/ttyACM0
Stopping Node-RED graphical event wiring tool...
14 Dec 12:47:28 - [info] Stopping flows
14 Dec 12:47:28 - [info] Stopped flows
Stopped Node-RED graphical event wiring tool.
ec 12:47:28 - [info] Stopped flows
Stopped Node-RED graphical event wiring tool.
ec 12:38:02 - [info] Dashboard version 2.12.2 started at /ui
14 Dec 12:38:29 - [info] Settings file : /home/pi/.node-red/settings.js
14 Dec 12:38:29 - [info] User directory : /home/pi/.node-red
14 Dec 12:38:29 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
14 Dec 12:38:29 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
14 Dec 12:38:29 - [info] Server now running at http://127.0.0.1:1880/
14 Dec 12:38:29 - [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 Dec 12:38:29 - [info] Starting flows
14 Dec 12:38:29 - [info] Started flows
14 Dec 12:38:29 - [error] [arduino-board:ad9371f6.9b0b] port not found : /dev/ttyACM0
Stopping Node-RED graphical event wiring tool...
14 Dec 12:47:28 - [info] Stopping flows
14 Dec 12:47:28 - [info] Stopped flows
Stopped Node-RED graphical event wiring tool.

0 Likes

#5

Have a look in the browser developer console window and see if there are any errors (that's the browser console not a terminal). Open the browser console and force a full refresh of the page.

0 Likes