Skip to main content
This guide covers common CLI errors and how to resolve them.

Exit Codes

The CLI uses specific exit codes to indicate error types:

Common Errors

Capacity Exceeded

Symptom:
Causes:
  • File has reached its storage limit
  • Adding content that would exceed capacity
Solutions:
  1. Delete unused frames:
  1. Create a new file with larger capacity:
  1. Check current usage:

Lock Errors

Symptom:
Causes:
  • Another process is writing to the file
  • A previous process crashed without releasing the lock
  • Lock is held by a stale process
Solutions:
  1. Check who holds the lock:
  1. Request the writer to release:
  1. Find the process holding the lock:
  1. Wait and retry with timeout:
  1. Force takeover of stale lock:
Only use --force if you’re certain the previous writer has crashed. Forcing a lock on an active writer can cause corruption.

Corrupted File

Symptom:
Causes:
  • File was corrupted during transfer
  • Crash during write operation
  • Disk errors
Solutions:
  1. Verify the file:
  1. Run the doctor:
  1. Verify single-file integrity:

Time Index Issues

Symptom:
Solution:

Search Returns Empty Results

Symptom:
Causes:
  • Lexical index not built
  • Content not indexed
  • Query doesn’t match any content
Solutions:
  1. Check index status:
  1. Rebuild the lexical index:
  1. Try different search modes:
  1. Check if content exists:

Invalid Flag Error

Symptom:
Solution:

File Already Exists

Symptom:
Solution:

Diagnostic Commands

Check File Health

Inspect Lock State

Doctor Commands

View Frame Details

Memory and Performance

Increasing Memory for Large Files

For large ingestion operations, you may need to increase available memory: Environment variables:
CLI flags for parallel ingestion:

Optimizing Ingestion Speed

  1. Use batch operations:
  1. Enable parallel segments:
  1. Skip embeddings for faster ingestion:
  1. Use vector compression for smaller files:

Cleaning Up Stale Files

If you see leftover files from older versions:

Getting Help

Verbose Output

Enable debug logging for troubleshooting: