Skip to main content

Troubleshooting

Connection Issues

Can't access llumen from browser

Symptoms: Connection refused, timeout

Solutions:

  1. Check if llumen is running:

    docker ps  # or
    curl http://localhost/api/health
  2. Verify port binding:

    docker logs llumen
    # Should see: "Listening on 0.0.0.0:80"
  3. Check firewall:

    sudo ufw allow 80
  4. Try different port:

    docker run -p 8080:80 ... ghcr.io/pinkfuwa/llumen:latest
Port 80 already in use

Error: "bind: address already in use"

Solutions:

  1. Find what's using port 80:

    sudo lsof -i :80
  2. Use different port:

    docker run -p 8080:80 ... ghcr.io/pinkfuwa/llumen:latest

    Access at http://localhost:8080

API Issues

API key not working

Symptoms: 401 errors, "Invalid API key"

Solutions:

  1. Verify key is set:

    docker exec llumen env | grep API_KEY
  2. Check key format:

    • OpenRouter: starts with sk-or-v1-
    • OpenAI: starts with sk-
  3. Verify key is valid at provider's website

  4. Restart after setting key:

    docker restart llumen
Slow or no responses

Symptoms: Requests timeout, very slow responses

Solutions:

  1. Check API provider status

  2. Test API directly:

    curl https://openrouter.ai/api/v1/chat/completions \
    -H "Authorization: Bearer $API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"model":"openai/gpt-3.5-turbo","messages":[{"role":"user","content":"Hi"}]}'
  3. Try different model (smaller/faster)

  4. Check network connectivity

  5. Verify rate limits not exceeded

Docker Issues

Permission denied

Error: "Permission denied while trying to connect"

Solutions:

  1. Add user to docker group:

    sudo usermod -aG docker $USER
    newgrp docker
  2. Or use sudo:

    sudo docker run ...
  3. Check Docker service:

    sudo systemctl status docker
    sudo systemctl start docker
Out of disk space

Error: "no space left on device"

Solutions:

  1. Check disk space:

    df -h
  2. Clean Docker:

    docker system prune -a
  3. Remove unused volumes:

    docker volume prune

Data Issues

Conversations not saving

Symptoms: History disappears after restart

Solutions:

  1. Verify volume mount:

    docker inspect llumen | grep -A 10 Mounts
  2. Check permissions:

    ls -la ./llumen-data
  3. Ensure DATA_PATH set:

    docker run -e DATA_PATH=/data -v ./data:/data ...
Cannot upload files

Symptoms: Upload fails, errors in logs

Solutions:

  1. Check available disk space

  2. Verify file size < 50MB

  3. Check file format (PDF must be valid)

  4. Review container logs:

    docker logs llumen

Performance Issues

High memory usage

Solutions:

  1. Set memory limit:

    docker run --memory="256m" ... ghcr.io/pinkfuwa/llumen:latest
  2. Clear conversation history

  3. Restart container:

    docker restart llumen
Slow UI

Solutions:

  1. Check browser console for errors

  2. Clear browser cache

  3. Try different browser

  4. Check network latency:

    ping your-llumen-server

Getting Help

Check Logs

# Docker
docker logs llumen
docker logs -f llumen # Follow

# Native
journalctl -u llumen -f

Collect Debug Info

When reporting issues, include:

  • llumen version
  • Installation method (Docker/native)
  • Operating system
  • Error messages from logs
  • Steps to reproduce

Community Support

Common Error Codes

CodeMeaningSolution
401UnauthorizedCheck API key
403ForbiddenCheck permissions
404Not foundCheck URL/route
500Server errorCheck logs
502Bad gatewayCheck proxy config
503Service unavailableCheck if running

Still Having Issues?

Create an Issue

Report bugs or request help on GitHub