Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot deploy to a Trailhead Playground #77

Closed
achere opened this issue Jan 22, 2021 · 2 comments
Closed

Cannot deploy to a Trailhead Playground #77

achere opened this issue Jan 22, 2021 · 2 comments
Assignees

Comments

@achere
Copy link

achere commented Jan 22, 2021

Summary

I'm trying to use a Trailhead Playground to explore the recipes. It fails to deploy due to platform cache restrictions

Steps To Reproduce:

  1. Create a new TH Playground
  2. Authorize it from the repo folder
  3. Try running sfdx force:source:deploy -p force-app

Expected result

Source successfully deployed

Actual result

Terminal output:
SOURCE PROGRESS | ████████████████████████████████████████ | 145/146 Components
TYPE PROJECT PATH PROBLEM
───── ────────────────────────────────────────────────────────────────────── ───────────────────────────────────────────────────────
Error force-app/main/default/cachePartitions/default.cachePartition-meta.xml Total allocated capacity [3] exceeds the org limit [0].
ERROR running force:source:deploy: Deploy failed.
image

@github-actions
Copy link
Contributor

Welcome! 👋

Thank you for posting this issue. 🙇🏼‍♂️ We will come back to you latest within the next 48h (working days). Stay tuned!

@achere
Copy link
Author

achere commented Jan 22, 2021

The solution I found is to log in to the playground and manually allocate cache from GUI: Setup -> Platform Cache -> Request trial capacity. I allocated 5MB for each session and org partitions. Then when you push the source, it runs successfully.

@achere achere closed this as completed Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants