Skip to content

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_ROOT or the OS user data directory.
  • Env overrides exist for credentials, logging, token, and state config paths.
  • Packaged installs use bundled config templates.
  1. Set FYERS_STORE_ROOT to a stable directory.
  2. Run fyers-store migrate to copy templates and DBs.
  3. 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.