Skip to content
>_<
AI EngineeringWiki

Troubleshooting Guide

Support Β· 5 min

Common problems and solutions for your AI stack.

Ollama Issues

Out of Memory

# Check memory
free -h

# Kill other processes
docker ps --format '{{.Names}}' | xargs -r docker kill

# Use smaller model
ollama run llama3:8b  # instead of 70b

Model not found

# List available models
ollama list

# Pull a model
ollama pull mistral

Docker Issues

Container won't start

# Check logs
docker logs container_name

# Check status
docker ps -a

# Restart
docker restart container_name

Port already in use

# Find what's using the port
sudo lsof -i :5678

# Change port in docker-compose.yml
ports:
  - "5679:5678"

n8n Issues

Workflow not executing

  • Check if workflow is activated
  • Check execution logs
  • Verify credentials
  • Test individual nodes

Webhooks not working

  • Check webhook URL is correct
  • Verify firewall allows the port
  • Check n8n logs

Network Issues

Container can't reach internet

# Test from inside container
docker exec container_name ping google.com

# Check DNS
docker exec container_name cat /etc/resolv.conf

# Restart Docker
sudo systemctl restart docker

Debug Commands

# All containers status
docker ps -a

# Resource usage
docker stats

# Logs (follow)
docker logs -f container_name

# Enter container
docker exec -it container_name /bin/bash

Was this article helpful?

Continue the learning path

The learning path puts these articles in order, and the Hub carries the building blocks we have checked in our own operations.

Why AI Engineering
  • Local and self-hosted
  • Documented and verifiable
  • From our own operations
  • Made in Austria
Not legal advice.