# Deploy button not responding

**URL:** <https://discourse.nodered.org/t/deploy-button-not-responding/35606>\
**Category:** General\
**Created:** [9 November 2020 14:36 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606 "2020-11-09T14:36:50Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![fly-robin-fly](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@fly-robin-fly](https://discourse.nodered.org/u/fly-robin-fly)\
**Post date:** [9 November 2020 14:36 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/1 "2020-11-09T14:36:50Z")

</div>

Hey Guys,

I have imported a template node from a website using the import function. If I now want to change or delete this node, the deploy button does not respond.

The problem is somewhere in red.min.js

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

How do i fix this issue?  
Thanks!

Best regards  
Robin

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [10 November 2020 11:03 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/2 "2020-11-10T11:03:08Z")

</div>

Try starting NR in safe mode and see if you can then delete the node.

```auto
node-red --safe

```

---

<div class="post-metadata">

**Author:** ![fly-robin-fly](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@fly-robin-fly](https://discourse.nodered.org/u/fly-robin-fly)\
**Post date:** [12 November 2020 13:45 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/3 "2020-11-12T13:45:59Z")

</div>

Hello,

sadly this did not help either.

I even tried to delete the flow manually in the json file. This worked but if I add a new flow, I get the same issue again.

---

<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:** [12 November 2020 14:10 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/4 "2020-11-12T14:10:38Z")

</div>

> [@fly-robin-fly](#):
>
> if I add a new flow, I get the same issue again.

Is that the case if you add any flow, or is it a particular node or set of nodes that gives the problem?

If you can't do anything then is this new and if so have you updated something or installed new nodes or anything?

Start node-red in a terminal and post the startup log here please. Copy/paste it when pasting use the `</>` button at the top of the forum text window and paste it in.

---

<div class="post-metadata">

**Author:** ![fly-robin-fly](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@fly-robin-fly](https://discourse.nodered.org/u/fly-robin-fly)\
**Post date:** [12 November 2020 15:13 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/5 "2020-11-12T15:13:47Z")

</div>

> Is that the case if you add any flow, or is it a particular node or set of nodes that gives the problem?

I got this problem after importing a script with a JSON file from the internet. After importing it, I got a new flow with a template node in it. After that, I tried a few things and suddenly I could not deploy after changing anything in that flow. Adding and removing new flows worked perfectly. Then I removed the "problem flow" manually out of the JSON file. First I thought it worked perfectly but then if I added a new empty flow, I got the same old problem. I could not deploy. So I restored the old version with the "problem flow" again.  
After restoring the old version with the "problem flow" I can add and remove flows except for the "problem flow"

```auto
12 Nov 14:09:34 - [info] 

Willkommen bei Node-RED!
===================

12 Nov 14:09:34 - [info] Node-RED Version: v1.2.3
12 Nov 14:09:34 - [info] Node.js Version: v10.15.2
12 Nov 14:09:34 - [info] Linux 4.19.75-v7l+ arm LE
12 Nov 14:09:36 - [info] Paletten-Nodes werden geladen
12 Nov 14:09:41 - [info] Dashboard version 2.23.4 started at /ui
12 Nov 14:09:42 - [info] Einstellungsdatei: /home/pi/.node-red/settings.js
12 Nov 14:09:42 - [info] Kontextspeicher: 'default' [module=memory]
12 Nov 14:09:42 - [info] Benutzerverzeichnis: /home/pi/.node-red
12 Nov 14:09:42 - [warn] Projekte inaktiviert: editorTheme.projects.enabled=false
12 Nov 14:09:42 - [info] Flow-Datei: /home/pi/.node-red/flows_raspberrypi.json
12 Nov 14:09:42 - [info] Server wird jetzt auf http://127.0.0.1:1880/ ausgeführt.
12 Nov 14:09:42 - [warn] 

---------------------------------------------------------------------
Die Datei mit den Datenflowberechtigungsnachweisen wird mit einem vom System generierten Schlüssel verschlüsselt.

Wenn der vom System generierte Schlüssel aus irgendeinem Grund verloren geht, werden Ihre Berechtigungsnachweise
Die Datei kann nicht wiederhergestellt werden. Sie müssen sie löschen und erneut eingeben.
Ihre Berechtigungsnachweise.

Sie sollten Ihren eigenen Schlüssel mit Hilfe der Option 'credentialSecret' in
Ihre Einstellungsdatei. Node-RED wird dann Ihre Berechtigungsnachweise erneut verschlüsseln.
Datei mit dem ausgewählten Schlüssel beim nächsten Deployen einer Änderung verwenden.
---------------------------------------------------------------------

12 Nov 14:09:43 - [info] Flows starten
12 Nov 14:09:59 - [info] Flows gestartet
12 Nov 14:09:59 - [info] [mqtt-broker:Broker] Verbindung zum Broker mqtt://127.0.0.1:1883 hergestellt.

```

---

<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:** [12 November 2020 15:43 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/6 "2020-11-12T15:43:06Z")

</div>

The only problem I can see with the log is that you are using a two year old version of nodejs which has had numerous fixes since then. The latest release of 10.x was 10.23 a few weeks ago. I suggest upgrading that to the latest 10.x or even better to 12.x.

What OS are you running on and how did you install node-red/nodejs to get such an old version?

---

<div class="post-metadata">

**Author:** ![fly-robin-fly](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@fly-robin-fly](https://discourse.nodered.org/u/fly-robin-fly)\
**Post date:** [12 November 2020 15:55 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/7 "2020-11-12T15:55:29Z")

</div>

oh okay node-red is running on a raspberry pi 4 with raspbian.

I can´t remember how I installed node-red/nodejs but I will update Nodejs.

---

<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:** [12 November 2020 16:02 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/8 "2020-11-12T16:02:09Z")

</div>

> [@fly-robin-fly](#):
>
> running on a raspberry pi 4 with raspbian.

All you should need to do is what I guess you didn't do initially which is to run the install/upgrade script from the node-red docs. [Running on Raspberry Pi : Node-RED](https://nodered.org/docs/getting-started/raspberrypi)

---

<div class="post-metadata">

**Author:** ![fly-robin-fly](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@fly-robin-fly](https://discourse.nodered.org/u/fly-robin-fly)\
**Post date:** [12 November 2020 16:07 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/9 "2020-11-12T16:07:38Z")

</div>

@Colin I have now:

```auto
12 Nov 17:17:11 - [info] Node-RED Version: v1.2.3
12 Nov 17:17:11 - [info] Node.js Version: v14.15.0
12 Nov 17:17:11 - [info] Linux 4.19.75-v7l+ arm LE

```

But sadly this did not fix my problem

> All you should need to do is what I guess you didn't do initially which is to run the install/upgrade script from the node-red docs. [Running on Raspberry Pi : Node-RED](https://nodered.org/docs/getting-started/raspberrypi)

Node-red was running more than a year perfectly so I think it was everything right.

---

<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:** [12 November 2020 16:24 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/10 "2020-11-12T16:24:02Z")

</div>

Clear the browser cache and reload the page. If that doesn't fix it then post the problem flow here and I will take a look.

---

<div class="post-metadata">

**Author:** ![fly-robin-fly](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@fly-robin-fly](https://discourse.nodered.org/u/fly-robin-fly)\
**Post date:** [12 November 2020 17:00 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/11 "2020-11-12T17:00:46Z")

</div>

> Clear the browser cache and reload the page. If that doesn't fix it then post the problem flow here and I will take a look.

Did not work

```auto
[
    {
        "id": "8fbf7029.588de",
        "type": "tab",
        "label": "test",
        "disabled": true,
        "info": ""
    },
    {
        "id": "5778320b.bba91c",
        "type": "ui_template",
        "z": "8fbf7029.588de",
        "group": "53e6c4b8.1b0f7c",
        "name": "",
        "order": 2,
        "width": "6",
        "height": "6",
        "format": "<div ng-bind-html=\"msg.payload | trusted\"></div>",
        "storeOutMessages": true,
        "fwdInMessages": true,
        "templateScope": "local",
        "x": 790,
        "y": 480,
        "wires": [
            []
        ]
    },
    {
        "id": "53e6c4b8.1b0f7c",
        "type": "ui_group",
        "z": "dfe4ec36.0a5a5",
        "name": "Default",
        "tab": "",
        "order": 1,
        "disp": true,
        "width": "6"
    }
]

```

---

<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:** [12 November 2020 17:12 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/12 "2020-11-12T17:12:28Z")

</div>

I don't think the hangup is anything to do with that flow.  
If you start node-red in a terminal so you see the log you posted earlier, and then make it lockup what do you see in the terminal?

Also try opening a terminal and running `top` and then make it lockup. What do you see there? Is anything hogging the processor for example?

---

<div class="post-metadata">

**Author:** ![fly-robin-fly](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@fly-robin-fly](https://discourse.nodered.org/u/fly-robin-fly)\
**Post date:** [12 November 2020 18:06 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/13 "2020-11-12T18:06:48Z")

</div>

@Colin if found an old data backup. I lost some changes but it is okay.  
Now it´s working fine.

Thank you for your support.

---

<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:** [12 November 2020 18:29 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/14 "2020-11-12T18:29:00Z")

</div>

> [@fly-robin-fly](#):
>
> The problem is somewhere in red.min.js

This is a client side issue that (imo) should not happen.

Do you have the original code you imported that caused the issue?

I would like to see if it is repeatable.

---

<div class="post-metadata">

**Author:** ![fly-robin-fly](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@fly-robin-fly](https://discourse.nodered.org/u/fly-robin-fly)\
**Post date:** [12 November 2020 18:45 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/15 "2020-11-12T18:45:26Z")

</div>

Hello @Steve-Mcl,

I think the issue should be in there  
[flows\_raspberrypi\_Backup.json](https://discourse.nodered.org/uploads/short-url/y71pZ00KS2feVVXQkduKc8orV67.json) (167.9 KB)

I don´t have the code I imported separately

---

<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:** [12 November 2020 19:59 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/16 "2020-11-12T19:59:08Z")

</div>

So your flow does indeed trip up the client side code.

I am running with non minimised client code, the error occurs here...

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

I am certain this can be contained in code but - how to handle this situation - is a completely different question.

This ui\_group in your flow has a z index that doesn't exist in the flow

```json
{"id":"53e6c4b8.1b0f7c","type":"ui_group","z":"dfe4ec36.0a5a5","name":"Default","tab":"","order":1,"disp":true,"width":"6"},

```

I think it might be worth tagging Nick (@knolleary) to have a look see what he makes of this.

INFO: `tab` is null after returning from `RED.nodes.subflow()` causing undefined error when accessing `name` property.

STEPS I TOOK:

1. imported your flow through the import dialog.
2. deleted all the OPC nodes (I wasnt about to install that!)
3. tried to deploy - it would not.
4. with devtools opened, operated the deploy button once more & debugger stopped on the line highlighted in the screenshot above

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [14 November 2020 14:19 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/17 "2020-11-14T14:19:20Z")

</div>

Fix pushed - will release 1.2.4 soon.

---

<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 January 2021 14:19 UTC](https://discourse.nodered.org/t/deploy-button-not-responding/35606/18 "2021-01-13T14:19:23Z")

</div>

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