Hi All,
I have a simple Symfony PHP app deployed to appending in standard environment, but when I look at the website I get a 500 HTTP error. On the App Engine dashboard I see that there are no instances started for that version and in the logs I see these messages:
A 2020-03-15T12:16:47.001250Z nginx: configuration file /etc/nginx/nginx.conf test failed
A 2020-03-15T12:16:46.999878Z nginx: [emerg] open() "/run/nginx.pid" failed (30: Read-only file system)
A 2020-03-15T12:16:46.999429Z nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
A 2020-03-15T12:16:46.931140Z nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:20
A 2020-03-15T12:16:46.859958Z + /usr/sbin/nginx -t -c /etc/nginx/nginx.conf
A 2020-03-15T12:16:46.857172Z Moving user supplied config files...
A 2020-03-15T12:16:46.834045Z + /bin/bash /build-scripts/move-config-files.sh
I 2020-03-15T12:16:46.360772Z GET 500 0 B 1.1 s Chrome 80 / GET 500 0 B 1.1 s Chrome 80 5e6e1cae00ff058144e2808c030001707e696e766573746d656e742d63616c63756c61746f722d303100016d6173746572000100
The funny thing is that this only occurs when I deploy my app through Cloud Build (using a Github trigger). When I deploy it by hand using the gcloud app deploy command it works fine. I also managed to get it running in flex environment.
Does anyone know what is going on here? What am I doing wrong?
Thank you!