Skip to content

fix: Please provide a valid cache path. #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 5, 2025

Conversation

SRWieZ
Copy link
Member

@SRWieZ SRWieZ commented Apr 5, 2025

With the added environment variable in this commit, we definitely need to create those directories ourselves.

Why did it work before?
Because previously, the app was sometimes writing to itself.
With bundling, we need every write operation to be outside the app.
This is why we introduced the usage of LARAVEL_STORAGE_PATH.

@gwleuverink
Copy link
Contributor

The previous method for providing these directories was by force adding them in the build. But then they would only be created on first run. What you do now is a better solution.

Should we remove these lines from the build command? I don’t think we need them both (untested)

@SRWieZ
Copy link
Member Author

SRWieZ commented Apr 5, 2025

We should keep them both for now. I will check later if it's still necessary

@PeteBishwhip PeteBishwhip merged commit ba36ca0 into main Apr 5, 2025
@PeteBishwhip PeteBishwhip deleted the fix-please-provide-a-valid-cache-path branch April 5, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants