Troubleshooting¶
Common issues and solutions for uptool.
Quick Diagnostics¶
# Run with verbose logging
uptool scan --verbose
# Check version
uptool --version
# Verify manifest files exist
ls package.json Chart.yaml mise.toml .tool-versions
Common Issues¶
No manifests detected¶
Check: Run from correct directory, verify manifest files exist, check .gitignore
Registry query failed¶
Causes: Network issues, rate limiting, authentication
Solutions:
- Test connectivity:
curl -I https://registry.npmjs.org - For private packages: Configure
.npmrc(npm) orhelm repo add(helm) - Check rate limits: Use
GITHUB_TOKENenv var
Manifest parsing failed¶
Check: Validate syntax with yamllint, jq, or online validators
Permission denied¶
Solutions:
# Fix binary permissions
chmod +x /usr/local/bin/uptool
# Or install to user directory
go install github.com/santosr2/uptool/cmd/uptool@latest
Installation Issues¶
Command not found¶
Check PATH:
Installation script fails¶
Alternatives:
# Download binary directly
curl -LO https://github.com/santosr2/uptool/releases/latest/download/uptool-$(uname -s)-$(uname -m)
# Or build from source
git clone https://github.com/santosr2/uptool
cd uptool && mise run build
Integration-Specific¶
npm¶
Lockfile out of sync: Run npm install after uptool updates
Peer dependency conflict: Check npm install output for warnings
Helm¶
Repository not found: Add repository: helm repo add <name> <url>
API version mismatch: Update Helm client to compatible version
Terraform¶
Provider constraint invalid: Check .tf syntax with terraform validate
Provider not available: Run terraform init after updates
mise/asdf¶
Tool not installed: Run mise install or asdf install after updates
Performance¶
Slow scans¶
- Use
--onlyflag to limit integrations - Check network latency to registries
- Increase timeout:
--timeout=60s
High memory usage¶
- Scan one integration at a time:
--only=npm - Reduce concurrency in large monorepos
Debug Mode¶
Environment Variables¶
# Enable debug logging
export UPTOOL_LOG_LEVEL=debug
# Increase timeout
export UPTOOL_TIMEOUT=60
# Use GitHub token (higher rate limits)
export GITHUB_TOKEN=ghp_xxxx
Verbose Output¶
Configuration Issues¶
Config not loaded¶
Check: File must be named uptool.yaml (not .yml) in repository root
Integration not running¶
Verify:
enabled: truein config- No CLI overrides (
--exclude) - File patterns match:
uptool scan -v
Getting Help¶
- Check logs: Run with
--verbose - Search issues: GitHub Issues
- Ask questions: GitHub Discussions
- Report bugs: Include
uptool --version, logs, and manifest example
Useful Information for Bug Reports¶
# System info
uptool --version
go version
uname -a
# Verbose output
uptool scan --verbose > debug.log 2>&1
# Configuration
cat uptool.yaml
See Also¶
- Configuration Guide - Config file options
- Integration Guides - Integration-specific docs
- CLI Reference - Command usage