interfacelab
Forum Replies Created
-
You should not use the web importer for more than 300 files. For larger imports, use the command line:
wp mediacloud import– Install WP CLI
–cdto your WordPress root
– typewp mediacloud importand grab a coffeeThe web importer uses a bunch of hacks to do what it does and it’ll crap itself with large batches.
No, there is no “reverse import”. There’s too many edge cases to support that.
Media Cloud should be mostly used on new sites, or existing sites that have all their media stored locally.
Contact the theme developer. What possible conflict could there be?
Also, I can’t see your page to help you troubleshoot.
Nope.
I can’t see the page you need help with.
But I’m also not certain what your problem is exactly. Media Cloud doesn’t rewrite any URLs for any third party assets, nor will it rewrite URLs for your theme’s assets. It only rewrite URLs for media in your media library that you’ve uploaded and it’ll only do it to media that it can verify (via the attachments’ metadata) has been uploaded to S3 or whatever storage service you are using.
If you can get your site working, I’d be interested to see what you are talking about.
If you look at the meta for the attachment, there should be a field called ‘faces’, if a face was found.
If you turn on PHP error logging in php.ini (log_errors = YES and error_log = /path/to/error.log) and then turn on debugging in the plugin you’ll be able to see the raw results for Rekognition in your logs.
I’ll do some testing today though to see if anything has been broken in an update.
Thanks,
Jon.
It’s been awhile since I used straight up S3 so give me a day to do some testing and get back to you.
Thanks,
Jon.
Use the wp-cli command instead if you have SSH access.
I think it’s
wp mediacloud importIf you keep the files on your WordPress server, just turning off the plugin will restore the URLs.
The caveat is that some plugins you might be using, like a few of the not very well written slider/carousel plugins, store the URLs in their data, instead of doing it the right way.
But you can definitely turn it off and it should work.
It should work already.
Set the storage provider to *Other S3 Compatible Service* and then setup the rest as per their instructions.
You’ll have to test it and let me know how it goes 😉
Thanks,
Jon.
Thanks, glad you love it.
Unfortunately, the problem is with your server and not the plugin. You don’t have permissions to unlink/delete the uploaded PDF.
Do you have “Delete Uplaods” enabled in settings?
Make sure your policy looks like this (at a minimum):
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:DeleteObjectTagging", "s3:ListBucketMultipartUploads", "s3:DeleteObjectVersion", "s3:ListBucket", "s3:DeleteObjectVersionTagging", "s3:GetBucketAcl", "s3:ListMultipartUploadParts", "s3:PutObject", "s3:GetObjectAcl", "s3:GetObject", "s3:AbortMultipartUpload", "s3:DeleteObject", "s3:GetBucketLocation", "s3:PutObjectAcl" ], "Resource": [ "arn:aws:s3:::YOURBUCKET/*", "arn:aws:s3:::YOURBUCKET" ] }, { "Effect": "Allow", "Action": "s3:HeadBucket", "Resource": "*" } ] }Make sure you are specifying the correct region, or setting the region to “auto” in settings.
If you have transfer acceleration enabled in the plugin, make sure it is enabled on the bucket.
I’ve deployed this plugin on over 20 sites, so my guess is your IAM policy doesn’t include
s3:HeadBucketor is missing some of the others.I can’t see that site.
I don’t know how you are handling front end uploads. Are you using a plugin?
Can you upload MP4 ok? Is it just the Importer that doesn’t work?