• Resolved Cezar Ayran

    (@ayrancd)


    I tried to Bulk offload and it failed then I tried to cancel and it is being over 24hrs and still “Canceling the bulk offload process…” I already removed and reinstalled this plugin but still… it doesn’t move on, anything I can do?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Cezar Ayran

    (@ayrancd)

    I also noticed the media gallery is not displaying the file already sent to S3… I checked the source code and “could not load the image” even though the URL is correct but it doesn’t have https:// or https:// before it… the file was offloaded to S3 but the back-end doesn’t display the thumbnail… how to fix that too?

    Thread Starter Cezar Ayran

    (@ayrancd)

    define(‘ADVMO_AWS_KEY’, ”);
    define(‘ADVMO_AWS_SECRET’, ”);
    define(‘ADVMO_AWS_BUCKET’, ‘public’);
    define(‘ADVMO_AWS_REGION’, ‘us-east-1’);
    define(‘ADVMO_AWS_DOMAIN’, ‘s3.amazon.com’);

    How to add https:// ?? Thumbnails are being displayed without http in the back-end.

    URL looks like public.s3.us-east-1.amazonaws.com

    • This reply was modified 1 month, 1 week ago by Cezar Ayran.
    Thread Starter Cezar Ayran

    (@ayrancd)

    It seems to be an issue with advmo_bulk_offload_cancelled where in the database is this option?

    kovinet

    (@kovinet)

    I have the same issue. Stuck at cancelling. Can’t find where this flag is set so I could manually remove it to restart the process. Did you find out?

    Btw @ayrancd , you have to enter the complete URL to ADVMO_AWS_DOMAIN like:

    define('ADVMO_AWS_DOMAIN', 'https://bucket-name.s3.eu-central-1.amazonaws.com');
    kovinet

    (@kovinet)

    I have found that advmo_bulk_offload_cancelled is in options table in db. I have tried setting it to 0 (option_value column) but it didn’t help. Then I deleted it completely but it is still stuck.

    Thread Starter Cezar Ayran

    (@ayrancd)

    @kovinet you have to delete the row, I tried changing it to 0 but no success. Thanks for the domain advice, it worked!!!

    kovinet

    (@kovinet)

    Sorry for spamming. I have found out that you have to delete advmo_bulk_offload_data option from db to be able to restart Bulk Offload. But it my case it gets stuck again after like 20%.

    Seems like Bulk offload is quite buggy still. I wonder if I could hook wp cli to run this…

    Thread Starter Cezar Ayran

    (@ayrancd)

    @kovinet ohh man that’s bad… wondering if you have to increase anything on the php.ini like PHP memory limit etc…

    Plugin Author Masoud Golchin

    (@masoudin)

    Thank you, @ayrancd and @kovinet for the helpful thread!

    I’m currently implementing fixes for the bulk offload issues and adding WP CLI support to the plugin.

    @masoudin great!

    BTW, when I tried to offload existing media the process got constantly stuck. So I deleted manually from options table to continue the process. But later I realised that content from Elementor pages did not get updated properly, so now I have broken images and broken links to pdf files on the site.

    I tried to solve this by creating redirect from /wp-content/upload/2025/02/file.pdf to https://bucket.s3.eu-central-1.amazonaws.com/2025/02/file.pdf but this also doesn’t work, since I noticed that path on bucket contains extra folder after /YEAR/MONTH/ with random numbers.

    Is there any solution for this, or I have to manually fix all the links now?

    Plugin Author Masoud Golchin

    (@masoudin)

    You’ll probably need to do a search and replace in your database.
    You may need to run multiple queries if there are different random folders for different months.If you’re not comfortable running SQL queries directly, you can use a plugin like “Better Search Replace” to accomplish this safely.

    Moderator Support Moderator

    (@moderator)

    @kovinet Please do not take over other people’s topics.

    If you need support then per the forum guidelines please start your own topic.

    https://www.ads-software.com/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too

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