You need to give the correct permissions to the storage directory
chmod 775 storage
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am trying to deploy a Laravel 5 project to Google App Engine.
While the deploy command is executing, one error pops up:
ERROR appcfg.py: 1910 Invalid character in filename: vendor/symfony/finder/Tests/Fixtures/r+e.gex[c]a(r)s/dir/bar.dat
The deployment still continuous and finishes the process. But when I navigate to my website on appspot.com, the page returns a server 500 error.
When I look into the GAE logs, it looks like it has something to do with the filesystem that is read-only:
PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/base/data/home/apps/<project-id>/dev-001.388651265003945065/storage/logs/laravel.log" could not be opened: failed to open stream: Read-only file system' in /base/data/home/apps/<project-id>/dev-001.388651265003945065/bootstrap/cache/compiled.php:13301
Anyone who knows how to fix this problem?
I managed to get the application online using the Google App Engine(GAE) Support package for Laravel 5.1: https://github.com/shpasser/GaeSupportL5
Please or to participate in this conversation.