• My experience with WordPress is just a few days old. I set up a WordPress site in an Amazon EC2 instance running Ubuntu. It seems to be working. Next, I installed the WP Offload S3 Lite plugin to store media on S3.

    I managed to install and activate the plugin. It created a bucket for me. So far, so good.

    Problem: Nothing is uploaded to the bucket. The bucket contains a folder blog/wp-content/uploads, but it’s empty. Uploaded media remain in the local filesystem.

    I activated debugging in WordPress. A debug.log file was created, but it only contains these messages:

    PHP Notice: Undefined offset: 1 in /var/www/html/blog/wp-admin/includes/image.php

    There is no log message regarding the plugin. There is also no error message in the browser. Yes, I did restart Apache.

    It seems I need to add a crontab entry, which I did:

    $ crontab -l
    */5 * * * * cd /var/www/html/blog; php -q wp-cron.php >/dev/null 2>&1

    How can I troubleshoot this?

    • This topic was modified 5 months, 1 week ago by berndbausch.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor ianmjones


    WP Offload Media Lite only offloads *new* Media Library items, whereas WP Offload Media can offload existing Media Library items too.


    Is it newly added Media Library items that aren’t getting offloaded?

    Thanks for responding, Ian! I am aware that I need a special license for automatically uploading existing media.

    In my case, I added a photo through the WordPress admin interface after installing the plugin. It ended up in the uploads folder and was displayed in the media library, but never made it to the bucket. A silent failure.

    Interestingly, I also played with an Amazon Lightsail instance that comes preinstalled with a Bitnami WordPress package. There, the plugin works immediately. Thus something is wrong with my setup, but at my skill level, I have no hope to understand what!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.