Troubleshooting
Common issues and their solutions. Run jarvis doctor for automated diagnostics.
Ollama not found
Error: Cannot connect to Ollama
Solution:
curl -fsSL https://ollama.com/install.sh | shollama pull llama3.2Port already in use
Error: Port 18789 is already in use
Solution:
jarvis gateway --port 18790Or kill the existing process and restart
Permission denied
Error: jarvis: command not found
Solution:
export PATH="$HOME/.local/bin:$PATH"Add this to your ~/.zshrc or ~/.bashrc
Gateway won't start
Gateway fails to start or crashes immediately
Solution:
jarvis doctorjarvis logsCheck logs for specific error messages
WhatsApp won't connect
QR code not appearing or connection fails
Solutions:
- Make sure WhatsApp is installed on your phone
- Check that your phone has internet connection
- Try restarting the gateway
- Delete
~/.jarvis/credentials/whatsapp/and reconnect
Model not responding
AI takes too long or doesn't respond
Solutions:
- Check if Ollama is running:
ollama list - Try a smaller model:
ollama pull llama3.2:1b - Check system resources (RAM, CPU)
- Restart Ollama service
Diagnostic Commands
jarvis doctorRun comprehensive health check
jarvis statusCheck gateway and channel status
jarvis logsView detailed logs
jarvis security auditRun security audit
Still Having Issues?
If you're still experiencing problems:
- •Check the GitHub repository for known issues
- •Contact me at nilkanthdesai76@gmail.com
- •Include output from
jarvis doctorandjarvis logs