Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Latest commit

 

History

History
99 lines (69 loc) · 1.49 KB

File metadata and controls

99 lines (69 loc) · 1.49 KB

✅ FIXED: supervisorctl Command Not Found

The Problem

You're in a terminal where supervisorctl is not in your PATH, causing "command not found" errors.

✅ SOLUTION: Use These Commands

Option 1: Use Full Path (Always Works)

/usr/bin/supervisorctl status
/usr/bin/supervisorctl restart all
/usr/bin/supervisorctl restart backend

Option 2: Use the PCNA Helper Script (Easiest)

# Check status
/app/pcna status

# Check health
/app/pcna health

# Restart all
/app/pcna restart

# Restart backend
/app/pcna restart-backend

# View logs
/app/pcna logs-backend
/app/pcna logs-frontend

# Full test
/app/pcna test

Option 3: Add to PATH (For This Session)

export PATH=/usr/bin:/usr/sbin:$PATH
supervisorctl status

🎯 Quick Commands

# Status check
/app/pcna status

# System health
/app/pcna health

# Restart everything
/app/pcna restart

# View backend logs
/app/pcna logs-backend

🌐 Access Dashboard

Your system is running! Access it at:


✅ Current Status

All services are RUNNING:

  • ✅ Backend
  • ✅ Frontend
  • ✅ MongoDB
  • ✅ System Health: 100%

📚 For More Help

# Show all commands
/app/pcna

# Run full status check
/app/pcna test

# View documentation
cat /app/COMMANDS.md
cat /app/HOW_TO_USE.txt

TIP: Bookmark this command: /app/pcna status

It always works and shows your system status! ✅