# Node Red Crashed On Me

**URL:** <https://discourse.nodered.org/t/node-red-crashed-on-me/75182>\
**Category:** General\
**Created:** [14 February 2023 14:34 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182 "2023-02-14T14:34:35Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kimber](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@Kimber](https://discourse.nodered.org/u/Kimber)\
**Post date:** [14 February 2023 14:34 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/1 "2023-02-14T14:34:35Z")

</div>

Hey Folks.  
I'm just learning how to use Node Red.  
I installed the Nodes for InfluDB2. I tried to configure a InfluxDB2 Write and send one simple REAL tag to it. It allowed me to deploy it, then I lost connection to Node-Red. When I go to start it now, it says  
[error] TypeError: Cannot Create Property 'data' on number '-36.34872055053711'

That s the value of the tag I was trying to send to InfluxDB.

I need to know now how to get Node Red running again so I can fix the issue.

Thank you for any advice...

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [14 February 2023 14:43 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/2 "2023-02-14T14:43:15Z")

</div>

There are commad line options  
[https://nodered.org/docs/getting-started/local#command-line-usage](https://nodered.org/docs/getting-started/local#command-line-usage)  
try  
`node-red --safe`

---

<div class="post-metadata">

**Author:** ![Kimber](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@Kimber](https://discourse.nodered.org/u/Kimber)\
**Post date:** [14 February 2023 14:45 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/3 "2023-02-14T14:45:55Z")

</div>

Thank you!!!  
That is what I needed.

---

<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:** [14 February 2023 17:23 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/4 "2023-02-14T17:23:43Z")

</div>

> [@Kimber](#):
>
> I installed the Nodes for InfluDB2

I didn't know there was one specifically for influxdb2.

---

<div class="post-metadata">

**Author:** ![Kimber](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@Kimber](https://discourse.nodered.org/u/Kimber)\
**Post date:** [15 February 2023 11:10 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/5 "2023-02-15T11:10:10Z")

</div>

Colin.  
It's called Stackhero InfluxDB-v2 "WRITE" and "QUERY"  
I have not been able to get them to work yet. However, its likely something I'm doing wrong.

node-red-contrib-stackhero-influxdb-v2

---

<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:** [15 February 2023 14:01 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/6 "2023-02-15T14:01:14Z")

</div>

That node has multiple unaddressed issues on its github page. It appears to be unsupported. Why do you not use the node that most people use, node-red-contrib-influxdb?

---

<div class="post-metadata">

**Author:** ![Kimber](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@Kimber](https://discourse.nodered.org/u/Kimber)\
**Post date:** [15 February 2023 14:14 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/7 "2023-02-15T14:14:09Z")

</div>

I will try it. I didn't realize the difference before I started using it. I'm using InfluxDB2 so I figured I needed the Influx-V2 Nodes.  
Can I write to the InfluxDB2 with the influxdb node?

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [15 February 2023 14:17 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/8 "2023-02-15T14:17:38Z")

</div>

> [@Kimber](#):
>
> Can I write to the InfluxDB2 with the influxdb node?

Yes you can, there are also examples on the nodes page:

> **[node-red-contrib-influxdb](https://flows.nodered.org/node/node-red-contrib-influxdb)**
>
> Node-RED nodes to save and query data from an influxdb time series database

---

<div class="post-metadata">

**Author:** ![Kimber](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@Kimber](https://discourse.nodered.org/u/Kimber)\
**Post date:** [15 February 2023 14:37 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/9 "2023-02-15T14:37:54Z")

</div>

Im still getting issues.

msg:error  
"HttpError: organization name " AVF" Not Found"

(AVF is the name of the organization I set up when I installed the InfluxDB software.)

Im simply trying to move a single Integer Value to the DB.

Iv been trying to get through this for a couple days now, so far, its not working for me.

---

<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:** [15 February 2023 14:56 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/10 "2023-02-15T14:56:57Z")

</div>

Show us the data you are feeding to the node, and how you have configured it.

---

<div class="post-metadata">

**Author:** ![Kimber](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@Kimber](https://discourse.nodered.org/u/Kimber)\
**Post date:** [15 February 2023 16:33 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/11 "2023-02-15T16:33:38Z")

</div>

Here is what I'm trying to do. Move the FreezerF2 Value to the InfluxDB  
Thank you for your assistance.

 ![NodeHelp1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/7/176a5219fc4b0ff5121d19bae62f66139f5c07da.png)  
 ![NodeHelp2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/7/f787b966f9deee754573674ab6b83b00cb33905f.png)  
 ![NodeHelp3](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/e/1e69487e10914c5d9c106709ea0c80d2386ce09f.png)

---

<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:** [15 February 2023 16:39 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/12 "2023-02-15T16:39:51Z")

</div>

Show us how you know there is an organisation with that name. I haven't used influxdb v2 but this link suggests various ways to see that. [View organizations in InfluxDB | InfluxDB OSS 2.6 Documentation](https://docs.influxdata.com/influxdb/v2.6/organizations/view-orgs/)

---

<div class="post-metadata">

**Author:** ![Kimber](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@Kimber](https://discourse.nodered.org/u/Kimber)\
**Post date:** [15 February 2023 16:54 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/13 "2023-02-15T16:54:03Z")

</div>

I went to my InfuxDB UI and I was able to see that I indeed did have it wrong.  
I had it as Apple Valley Foods, It should have been Apple Valley Foods Organization.

I fixed it. Now the error is gone. I'm not getting any errors now! However, I do not see data in my InfluxDB. I think I should see it automatically when looking at my Data Explorer Page for the Bucket in question.

---

<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:** [16 February 2023 09:10 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/14 "2023-02-16T09:10:08Z")

</div>

You posted earlier

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

Is that still what you have? If so then it is not correct.

---

<div class="post-metadata">

**Author:** ![Kimber](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@Kimber](https://discourse.nodered.org/u/Kimber)\
**Post date:** [16 February 2023 11:46 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/15 "2023-02-16T11:46:08Z")

</div>

I have tried as well.  
msg.measurment as I could gather from the Help window on this instruction.  
I have also tried leaving it blank. I still don't get my data in my InfluxDb  
I'm guessing it's still not right.  
Thank you for any guidance or advice you can / have given

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [16 February 2023 13:24 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/16 "2023-02-16T13:24:26Z")

</div>

> [@Kimber](#):
>
> I have tried as well.  
> msg.measurment as I could gather from the Help window on this instruction.  
> I have also tried leaving it blank. I still don't get my data in my InfluxDb  
> I'm guessing it's still not right.

In the measurement field you put the name you want to give the measurement, NOT the Node-Red property containing the data.

---

<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:** [16 February 2023 13:28 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/17 "2023-02-16T13:28:13Z")

</div>

> [@Kimber](#):
>
> I have also tried leaving it blank.

When you left it blank, you have to put the measurement name in msg.measurement. Since I can see nothing in your flow doing that then, as @ghayne says, you should put the measurement name for your data in the node.

---

<div class="post-metadata">

**Author:** ![Kimber](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@Kimber](https://discourse.nodered.org/u/Kimber)\
**Post date:** [16 February 2023 13:40 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/18 "2023-02-16T13:40:58Z")

</div>

Yes!!! It worked....  
I see now. The Measurment was leading me astray, amongst other issues you have folks have so kindly helped me work through. The data is in my InfluxD UI now and working as I wanted. I had thought the NAME field was the Data coming in. Now I see, that is the Name of the NODE and the Measurment is the name of the data being passed.

Also, I had not set up the query properly in Influx but I have straightened that out now as well.

I'm an Industrial Electrician and PLC programmer in Industrial equipment over 20 years. Writing ladder logic and doing HMI applications. I've been trying to learn these newer methods now to keep myself from getting to old fashioned. I'm also trying learning javascript as I go.

The help from this forum has been great, especially to a new, rather ignorant user of the software. I really appreciate it.

Thank you

---

<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:** [17 April 2023 13:41 UTC](https://discourse.nodered.org/t/node-red-crashed-on-me/75182/19 "2023-04-17T13:41:33Z")

</div>

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