• Repro steps:
    – Deactivate the plugin
    – Upload some images to the media library
    – Activate the plugin
    – Run the Storage Importer

    The end result I get is that all images that should have been transferred to DO Spaces are shown as broken. It seem that the image urls still point to the original location (ie mysite.com/wp-content/uploads/foo.jpg). What makes it broken is that the images have ben removed locally even though the documentation for Storage Importer states: “This process DOES NOT delete your files on your server”, which is not true.

    The images have been successfully uploaded on the DO Spaces though, but it seems the plugin did not finish the import correctly.

    Example screenshots:

    View post on imgur.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Stanislav Khromov

    (@khromov)

    Possible error from logs:

    2017/09/25 00:34:05 [error] 2451#0: *3079 FastCGI sent in stderr: "PHP message: [2017-09-25 00:34:05] ilab-media-tool.INFO: Locking process wp_ilab_s3_import_process [] []

    Plugin Author interfacelab

    (@interfacelab)

    The latest version allows you to run the import process from the command line via wp-cli:

    wp mediacloud import

    There is an issue with the importer on certain hosting configurations (that have been reported). The importer uses a non-blocking wp_http_post() in the background . If you are using basic auth, that can be a problem. If your hosting provider can’t resolve your host name, that’s another problem. If your host has somehow disabled non-blocking curl requests (not likely though) then that’s a problem too.

    Thread Starter Stanislav Khromov

    (@khromov)

    Thanks interfacelab, I’ll try the WP-CLI command!

    Thread Starter Stanislav Khromov

    (@khromov)

    @interfacelab That command seems to have done the trick, great job!

    Would it be possible to implement wp mediacloud export to bring the images back from S3 to your local server? ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Storage Importer broken in 2.0.3’ is closed to new replies.