Skip to main content
This guide helps you resolve common issues when using the Helix CLI v2.

Installation Issues

Command not found: helix

Problem: After installation, helix command is not recognized. Solutions:
  1. Ensure PATH is updated:
  2. For Zsh users:
  3. Verify installation:

Permission denied during installation

Problem: Installation fails with permission errors. Solution: Use system-wide installation with sudo:

Project Configuration Issues

Not in a Helix project directory

Error:
Solutions:
  1. Initialize a new project:
  2. Navigate to project directory:
  3. Check for helix.toml:

Invalid configuration in helix.toml

Error:
Solution: Ensure port numbers are integers without quotes:

Instance not found

Error:
Solutions:
  1. Check available instances:
  2. Add the missing instance:

Docker Issues

Docker daemon not running

Error:
Solutions:
  1. Start Docker Desktop
  2. On Linux, start Docker service:
  3. Check Docker status:

Permission denied for Docker socket

Error:
Solution: Add user to docker group:

Port already in use

Error:
Solutions:
  1. Find process using the port:
  2. Stop conflicting service or use different port:

Container name conflict

Error:
Solution: Remove old container:

Authentication Issues

Helix Cloud authentication failed

Error:
Solution:

Expired credentials

Error:
Solution: Re-authenticate:

Fly.io authentication issues

Error:
Solutions:
  1. For CLI auth:

AWS ECR authentication failed

Error:
Solutions:
  1. Configure AWS CLI:
  2. Login to ECR:

Build & Deployment Issues

Build fails with missing files

Error:
Solution: Ensure queries directory exists:

Push fails for cloud instance

Error:
Solutions:
  1. Check internet connection
  2. Verify authentication:
  3. Check cloud service status

Instance won’t start

Problem: helix push dev succeeds but instance isn’t accessible. Debugging steps:
  1. Check container status:
  2. View container logs:
  3. Test connection:
  4. Check port binding:

Migration Issues

v1 project detected

Error:
Solution:

Migration backup failed

Error:
Solution: Create backup manually:

Performance Issues

Slow build times

Solutions:
  1. Use release mode for production only:
  2. Reduce vector config for development:
  3. Clean Docker cache:

High memory usage

Solutions:
  1. Limit database size:
  2. Adjust Docker resources in Docker Desktop settings

Container crashes

Debugging steps:
  1. Check logs:
  2. Inspect exit code:
  3. Increase memory limits:

Network Issues

Cannot connect to instance

Debugging steps:
  1. Check if container is running:
  2. Test localhost connection:
  3. Check firewall settings:

Connection refused

Solutions:
  1. Verify port configuration:
  2. Check port forwarding:
  3. Try different port:

Common Error Messages

”ENOENT: no such file or directory”

Cause: Missing required files Solution: Run helix init to create project structure

”EADDRINUSE: address already in use”

Cause: Port conflict Solution: Use different port or stop conflicting service

”EPERM: operation not permitted”

Cause: Permission issue Solution: Check file permissions or run with appropriate privileges

”ECONNREFUSED: Connection refused”

Cause: Service not running Solution: Start the instance with helix push <instance>

”ETIMEDOUT: operation timed out”

Cause: Network or performance issue Solution: Check network connection and increase timeout settings

Debug Mode

Enable debug logging for detailed troubleshooting:

Getting Help

If you’re still experiencing issues:
  1. Check the documentation: https://docs.helix-db.com
  2. Search GitHub issues: https://github.com/HelixDB/helix-db/issues
  3. Join Discord: https://discord.gg/2stgMPr5BD
  4. Contact support: founders@helix-db.com
When reporting issues, include:
  • Helix CLI version (helix --version)
  • Operating system and version
  • Docker version (docker --version)
  • Error messages and logs
  • Steps to reproduce the issue
  • helix.toml configuration (remove sensitive data)

Quick Fixes Checklist

  • Update CLI: helix update
  • Validate configuration: helix check
  • Restart Docker Desktop
  • Clean up resources: helix prune
  • Check disk space: df -h
  • Verify network connectivity
  • Review recent changes to .hx files
  • Check file permissions
  • Try with a fresh project: helix init in a new directory
  • Enable debug logging: HELIX_LOG_LEVEL=debug