This troubleshooting guide is designed to help you diagnose and resolve common issues you may encounter while using the Universal Commits Migrator (UCM). If you’re facing a problem, follow the steps and checks outlined below to resolve it.
Symptoms:
Authentication failed or Invalid credentials.Checks and Solutions:
GITLAB_TOKEN and GITHUB_TOKEN in your .env file are correct and have the required scopes (read_api for GitLab, repo for GitHub).Symptoms:
URL not found or API endpoint not reachable.Checks and Solutions:
GITLAB_API_URL and GITHUB_API_URL are correctly set in your .env file.https://api.github.com/repos/your_username/your_repo.https://gitlab.yourdomain.io/api/v4 or https://gitlab.com/api/v4 for GitLab.com users.Symptoms:
Checks and Solutions:
GITHUB_BRANCH_TO_COMMIT_TO exists in your GitHub repository.Symptoms:
Rate limit exceeded or similar messages.Checks and Solutions:
pushed_commits.txt File IssuesSymptoms:
Checks and Solutions:
pushed_commits.txt file to see if the commit dates are recorded correctly.pushed_commits.txt file, but do so with caution.If none of the above solutions resolve your issue, refer to the app.log file for more detailed error messages and stack traces. The log file may provide insights into what’s going wrong.
If you’ve gone through the above checks and are still facing issues, you may report it by:
Remember to remove or obfuscate any sensitive information like tokens or personal email addresses before sharing logs or error messages.
We hope this troubleshooting guide helps you resolve any issues you encounter. If you have a problem that’s not covered here, don’t hesitate to reach out for help or open an issue on GitHub.