# Ui not displaying anything

**URL:** <https://discourse.nodered.org/t/ui-not-displaying-anything/26984>\
**Category:** Dashboard\
**Created:** [20 May 2020 09:47 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984 "2020-05-20T09:47:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discourse.nodered.org/u/Chenko)\
**Post date:** [20 May 2020 09:47 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/1 "2020-05-20T09:47:50Z")

</div>

Hello good morning.  
My UI stoped display today and only displays connection lost at the bottom left of the screen. I have lost of dashboard nodes in my flow but still cant get anything in the ui

 ![Screenshot_20200520-103907](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/0/b023773970ba64fb9e492e223f224a6e7dfd9114.png)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [20 May 2020 10:44 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/2 "2020-05-20T10:44:04Z")

</div>

Connection lost means that node-red is probably stopped. Have you checked it it is still active?  
Also make sure to refresh your browser.

---

<div class="post-metadata">

**Author:** ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discourse.nodered.org/u/Chenko)\
**Post date:** [20 May 2020 11:01 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/3 "2020-05-20T11:01:59Z")

</div>

Yes node red is still active. I have refreshed the browser and even try using a different one but i got the same problem.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [20 May 2020 11:10 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/4 "2020-05-20T11:10:09Z")

</div>

What happens if you stop/restart NR?

---

<div class="post-metadata">

**Author:** ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discourse.nodered.org/u/Chenko)\
**Post date:** [20 May 2020 13:08 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/5 "2020-05-20T13:08:26Z")

</div>

nothing changed. i just did that now.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [20 May 2020 13:11 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/6 "2020-05-20T13:11:40Z")

</div>

Does it work on the node-red machine if you open [http://localhost:1880/ui/](http://localhost:1880/ui/) ?

What is the IP of your node-red machine? Is it DHCP? Perhaps it has a new IP address?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 May 2020 13:14 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/7 "2020-05-20T13:14:41Z")

</div>

Have you looked at the startup log from node-red to see if there is anything there. Depending on how you installed it you may be able to get that by running  
`node-red-stop`  
`node-red-start`  
Possibly worth posting it here.  
Have you installed another dashboard possibly?

---

<div class="post-metadata">

**Author:** ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discourse.nodered.org/u/Chenko)\
**Post date:** [20 May 2020 16:04 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/8 "2020-05-20T16:04:17Z")

</div>

its the same thing in localhost. blank screen with connection lost.

---

<div class="post-metadata">

**Author:** ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discourse.nodered.org/u/Chenko)\
**Post date:** [20 May 2020 16:05 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/9 "2020-05-20T16:05:20Z")

</div>

i did this too but nothing changed

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [20 May 2020 16:18 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/10 "2020-05-20T16:18:40Z")

</div>

Did you make any changes just before this happened?

Please export your flow and attach it to a reply ([read this first](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506))

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 May 2020 16:30 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/11 "2020-05-20T16:30:28Z")

</div>

> [@Chenko](#):
>
> i did this too but nothing changed

Did what? Also you haven't posted the log.

---

<div class="post-metadata">

**Author:** ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discourse.nodered.org/u/Chenko)\
**Post date:** [20 May 2020 17:01 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/12 "2020-05-20T17:01:00Z")

</div>

here is the log

$ node-red-log

- /usr/lib/node\_modules/node-red/node\_modules/@node-red/registry/lib/loader.js
- /usr/lib/node\_modules/node-red/node\_modules/@node-red/registry/lib/index.js
- /usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/nodes/index.js
- /usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/index.js
- /usr/lib/node\_modules/node-red/lib/red.js
- /usr/lib/node\_modules/node-red/red.js  
20 May 14:18:48 - [warn] ------------------------------------------------------  
20 May 14:18:48 - [info] Settings file : /home/pi/.node-red/settings.js  
20 May 14:18:48 - [info] Context store : 'default' [module=memory]  
20 May 14:18:48 - [info] User directory : /home/pi/.node-red  
20 May 14:18:48 - [warn] Projects disabled : editorTheme.projects.enabled=false  
20 May 14:18:48 - [info] Flows file : /home/pi/.node-red/flows\_raspberrypi.json  
20 May 14:18:48 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
20 May 14:18:48 - [warn]

* * *

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 May 2020 19:51 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/13 "2020-05-20T19:51:35Z")

</div>

We need to see the beginning. Please run  
`node-red-stop`  
`node-red-start`  
and paste it all here.

---

<div class="post-metadata">

**Author:** ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discourse.nodered.org/u/Chenko)\
**Post date:** [21 May 2020 06:09 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/14 "2020-05-21T06:09:36Z")

</div>

pi@raspberrypi:~ $ node-red-stop

Stop Node-RED

Use node-red-start to start Node-RED again

pi@raspberrypi:~ $ node-red-start

Start Node-RED

Once Node-RED has started, point a browser at [http://192.168.8.102:1880](http://192.168.8.102: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](http://flows.nodered.org)

# Starting as a systemd service. 21 May 07:06:15 - [info] Welcome to Node-RED

## 21 May 07:06:15 - [info] Node-RED version: v1.0.6 21 May 07:06:15 - [info] Node.js version: v10.19.0 21 May 07:06:15 - [info] Linux 4.19.97-v7+ arm LE 21 May 07:06:19 - [info] Loading palette nodes 21 May 07:06:25 - [info] Dashboard version 2.22.1 started at /ui 21 May 07:06:26 - [info] Settings file : /home/pi/.node-red/settings.js 21 May 07:06:26 - [info] Context store : 'default' [module=memory] 21 May 07:06:26 - [info] User directory : /home/pi/.node-red 21 May 07:06:26 - [warn] Projects disabled : editorTheme.projects.enabled=false 21 May 07:06:26 - [info] Flows file : /home/pi/.node-red/flows\_raspberrypi.json 21 May 07:06:26 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/) 21 May 07:06:26 - [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.

21 May 07:06:26 - [info] Starting flows  
21 May 07:06:26 - [warn] [telegram sender:Your bot] bot not initialized.  
21 May 07:06:26 - [warn] [telegram command:chenko] bot not initialized.  
21 May 07:06:26 - [warn] [telegram sender:Send response] bot not initialized.  
21 May 07:06:26 - [warn] [telegram command:a79b749a.278748] bot not initialized.  
21 May 07:06:27 - [warn] [telegram receiver:c4ce3ebf.5ae48] bot not initialized  
21 May 07:06:27 - [warn] [telegram sender:Send response] bot not initialized.  
21 May 07:06:31 - [info] Started flows  
21 May 07:06:31 - [error] [sqlitedb:568a490c.da4d38] failed to open /home/pi/sqlite/diagnostic  
21 May 07:06:31 - [error] [sqlitedb:e9514121.111fd] failed to open /home/pi/dbs/iot.db  
21 May 07:06:31 - [info] [mqtt-broker:locahost] Connection failed to broker: note1@mqtt://localhost:1883

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [21 May 2020 07:20 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/15 "2020-05-21T07:20:41Z")

</div>

1.Is the node-red editor working ok?  
2. Do you expect all those errors and warnings in the log? If not then it might be worth sorting those in case the problem is a side effect of one of those.  
3. If you run `top` in a terminal is it showing that node red is using lots of processor?

---

<div class="post-metadata">

**Author:** ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discourse.nodered.org/u/Chenko)\
**Post date:** [21 May 2020 08:15 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/16 "2020-05-21T08:15:24Z")

</div>

Yes the node red editor is working very well with no issues  
I dont understand the second point  
Wen i do top i dont get anything about node red.  
I have even reinstalled node red the same thing. I went on as to even flashing my pi back to a raspbian but still the same errors.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [21 May 2020 11:39 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/17 "2020-05-21T11:39:29Z")

</div>

> [@Chenko](#):
>
> I dont understand the second point

What @Colin was asking it there are numorus [warn] and two [error] messages in the startup log and they may be part of the problem.

1. go into your flow and disable the telegram node and sqlite node - down in the lower left of every node is a enable/disable button. So disable those nodes.  
 ![Screen Shot 2020-05-21 at 7.36.22 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/3/733822dd346675e02355595694ff9cb8c4902230.png)
2. the first image you posted looks like it you were accessing the dashboard from a phone. What if yo access it from the NR editor?  
 ![Screen Shot 2020-05-21 at 7.38.07 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/c/cc40564071d3814a3712263f79727004c143db57.png)

---

<div class="post-metadata">

**Author:** ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discourse.nodered.org/u/Chenko)\
**Post date:** [21 May 2020 23:07 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/18 "2020-05-21T23:07:08Z")

</div>

I disabled the nodes and also access the ui using the second means and dere was no different

---

<div class="post-metadata">

**Author:** ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discourse.nodered.org/u/Chenko)\
**Post date:** [21 May 2020 23:22 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/19 "2020-05-21T23:22:38Z")

</div>

Hello  
Thanks very much to every one who help i finally opened a new flow added a ui node dere configured it, then restarted node red and boom the ui was there

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [4 June 2020 23:22 UTC](https://discourse.nodered.org/t/ui-not-displaying-anything/26984/20 "2020-06-04T23:22:42Z")

</div>

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