# Node-red crash-Unable to open

**URL:** <https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623>\
**Category:** General\
**Created:** [28 September 2021 14:11 UTC](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623 "2021-09-28T14:11:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnupriya](https://avatars.discourse-cdn.com/v4/letter/v/e9c0ed/32.png) [@vishnupriya](https://discourse.nodered.org/u/vishnupriya)\
**Post date:** [28 September 2021 14:11 UTC](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623/1 "2021-09-28T14:11:13Z")

</div>

when I'm trying to open my node red with command prompt im getting messages like "28 Sep 19:38:02 - [error] [postgrestor:83fb247497bf5955] Error: timeout exceeded when trying to connect",  
Please help me fix this, because I'm already working on a flow and I don't want to lose that.

---

<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:** [28 September 2021 14:34 UTC](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623/2 "2021-09-28T14:34:24Z")

</div>

You shouldn't lose the flow, but no doubt you have it backed up anyway. You should be backing up the .node-red folder except for the node\_modules folder (which is large).

Which node are you using? There are a number of postgres nodes. Probably node-red-contrib-something.  
Do you mean node-red completely crashes and you can't get into the editor? If so then that is a bug in the node, nothing you do should crash node-red.  
If it is crashing then start node-red using the command  
`node-red --safe`  
which will start the editor but not the flows, so you can edit the config or remove that node. The flows will start when you deploy. If you remove the node you may also need to remove a configuration node associated with it. To check that go the menu option Configuration Nodes, click Unused and you can select and delete it there.

---

<div class="post-metadata">

**Author:** ![vishnupriya](https://avatars.discourse-cdn.com/v4/letter/v/e9c0ed/32.png) [@vishnupriya](https://discourse.nodered.org/u/vishnupriya)\
**Post date:** [28 September 2021 19:29 UTC](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623/3 "2021-09-28T19:29:28Z")

</div>

Thanks for your reply,  
I'm even unable to open my node-red, I 'm attaching a screenshot of how it appears when I type 'node-red' on command prompt.

 ![Screenshot (122)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/3/230d9cfb1ca75c50f555cbbfa3917734e49c1675.png)  
Please look in to it.

---

<div class="post-metadata">

**Author:** ![vishnupriya](https://avatars.discourse-cdn.com/v4/letter/v/e9c0ed/32.png) [@vishnupriya](https://discourse.nodered.org/u/vishnupriya)\
**Post date:** [28 September 2021 19:35 UTC](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623/4 "2021-09-28T19:35:26Z")

</div>

Yes , I tried with 'node-red--safe', it opened, and its working.

---

<div class="post-metadata">

**Author:** ![vishnupriya](https://avatars.discourse-cdn.com/v4/letter/v/e9c0ed/32.png) [@vishnupriya](https://discourse.nodered.org/u/vishnupriya)\
**Post date:** [28 September 2021 19:44 UTC](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623/5 "2021-09-28T19:44:18Z")

</div>

I've a doubt more, Can you please help me with that?  
I'm new to Node-red and I'm trying to insert some dynamic data from mqtt to my pgadmin database [Name of database = test, Name of table = demo]  
I'm getting the output as in the picture, but its not getting inserted to my table. Where am I going wrong?  
This is my flow and output

 ![Screenshot (127)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/f/9f81f97c0dbbd6dd142b776f62ec3771ee7b67c0.png)  
Template node is:  
 ![Screenshot (124)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/2/420cbe923efc10cb0e2dad8fcd1daabd4a230688.png)

---

<div class="post-metadata">

**Author:** ![vishnupriya](https://avatars.discourse-cdn.com/v4/letter/v/e9c0ed/32.png) [@vishnupriya](https://discourse.nodered.org/u/vishnupriya)\
**Post date:** [28 September 2021 19:45 UTC](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623/6 "2021-09-28T19:45:29Z")

</div>

Function node:

 ![Screenshot (125)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/0/20f45c2a0da5d7d5c94139baff3c5462e1c3683b.png)

Postgrestor node:

 ![Screenshot (126)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/2/7266b6be1a2f9fa9a5ff84ffdbd36bbeb992f22f.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:** [28 September 2021 19:48 UTC](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623/7 "2021-09-28T19:48:59Z")

</div>

Please start a new thread with an appropriate title so that hopefully someone who knows about the subject.  
However, if you want to post function node contents and template code please copy/paste rather than screenshot. See this post for how to post flows and code - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

<div class="post-metadata">

**Author:** ![vishnupriya](https://avatars.discourse-cdn.com/v4/letter/v/e9c0ed/32.png) [@vishnupriya](https://discourse.nodered.org/u/vishnupriya)\
**Post date:** [29 September 2021 04:32 UTC](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623/8 "2021-09-29T04:32:02Z")

</div>

OK, Will do that. Anyways thankyou for helping out.

---

<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:** [13 October 2021 04:32 UTC](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623/9 "2021-10-13T04:32:41Z")

</div>

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