Your auto-start is ALREADY ENABLED in .env:
LOCAL_NEXUS_AUTO_START_ALL_ON_BOOT=trueThis means:
- ✅ Services automatically start when controller starts
- ✅ No manual clicking required
- ✅ Works on every reboot if you've set up Windows auto-start
When you run start.bat or npm run dev:
- Controller starts - Web server launches on port 5010
- Auto-start kicks in - Scans database for services
- Services launch - All services with
start_commandget started - Dashboard opens - Browser opens to http://localhost:5010
- You see status - Green "Running" badges for started services
You'll see this in the terminal:
============================================================
Auto-starting 3 service(s)
============================================================
Starting: My API Service... ✓ Started
Starting: My Web App... ✓ Started
Starting: Background Worker... ✓ Started
============================================================
Auto-start complete
============================================================
What you see:
No services to auto-start (all services already running or no start commands defined)
Why:
- You haven't added any services yet
- Services don't have
start_commanddefined - All services are already running
Fix:
- Open dashboard: http://localhost:5010
- Go to: Services
- Add services or check existing ones have start commands
What you see:
Starting: My Service... ✗ Error: [Errno 2] No such file or directory
Why:
- Service has wrong working directory
- Dependencies not installed
- Command not found (missing Python, Node, etc.)
Fix:
- Open dashboard: http://localhost:5010
- Click the service name
- Check "Last Error" field
- Fix the issue (see AUTO_START_TROUBLESHOOTING.md)
- Restart controller
What you see:
- Service exists in dashboard
- Status shows "Stopped" (gray)
- Never auto-started
Why:
- Service has no
start_commanddefined
Fix:
- Click the service name
- Add a
start_commandlike:python app.py npm start node server.js - Save
- Restart controller (auto-start will pick it up)
Double-click: CHECK_AUTO_START.bat
This shows:
- Auto-start enabled/disabled
- Port and host settings
- Database status
- Next steps
Via Dashboard:
- Go to http://localhost:5010
- Click "Services"
- Click a service name
- Scroll down to "Logs" section
Via File System:
Open: data/logs/
Each service has its own log file showing:
- Startup output
- Runtime logs
- Error messages
- Close controller window (or Ctrl+C)
- Run:
start.bat - Watch terminal for auto-start messages
- Check dashboard for green "Running" statuses
- Go to http://localhost:5010
- Click "Services" → "New Service"
- Fill in:
- Name: Test Service
- Start Command:
python -m http.server 8888 - Working Directory:
C:\Users\nedpe - Port: 8888
- Click "Create Service"
- Restart controller
- Should auto-start on next launch
- Press Ctrl+Shift+Esc (Task Manager)
- Look for processes:
python.exe(for Python services)node.exe(for Node services)- Other runtimes
- Count should match number of running services
These are TWO DIFFERENT features:
What: Starts the controller itself when Windows boots
Configured by:
- Double-click:
tools\ENABLE_AUTO_START.bat - Creates Windows Task Scheduler task
- Runs controller on login
Status: Check Task Scheduler for "Local Nexus Controller" task
What: Starts services when controller starts
Configured by:
.envfile:LOCAL_NEXUS_AUTO_START_ALL_ON_BOOT=true- Already enabled in your setup!
Status: Check .env or run CHECK_AUTO_START.bat
For full automation (services start on Windows boot):
-
✅ Enable service auto-start (already done!)
LOCAL_NEXUS_AUTO_START_ALL_ON_BOOT=true
-
Enable Windows auto-start
- Double-click:
tools\ENABLE_AUTO_START.bat - Click "Yes" for admin access
- Double-click:
-
Result:
- Windows boots
- Controller starts automatically
- Services start automatically
- Everything running, no manual steps!
Start controller
↓
Does terminal show "Auto-starting X service(s)"?
↓ YES ↓ NO
↓ ↓
Any "✗ Error" messages? Check .env file
↓ YES ↓ NO LOCAL_NEXUS_AUTO_START_ALL_ON_BOOT=true?
↓ ↓ ↓ NO
↓ ↓ └→ Enable it, restart
↓ ↓
Read error Check dashboard ↓ YES
↓ Services page ↓
↓ Look for green Do services have start_command?
↓ "Running" status ↓ NO
↓ └→ Add start commands
↓ ↓ YES
Fix issue └→ Check service logs
↓
Restart controller
Terminal shows: "Auto-starting 5 service(s)"
Terminal shows: "✓ Started" for each service
Dashboard shows: Green "Running" badges
Action: Nothing! You're good to go.
Terminal shows: "Auto-starting 5 service(s)"
Terminal shows: "✓ Started" for 3 services
Terminal shows: "✗ Error" for 2 services
Dashboard shows: Mix of green and red statuses
Action: Fix the 2 failing services (check logs, fix issues)
Terminal shows: "No services to auto-start..."
Dashboard shows: All services stopped
Action:
- Add services if none exist
- Add start_command to existing services
- Check .env has auto-start enabled
-
Verify auto-start is working:
start.bat
Look for "Auto-starting X service(s)" in terminal
-
Check dashboard: http://localhost:5010 → Services
-
If errors:
- Read error messages in terminal
- Check service logs
- See AUTO_START_TROUBLESHOOTING.md
-
Enable full automation:
- Double-click:
tools\ENABLE_AUTO_START.bat - Restart computer to test
- Double-click:
AUTO_START_TROUBLESHOOTING.md- Complete troubleshooting guideAUTO_START_STATUS.md- This fileCHECK_AUTO_START.bat- Quick diagnostic tool
All ready to help you get services starting automatically!
| Feature | Status | How To Configure |
|---|---|---|
| Service Auto-Start | ✅ ENABLED | Already set in .env |
| Windows Auto-Start | Run tools\ENABLE_AUTO_START.bat |
|
| Auto-Discovery | ✅ ENABLED | Already set in .env |
| File Watcher | ✅ ENABLED | Already set in .env |
Your controller is fully configured for auto-starting services. If services aren't starting, it's likely:
- Missing start commands on services
- Errors during startup (check logs)
- Dependencies not installed
Run CHECK_AUTO_START.bat for a quick diagnostic!