Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

'No project ID was provided, ..." on GAE #44

Closed

Description

@gianni-di-noia

I'm facing the same error of #38 but I'm on a GAE project.
Any idea what I could forget?

Activity

  1. CaptainPatate commented on May 10, 2017

    @CaptainPatate

    I got the same issue from a fresh deployment on GAE. I think gcs-media-plugin dependency evolved somewhat and it now depends on GoogleCloudPlatform/google-cloud-php which does not seem to have project ID detection capability for the GAE platform.

    A dirty patch is to specify your GCP project in gcs.php file:

    $config = ['projectId' => 'my-gcp-project'];
    $storageClient = new \Google\Cloud\Storage\StorageClient($config);
  2. chingor13 commented on May 10, 2017

    @chingor13
    Member

    Is this on App Engine Standard or Flexible Environment?

  3. gianni-di-noia commented on May 10, 2017

    @gianni-di-noia
    Author

    @chingor13 standard.

  4. gianni-di-noia commented on May 10, 2017

    @gianni-di-noia
    Author

    @CaptainPatate ok, it works.

  5. CaptainPatate commented on May 10, 2017

    @CaptainPatate

    @presveva good :)

    Yes, this appears on App Engine Standard and I think I found the underlying issue. I was not able to find the link back when I wrote my first comment, but here it is now: googleapis/google-auth-library-php#135

  6. gianni-di-noia commented on May 11, 2017

    @gianni-di-noia
    Author

    @CaptainPatate thank you for the workaround.

  7. Microserf commented on Jun 21, 2017

    @Microserf

    Your fix worked for me @CaptainPatate! Thanks!

  8. csadai commented on Sep 8, 2017

    @csadai

    FYI For some reason, some official Google cloud librairies expect a GCLOUD_PROJECT envvar (and not only GOOGLE_CLOUD_PROJECT)

  9. JamesVanWaza commented on Nov 2, 2017

    @JamesVanWaza

    @CaptainPatate when you deployed to your domain, where did you save your package.json file?

  10. CaptainPatate commented on Nov 11, 2017

    @CaptainPatate

    @jgacuca567 I don't remember having any file named package.json on my wordpress project.

  11. JamesVanWaza commented on Nov 22, 2017

    @JamesVanWaza

    @CaptainPatate I meant your json file, when you deployed to example.com where did you save the file? Mine works locally but when I run gcloud app deploy I get the error.

  12. CaptainPatate commented on Nov 22, 2017

    @CaptainPatate

    Oh you mean the app.yaml file @jgacuca567? I think I put it in my project root folder. What error message did you get when you deploy?

  13. JamesVanWaza commented on Nov 23, 2017

    @JamesVanWaza

    @CaptainPatate even though the site works locally on localhost:8080
    screen shot 2017-11-22 at 8 09 41 pm

  14. ran-dall commented on Oct 23, 2018

    @ran-dall

    @JamesVanWaza I don't know if you still are having the issue. But I was having this issue when my .json key was saved to my project root. I moved it to /etc and it worked. Check my issue #61 for some details but I'm pretty sure if you move the key and you update your gcs.php, you'll be fine.

  15. JamesVanWaza commented on Dec 14, 2018

    @JamesVanWaza

    @ran-dall do you mind, creating a video, showing the fix? How can I assist?

  16. ran-dall commented on Dec 17, 2018

    @ran-dall

    @JamesVanWaza I'd be happy to create a video or walkthrough of some kind for you. I don't have time right now cause I'm about to leave for the holiday but maybe during, I'll have some extra time. I created an issue (#61) before with some details, have you checked that?

  17. JamesVanWaza commented on Jan 17, 2019

    @JamesVanWaza

    @ran-dall I am still having problems, with it. Maybe you can create a video showing the solution.

    @ran-dall What's the ETA for the video?

  18. ran-dall commented on May 21, 2019

    @ran-dall

    @JamesVanWaza I apologize for not seeing your message. 😁. I'll look into it over the next couple of days and let you know what I come up with...

  19. JamesVanWaza commented on Aug 29, 2019

    @JamesVanWaza

    @ran-dall its been 5 months. Any help?

  20. ToddKopriva commented on Aug 29, 2019

    @ToddKopriva

    The Issues section of this GitHub repository is not the best place to get such questions answered quickly. I recommend bringing your question to one of the forums described here:
    https://cloud.google.com/support/docs/community

    Many members of the GCP community---including Google employees and other experts---help out on those forums.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions