guara-troubleshoot
Skill2 starsChanged 7 months agoApache-2.0View on GitHub
Diagnoses and resolves issues on GuaraCloud — failed deployments, crash loops, health check failures, image pull errors, OOM kills, and CLI errors. Use when the user reports something broken, a deployment failed, a service is unhealthy, or they see an error.
In this repository7 other files it gives its agents.
- guara-cloudSkill
- guara-deploySkill
- guara-developSkill
- cloudSkill
- deploySkill
- developSkill
- troubleshootSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
When something is wrong, start here:
- Very specific: line 47
Check deployment logs: guara logs --since 10m --level error
- Very specific: line 48
If build error → fix code/Dockerfile and redeploy: guara deploy
- Very specific: line 49
If image pull error → previous build may have failed silently.
- Distinctive: line 50
If crash on startup → app fails to start.
- Very specific: line 60
If you can't determine the cause from logs, exec into the container: guara exec -- env to check runtime environment
- Distinctive: line 64
Wait — deployments can take up to 10 minutes
- Very specific: line 65
If still stuck, check guara deployments list for the status
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Troubleshooting GuaraCloud
First Things to Check
When something is wrong, start here:
# 1. Is the service running?
guara services info
# 2. What do the logs say?
guara logs --level error --since 1h
# 3. What's the deployment history?
guara deployments list
# 4. Is the platform itself healthy?
guara statusHealth Statuses
guara services info reports these health statuses:
| Status | Meaning | Action |
healthy | All replicas running and passing health checks | No action needed |
crash_loop | Container repeatedly crashing and restarting | Check logs: guara logs --level error |
image_pull_error | Cannot pull the container image | Check deployment logs, verify build succeeded |
oom_killed | Container exceeded memory limit | Reduce memory usage or upgrade tier — see guaracloud.com/docs |
degraded | Some but not all replicas healthy | Check logs, may resolve on its own during rolling updates |
unknown | Status cannot be determined | Wait a moment, then check again |
Deployment Failure Decision Tree
Deployment status is failed:
- Check deployment logs:
guara logs --since 10m --level error - If build error → fix code/Dockerfile and redeploy:
guara deploy - If image pull error → previous build may have failed silently. Check
guara deployments listfor the last healthy deployment, thenguara rollback - If crash on startup → app fails to start. Check logs for stack traces, missing env vars, or port mismatches
Container keeps restarting (crash_loop):
- Check logs:
guara logs --level error --since 30m - Common causes:
- Missing environment variables →
guara env listto check,guara env setto fix - Wrong port → service listens on a different port than configured. Check with
guara services info - Missing dependencies → Dockerfile or buildpack not installing all deps
- OOM → app needs more memory than tier allows
- Missing environment variables →
- If you can't determine the cause from logs, exec into the container:
guara exec -- envto check runtime environment
Service stuck in deploying:
- Wait — deployments can take up to 10 minutes
- If still stuck, check
guara deployments listfor the status - The new deployment may be waiting for health checks to pass
Tier Limit Errors
The CLI surfaces these when a tier limit is reached:
- "Resource exceeds your tier quota" → service needs more CPU/memory than tier allows
- "Maximum number of projects reached" → delete an unused project or upgrade
- "Maximum number of services reached" → delete an unused service or upgrade
- "Build minutes quota exceeded" → wait for next billing cycle or upgrade
- "Maximum number of custom domains reached" → remove an existing domain or upgrade
- "Account resource pool exhausted" → scale down other services or upgrade
For all tier limits, direct the user to guaracloud.com/docs to see current tier details and upgrade options.
Authentication Errors
- "Authentication failed. API key is invalid or revoked" →
guara loginto re-authenticate - "Authentication failed. API key has expired" →
guara loginto generate a new key - "Not authenticated" →
guara login - "Account is suspended due to billing issues" → update payment at app.guaracloud.com
- "Terms of Service must be accepted" → accept at app.guaracloud.com
Network and Session Errors
- "Could not reach GuaraCloud API" → check internet connection and API URL:
guara config get api-url - "No ready pods available" → service is not running. Start it:
guara services start - "Session disconnected due to inactivity" → reconnect by running the command again
- "Maximum concurrent sessions reached" → close existing exec/proxy sessions first
Common Pitfalls
- Forgot to deploy after creating a service —
services createdoes NOT trigger a build. Runguara deployafter. - Port mismatch — the
--portinservices createmust match what the app listens on. - Missing GitHub App — install at github.com/apps/guaracloud if you see "No GitHub App installation found."
- Env var change didn't take effect —
guara env settriggers a rolling restart, but check logs to confirm the new process picked up the change. - DNS not propagated for custom domain —
guara domains listshowspendinguntil CNAME propagates. This can take minutes to hours.
For the full error code reference, see references/error-codes.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

