Category : google-cloud-platform

I’ve deployed a Laravel 8.21.0 application to Google Cloud Platform using Cloud Run. The only issue I’m having at the moment is when I browse to https://MyApp.com and try to login with the standard auth form the login form actions point to http://MyApp.com instead of https://MyApp.com and the same with the forgot password link. So ..

Read more

I use a Google vendor package in my Laravel application to query my Firestore database, but the error below happens in some requests. The error happens when I send multiple requests to the server. error message: Argument 1 passed to GoogleApiCoreCredentialsWrapper::getToken() must implement interface GoogleAuthFetchAuthTokenInterface, instance of GoogleAuthFetchAuthTokenCache given The following is the function that ..

Read more

I upgraded a Laravel project from version 7 to 8. When I attempt to deploy it on App Engine, it fails saying "Please provide a valid cache path": Updating service [***]…failed. ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build [***] status: FAILURE Error type: UNKNOWN […] > IlluminateFoundationComposerScripts::postAutoloadDump > @php artisan package:discover –ansi In Compiler.php line ..

Read more

my purpose is to manage the logs of my application with Google Stackdriver. The application is a lumen 5.8. Actually it works locally, but if deployed on my Google App Engine application it doesn’t give back any error, but no logs are reported. There the steps: Install Google Cloud package composer require google/cloud Create my ..

Read more

I am trying to deploy a Laravel web application to Google Cloud Platform: I followed the instructions here: https://cloud.google.com/community/tutorials/run-laravel-on-appengine-standard When I try the gcloud app deploy command, I get this error message: ERROR: (gcloud.app.deploy) PERMISSION_DENIED: The caller does not have permission The project owner gave me an Editor access to the project in the Google ..

Read more

Thank you in advance I have deployed the project over google cloud APP ENGINE, seems everything working Generally laravel stores cached file and sessions file at /storage/framework/cache and /storage/framework/sessions, but for google cloud, we use app.yaml file for the configuration (Seems same as .env), so in app.yaml looks like below runtime: php env: flex runtime_config: ..

Read more

I am using laravel 6 and I want to deploy laravel based websocket server using supervisor on google cloud Flex app engine platform. I am using this package: beyondcode/laravel-websockets I have setup everything and everything is working fine on local machine! What is the exact procedure to follow to deploy it on GCP? My additional-supervisord.conf ..

Read more

Am trying to host my portfolio website on Google Cloud App Engine build in lumen by laravel. As you know that lumen used this command php -S localhost:8000 -t public to serve while laravel use php artisan serve Here’s my App.yaml runtime: php73 env_variables: APP_KEY: "Already Get this from ENV" APP_STORAGE: /tmp VIEW_COMPILED_PATH: /tmp Right ..

Read more

I have hosted my website on a google cloud app engine using the GoDaddy domain. I was able to access my site via google provided domain that is https://ufurnitures.uc.r.appspot.com/ But sometimes unable to access it via GoDaddy domain that is http://ufurnitures.ca/ I have added custom domain in google cloud app engine. Here the picture of ..

Read more