# Dashboard gone blank after upgrade

**URL:** <https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542>\
**Category:** Dashboard\
**Created:** [10 October 2019 11:03 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542 "2019-10-10T11:03:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [10 October 2019 11:03 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/1 "2019-10-10T11:03:55Z")

</div>

Hi all!

After upgrading node-red my dashboard is loading just a blank page. Interestingly, the UI-page loads and works fine. I have read other threads here and tried the following:

1. flushing the cache
2. using another browser
3. running it in incognito mode
4. hitting F12 during startup. Here it seems that all is loading well except for "comms" which stays on "pending" and does not load anything

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/3/3d1784d4fed914c4ec396e35c6ddf65f38cb6f24.png)

Any ideas what could be done?

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [10 October 2019 12:00 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/2 "2019-10-10T12:00:16Z")

</div>

what version of nodejs node-red and dashboard are you using?

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [10 October 2019 13:06 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/3 "2019-10-10T13:06:12Z")

</div>

I am using node-red version 0.20.5 and dashboard 2.17.0

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [10 October 2019 13:40 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/4 "2019-10-10T13:40:11Z")

</div>

and the version of nodejs?

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [11 October 2019 00:08 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/5 "2019-10-11T00:08:33Z")

</div>

Nodejs version is v10.16.0

---

<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:** [11 October 2019 10:18 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/6 "2019-10-11T10:18:25Z")

</div>

You said you upgraded node-red but the version you specify is not the latest. How did you upgrade it? Also what OS are you running?

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [11 October 2019 10:25 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/7 "2019-10-11T10:25:08Z")

</div>

@Colin, thanks for chiming in. I have node-red installed on a Raspberry Pi (Linux RaspiCNXHome 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l). The upgrade was done on the dashboard (palette) and node-red version 0.20.5 seems to be the latest which is being offered.

I upgraded yesterday the dashboard from dashboard 2.17.0 to .1 but the problem remains the same

---

<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:** [11 October 2019 10:30 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/8 "2019-10-11T10:30:54Z")

</div>

How did you install node-red? To upgrade node-red you can use the script provided in the docs for running on a Pi.  
That will not necessarily fix whatever the problem is, but will at least make sure you are up to date.

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [11 October 2019 10:33 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/9 "2019-10-11T10:33:17Z")

</div>

Thanks Colin. I installed it from some description I have found here, but it is half a year ago and do not remember the details. Will see in the docs now on how to upgrade with the script and report back

---

<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:** [11 October 2019 10:34 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/10 "2019-10-11T10:34:42Z")

</div>

Make sure you have your flows file backed up, but not doubt you already do anyway.

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [11 October 2019 11:06 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/11 "2019-10-11T11:06:09Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/72e4919d41f39bbdeddccac4016ace83399f2dd5.png)

I have updated now as you can see. Node-red is now v 1.01. No change. Dashboard is still blank.

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [11 October 2019 11:33 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/12 "2019-10-11T11:33:54Z")

</div>

I have a backup of the entire SD-card in the Raspberry Pi and wondering if it will be easy enough to restore. Well, for right now I am running out of options and don´t know how to get the dashboard back

---

<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:** [11 October 2019 12:40 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/14 "2019-10-11T12:40:54Z")

</div>

I thought you were going to use the recommended update script for the pi  
[https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi)

Also please use copy/paste wherever possible rather than screenshot.

---

<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:** [11 October 2019 12:54 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/15 "2019-10-11T12:54:36Z")

</div>

Also have a look in the browser console and see if there is anything suspicious there.

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [12 October 2019 00:53 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/16 "2019-10-12T00:53:07Z")

</div>

I did use something recommended for updates, not for a fresh install:

[https://nodered.org/docs/getting-started/local#upgrading-node-red](https://nodered.org/docs/getting-started/local#upgrading-node-red)

I had a look in the browser console and it is still the "comms" file which is not loading. This is suspicious, I would say but I don´t know what needs to be done so it will load correctly.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/8d221a452f0aed79276edc5fc8805507cc019705.png)

---

<div class="post-metadata">

**Author:** ![bohtho](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bohtho/32/6153_2.png) [@bohtho](https://discourse.nodered.org/u/bohtho)\
**Post date:** [12 October 2019 07:28 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/17 "2019-10-12T07:28:14Z")

</div>

I’m by no means an expert, but had the same issue with latest dashboard on node-red 0.20, and had to update my nodejs and npm to get to update node-red itself (old npm wouldn’t work). So then I had to rebuild all the old node\_modules too or else they wouldn’t all work. If you don’t have errors in the debug window in node-red it might not be it though.

Also I had to redo the configuration on several dashboard components after dashboard update.

Also check whether you upgraded node-red with the same user you previously ran node-red as.

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [14 October 2019 01:52 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/18 "2019-10-14T01:52:09Z")

</div>

If you say that you have had the same error, that means also "comms" wasn´t loading?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [14 October 2019 07:48 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/19 "2019-10-14T07:48:06Z")

</div>

comms is a websocket - it doesn't actually load.

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [14 October 2019 08:57 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/20 "2019-10-14T08:57:26Z")

</div>

uhmmm.... so what I am seeing in the console above (see screenshot) that "comms" is pending is normal?

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [15 October 2019 22:20 UTC](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542/21 "2019-10-15T22:20:29Z")

</div>

In my logs of the Raspberry it says the following

```auto
Oct 16 04:56:28 RaspiCNXHome bash[468]: [+] 0.2.197 16-10-2019 04:56:28 AM [CMD-NAME] 94:65:2D:2C:43:EC OnePlus 3T Unknown
Oct 16 04:56:28 RaspiCNXHome bash[468]: [+] 0.2.197 16-10-2019 04:56:28 AM [CMD-MQTT] cnx/monitor/raspi_monitor/oneplus { ... confidence : 10
Oct 16 04:56:34 RaspiCNXHome Node-RED[373]: 16 Oct 04:56:34 - [red] Uncaught Exception:
Oct 16 04:56:34 RaspiCNXHome Node-RED[373]: 16 Oct 04:56:34 - TypeError: Cannot read property 'warn' of undefined
Oct 16 04:56:34 RaspiCNXHome Node-RED[373]: at /home/pi/.node-red/node_modules/node-red-contrib-mdashboard/nodes/ui_base.js:93:29
Oct 16 04:56:34 RaspiCNXHome Node-RED[373]: at /usr/lib/node_modules/node-red/node_modules/express/lib/response.js:434:22
Oct 16 04:56:34 RaspiCNXHome Node-RED[373]: at SendStream.onerror (/usr/lib/node_modules/node-red/node_modules/express/lib/response.js:1044:5)
Oct 16 04:56:34 RaspiCNXHome Node-RED[373]: at SendStream.emit (events.js:198:13)
Oct 16 04:56:34 RaspiCNXHome Node-RED[373]: at SendStream.error (/usr/lib/node_modules/node-red/node_modules/send/index.js:270:17)
Oct 16 04:56:34 RaspiCNXHome Node-RED[373]: at SendStream.onStatError (/usr/lib/node_modules/node-red/node_modules/send/index.js:421:12)
Oct 16 04:56:34 RaspiCNXHome Node-RED[373]: at onstat (/usr/lib/node_modules/node-red/node_modules/send/index.js:726:26)
Oct 16 04:56:34 RaspiCNXHome Node-RED[373]: at FSReqWrap.oncomplete (fs.js:153:21)
Oct 16 04:56:40 RaspiCNXHome systemd[1]: nodered.service: Main process exited, code=exited, status=1/FAILURE
Oct 16 04:56:40 RaspiCNXHome systemd[1]: nodered.service: Unit entered failed state.
Oct 16 04:56:40 RaspiCNXHome systemd[1]: nodered.service: Failed with result 'exit-code'.
Oct 16 04:56:40 RaspiCNXHome systemd[1]: nodered.service: Service hold-off time over, scheduling restart.
Oct 16 04:56:40 RaspiCNXHome systemd[1]: Stopped Node-RED graphical event wiring tool.
Oct 16 04:56:40 RaspiCNXHome systemd[1]: Started Node-RED graphical event wiring tool.

```

Any ideas what this could be?

[Next page](https://discourse.nodered.org/t/dashboard-gone-blank-after-upgrade/16542.md?page=2)
