# Disable all - enable some - possible bug?

**URL:** <https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105>\
**Category:** General\
**Created:** [13 December 2022 06:35 UTC](https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105 "2022-12-13T06:35:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [13 December 2022 06:35 UTC](https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105/1 "2022-12-13T06:35:32Z")

</div>

I installed node-red-contrib-chatbot  
There are many nodes in this package.

No nodes were added to flows at this stage yet.  
I disabled them all, they disappear from palette as expected.

Enabled a couple of them - they do not appear in the palette.  
Closed the palette "manager" sidebar and reopened it  
Enabled some more nodes, they started to show up.

Build some flows with these nodes, working nicely.  
Restarted node-red (for other reasons).

The nodes were now "missing" in the flows (node-red started normally without error):

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

I cannot disable the nodes, nor enable others.  
I cannot remove the complete package because it ends up with an error "node in use"  
In the configuration tab there is nothing used/unused related to this package.

NR 3.0.2  
Debian 11  
node 16.18.1  
npm 8.19.2

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [13 December 2022 06:42 UTC](https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105/2 "2022-12-13T06:42:12Z")

</div>

How are you trying to enable and disable the nodes?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [13 December 2022 06:43 UTC](https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105/3 "2022-12-13T06:43:10Z")

</div>

Click the button, see the screenshot.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [13 December 2022 06:44 UTC](https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105/4 "2022-12-13T06:44:20Z")

</div>

Has double clicking the actual node and trying the `enable` button (bottom left) been tried?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [13 December 2022 06:46 UTC](https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105/5 "2022-12-13T06:46:59Z")

</div>

The nodes are "unknown". This is not relevant to the issue I am describing.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [13 December 2022 06:47 UTC](https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105/6 "2022-12-13T06:47:58Z")

</div>

Have you tried group/drag selecting all the nodes (visible on edit screen) and `deleting` them (delete button) `deploying` then opening the `config` and looking for the `config` node assiciated with those nodes?  
Delete it then remove it from the palette manager.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [13 December 2022 06:49 UTC](https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105/7 "2022-12-13T06:49:45Z")

</div>

I know how to fix it. I want to focus on the issue described, which, to me, appears to be an internal node-red issue.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [14 December 2022 20:21 UTC](https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105/8 "2022-12-14T20:21:34Z")

</div>

I think I can reproduce this issue.

Install node-red-contrib-chatbot, disable all nodes, enable some, they won't appear in the palette.  
Close the "palette panel", reopen it, enable some more, they show up.

Add some nodes to a flow, deploy.  
Restart nodered, nodes show up as unknown.

---

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [14 December 2022 20:42 UTC](https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105/9 "2022-12-14T20:42:22Z")

</div>

I hate to ask, but is this peculiar to `node-red-contrib-chatbot`, or does it happen with other packages containing multiple nodes?

---

<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:** [12 February 2023 20:42 UTC](https://discourse.nodered.org/t/disable-all-enable-some-possible-bug/72105/10 "2023-02-12T20:42:31Z")

</div>

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