# Challenges with running Node-RED on SAP Cloud Foundry

**URL:** <https://discourse.nodered.org/t/challenges-with-running-node-red-on-sap-cloud-foundry/81567>\
**Category:** General\
**Created:** [25 September 2023 10:21 UTC](https://discourse.nodered.org/t/challenges-with-running-node-red-on-sap-cloud-foundry/81567 "2023-09-25T10:21:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samokomo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/samokomo/32/63918_2.png) [@Samokomo](https://discourse.nodered.org/u/Samokomo)\
**Post date:** [25 September 2023 10:21 UTC](https://discourse.nodered.org/t/challenges-with-running-node-red-on-sap-cloud-foundry/81567/1 "2023-09-25T10:21:54Z")

</div>

Hello Node-Red community.

I have deployed Node-RED in my company SAP Cloud Foundry Runtime. Node-RED itself runs great - but the thing is that SAP Cloud Foundry runs in a way - that everytime it restarts it returns Node-RED to the state it was pushed/installed into Cloud Foundry - eg the flows disappear. The restarts happens kinda every day or two - so I have to import flows.json file and enter credentials from postgres and email nodes I use.

I would appreciate tips these in regards:  
In which path to paste flows.json file which contains all the flows before pushing Node-Red to Cloud Foundry.  
How to configure digitaloak-postgresql and node-email contribs to keep the credentials? When I import the flows.json file into nodered the credentials are not there - should I write these credentials into the flows.json manually or is there other way?

Thanks for your time and help!

---

<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 September 2023 11:23 UTC](https://discourse.nodered.org/t/challenges-with-running-node-red-on-sap-cloud-foundry/81567/2 "2023-09-25T11:23:42Z")

</div>

Does cloud foundry allow the configuration of a persistent file store?

---

<div class="post-metadata">

**Author:** ![Samokomo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/samokomo/32/63918_2.png) [@Samokomo](https://discourse.nodered.org/u/Samokomo)\
**Post date:** [25 September 2023 13:15 UTC](https://discourse.nodered.org/t/challenges-with-running-node-red-on-sap-cloud-foundry/81567/3 "2023-09-25T13:15:07Z")

</div>

Hello, it does not, atleast to my knowledge.

for storing data I just use PostrgreSQL Hyperscaler option.

---

<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 September 2023 15:50 UTC](https://discourse.nodered.org/t/challenges-with-running-node-red-on-sap-cloud-foundry/81567/4 "2023-09-25T15:50:44Z")

</div>

> [@Samokomo](#):
>
> SAP Cloud Foundry

[Using an external file system (volume services) | Cloud Foundry Docs](https://docs.cloudfoundry.org/devguide/services/using-vol-services.html#:~:text=In%20Cloud%20Foundry%2C%20a%20volume%20service%20provides%20a,These%20services%20are%20not%20available%20for%20Windows%20cells.)

---

<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:** [24 November 2023 15:50 UTC](https://discourse.nodered.org/t/challenges-with-running-node-red-on-sap-cloud-foundry/81567/5 "2023-11-24T15:50:46Z")

</div>

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