Troubleshooting Guide

This guide covers common issues you might encounter when using Kospex and their solutions.

kgit Clone Issues

kgit failed to clone repository

If kgit clone fails, here are the most common causes and solutions:

Authentication Issues

Network and SSL Issues

Private Certificate Authority (CA) Issues

Directory Permission Issues

Invalid Repository URL

Kospex Common Issues

Database Issues

Database Schema Outdated

Database Permission Errors

Sync Issues

Repository Sync Failures

scc Binary Not Found

Authentication and Rate Limiting

GitHub Rate Limits

Bitbucket Authentication

Web Interface Issues

Web Server Won’t Start

Port Already in Use

Missing Static Assets

Environment and Setup Issues

Directory Structure Problems

KOSPEX_CODE Directory Issues

Logging Issues

No Log Output

Log Directory Permission Denied

Getting Help

If you continue to experience issues:

  1. Check logs: Always check ~/kospex/logs/ for detailed error information
  2. Run with debug: Use --debug flag for verbose output
  3. Validate setup: Run kospex init --validate to check your configuration
  4. Test components: Use individual test commands like kgit status or kospex system-status
  5. Check environment: Verify environment variables and directory permissions

For additional support, check the GitHub Issues or create a new issue with: