jackbrycesmith / laravel-caprover-template

Template to deploy a Laravel app in docker for CapRover
MIT License
127 stars 44 forks source link

Please provide a valid cache path. #17

Closed webafra closed 3 years ago

webafra commented 3 years ago

hi .

i have a problem to deploy. i get this error after deploy laravel:

laravel version: 7.30.4

Please provide a valid cache path.

delpoy-laravel

jackbrycesmith commented 3 years ago

Hey it looks like you need to make sure directories under storage/framework are committed before you deploy.

This should be present by default when you install laravel, but assume its gone missing for you somehow!

webafra commented 3 years ago

thanks for your answer but there is this directory:

i deploy project from gitlab repository

Screen Shot 2021-06-23 at 4 18 18 AM
jackbrycesmith commented 3 years ago

views seems to be missing from that screenshot? Pretty sure it needs to be there.

https://github.com/laravel/laravel/tree/8.x/storage/framework/views

webafra commented 3 years ago

thanks . this resolved.