# Node Red Dont work anymore pls Help

**URL:** <https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348>\
**Category:** General\
**Created:** [9 March 2023 14:13 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348 "2023-03-09T14:13:06Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![blackops](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@blackops](https://discourse.nodered.org/u/blackops)\
**Post date:** [9 March 2023 14:13 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/1 "2023-03-09T14:13:06Z")

</div>

My Note Red Web interface dont work.

**canpi@canpi:~ $ node-red-log**

**9 Mar 15:07:48 - [info] Node-RED version: v3.0.2**  
**9 Mar 15:07:48 - [info] Node.js version: v16.19.1**  
**9 Mar 15:07:48 - [info] Linux 5.15.84-v7+ arm LE**  
**9 Mar 15:07:53 - [info] Loading palette nodes**  
**9 Mar 15:07:58 - [info] Dashboard version 3.3.1 started at /ui**  
**9 Mar 15:07:59 - [info] Settings file : /home/canpi/.node-red/settings.js**  
**9 Mar 15:07:59 - [info] Context store : 'default' [module=memory]**  
**9 Mar 15:07:59 - [info] User directory : /home/canpi/.node-red**  
**9 Mar 15:07:59 - [warn] Projects disabled : editorTheme.projects.enabled=false**  
**9 Mar 15:07:59 - [info] Flows file : /home/canpi/.node-red/flows.json**  
**9 Mar 15:07:59 - [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.**  
**---------------------------------------------------------------------**  
**9 Mar 15:07:59 - [warn] Encrypted credentials not found**  
**9 Mar 15:07:59 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)**  
**9 Mar 15:07:59 - [info] Starting flows**  
**error ENOENT: no such file or directory, access**  
**9 Mar 15:07:59 - [info] Started flows**

---

<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:** [9 March 2023 14:36 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/2 "2023-03-09T14:36:47Z")

</div>

Well that is a new one, I have never seen that before. What does this command show?  
`ls -al /home/canpi/.node-red`

Also what happens when you try to show the editor.

---

<div class="post-metadata">

**Author:** ![blackops](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@blackops](https://discourse.nodered.org/u/blackops)\
**Post date:** [9 March 2023 14:40 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/3 "2023-03-09T14:40:33Z")

</div>

**canpi@canpi:~ $ ls -al /home/canpi/.node-red**  
**total 520**  
**drwxr-xr-x 4 canpi canpi 4096 Mar 9 13:31 .**  
**drwxr-xr-x 6 canpi canpi 4096 Mar 8 14:07 ..**  
**-rw-r--r-- 1 canpi canpi 32488 Mar 8 14:22 .config.nodes.json**  
**-rw-r--r-- 1 canpi canpi 31865 Mar 8 14:22 .config.nodes.json.backup**  
**-rw-r--r-- 1 canpi canpi 95 Mar 1 15:44 .config.runtime.json**  
**-rw-r--r-- 1 canpi canpi 544 Mar 1 17:39 .config.users.json**  
**-rw-r--r-- 1 canpi canpi 543 Mar 1 17:39 .config.users.json.backup**  
**-rw-r--r-- 1 canpi canpi 64786 Mar 9 13:23 flows.json**  
**-rw-r--r-- 1 canpi canpi 64786 Mar 9 13:31 .flows.json.backup**  
**drwxr-xr-x 3 canpi canpi 4096 Mar 1 15:43 lib**  
**drwxr-xr-x 290 canpi canpi 12288 Mar 8 14:22 node\_modules**  
**-rw-r--r-- 1 canpi canpi 654 Mar 8 14:22 package.json**  
**-rw-r--r-- 1 canpi canpi 266761 Mar 9 14:59 package-lock.json**  
**-rw-r--r-- 1 canpi canpi 22614 Mar 1 15:43 settings.js**

If I want to display nodered in the browser, it loads the whole time without changing

---

<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:** [9 March 2023 15:01 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/4 "2023-03-09T15:01:02Z")

</div>

> [@blackops](#):
>
> it loads the whole time without changing

I don't know what you mean by 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:** [9 March 2023 15:05 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/5 "2023-03-09T15:05:32Z")

</div>

Oh, you mean it just says loading.

What did you do at the time it stopped working? Did you install a new node type for example?

---

<div class="post-metadata">

**Author:** ![blackops](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@blackops](https://discourse.nodered.org/u/blackops)\
**Post date:** [9 March 2023 16:00 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/6 "2023-03-09T16:00:34Z")

</div>

I added a change note and then pressed deploy and then the network got disrupted and now the nodered interface doesn't work anymore

---

<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:** [9 March 2023 16:03 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/7 "2023-03-09T16:03:14Z")

</div>

The obvious solution is to restore from your last backup, but presumably that is not an option or you would have done it already.  
Start node-red in safe mode using  
`node-red --safe`  
That starts node red but does not start the flows. That will tell you if the flows file is seriously damaged.  
You can then edit the flows and it wills start running when you deploy.

---

<div class="post-metadata">

**Author:** ![blackops](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@blackops](https://discourse.nodered.org/u/blackops)\
**Post date:** [9 March 2023 16:17 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/8 "2023-03-09T16:17:44Z")

</div>

In the meantime I tried to reinstall Node Red and now I get this error "Install Note-RED Core" dont reinstall

 ![Unbenannt](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/6/665970ff58ab4fa067cc74d8d7b0eeab6bb96dec.png)  
 ![Unbenannt](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/2/7293725f4e12c0a5bbd0d83a4f022dd9067e5def.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:** [9 March 2023 16:21 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/9 "2023-03-09T16:21:24Z")

</div>

When posting such output please copy/paste the text rather than screenshot. So we can copy bits out of it if necessary.

Post the log that it tells you about. When posting use the `</>` button at the top of the forum entry window to stop it messing with the format.

Edit: Before doing that run  
`sudo apt update && sudo apt full-upgrade`  
to make sure your system is up to date. Check that does not show any errors.

---

<div class="post-metadata">

**Author:** ![blackops](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@blackops](https://discourse.nodered.org/u/blackops)\
**Post date:** [9 March 2023 16:27 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/10 "2023-03-09T16:27:02Z")

</div>

OK, I understand. I updated and upgraded and did the installation again. still have the same problem

---

<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:** [9 March 2023 16:27 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/11 "2023-03-09T16:27:19Z")

</div>

Post the log then.

---

<div class="post-metadata">

**Author:** ![blackops](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@blackops](https://discourse.nodered.org/u/blackops)\
**Post date:** [9 March 2023 16:32 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/12 "2023-03-09T16:32:07Z")

</div>

[nodered-install.log](https://discourse.nodered.org/uploads/short-url/fWqOS3hU1lEQkANgHZk0LOpwmwq.log) (12.7 KB)

```auto
9 Mar 15:47:36 - [info] Context store : 'default' [module=memory]
9 Mar 15:47:36 - [info] User directory : /home/canpi/.node-red
9 Mar 15:47:36 - [warn] Projects disabled : editorTheme.projects.enabled=false
9 Mar 15:47:36 - [info] Flows file : /home/canpi/.node-red/flows.json
9 Mar 15:47: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.
---------------------------------------------------------------------
9 Mar 15:47:37 - [warn] Encrypted credentials not found
9 Mar 15:47:37 - [info] Server now running at http://127.0.0.1:1880/
9 Mar 15:47:37 - [info] Starting flows
error ENOENT: no such file or directory, access
9 Mar 15:47:37 - [info] Started flows
Stopping Node-RED graphical event wiring tool...
9 Mar 17:02:34 - [info] Stopping flows
9 Mar 17:02:34 - [info] Stopped flows
nodered.service: Succeeded.
Stopped Node-RED graphical event wiring tool.
nodered.service: Consumed 5min 55.228s CPU time.

```

---

<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:** [9 March 2023 16:38 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/13 "2023-03-09T16:38:24Z")

</div>

I suspect the SD card is damaged. Start again with a new card. Always use good quality cards from a reputable supplier.

---

<div class="post-metadata">

**Author:** ![blackops](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@blackops](https://discourse.nodered.org/u/blackops)\
**Post date:** [9 March 2023 16:39 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/14 "2023-03-09T16:39:46Z")

</div>

This is very strange because the SD card is from SanDisk and I just bought it new and set it up last week.  
Can I backup the flows that I have programmed? if yes how ? would reformat the sd card

---

<div class="post-metadata">

**Author:** ![blackops](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@blackops](https://discourse.nodered.org/u/blackops)\
**Post date:** [9 March 2023 16:55 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/15 "2023-03-09T16:55:12Z")

</div>

> [@Colin](#):
>
> node-red --safe

Okay I just restarted the Pi and then the installation restarted and now it worked. I started node red in save mode and now the interface loads again and works. Big thank you !!!

---

<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:** [9 March 2023 17:00 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/17 "2023-03-09T17:00:46Z")

</div>

To backup your flows in case you get into trouble again, backup the contents of the .node-red directory except for node\_modules. If you have to restore, then after restoring the folder, go into .node-red and run `npm install`. That will install any extra nodes you need.

---

<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:** [23 March 2023 17:01 UTC](https://discourse.nodered.org/t/node-red-dont-work-anymore-pls-help/76348/18 "2023-03-23T17:01:26Z")

</div>

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