Skip to content

Adds storage directories recreation#401

Open
DarkGhostHunter wants to merge 3 commits intoserversideup:mainfrom
DarkGhostHunter:feat/recreate-storage-volume
Open

Adds storage directories recreation#401
DarkGhostHunter wants to merge 3 commits intoserversideup:mainfrom
DarkGhostHunter:feat/recreate-storage-volume

Conversation

@DarkGhostHunter
Copy link
Contributor

As title says. Sometimes you will mount the /storage path elsewhere for persistence. Laravel sometimes doesn't play nice if any of these are missing, like using view:clear which gives an error when the cache view directory doesn't exist.

The AUTORUN_LARAVEL_STORAGE_RECREATE environment variables re-creates the storage directories used by Laravel:

image

It's opt-in.

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.

1 participant