Migration: Path Changes
fyers-store resolves config, secrets, and logs via a centralized resolver. This differs from previous CWD-based paths.
Key Changes
- Config and secrets now resolve from
FYERS_STORE_ROOTor the OS user data directory. - Env overrides exist for credentials, logging, token, and state config paths.
- Packaged installs use bundled config templates.
Recommended Actions
- Set
FYERS_STORE_ROOTto a stable directory. - Run
fyers-store migrateto copy templates and DBs. - Update any scripts that assumed CWD-based paths.
Scenario Example
Scenario: A script fails after installing as a package.
- Set FYERS_STORE_ROOT to a writable path.
- Re-run the script so it can locate configs and secrets.