# Node Red will not boot after updating to v 1.2.5

**URL:** <https://discourse.nodered.org/t/node-red-will-not-boot-after-updating-to-v-1-2-5/36530>\
**Category:** General\
**Created:** [25 November 2020 21:16 UTC](https://discourse.nodered.org/t/node-red-will-not-boot-after-updating-to-v-1-2-5/36530 "2020-11-25T21:16:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![BobW](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobw/32/32500_2.png) [@BobW](https://discourse.nodered.org/u/BobW)\
**Post date:** [25 November 2020 21:16 UTC](https://discourse.nodered.org/t/node-red-will-not-boot-after-updating-to-v-1-2-5/36530/1 "2020-11-25T21:16:54Z")

</div>

Last night I updated two Windows 10 PC to Node Red version 1.2.5. This morning, I tried to boot node red and it will not complete the process. The startup begins normally until the "Starting flows" routine begins. From then on, I get a continuous flow of error messages that does not stop indicating that none of the flows can be detected. This same condition exists on both Windows 10 PC. Prior to this update, Node Red started up correctly and all flows were present.

I would appreciate any suggestions on how to correct this problem.  
Regards, Bob W.

---

<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:** [25 November 2020 21:22 UTC](https://discourse.nodered.org/t/node-red-will-not-boot-after-updating-to-v-1-2-5/36530/2 "2020-11-25T21:22:08Z")

</div>

Post a text copy of your terminal (from the first message after launching node-red until a few errors have passed (use the Pause button or CTRL+C to stop the flow of constant messages)

---

<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:** [25 November 2020 21:24 UTC](https://discourse.nodered.org/t/node-red-will-not-boot-after-updating-to-v-1-2-5/36530/3 "2020-11-25T21:24:43Z")

</div>

PS, Node-red 1.2.6 has just been released (like 10min ago) - perhaps you might want to try upgrading once more before digging further?

---

<div class="post-metadata">

**Author:** ![BobW](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobw/32/32500_2.png) [@BobW](https://discourse.nodered.org/u/BobW)\
**Post date:** [25 November 2020 21:36 UTC](https://discourse.nodered.org/t/node-red-will-not-boot-after-updating-to-v-1-2-5/36530/4 "2020-11-25T21:36:35Z")

</div>

Thanks, Steve. I will try upgrading to 1.2.6 If nothing changes, I will post the data from the terminal.  
Bob W.

---

<div class="post-metadata">

**Author:** ![BobW](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobw/32/32500_2.png) [@BobW](https://discourse.nodered.org/u/BobW)\
**Post date:** [25 November 2020 21:48 UTC](https://discourse.nodered.org/t/node-red-will-not-boot-after-updating-to-v-1-2-5/36530/5 "2020-11-25T21:48:40Z")

</div>

Just tried upgrading to V 1.2.6 and I also reloaded nodejs v 12.18.4 and results are the same. Here is a partial terminal dump

# Welcome to Node-RED

25 Nov 16:37:22 - [info] Node-RED version: v1.2.6  
25 Nov 16:37:22 - [info] Node.js version: v14.15.1  
25 Nov 16:37:22 - [info] Windows\_NT 10.0.19042 x64 LE  
25 Nov 16:37:25 - [info] Loading palette nodes  
25 Nov 16:37:34 - [info] Dashboard version 2.23.4 started at /ui  
25 Nov 16:37:37 - [info] Settings file : \Users\kn4hh.node-red\settings.js  
25 Nov 16:37:37 - [info] Context store : 'default' [module=memory]  
25 Nov 16:37:37 - [info] User directory : \Users\kn4hh.node-red  
25 Nov 16:37:37 - [warn] Projects disabled : editorTheme.projects.enabled=false  
25 Nov 16:37:37 - [info] Flows file : \Users\kn4hh.node-red\flows\_KN4HH-FLEX-RADIO.json  
25 Nov 16:37:37 - [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.

25 Nov 16:37:37 - [info] Starting flows  
25 Nov 16:37:37 - [info] Started flows  
25 Nov 16:37:37 - [info] [udp in:64b3a52.78ace5c] udp listener at 0.0.0.0:4996  
25 Nov 16:37:37 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
25 Nov 16:37:37 - [error] [function:35ed2a47.bffeee] TypeError: Cannot read property 'substr' of undefined  
25 Nov 16:37:38 - [error] [function:35ed2a47.bffeee] TypeError: Cannot read property 'substr' of undefined  
25 Nov 16:37:38 - [error] [function:35ed2a47.bffeee] TypeError: Cannot read property 'substr' of undefined  
25 Nov 16:37:38 - [error] [http request:GetSPEINFO] Error: Invalid URI "http:///SPEAMP/INFO"

Thanks for having a look.

Bob W.

---

<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:** [25 November 2020 21:54 UTC](https://discourse.nodered.org/t/node-red-will-not-boot-after-updating-to-v-1-2-5/36530/6 "2020-11-25T21:54:00Z")

</div>

> [@BobW](#):
>
> [error] [function:35ed2a47.bffeee] TypeError: Cannot read property 'substr' of undefined

So these are just something in your flow. If i was to guess, you have an inject set to repeat firing a function node with some misconfiguration / bug

OR worse, you have created a loop that is running node-red to crash point.

Your editor is running - `http://127.0.0.1:1880/` - open it up

> [@BobW](#):
>
> 25 Nov 16:37:37 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)

If the editor is un-responsive (or node-red is crashing) then start node-red in safe mode  
`node-red --safe`

Use the search (CTRL+F) and find `35ed2a47.bffeee` or `substr`

then fix your flow & deploy.

---

<div class="post-metadata">

**Author:** ![BobW](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobw/32/32500_2.png) [@BobW](https://discourse.nodered.org/u/BobW)\
**Post date:** [26 November 2020 01:32 UTC](https://discourse.nodered.org/t/node-red-will-not-boot-after-updating-to-v-1-2-5/36530/7 "2020-11-26T01:32:59Z")

</div>

Thank you, Steve. I booted up in safe mode and had access to the workspace. I then redeployed the flow that was incorrect and loaded Dashboard. I was then able to normally load Node Red. All seems to be fine now.

I very much appreciate the assistance.

Regards,  
Bob W.

> ![](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.nodered.org/steve-mcl/45/4826_2.png "Steve-Mcl") | [Steve-Mcl](https://discourse.nodered.org/u/steve-mcl)  
> 25 November |
> 
> - | - |

> ![](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.nodered.org/bobw/40/32500_2.png)BobW:
> 
> [error] [function:35ed2a47.bffeee] TypeError: Cannot read property 'substr' of undefined

So these are just something in your flow. If i was to guess, you have an inject set to repeat firing a function node with some misconfiguration / bug

OR worse, you have created a loop that is running node-red to crash point.

Your editor is running - `http://127.0.0.1:1880/` - open it up

> ![](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.nodered.org/bobw/40/32500_2.png)BobW:
> 
> 25 Nov 16:37:37 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)

If the editor is un-responsive (or node-red is crashing) then start node-red in safe mode  
`node-red --safe`

Use the search (CTRL+F) and find `35ed2a47.bffeee` or `substr`

then fix your flow & deploy.

---

<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:** [10 December 2020 01:33 UTC](https://discourse.nodered.org/t/node-red-will-not-boot-after-updating-to-v-1-2-5/36530/8 "2020-12-10T01:33:04Z")

</div>

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