Deployment Troubleshooting
If you encounter issues deploying FinFocus, please refer to our comprehensive troubleshooting guide.
Common Deployment Issues
Section titled “Common Deployment Issues”Docker Permission Denied
Section titled “Docker Permission Denied”If you see permission errors when mounting volumes in Docker, ensure the host directory is owned
by the user running the container or use chmod to grant access.
Debugging steps:
- Confirm the host path exists and is writable by the container user.
- Run
ls -laon the host path and look for mismatched ownership. - Use a dedicated data directory and map it with
-v /path:/data.
See Docker Guide for specific commands.
Docker Image Pull Failures
Section titled “Docker Image Pull Failures”Image pulls that fail with authentication or rate limit errors typically indicate missing registry credentials.
Debugging steps:
- Ensure you are logged into the container registry (
docker login). - Confirm the image name and tag match your deployment configuration.
- Retry the pull from the same host to verify network reachability.
CLI Not Found in PATH
Section titled “CLI Not Found in PATH”Deployments can fail if the finfocus binary is missing or not exported to PATH.
Debugging steps:
- Run
which finfocusto confirm the binary location. - Verify the install step or artifact download ran in the pipeline.
- Export the binary path (for example,
export PATH=$PATH:/opt/finfocus/bin).
Plugin Not Installed or Version Mismatch
Section titled “Plugin Not Installed or Version Mismatch”Missing plugins or a version mismatch can prevent validation or pricing steps.
Debugging steps:
- Check the plugin directory at
~/.finfocus/plugins/<name>/<version>/. - Reinstall the plugin with
finfocus plugin initor your artifact cache. - Run
finfocus plugin validateto verify compatibility.
Config or Credentials Missing
Section titled “Config or Credentials Missing”FinFocus relies on environment variables or ~/.finfocus/config.yaml for providers.
Debugging steps:
- Confirm required
FINFOCUS_*variables are set in the runtime environment. - Validate that
~/.finfocus/config.yamlexists and is readable. - Log masked config values in CI to confirm they are injected.
Network and Proxy Errors
Section titled “Network and Proxy Errors”If deployments fail with timeouts or proxy errors, the runtime may not be able to reach provider APIs.
Debugging steps:
- Test DNS resolution and outbound access from the host or container.
- Verify proxy configuration variables match your environment.
- Re-run with
FINFOCUS_LOG_LEVEL=debugto capture failed endpoints.
GitHub Actions (finfocus-action)
Section titled “GitHub Actions (finfocus-action)”If your workflow uses github.com/rshade/finfocus-action and fails:
- Confirm the action version tag matches your workflow pin.
- Ensure the workflow sets required
FINFOCUS_*env vars or config secrets. - Enable debug logging with
FINFOCUS_LOG_LEVEL=debugfor richer logs. - Check that the action inputs match the expected spec in the action README.
Generic CI/CD Pipeline Failures
Section titled “Generic CI/CD Pipeline Failures”If FinFocus fails in CI/CD:
- Enable debug logging:
FINFOCUS_LOG_LEVEL=debug. - Check that the
finfocusbinary is in thePATH. - Verify that plugins are correctly installed or cached.
- Confirm secrets are available to the job and not masked to empty strings.
For more help, see the Support options.