Laravel 5 on google app engine - Error 13 Storage Bucket

Asked

Viewed 149 times

0

I am trying to use the google app engine to run an Laravael 5 application, whenever I try to deploy the following error occurs:

**Updating service [default]....

ERROR: (gcloud.app.deploy) Error Response: [13] An Internal error occurred while Creating a Google Cloud Storage Bucket.**

I’m following the documentation that appears on their own website: https://cloud.google.com/community/tutorials/run-laravel-on-appengine-flexible

Has anyone been there? You know what might be going on?

My account is Free Trial, but I activated the payment, will it have something to do?

1 answer

0

Hello,

First of all check if you have the app.yaml file at the root of your project, if you have not created with the code below:

runtime: php
env: flex

runtime_config:
  document_root: public

skip_files:
  - .env

env_variables:
  # Put production environment variables here.
  APP_LOG: errorlog
  APP_KEY: /* na pasta do seu projeto rode o comando php artisan key:generate e cole o código gerado aqui, ex: base64:abc...=*/
  STORAGE_DIR: /tmp

Enter the folder of your project and the command prompt run 'gcloud init'.

Then choose your account and project in the options it will present

And then just run 'gcloud app deploy'

Note: In your project folder you cannot contain that '.env' file if you have removed it to go up and then put it back into the project.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.