• Resolved mollyd77

    (@mollyd77)


    Tried to update WP, got timed out (had to increase max_execution_time) but now it said there was another update in progress. I didn’t want to wait 15 minutes, so i deleted the core_updater.lock row in the options table for that database. (all this is on a xampp stack) Update worked fine.

    My question is, is deleting this table row like deleting the .maintenance file? Will it regenerate? What if i decide I want this safety feature back? Can I re-add this option?

    Thanks sincerely for any suggestions or info. It’s not a pressing concern but I am just curious and like to learn.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Luca Grandicelli

    (@lucagrandicelli)

    Hi @mollyd77.
    core_updater.lock is an automatic lock to prevent simultaneous core updates and will be gone after 15 minutes. So yes, i’ll re-generate everytime you perform an upgrade. And no, you don’t want to remove this feature ??

    Thread Starter mollyd77

    (@mollyd77)

    Hi Luca! Thanks for reply. Alas, already did. I did the update successfully but that row does not seem to be in wp_options table. I thought maybe it would regenerate, too.

    I will try to remember to check after the next WP update comes out (should be in about another 15 minutes, right?)

    Thanks again for your time in writing back.

    Clayton James

    (@claytonjames)

    If you only deleted it from the wp_options table in the database, I would think there’s nothing to be concerned about.

    Some comments can also be found in the source file – https://core.trac.www.ads-software.com/browser/branches/5.1/src/wp-admin/includes/class-wp-upgrader.php#L845

    Luca Grandicelli

    (@lucagrandicelli)

    Well, if the update goes wrong, that line will still be in the database. If everything’s ok, it’ll be gone and nothing for you to concern about ??

    Thread Starter mollyd77

    (@mollyd77)

    Thanks Clayton Jame and Luca for your replies. ??

    Thread Starter mollyd77

    (@mollyd77)

    thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘what happens after you delete core_updater.lock option?’ is closed to new replies.