Hello Hadil,
It is difficult to determine the root cause and provide work around to
resolve the issue without inspecting your Google Cloud Platform project,
Stackdriver Logging Logs and internal monitoring tools.
I would recommend you to create an App Engine Public Issue under the
Hello Alexis,
Thank you for the above. We believe the root of the problem is that Laravel
is trying to same files inside the "*workspace*" directory and not the "
*tmp*" directory as instructed to by our app.yaml file. In the app.yaml
file, we're telling Laravel to save everything in "tmp":
Hi Hadil,
The error says: "Failed to open stream: Read-only file system". I think
this means that it's finding a file there already (under
"/workspace/storage/framework/views/") where it shouldn't be. This could be
a caching issue with Laravel where the files are upload by certain machines
Hello Mary,
Thank you for your reply.
The app.yaml file already includes "/*tmp*" for both "*VIEW_COMPILED_PATH*"
and "*APP_STORAGE*". For more permanent files, we're already using Cloud
Buckets. What Laravel is trying to do is store compiled views (which are
*temporary* files) onto
Hello Hadil,
Yes that is correct. Since App Engine Standard the disk is read-only[1]
with the exception of the /tmp directory, the app.yaml file will be need
modified for the APP_STORAGE to reflect /tmp as you have mentioned. If
these are static files that Laravel needs to retrieve you can
Also, something else worth noting is that we're not sure why Laravel is
trying to the write to the folder "/*workspace*/storage/framework/views/"
instead of "/*tmp*/storage/framework/views/". Also, in case it's helpful to
someone, below is a copy of our app.yaml (it's been configured the same