Open RichardMills opened 4 years ago
Hi, @RichardMills did you installed stack-mu-plugin
? In order to work, you have to install this plugin which creates a stream wrapper, more details can be found here
I will attempt to get this plugin installed. Let me know if there's any docs associated with making this work within the operator or if there's any slick way to tell the operator about mu plugins. I think my plan is:
Here are two examples:
As i understand this plugin support only gcp
hi, @AMecea I followed all the instructions when I tried to use stack-mu-plugin with S3, but I still can't get it to function. I am receiving an error message saying "Invalid protocol S3 for media storage." can you please suggest me.
What happened:
I'm setting up a Wordpress site using the wordpress-operator. For media backing store, I was hoping to use S3.
I read through the CRD spec and found that it supports
s3:
media library as well asgcs:
media library. So I created a definition block that should have made use of a bucket and stored media there. I tested it by visiting my Media library and upload/view some images. Instead of pushing/pulling the images from S3, it created awp-content/uploads
directory and stored the sample images in there.I also created the
wordpress-aws-secret
with proper credentials.What you expected to happen:
I expected that after starting up
mysite
with the wordpress-operator, the Media library would either read/write images to S3 or at least start spewing errors due to misconfiguration. That is what happened when I put some dummygcs:
configuration settings in. (I don't actually have a GCS account.)How to reproduce it (as minimally and precisely as possible):
Anything else?:
Is there anything else that needs to be done to configure Wordpress to use S3?