Prism Troubleshooting Guide¶
Quick Fixes for Common Issues¶
🚨 "daemon not running" Error¶
What you see:
Quick fix:
# Daemon usually auto-starts — try your command again
# If it's failing, check status:
prism admin daemon status
# Stop and let it auto-restart on next command
prism admin daemon stop
prism templates
If daemon won't start:
# Check if something is using port 8947
lsof -i :8947
# Kill conflicting process if found
kill -9 <PID>
# Try running a prism command to trigger auto-start
prism templates
🔐 AWS Credential Issues¶
What you see:
Quick fix:
If you have AWS credentials but Prism can't find them:
# Check AWS profile
echo $AWS_PROFILE
# Set profile if needed
export AWS_PROFILE=your-profile-name
# Or specify directly
prism workspace launch python-ml my-project --profile your-profile-name
🏗️ Template Launch Failures¶
What you see:
Quick fix:
# Prism auto-discovers VPC/subnet
prism workspace launch python-ml my-project
# If auto-discovery fails, check your VPC setup
aws ec2 describe-vpcs --query 'Vpcs[?IsDefault==`true`]'
If you don't have a default VPC:
💰 Cost and Pricing Concerns¶
What you see:
Quick fix:
# Check current instances and costs
prism workspace list
# Stop unused instances
prism workspace stop instance-name
# Use hibernation to preserve work and reduce costs
prism workspace hibernate instance-name
Cost optimization commands:
# Use smaller instance sizes
prism workspace launch python-ml my-project --size S
# Use spot instances (up to 90% savings)
prism workspace launch python-ml my-project --spot
🔌 Connection Problems¶
What you see:
Quick fix:
# Check instance status
prism workspace list
# Ensure instance is running
prism workspace resume instance-name
# Get fresh connection info
prism workspace connect instance-name
If SSH still fails:
# Check instance status details
prism workspace list
# Wait for instance to fully boot (can take 2-3 minutes)
# Then try connecting again
🧠 Memory and Performance Issues¶
What you see:
Quick fix:
# Delete and relaunch with larger instance size
prism workspace delete instance-name
prism workspace launch python-ml instance-name --size L
# Or add more EFS storage for data
prism volume create extra-space
prism volume attach extra-space instance-name
📦 Template and Package Issues¶
What you see:
Quick fix:
# Validate template before launching
prism templates validate python-ml
# Check template contents
prism templates info python-ml
If template seems broken:
🌍 Region and Availability Issues¶
What you see:
Quick fix:
# Try different region
prism workspace launch python-ml my-project --region us-east-1
# Use different instance size
prism workspace launch python-ml my-project --size M
# Check region availability
aws ec2 describe-availability-zones --region us-west-2
🔧 Interface Issues¶
What you see:
Quick fix:
Advanced Troubleshooting¶
Enable Debug Logging¶
# Set debug mode
export PRISM_DEBUG=1
# Check daemon status
prism admin daemon status
# Or run commands with verbose output
prism workspace launch python-ml my-project --verbose
Check System Requirements¶
# Verify AWS CLI version (need v2+)
aws --version
# Check Prism version
prism version
# Verify network connectivity
curl -I https://ec2.amazonaws.com
Reset Prism¶
# Stop daemon
prism admin daemon stop
# Clear cache and state
rm -rf ~/.prism/
# Restart fresh (daemon auto-starts on next command)
prism templates
Getting Help¶
Before Opening an Issue¶
- Check daemon status:
prism admin daemon status - Verify AWS credentials:
aws sts get-caller-identity - Try CLI if GUI is unresponsive:
prism workspace list - Check recent changes: Did you update AWS credentials or change regions?
Include This Information¶
When asking for help, please include:
# Prism version
prism version
# Daemon status
prism admin daemon status
# AWS account info (no credentials)
aws sts get-caller-identity --query 'Account'
# Operating system
uname -a
# Error message (full text)
Community Support¶
- GitHub Issues: Report bugs and request features
- Discussions: Get help from the community
- Documentation: Complete guides in
/docsfolder
Emergency Recovery¶
Instance Stuck in Bad State¶
# Force stop
prism workspace stop instance-name
# Delete and recreate
prism ami save instance-name "backup-before-delete" # Save work first if possible
prism workspace delete instance-name
prism workspace launch --ami "backup-before-delete" instance-name-new
Accidentally Deleted Important Instance¶
Unexpected High AWS Bills¶
# Immediately stop all instances
prism workspace list
# Stop each running instance:
prism workspace stop instance-name-1
prism workspace stop instance-name-2
# Review hibernation options for the future
# Templates include idle detection - check template settings
Remember: Prism is designed to "default to success." Most issues have simple solutions, and the error messages are designed to guide you to the fix.