# Node-red not deploying on IBM cloud

**URL:** <https://discourse.nodered.org/t/node-red-not-deploying-on-ibm-cloud/26064>\
**Category:** General\
**Created:** [4 May 2020 13:43 UTC](https://discourse.nodered.org/t/node-red-not-deploying-on-ibm-cloud/26064 "2020-05-04T13:43:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![basfa](https://avatars.discourse-cdn.com/v4/letter/b/8baadc/32.png) [@basfa](https://discourse.nodered.org/u/basfa)\
**Post date:** [4 May 2020 13:43 UTC](https://discourse.nodered.org/t/node-red-not-deploying-on-ibm-cloud/26064/1 "2020-05-04T13:43:17Z")

</div>

Hello, I have been trying to run a Node-red app on IBM cloud using the Node red start kit.  
At first, it worked for a couple of days then I started getting an error saying that the requested route does not exist.  
I tried with a second account but since the first try to add a node in package. json it builds but doesn’t deploy.  
This is the error I’ve been getting (with the app still being empty) :

FAILED  
Error restarting application: Server error, status code: 400, error code: 100005, message: You have exceeded your organization's memory limit: app requested more memory than available

type: web  
instances: 1/1  
memory usage: 128M  
state since cpu memory disk details  
#0 running 2020-04-12T13:27:56Z 0.2% 99.5M of 128M 267M of 1G

The editor still works and I can deploy from it, but no new nodes and the status of the delivery pipeline remains “failure”

Any advice appreciated

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [4 May 2020 13:54 UTC](https://discourse.nodered.org/t/node-red-not-deploying-on-ibm-cloud/26064/2 "2020-05-04T13:54:41Z")

</div>

> [@basfa](#):
>
> FAILED  
> Error restarting application: Server error, status code: 400, error code: 100005, message: You have exceeded your organization's memory limit: app requested more memory than available

As a Lite account user, you get 128Mb of free memory to play with. If you already have an app running using 128Mb then you cannot run another one until you stop the first. (Stopped applications do not count to the memory used).

Do you have more than one application created under this account?

---

<div class="post-metadata">

**Author:** ![basfa](https://avatars.discourse-cdn.com/v4/letter/b/8baadc/32.png) [@basfa](https://discourse.nodered.org/u/basfa)\
**Post date:** [4 May 2020 13:57 UTC](https://discourse.nodered.org/t/node-red-not-deploying-on-ibm-cloud/26064/3 "2020-05-04T13:57:52Z")

</div>

No I dont have any other apps on the account

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [4 May 2020 14:00 UTC](https://discourse.nodered.org/t/node-red-not-deploying-on-ibm-cloud/26064/4 "2020-05-04T14:00:14Z")

</div>

If you don't have any other apps, then it is very odd for it to be giving you that message. You aren't the first to mention getting this message - I'll flag it up with the team who manage the dev-ops pipeline to see if there is a wider issue here.

---

<div class="post-metadata">

**Author:** ![basfa](https://avatars.discourse-cdn.com/v4/letter/b/8baadc/32.png) [@basfa](https://discourse.nodered.org/u/basfa)\
**Post date:** [4 May 2020 14:22 UTC](https://discourse.nodered.org/t/node-red-not-deploying-on-ibm-cloud/26064/5 "2020-05-04T14:22:12Z")

</div>

Thank you , I appreciate it .

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [4 May 2020 14:59 UTC](https://discourse.nodered.org/t/node-red-not-deploying-on-ibm-cloud/26064/6 "2020-05-04T14:59:06Z")

</div>

Hi @basfa

could you try something for me? Could you go into the IBM Cloud page for your app and _stop_ the application, and _then_ try deploying the change?

I think what is happening is the toolchain is trying to deploy the new version alongside the old, before switching the HTTP routes over. But to do that, you need to have memory available to run the old and new apps at the same time.

I _think_ if you stop the old app first (so its memory usage doesn't count), the toolchain will be able to deploy the new version.

---

<div class="post-metadata">

**Author:** ![basfa](https://avatars.discourse-cdn.com/v4/letter/b/8baadc/32.png) [@basfa](https://discourse.nodered.org/u/basfa)\
**Post date:** [4 May 2020 15:22 UTC](https://discourse.nodered.org/t/node-red-not-deploying-on-ibm-cloud/26064/7 "2020-05-04T15:22:21Z")

</div>

I tried it and it worked !  
Thank you so much for the help .

---

<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:** [18 May 2020 15:22 UTC](https://discourse.nodered.org/t/node-red-not-deploying-on-ibm-cloud/26064/8 "2020-05-18T15:22:22Z")

</div>

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