Insights Hub I received "Disk Quota Exceeded" error while pushing/deploying an app to Cloud Foundry.

2023-04-12T15:14:05Z
Developer Tools

Summary


Details

At the time of pushing/deploying my application into the Cloud Foundry space, I'm getting a "Disk Quota Exceeded " error message.

I have attached the log message of the application from Cloud Foundry.


Solution

You can resolve this issue by increasing the application Disk.

You can use CF CLI or manifest file.

  • manifest file example:(manifest.yml)

    ---
    applications:
      - name: myappname
        memory: 128M
        disk_quota: 512M
        instances: 1
        random-route: true
        buildpack: nodejs_buildpack
        path: app
    

    • for CLI you have to run this command "cf scale APP_NAME-k <a sufficient amount of disk> " and after that, you have to restart your app using this command "cf restart APP_NAME"

      Below is the document link for your reference.

      https://docs.cloudfoundry.org/devguide/deploy-apps/cf-scale.html

      Notes

      For any questions or support in this matter, contact us through the support center.

      KB Article ID# PL8537716

      Contents

      SummaryDetails

      Associated Components

      Cloud Foundry Developer Tools - Other