# Importing flows with 300+ dashboard nodes

**URL:** <https://discourse.nodered.org/t/importing-flows-with-300-dashboard-nodes/80562>\
**Category:** General\
**Created:** [14 August 2023 14:17 UTC](https://discourse.nodered.org/t/importing-flows-with-300-dashboard-nodes/80562 "2023-08-14T14:17:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [14 August 2023 14:17 UTC](https://discourse.nodered.org/t/importing-flows-with-300-dashboard-nodes/80562/1 "2023-08-14T14:17:04Z")

</div>

I am moving my big heat management application to bullseye (finally). After I installed node-red I loaded my backup into node-red. This works ok. But then I have to click each dashboard node in oder to deploy without an error.  
This is quite annoying having 300+ dashboard nodes. Is there a way to do this automatically?  
Any help appreciated.

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [14 August 2023 15:37 UTC](https://discourse.nodered.org/t/importing-flows-with-300-dashboard-nodes/80562/2 "2023-08-14T15:37:51Z")

</div>

Did you install all the required nodes for your flows ?

Can you tell us what errors you get ?

---

<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:** [14 August 2023 15:39 UTC](https://discourse.nodered.org/t/importing-flows-with-300-dashboard-nodes/80562/3 "2023-08-14T15:39:21Z")

</div>

Surely not!?!

If you install dashboard on new node-red then stop, simply placed the original flows.json file in `.node-red` folder & fired it back up.

What was your full process?

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [14 August 2023 18:31 UTC](https://discourse.nodered.org/t/importing-flows-with-300-dashboard-nodes/80562/4 "2023-08-14T18:31:35Z")

</div>

to smcgann99: yes, you are most probably right!  
I installed dashboard after I imported the flows into node-red.  
In mean time I have completely reinstalled my RPI and I will try it with all required nodes before copying my flows.

To Steve: I actually imported the flows from my backup and did not copy it into the node.red folder. Does this make a difference?

---

<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:** [14 August 2023 18:56 UTC](https://discourse.nodered.org/t/importing-flows-with-300-dashboard-nodes/80562/5 "2023-08-14T18:56:41Z")

</div>

> [@juntiedt](#):
>
> I actually imported the flows from my backup and did not copy it into the node.red folder. Does this make a difference?

Yes (and no).

When importing flows, any new properties added to a node (i.e newer dashboard capabilities) will cause some changes to your flows that could _potentially_ cause you issues (though we (aka Dave) are very careful not to do this - but some node authors may not be so careful.

On the other hand, just placing your flows file in the runtime will permit it to load without any mangling of the JSON.

The downside is that any new properties required might not get an automatic upgrade (as it could during the web based import). Ordinarily, a well behaved node wont care and eventually (as you open each node and edit it) the new props will get added to your flow.

So, yes and no all at the same time.

Personally, I would put the flows file on the .node-red folder and see what happens. It is MOST LIKELY it will work perfectly first time (since we all try to keep things compatible)

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [14 August 2023 19:01 UTC](https://discourse.nodered.org/t/importing-flows-with-300-dashboard-nodes/80562/6 "2023-08-14T19:01:38Z")

</div>

Many thanks!  
Feedback will come tomorrow.

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [15 August 2023 14:37 UTC](https://discourse.nodered.org/t/importing-flows-with-300-dashboard-nodes/80562/7 "2023-08-15T14:37:49Z")

</div>

Hi Steve,  
yes it worked but there is still 1 problem left. There are 2 spacers that are not ok. Please see picture.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/4/e4544af8bb412163d750c95bc090f8b1c3bc0d2c.png)

how can I identify the spacers in the flows?  
what happens if I delete them?

---

<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:** [15 August 2023 15:00 UTC](https://discourse.nodered.org/t/importing-flows-with-300-dashboard-nodes/80562/8 "2023-08-15T15:00:06Z")

</div>

The spacer issue was a known issue for a while in older dashboard. Just delete them from the config and re-deploy from the front end.

PS: use the search facility to find invalid nodes (press the button on the deploy warning) or look in the config nodes panel on the right next to the debug panel

---

<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:** [14 October 2023 15:00 UTC](https://discourse.nodered.org/t/importing-flows-with-300-dashboard-nodes/80562/9 "2023-10-14T15:00:39Z")

</div>

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