This guide covers common issues and their solutions when using ORB.
Error Message:
ERROR: Configuration file not found
No configuration found in:
- /current/dir/config/config.json
- ~/.config/orb/config.json
- ~/.orb/config/config.json
Run 'orb init' to create configuration
Solution:
orb initThis creates the configuration directory and files needed for ORB to work.
Error Message:
ERROR: Templates file not found
Searched for:
- awsprov_templates.json
- templates.json
In directories:
- ~/.config/orb/templates/
- ~/.config/orb/
Run 'orb templates generate' to create example templates
Solution:
orb templates generateThis creates example templates you can customize for your environment.
Error Message:
ERROR: AWS credentials not found
Profile: default
Region: us-east-1
Configure AWS credentials:
aws configure --profile default
Or set environment variables:
export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
Solution:
# Option 1: Use AWS CLI
aws configure
# Option 2: Use specific profile
aws configure --profile myprofile
# Option 3: Environment variables
export AWS_ACCESS_KEY_ID=your-access-key
export AWS_SECRET_ACCESS_KEY=your-secret-key
export AWS_DEFAULT_REGION=us-east-1ORB looks for configuration in different locations depending on how it was installed:
/path/to/project/
├── config/
│ ├── config.json
│ └── templates/
└── work/
/path/to/project/
├── .venv/
├── config/ # Next to .venv
│ ├── config.json
│ └── templates/
└── work/
~/.orb/
├── config/
│ ├── config.json
│ └── templates/
└── work/
/usr/local/orb/ # or /opt/orb/
├── config/
│ ├── config.json
│ └── templates/
└── work/
Linux/Unix:
- Config:
~/.config/orb/ - Data:
~/.local/share/orb/ - Cache:
~/.cache/orb/
macOS:
- Config:
~/Library/Application Support/orb/config/ - Data:
~/Library/Application Support/orb/work/ - Cache:
~/Library/Caches/orb/
Windows:
- Config:
%APPDATA%\orb\ - Data:
%LOCALAPPDATA%\orb\
You can override default locations with environment variables:
# Override config directory
export ORB_CONFIG_DIR=/custom/path/config
# Override config file directly
export ORB_CONFIG_FILE=/custom/path/config.json
# Legacy HostFactory variables
export HF_PROVIDER_CONFDIR=/path/to/hostfactory/conf
export HF_PROVIDER_WORKDIR=/path/to/hostfactory/workorb config showorb config validateorb templates listorb providers test aws# Remove existing config
rm -rf ~/.config/orb/
# Reinitialize
orb initorb init --forceorb --config /path/to/config.json templates listexport ORB_LOG_LEVEL=DEBUG
orb templates listIf you're still having issues:
- Check the logs in your work directory
- Run with debug logging:
ORB_LOG_LEVEL=DEBUG orb <command> - Validate your setup:
orb config validate - Check the documentation: https://awslabs.github.io/open-resource-broker/
- File an issue: https://github.com/awslabs/open-resource-broker/issues