You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
[ x] Checked that your issue isn't already filed.
[ x] Checked if no PR was submitted that fixes this problem.
Versions
PHP version: 7.4
Laravel version: 8
Nova version: 3.27
Package version: 1.2
Description
Server error 500 when downloading Excel file because the folder /storage/framework/cache/laravel-excel can not be created at run time by Google App Engine.
Steps to Reproduce
Vanilla install
Tip to solve - recommend adding this to the readme or manual:
the GAE deploy uses the .gitignore files to determine which directories should be created on the Google App Engine platform
Ensure the folder exists locally (which will be the case in most cases as you probably did run some tests)
create a dummy file dummy.txt in /storage/framework/cache/laravel-excel
modify the .gitignore file on /storage/framework/cache/.gitignore and add these 2 lines:
!laravel-excel
!laravel-excel/dummy.txt
The total .gitignore file should read something like:
Prerequisites
Versions
Description
Server error 500 when downloading Excel file because the folder
/storage/framework/cache/laravel-excel
can not be created at run time by Google App Engine.Steps to Reproduce
Vanilla install
Tip to solve - recommend adding this to the readme or manual:
.gitignore
files to determine which directories should be created on the Google App Engine platformdummy.txt
in/storage/framework/cache/laravel-excel
.gitignore
file on/storage/framework/cache/.gitignore
and add these 2 lines:Expected behavior:
Actual behavior:
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
The text was updated successfully, but these errors were encountered: