# New error on dashboard graphs

**URL:** <https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175>\
**Category:** Emoncms\
**Tags:** graph\
**Created:** [15 October 2019 05:54 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175 "2019-10-15T05:54:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 05:54 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/1 "2019-10-15T05:54:11Z")

</div>

New error on dashboard.

When trying to use a bargraph I get this error

 ![image](https://community.openenergymonitor.org/uploads/default/original/2X/a/afaa7b8dfcd15ccef008089e44e90edc3f8dbb64.png)

If I clik ok I get this:

 ![image](https://community.openenergymonitor.org/uploads/default/original/2X/7/70a0f91d6df473e383ff0e19d900495e8d059d1c.png)

The bargraph in the lower right corner is missing data and the frame…

Any idea??

Henrik

---

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 06:18 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/2 "2019-10-15T06:18:18Z")

</div>

I investigated at little bit more.  
the feed stareted yesterday at 4:45PM (UNIX timestamp: 1571064300)  
My account settings:  
 ![image](https://community.openenergymonitor.org/uploads/default/original/2X/3/3566160f9a4fe7d36634fe9ff838ad04b6f0de8b.png)

If have the interval set to “d”

 ![image](https://community.openenergymonitor.org/uploads/default/original/2X/d/dcfc334238e9b40be40d4fe90a5cc9295315ca24.png)

I get the error.

If I change d to:  
86400 (24 h =error)  
43200 (12 h=error)  
39600 (11 h=error)  
36000 (10 h= NO error)  
32400 (9 h= NO error)  
28800 (8 h= NO error)  
25200 (7 h= NO error)  
21600 (6 h= NO error)

---

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [15 October 2019 08:22 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/3 "2019-10-15T08:22:26Z")

</div>

Hello @Boye what feed engine are you using for the degree\_day\_Day feed? What does it look like if you open it in the graph view?

---

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 09:59 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/4 "2019-10-15T09:59:17Z")

</div>

In Graph view

 ![image](https://community.openenergymonitor.org/uploads/default/original/2X/0/0db4d9b0c72ed9a30dbeec2309b1139f98402983.png)

It’s a normal power to kWh feed

 ![image](https://community.openenergymonitor.org/uploads/default/original/2X/b/ba3368aa93a933a8f6e0456326225343a4396d93.png)

---

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [15 October 2019 10:09 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/5 "2019-10-15T10:09:16Z")

</div>

Looks like it must be an issue resulting from not having enough data in the feed, e.g smaller time periods are ok as there are at least 10h between the present and the start of the feed. Looks like better error catching is required for this case.

---

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 10:11 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/6 "2019-10-15T10:11:43Z")

</div>

you are saying when I have a full 24 Hour data set the error goes away… That is also my conclusion just thought you wold be interested in error feedback…😀

---

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [15 October 2019 11:10 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/7 "2019-10-15T11:10:21Z")

</div>

Thanks @Boye I’ve pushed a fix to this to the emoncms master branch.

---

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 11:49 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/8 "2019-10-15T11:49:43Z")

</div>

I will do an update when I get home from Work… later tonight…

---

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 13:42 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/9 "2019-10-15T13:42:37Z")

</div>

@TrystanLea just did update to emoncms 10.1.8…  
changed the interval to “d” (day)  
the error still persists, sorry no cigar…😢

![image](https://community.openenergymonitor.org/uploads/default/original/2X/4/438df38989d08fe8299744636ad55d0325b2348b.png)

 ![19](https://community.openenergymonitor.org/uploads/default/original/2X/c/c207f30169830a9e69ea5a2217b78ef3df0eebc6.png)

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [15 October 2019 14:07 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/10 "2019-10-15T14:07:09Z")

</div>

> [@Boye](#):
>
> just did update to emoncms 10.1.8

Are you on `master` or `stable`?

---

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 18:07 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/11 "2019-10-15T18:07:07Z")

</div>

master

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [15 October 2019 19:13 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/12 "2019-10-15T19:13:53Z")

</div>

Flush browser cache, restart emoncms etc?

---

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 19:16 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/13 "2019-10-15T19:16:12Z")

</div>

Update, reboot and new browser… error still there

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [15 October 2019 19:17 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/14 "2019-10-15T19:17:06Z")

</div>

One for @TrystanLea then 😁

---

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 19:17 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/15 "2019-10-15T19:17:42Z")

</div>

sorry had a 2nd look it’s in \*stable

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [15 October 2019 19:20 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/16 "2019-10-15T19:20:33Z")

</div>

Ah that makes more sense.

You happy how to swap?

---

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 19:21 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/17 "2019-10-15T19:21:17Z")

</div>

what do u mean?? swap??

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [15 October 2019 19:27 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/18 "2019-10-15T19:27:49Z")

</div>

To the other branch.

SSH in and cd to `/var/www/emoncms` (or the root emoncms folder)

Then

```auto
git fetch --all --prune

```

Then you need to switch to another branch, in this case the **master** branch. If first you do

```auto
git branch

```

You will see stable with an asterisk highlighted.  
Now

```auto
git checkout master

```

If you now do a `git branch` you should see master in green with and asterisk.

You are now on master branch.

```auto
git checkout stable

```

will take you back.

**[edit]**  
You need to then do a

```auto
git pull

```

to bring in the most recent version of **master**

---

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 19:28 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/19 "2019-10-15T19:28:12Z")

</div>

just to recap:  
Raspberry pi 3B (emonBase)  
Node-red injects feed every 5 minuts. (my solar panel sim and a degree Day calculator.  
log to feed 5 min interval started 14. okt at 4:45PM UINIX timestamp 1571064300  
power to kWh 5min interval

in graph all looks ok  
when I do a baregraph with interval set to “d”  
The error shows.

 ![image](https://community.openenergymonitor.org/uploads/default/original/2X/0/0fda69d9ce05bdc759b4c6d08e05096b45477a96.png)

---

<div class="post-metadata">

**Author:** ![Boye](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/boye/32/3490_2.png) [@Boye](https://community.openenergymonitor.org/u/Boye)\
**Post date:** [15 October 2019 19:37 UTC](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175/20 "2019-10-15T19:37:16Z")

</div>

ok now I om Master the error is gone.  
Have to see what happens when we past midnight… see if the data is correct…

[Next page](https://community.openenergymonitor.org/t/new-error-on-dashboard-graphs/12175.md?page=2)
