Skip to content

Storage directory overwrite doesn't work when using octane #180

@atymic

Description

@atymic

Hi,

Encountered an issue in a dependency. It uses storage_path to get the path store cache files. The issue is that because this happens in a config file, it must happen before bref does

  $this->app->useStoragePath(StorageDirectories::Path);

This means that the app tries and fails to write to /var/task instead of the temp folder.

This is because in bref-init it caches the config, but this happens without it correctly overriding the storage path.

Will try to find the exact flow, but i'm guessing the config:cache command doesn't figure out it's running in bref?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions