Troubleshooting¶
Common issues and solutions when using Genifest.
Work in Progress
This documentation page is being developed. Please check back soon for complete content.
Installation Issues¶
Command Not Found¶
Problem: genifest: command not found
Solutions:
# Check if genifest is in PATH
which genifest
# Add to PATH if needed
export PATH="/usr/local/bin:$PATH"
# Or reinstall
curl -L https://raw.githubusercontent.com/zostay/genifest/master/tools/install.sh | sh
Permission Denied (macOS)¶
Problem: "genifest" cannot be opened because it is from an unidentified developer
Solution:
Configuration Issues¶
Configuration File Not Found¶
Problem: Configuration file not found
Solution: Ensure you're in a directory with genifest.yaml:
No Changes Applied¶
Problem: 0 change(s) applied despite having changes defined
Possible causes: 1. File selectors don't match files:
-
Tag filtering excludes changes:
-
Key selectors don't match YAML structure:
Function Not Found¶
Problem: Function 'function-name' not found
Solutions: 1. Check function definition:
-
Verify function scope: Functions are only available in their definition directory and children
-
Check spelling: Function names are case-sensitive
Runtime Issues¶
Script Execution Fails¶
Problem: Scripts fail to execute
Solutions: 1. Check script permissions:
-
Verify script path: Scripts must be in configured script directories
-
Check script errors: Scripts should exit with status 0
File Not Found¶
Problem: File not found when using file inclusion
Solutions:
- Check file path: Files must be in configured file directories
- Verify file exists: Use relative paths from the files directory
- Check permissions: Ensure files are readable
Validation Errors¶
Invalid YAML¶
Problem: YAML parsing errors
Solutions:
-
Check YAML syntax:
-
Check indentation: YAML is sensitive to indentation
- Escape special characters: Quote strings with special characters
Path Security Violations¶
Problem: Path outside cloudHome boundary
Solution: All paths must be within the configured cloudHome directory
Performance Issues¶
Slow Processing¶
Problem: Genifest runs slowly
Solutions:
- Reduce file count: Use more specific file selectors
- Optimize functions: Avoid complex template operations
- Check script performance: Scripts should execute quickly
Getting Help¶
If you can't resolve an issue:
- Check logs: Run with verbose output if available
- Validate configuration: Use
genifest validate - Report bugs: GitHub Issues
- Ask questions: GitHub Discussions
See Also¶
- Installation Guide - Installation instructions
- CLI Reference - Command documentation
- Configuration Guide - Configuration reference