CLI issues
Command not found: runtm
Command not found: runtm
The CLI isn’t in your PATH. Reinstall:Or with pipx:
Authentication failed
Authentication failed
Check your setup:Re-authenticate:
Invalid API key format
Invalid API key format
Keys should start with
runtm_. Get a new key from app.runtm.com.Connection refused
Connection refused
If self-hosting, check your API URL:
Deploy issues
Missing lockfile
Missing lockfile
Auto-fix lockfiles:Or skip the prompt:
Missing required environment variable
Missing required environment variable
Set the missing secret:
Artifact too large
Artifact too large
Check what’s being included:Add large files to
.gitignore. Max artifact size is 20MB.Build timeout
Build timeout
Builds have a 10-minute limit. Common causes:
- Too many dependencies
- Large assets being processed
- Network issues during package install
Health check failed
Health check failed
Your app must respond HTTP 200 at Check logs:
/health (or custom health_path).Test locally:Runtime issues
App crashes on startup
App crashes on startup
Check runtime logs:Common causes:
- Missing environment variables
- Wrong port (should match manifest)
- Unhandled exceptions during init
Out of memory
Out of memory
Upgrade to a higher tier:
Database connection errors
Database connection errors
If using
features.database: true:- Ensure your app connects to
sqlite:///data/app.db - The
/datadirectory is mounted automatically - Check for file permission issues in logs
Slow cold starts
Slow cold starts
Apps in suspended state take ~1-2 seconds to wake. To reduce this:
- Minimize startup work
- Use lazy loading for heavy dependencies
- Consider
performancetier for faster cold starts
Self-hosting issues
Port already in use
Port already in use
Find what’s using the port:Stop the conflicting process or use a
docker-compose.override.yml to change ports.Database connection failed
Database connection failed
Check PostgreSQL is running:
Worker not processing jobs
Worker not processing jobs
Check worker logs:Verify:
FLY_API_TOKENis set in.env- Redis is running
- API is healthy
Migrations not running
Migrations not running
Migrations run on API startup. To run manually:Or inside container:
FLY_API_TOKEN errors
FLY_API_TOKEN errors
Use a Personal Access Token, not a deploy token:Deploy tokens (
fly tokens create deploy) don’t have Logs API access.Validation errors
Invalid manifest
Invalid manifest
Validate your Common issues:
runtm.yaml:- Missing required fields (
name,template,runtime) - Invalid template name
- Malformed YAML
Secret with default value
Secret with default value
Secrets can’t have defaults. Fix in
runtm.yaml:Missing Dockerfile
Missing Dockerfile
Each template requires a This regenerates the template files.
Dockerfile. If missing:Getting help
If you’re still stuck:-
Check logs - Most issues are visible in logs:
-
Run diagnostics:
- Search the docs - Use the search bar above
- Open an issue - github.com/runtm-ai/runtm/issues