# Node-Red V2 on DietPi - Bash Script not been compliant!

**URL:** <https://discourse.nodered.org/t/node-red-v2-on-dietpi-bash-script-not-been-compliant/49096>\
**Category:** General\
**Created:** [29 July 2021 20:47 UTC](https://discourse.nodered.org/t/node-red-v2-on-dietpi-bash-script-not-been-compliant/49096 "2021-07-29T20:47:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nksky](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nksky/32/9173_2.png) [@nksky](https://discourse.nodered.org/u/nksky)\
**Post date:** [29 July 2021 20:47 UTC](https://discourse.nodered.org/t/node-red-v2-on-dietpi-bash-script-not-been-compliant/49096/1 "2021-07-29T20:47:19Z")

</div>

Upgrading to NR V2 from 1.35 on the latest version of DietPi v7.4.2, npm 7.20.3, Node v16.3.0

Much to my delight, NodeRed documentation comments the bash script will run on DietPi, which gives alot more functionality than installing through the OS menu.

[https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi)

Unfortunately, DietPI is still giving back the old message "Diet-Pi detected....use software command...etc".

Is there a work around to use the script, or have I missed something?

Thanks in advance.  
J

---

<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:** [29 July 2021 22:09 UTC](https://discourse.nodered.org/t/node-red-v2-on-dietpi-bash-script-not-been-compliant/49096/2 "2021-07-29T22:09:06Z")

</div>

The best approach in my (possibly slightly wonky) view is to open the script in an editor and read through each command, work out what it is doing and then do it for yourself manually.

Once you've done that, you will understand exactly what is needed and will be able to do it on any (at least Linux or BSD) platform.

The script is an excellent piece of work from Dave but really it isn't actually very hard to understand the parts. At worse, the work of a few evenings armed with the script and Google.

---

<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:** [30 July 2021 09:00 UTC](https://discourse.nodered.org/t/node-red-v2-on-dietpi-bash-script-not-been-compliant/49096/3 "2021-07-30T09:00:00Z")

</div>

Hi,  
sorry - no - the Diet-Pi software install manager is tightly integrated (which is how they keep the size down) - so the default script will blow that away and mess it up. So we rely on their packaging of Node-RED as asnd when they see fit to update. All our script does in this instance is add the familiar node-red-start, stop etc commands.

---

<div class="post-metadata">

**Author:** ![nksky](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nksky/32/9173_2.png) [@nksky](https://discourse.nodered.org/u/nksky)\
**Post date:** [1 August 2021 16:00 UTC](https://discourse.nodered.org/t/node-red-v2-on-dietpi-bash-script-not-been-compliant/49096/4 "2021-08-01T16:00:00Z")

</div>

Thanks for the update, hopefully sometime there will be a work around.

J

---

<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:** [1 August 2021 18:02 UTC](https://discourse.nodered.org/t/node-red-v2-on-dietpi-bash-script-not-been-compliant/49096/5 "2021-08-01T18:02:24Z")

</div>

A workaround for what exactly ? If you use their installer you can also remove and upgrade cleanly..

---

<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:** [15 August 2021 18:03 UTC](https://discourse.nodered.org/t/node-red-v2-on-dietpi-bash-script-not-been-compliant/49096/6 "2021-08-15T18:03:00Z")

</div>

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