# Deploy button not working

**URL:** <https://discourse.nodered.org/t/deploy-button-not-working/2972>\
**Category:** General\
**Created:** [8 September 2018 21:56 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972 "2018-09-08T21:56:00Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![emspe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emspe/32/5421_2.png) [@emspe](https://discourse.nodered.org/u/emspe)\
**Post date:** [15 February 2019 12:02 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/21 "2019-02-15T12:02:51Z")

</div>

Hello @knolleary , Thank you for the instruction.

When I remove the unnecessary flows and nodes, my deploy button is not working again when i include a new inject & debug node to check, kind of stuck. Always red. I can click it but no out put.No errors.

After following the above discussion I thought that it may work after deleting the log file. If it is not kindly correct me I want to start a fresh node red where my deploy button is working. I'm not sure how to do that.

---

<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:** [15 February 2019 12:17 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/22 "2019-02-15T12:17:56Z")

</div>

Are there any errors in the browser's javascript console?

---

<div class="post-metadata">

**Author:** ![emspe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emspe/32/5421_2.png) [@emspe](https://discourse.nodered.org/u/emspe)\
**Post date:** [15 February 2019 12:37 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/23 "2019-02-15T12:37:54Z")

</div>

I just checked it aanndd yess.. there some errors as below 🙄

 ![screenshot21](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/e/eccefb26235eefdfd197c673baf460e19cb9a305.png)

---

<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:** [15 February 2019 12:40 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/24 "2019-02-15T12:40:29Z")

</div>

> [@emspe](#):
>
> there some errors as below

Your browser hasn't got the Node-RED editor loaded - so those errors are nothing to do with the deploy button.

I meant, once you are in the state where the deploy button is red and clicking it does nothing, _then_ look at the browser console for an errors that happen _when you click the deploy button_.

---

<div class="post-metadata">

**Author:** ![emspe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emspe/32/5421_2.png) [@emspe](https://discourse.nodered.org/u/emspe)\
**Post date:** [15 February 2019 12:53 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/25 "2019-02-15T12:53:45Z")

</div>

I'm sorry now I got it. And it looks like below.

 ![screenshoN1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/4/4bf6db4ae8bb4ff2352fb9b287778fda79267381.png)

This is what I test \>

Top flow - tested inject / debug node when they are with the other flow which loaded initially(flow1) and they worked. Out put in the debug panel is the top flows'.

Bottom Flow - I deleted the initially loaded working flow (flow1) and added a new inject/debug node. And then clicked the deploy button but it is not working. Then I obtained browser's javascript console.

 ![screenshoN21](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/1b07d87ea9a1807b3bf3a80d2d07e861f104a98c.png)

---

<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:** [15 February 2019 12:55 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/26 "2019-02-15T12:55:28Z")

</div>

Which of those errors in the browser log appeared when you clicked the deploy button?

---

<div class="post-metadata">

**Author:** ![emspe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emspe/32/5421_2.png) [@emspe](https://discourse.nodered.org/u/emspe)\
**Post date:** [15 February 2019 13:03 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/27 "2019-02-15T13:03:06Z")

</div>

I'm sorry now I think this is the correct one and in the same window I run the Ctrl+Shift+J. The bottom one is the error updating all the time when i click the Deploy button.  
Here I have clicked the deploy button 17 times.

 ![screenshoN21](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/9/9bf464c24da21b02403675fc7dea53bd2c89b975.png)

---

<div class="post-metadata">

**Author:** ![emspe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emspe/32/5421_2.png) [@emspe](https://discourse.nodered.org/u/emspe)\
**Post date:** [15 February 2019 13:04 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/28 "2019-02-15T13:04:51Z")

</div>

My log in the console looks like this

```auto
---------------------------------------------------------------------
15 Feb 18:11:47 - [info] Starting flows
15 Feb 18:11:47 - [info] [worldmap:dabcad55.a2d0e] started at /worldmap
15 Feb 18:11:47 - [info] Started flows

```

---

<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:** [15 February 2019 13:20 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/29 "2019-02-15T13:20:14Z")

</div>

Can you open the configuration nodes sidebar (selection the Configuration nodes option from the drop-down menu) and show us a screenshot that shows all of the nodes listed under there?

---

<div class="post-metadata">

**Author:** ![emspe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emspe/32/5421_2.png) [@emspe](https://discourse.nodered.org/u/emspe)\
**Post date:** [15 February 2019 13:30 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/30 "2019-02-15T13:30:30Z")

</div>

It looks like this. I obtained 2 screenshots until the scroll end.

 ![screenshoN2111](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/9/9fe1e656b343edbc07a28b326838997dec56f52a.png)

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

---

<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:** [15 February 2019 13:32 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/31 "2019-02-15T13:32:21Z")

</div>

So it looks like you have lots of unused `ui_group` nodes. I'm not sure why they would be causing the error, but I suggest you delete them if you aren't using them. Double click on each one and click the delete button in its edit dialog.

---

<div class="post-metadata">

**Author:** ![emspe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emspe/32/5421_2.png) [@emspe](https://discourse.nodered.org/u/emspe)\
**Post date:** [15 February 2019 13:40 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/32 "2019-02-15T13:40:24Z")

</div>

Actually I deleted all of them before as mentioned in the above discussion and again restarted the nodered. As I mentioned above the deploy button worked with flow 1 which loads initially and I think these nodes belong to that flow1.

Look, now I deleted them again and clicked the deploy button. But still the same 😥

hmm.. well.. is there any way to start a fresh-node red ? I mean with working deploy button ? 🙄

 ![screenshoN211114](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/16941d6028983bf24057da24195c566ff2cc24af.png)

---

<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:** [15 February 2019 13:50 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/33 "2019-02-15T13:50:26Z")

</div>

> [@emspe](#):
>
> Actually I deleted all of them before as mentioned in the above discussion and again restarted the nodered.

... so why had they reappeared when you got those screenshots?

No matter - ideally we would debug this properly as clearly you have go into a state you should not have.

When node-red starts, it logs the name of the flows file it is using. If you want to fully reset things, delete that file and restart node-red.

In fact, please email me a copy of that file so I can have a look to see what state it is in - send to [nick.oleary@gmail.com](mailto:nick.oleary@gmail.com)

---

<div class="post-metadata">

**Author:** ![aihysp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aihysp/32/2278_2.png) [@aihysp](https://discourse.nodered.org/u/aihysp)\
**Post date:** [15 February 2019 14:03 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/34 "2019-02-15T14:03:05Z")

</div>

not sure about where it is in the RPI i am runing widowns  
maybe this whuld help

> **[Changing where Node-RED stores data](https://nodered.org/blog/2015/02/25/changing-where-node-red-stores-data)**
>
> Find out more on the blog

---

<div class="post-metadata">

**Author:** ![emspe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emspe/32/5421_2.png) [@emspe](https://discourse.nodered.org/u/emspe)\
**Post date:** [15 February 2019 14:18 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/35 "2019-02-15T14:18:57Z")

</div>

Yeh ... it is confusing 😥 though i deleted them again they appear with the initial flow (flow1) where the deploy button is working. And when I delete that flow and started to test simple inject/debug \> deploy button not working. Like a loop this situation happens to me ☹

Thank you very much for the support and spending time to help me. 😌

I'm sorry what do you mean by **"delete that file"** which file ? I mean I have tested by deleting he flow. But What is meant by "file" ? Is there any other place to delete ?

Again I'm sorry , **copy of that file means** the flow (export of the flow) or what ? Kindly clarify it to me I will send the required files...

Thank you very much again for taking time to help me.

---

<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:** [15 February 2019 14:20 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/36 "2019-02-15T14:20:51Z")

</div>

> [@knolleary](#):
>
> When node-red starts, it logs the name of the flows file it is using. If you want to fully reset things, delete that file and restart node-red.

@emspe Node-RED stores your flow in a file on disk. As I said above, it logs the full name of that file when it starts. That is the file I would like you to send me and then delete (or move) so that when Node-RED restarts it does not load it.

---

<div class="post-metadata">

**Author:** ![emspe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emspe/32/5421_2.png) [@emspe](https://discourse.nodered.org/u/emspe)\
**Post date:** [15 February 2019 14:25 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/37 "2019-02-15T14:25:05Z")

</div>

Hello @aihysp , hmm yeh... im working with rasspberrypi. Thank you very much for sharing this. I will go through this.

---

<div class="post-metadata">

**Author:** ![emspe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emspe/32/5421_2.png) [@emspe](https://discourse.nodered.org/u/emspe)\
**Post date:** [15 February 2019 14:30 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/38 "2019-02-15T14:30:59Z")

</div>

well... i got it . Thank you for clarifying it. I think this is it 😃

```auto
15 Feb 19:38:20 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.j 

```

I will send this.

Thank you very much again.

---

<div class="post-metadata">

**Author:** ![emspe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emspe/32/5421_2.png) [@emspe](https://discourse.nodered.org/u/emspe)\
**Post date:** [15 February 2019 15:29 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/39 "2019-02-15T15:29:27Z")

</div>

Hello @knolleary,

Ooops.. finally after moving that affected json file now... my node red is working... A huge relief after 5h + 😪

Also I have sent you that affected file.

Thank you very much again for the support and taking your time to help me. 😌

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [3 February 2021 08:07 UTC](https://discourse.nodered.org/t/deploy-button-not-working/2972/41 "2021-02-03T08:07:26Z")

</div>



[Previous page](https://discourse.nodered.org/t/deploy-button-not-working/2972.md?page=1)
