Static WordPress Community

Deploy on Google Cloud Storage

Hello to all,
I’m trying to deploy to GCS, but it’s not possible.
I really tried all possible configurations (I state that we use Google Cloud)
I tried:

  • to insert gs: // forward url;
  • to insert the json key also internally, but nothing I get the error
2021-09-06 10:34:32	Error creating StorageClient: Given keyfile path https://storage.googleapis.com/PATH.appspot.com/FILE.json does not exist
2021-09-06 10:34:32	GCS Addon deploying
2021-09-06 10:34:32	Starting deployment
2021-09-06 10:34:32	Post-processing completed

is there a guide?

Thank you

@john-shaffer any memory of config for this?

1 Like

I also add this useful information:
if I don’t insert the key json (because we already use GC), the system goes in loop in deploy “processing” and in the logs I see this message repeatedly:

2021-09-06 13:54:53	Job in progress when attempting to process queue. No new jobs will be processed until current in progress is complete.
2021-09-06 13:53:34	Job in progress when attempting to process queue. No new jobs will be processed until current in progress is complete.
2021-09-06 13:52:26	Job in progress when attempting to process queue. No new jobs will be processed until current in progress is complete.
2021-09-06 13:51:31	Job in progress when attempting to process queue. No new jobs will be processed until current in progress is complete.
2021-09-06 13:50:29	Job in progress when attempting to process queue. No new jobs will be processed until current in progress is complete.

image

Leaving the keyfile blank is probably correct if you’re on GCP.

The plugin can get stuck sometimes. Try clicking “Delete all jobs in queue” and then “Manually enqueue jobs” and see if it works. (I’ll probably work on fixing this tomorrow so it can recover automatically).

This issue is addressed in PR #806.