# Uibuilder rename folder

**URL:** <https://discourse.nodered.org/t/uibuilder-rename-folder/64357>\
**Category:** Dashboard\
**Tags:** uibuilder\
**Created:** [25 June 2022 12:15 UTC](https://discourse.nodered.org/t/uibuilder-rename-folder/64357 "2022-06-25T12:15:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Post date:** [25 June 2022 12:15 UTC](https://discourse.nodered.org/t/uibuilder-rename-folder/64357/1 "2022-06-25T12:15:32Z")

</div>

I would like to rename an existing uibuilder folder. So I changed the name:

 ![Schermata 2022-06-25 alle 14.12.43](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/1/f1c3101435828d0d9e4f258150edee8e38bf94ac.png)

After deploying, the folder hasn't been renamed, but a new folder has been created with standard files (html/js/css).

How to just rename a folder? Can it be done manually?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 June 2022 14:17 UTC](https://discourse.nodered.org/t/uibuilder-rename-folder/64357/2 "2022-06-25T14:17:20Z")

</div>

As it has failed for some reason, just stop node-red, delete the folder it created and rename the old one then restart node-red.

Not sure why it failed though. I did a rename the other day and it worked OK. I don't suppose there were any errors in the node-red log?

---

<div class="post-metadata">

**Author:** ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Post date:** [25 June 2022 15:03 UTC](https://discourse.nodered.org/t/uibuilder-rename-folder/64357/3 "2022-06-25T15:03:55Z")

</div>

This is the only message I have found in the log, related to the rename operation:

`Jun 25 14:10:21 SaltyRest Node-RED[337]: 25 Jun 14:10:21 - [info] [uibuilder:nodeInstance:primevue1] Created instance folder /home/boss/.node-red/uibuilder/primevue1 and copied template files from /home/boss/.node-red/node_modules/node-red-contrib-uibuilder/templates/blank`

It seems that it has created a new instance and copied blank templates, instead of renaming the old one.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 June 2022 17:01 UTC](https://discourse.nodered.org/t/uibuilder-rename-folder/64357/4 "2022-06-25T17:01:17Z")

</div>

Thanks, I'll double-check the code.

* * *

Update: Sadly, I didn't get to it this weekend as the family needed more TLC than anticipated 🙂

Next on the list though and probably (hopefully), the last fix before v5.1 is released with lots in interesting goodness in it.

---

<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:** [25 July 2022 17:01 UTC](https://discourse.nodered.org/t/uibuilder-rename-folder/64357/5 "2022-07-25T17:01:41Z")

</div>

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