Troubleshooting¶
Common issues and solutions for Dango installation and usage.
Installation Issues¶
Python Version Too Old¶
Error:
Solution:
Check your Python version and install a newer version:
Download from python.org or install from Microsoft Store.
Docker Not Found¶
Error:
Solution:
- Install Docker Desktop: docs.docker.com/desktop
- Start Docker Desktop (check system tray icon)
- Verify installation:
Can I use Dango without Docker?
You can use Dango for data syncing and dbt transformations without Docker, but Metabase dashboards and the Web UI require Docker.
pip install getdango Failed¶
Error:
Solutions:
1. Check internet connection:
2. Upgrade pip:
3. Try again:
4. If still failing, check Python version:
Permission Denied¶
Error:
Solution:
Don't use sudo with pip in a virtual environment. Check that you're in a virtual environment:
Runtime Issues¶
"dango: command not found" (Virtual Environment)¶
Solution:
Make sure your virtual environment is activated:
"dango: command not found" (Global Install)¶
If you just installed Dango globally, your terminal needs to reload.
Solution:
Option 1: Restart terminal (recommended)
Close and reopen your terminal, then verify:
Option 2: Reload shell config
Port 8800 Already in Use¶
Error:
Solutions:
Option 1: Stop Dango (if running)
Option 2: Kill the process using the port
Option 3: Change the port
Edit .dango/project.yml and change platform.port to a different value (e.g., 8801).
Metabase Not Starting¶
Error:
Solutions:
1. Check Docker is running:
2. Check container logs:
3. Restart everything:
4. Check Docker resources:
Make sure Docker has enough resources allocated:
- Open Docker Desktop → Settings → Resources
- Allocate at least 4GB RAM
- Restart Docker Desktop
Sync Failed¶
Error:
Solutions:
1. Check API credentials:
Verify your credentials in .dango/sources.yml:
2. Verify internet connection:
3. Test source connection:
4. Check source-specific documentation:
Different sources have different requirements. See:
5. Run with verbose logging:
Token Expired (OAuth Sources)¶
Error:
Solution:
Re-authenticate with the source:
# Re-authenticate
dango source auth <source-name>
# Or remove and re-add the source
dango source remove <source-name>
dango source add
dbt Run Failed¶
Error:
Solutions:
1. Check your SQL syntax:
Look at the error message for the specific model file and line number.
2. Validate dbt project:
3. Run specific model:
4. Check model dependencies:
Make sure all {{ ref() }} references point to existing models.
Database Locked¶
Error:
Solution:
DuckDB can only have one write connection at a time:
# Stop all Dango processes
dango stop
# Kill any stuck processes
ps aux | grep dango
kill -9 <process-id>
# Restart
dango start
Data Issues¶
Data Not Appearing in Metabase¶
Solutions:
1. Verify data was synced:
2. Check Metabase database connection:
Open Metabase → Admin → Databases → Verify DuckDB is connected
3. Refresh Metabase schema:
Metabase → Admin → Databases → Your Database → "Sync database schema now"
4. Check table exists:
CSV File Not Loading¶
Error:
Solutions:
1. Check file path:
2. Check file permissions:
3. Check CSV format:
- Ensure file has headers
- Check for proper comma/delimiter usage
- Verify encoding (UTF-8 recommended)
4. Try with a sample:
Test with a small sample CSV first:
Incremental Load Issues¶
Error:
Solution:
This usually means the primary key configuration is incorrect:
-
Check your dbt model configuration:
-
Force full refresh:
Performance Issues¶
Sync Taking Too Long¶
Solutions:
1. Use incremental loads:
Instead of full refreshes, use incremental models in dbt.
2. Limit data extraction:
Configure start dates or filters in .dango/sources.yml.
3. Increase DuckDB memory:
Edit .dango/project.yml and increase database.memory_limit.
4. Check network speed:
For API sources, slow network can impact sync times.
High Memory Usage¶
Solutions:
1. Reduce DuckDB memory limit:
Edit .dango/project.yml:
2. Process data in chunks:
For large datasets, configure batch sizes in dlt sources.
3. Close unused applications:
Free up system memory by closing other applications.
Platform Issues¶
Web UI Not Loading¶
Solutions:
1. Check platform is running:
2. Verify port 8800 is accessible:
3. Check browser console:
Open browser developer tools (F12) and check for errors.
4. Try different browser:
Some browser extensions can interfere with local development.
File Watcher Not Detecting Changes¶
Solutions:
1. Check file watcher is running:
2. Verify file path configuration:
Check .dango/sources.yml for correct file paths.
3. Check file system events:
Some systems have limits on file system watchers:
Getting Help¶
If you're still experiencing issues:
1. Search Existing Issues¶
Check if someone else has had the same problem:
github.com/getdango/dango/issues
2. Check Verbose Logs¶
Run commands with --verbose flag for detailed output:
3. Validate Installation¶
4. Open a New Issue¶
If you can't find a solution, open an issue with:
- Dango version (
dango --version) - Operating system and version
- Python version (
python --version) - Docker version (
docker --version) - Full error message and stack trace
- Steps to reproduce
Additional Resources¶
- Installation Guide - Reinstall if needed
- Quick Start - Review basic workflows
- CLI Reference - All available commands
- GitHub Issues - Community support