Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Please could you send us a copy of the latest backup log? This can be found in the UpdraftPlus Existing Backups tab.

    The contents will be too long to post here directly, but you can use an online service such as Dropbox or Pastebin, and post the link here.

    Best Wishes,
    Bryle

    Thread Starter peopleinside

    (@peopleinside)

    Hi @bcrodua
    thank you for your message.

    I don’t know how the logs can help but here is.
    https://pastebin.com/FYNDQfyv

    Really hope this can help i really want to see UpdraftPlus WordPress Backup Plugin update automatically as other plugins. Thank you!

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi,

    Plugins don’t have any part in updating themselves; WordPress core does all updating. What it does is to download the zip, and unzip it. So, there’s no inherent reason why one plugin should fail and not another. From experience, the likely reason in your case is that UpdraftPlus is larger than most plugins (because of all the remote storage SDKs it has to bundle – Amazon S3, Dropbox, etc.). As a result, it takes longer for WP to download and unzip it. If your hosting has a low timeout for WP cron, then it may be too little time to update it; presumably it times out.

    David

    Thread Starter peopleinside

    (@peopleinside)

    Hi David, thank you for the reply.
    I manage my VPS so the solution can be try to understand how to increase cron time? Any idea on how i can check and edit this?

    Should i add to wp-config.php line:

    define('WP_CRON_LOCK_TIMEOUT', 300);

    I read with PHP you can set:

    ini_set('max_execution_time', 300); //300 seconds = 5 minutes

    I don’t know how to try to fix this update issue. Seems wp_cron_lock_timout is not a way to made the cron run for mor elong time but for limitate cronjob…

    Or maybe add on wp-config.php

    set_time_limit(300);

    or in .htaccess

    php_value max_execution_time 300

    or on php.ini

    max_execution_time = 300

    • This reply was modified 6 years, 1 month ago by peopleinside.
    • This reply was modified 6 years, 1 month ago by peopleinside.
    • This reply was modified 6 years, 1 month ago by peopleinside.
    • This reply was modified 6 years, 1 month ago by peopleinside.
    Thread Starter peopleinside

    (@peopleinside)

    In the PHP i can see error say execution timed out.
    I have to understand now how i can solve this issue.

    Thread Starter peopleinside

    (@peopleinside)

    I tried all string / settings above but nothing solve.
    PHP error log have to say:
    wp-cron.php' (request: "POST /wordpress/wp-cron.php?doing_wp_cron=***7500") execution timed out (120.770567 sec), terminating

    I don’t understand why from WordPress manually i am able to update the plugin and the same cannot be done automatically. This issue has been tested from me but also from the Companion Auto Update plugin.

    Seems at the moment i need wait help from someone here because all i tried to solve this issue was not working. Again i am asking why the auto-update cannot work as when i log-in into WordPress and ask to update manually the plugin. I want update for plugins is done automatically.

    Thread Starter peopleinside

    (@peopleinside)

    At the moment i enabled the plugin auto update from the settings of UpdraftPlus WordPress Backup Plugin.

    I also added to wp-config.php the following line:
    define('WP_CRON_LOCK_TIMEOUT', 300);

    I am testing more for be sure the issue is fixed.

    Thread Starter peopleinside

    (@peopleinside)

    Thread Starter peopleinside

    (@peopleinside)

    Is not the line define('WP_CRON_LOCK_TIMEOUT', 300); that dolve the issue but enable auto-update in this specific settings of UpdraftPlus WordPress Backup Plugin.

    Maybe they are using a special API.

    • This reply was modified 6 years, 1 month ago by peopleinside.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Unable to auto-update this plugin’ is closed to new replies.