Title: Database Update Pending
Last modified: March 3, 2024

---

# Database Update Pending

 *  Resolved [Vdub_nl](https://wordpress.org/support/users/vdub_nl/)
 * (@vdub_nl)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-update-pending/)
 * I have a problem with the Woocommerce Database Update pending:
 * In the status it says woocommerce_cleanup_draft_orders
    - all (4)
    - Complete (1)
    - Pending (3)
    - Past-due (2)
 * Ive tried everything from all the (un)solved topics, disabled all plugins, only
   woocommerce active and 2020 theme.. still no change.
    -  This topic was modified 2 years, 3 months ago by [Vdub_nl](https://wordpress.org/support/users/vdub_nl/).

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/database-update-pending/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/database-update-pending/page/2/?output_format=md)

 *  [Beauty of Code (woo-hc)](https://wordpress.org/support/users/beautyofcode/)
 * (@beautyofcode)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17470879)
 * Hey there 👋
 * Thanks for reaching out!
 * It looks like you are experiencing issues updating the WooCommerce database, 
   correct?
 * Just to clarify, if you navigate to **WooCommerce → Status→ System Status**, 
   does the WooCommerce Database version show as updated, or is it still outdated?
 * ![](https://i0.wp.com/snipboard.io/jtS82e.jpg?ssl=1)
 * If this shows as updated in the System Status Report, it may be a caching issue.
   Can you please have your host purge the site cache and see if this resolves the
   notification message?
 * Additionally, please try [clearing your browser cache](https://www.wpbeginner.com/beginners-guide/how-to-clear-your-browser-cache-in-all-major-browsers-fast-way/)
   or using a different browser (or in incognito/private mode) and see if that works?
 * Also, to better understand, where are you seeing `woocommerce_cleanup_draft_orders`?
   Is this under “Pending” actions, or “Complete” action?
 * If this is under “Pending” can you navigate to **WooCommerce → Status → Scheduled
   Actions → Pending** and run the pending actions manually and see if this does
   the trick?
 * Just to touch on`Past-due` actions, these refer to tasks that have missed their
   scheduled dates. It’s worth noting that due to [how WP Cron works](https://developer.wordpress.org/plugins/cron/),
   it’s not uncommon to have some past-due actions in your system.
 * If you come across multiple past-due actions that are more than a day old, it
   could indicate a potential issue with **WP Cron** on the website. This may result
   in issues related to missing orders, subscriptions, or data within the WooCommerce
   Analytics.
 * This support guide is helpful in debugging WP Cron:
    - [Debugging WP Cron](https://woo.com/document/subscriptions/develop/complete-guide-to-scheduled-events-with-subscriptions/#section-4)
 * Let us know how this goes!
 *  Thread Starter [Vdub_nl](https://wordpress.org/support/users/vdub_nl/)
 * (@vdub_nl)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17471010)
 * Thx for the help, both are different, WP version 8.6.1, db version 8.5.2
 * Also in firefox, which i dont use regulary:
 * ![](https://i0.wp.com/i.postimg.cc/J7QmrdCr/knipsel.png?ssl=1)
    -  This reply was modified 2 years, 3 months ago by [Vdub_nl](https://wordpress.org/support/users/vdub_nl/).
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17472047)
 * 👋 hey [@vdub_nl](https://wordpress.org/support/users/vdub_nl/)
 * > both are different, WP version 8.6.1, db version 8.5.2
 * WooCommerce Database Version: 8.5.2 – Kindly update the WooCommerce database 
   to the same (8.6.1) version, using the dedicated button found in the screen at`'
   WooCommerce > Status > Tools'`.
 * Onwards, with what is showcased in the screenshot of the Scheduled actions screen.
   Feel free to select that pending action, and deleted it. Below, I am attaching
   a screenshot, for reference.
 * ![](https://i0.wp.com/snipboard.io/VgQIv8.jpg?ssl=1)
 * Direct link to image: [https://snipboard.io/VgQIv8.jpg](https://snipboard.io/VgQIv8.jpg)
 * I hope that helps! Let us know how things look afterward, and if the WooCommerce
   database update appears to still be in progress. Cheers!
 *  Thread Starter [Vdub_nl](https://wordpress.org/support/users/vdub_nl/)
 * (@vdub_nl)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17472843)
 * it doesnt work, if i press update it says updating, like it still says when i
   login the backend, if i delete that action, within a second a new instance is
   there..
 *  [carolm29 (woo-hc)](https://wordpress.org/support/users/carolm29/)
 * (@carolm29)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17473562)
 * Hey, [@vdub_nl](https://wordpress.org/support/users/vdub_nl/)!
 * Can you please try deactivating Woo and activating it again and then trying to
   update the database again to see if works? We’ve seen cases where doing this 
   helped.
 * Were you able to try the plugin my colleague suggested to debug cron: [Debugging WP Cron](https://woo.com/document/subscriptions/develop/complete-guide-to-scheduled-events-with-subscriptions/#section-4)?
 * Looking forward to your reply.
 * Have a wonderful day!
 *  Thread Starter [Vdub_nl](https://wordpress.org/support/users/vdub_nl/)
 * (@vdub_nl)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17473625)
 * Thx for all the help so far, deactivate woo en activating and then updating doesnt
   change anything. Ive installed WP Crontrol see attached image.
 * ![](https://i0.wp.com/i.postimg.cc/8cHjm1ws/knipsel.png?ssl=1)
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17475495)
 * 👋 hi [@vdub_nl](https://wordpress.org/support/users/vdub_nl/)
 * Big fan of [Alexander the Great’s solution to the Gordian Knot](https://en.wikipedia.org/wiki/Gordian_Knot)
   here, therefore, I’d like to propose the following:
    - Make sure there is a backup available, with a solution like [Jetpack VaultPress Backup](https://woo.com/products/jetpack-backup/)
    - Create a **fresh/new** WooCommerce site, where WooCommerce and its database
      will both be at the latest version available (and make sure to double-check
      that, before proceeding)
    - Use the backup created in the first step, to [restore the site’s data](https://jetpack.com/support/backup/backups-via-the-jetpack-plugin/restoring-with-jetpack-backup/)
 * Side bonus: having a round-the-clock backup solution, keeping a log of every 
   change, making future restores a breeze.
 * I hope that helps! Let us know how it goes.
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17499882)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   we’ll be here if and/or when you are ready to continue.
 *  Thread Starter [Vdub_nl](https://wordpress.org/support/users/vdub_nl/)
 * (@vdub_nl)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17500022)
 * i bought the backup app last week, going to try what you wrote
 *  [ckadenge (woo-hc)](https://wordpress.org/support/users/ckadenge/)
 * (@ckadenge)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17500184)
 * Hi [@vdub_nl](https://wordpress.org/support/users/vdub_nl/),
 * Sounds like a plan!
 * Please try the aforementioned steps and let us know how it goes.
 * Have a good one.
 *  Thread Starter [Vdub_nl](https://wordpress.org/support/users/vdub_nl/)
 * (@vdub_nl)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17508496)
 * for the good order, i need to create complete new site incl new wordpress database?
   After that install woocommerce and than restore backup?
 *  Thread Starter [Vdub_nl](https://wordpress.org/support/users/vdub_nl/)
 * (@vdub_nl)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17511975)
 * i have made a backup, moved the contents of the httpdocs folder to a backupfolder.
   Installed a new wordpress, installed several plugins incl woocommerce, did/tried
   a restore with valutbackup, it failed…
 *  Thread Starter [Vdub_nl](https://wordpress.org/support/users/vdub_nl/)
 * (@vdub_nl)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17512900)
 * ive unchecked some things in the restore, it finished without errors but in the
   backend there was immediatly the pending actions again.
 *  [ckadenge (woo-hc)](https://wordpress.org/support/users/ckadenge/)
 * (@ckadenge)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17513560)
 * Hello [@vdub_nl](https://wordpress.org/support/users/vdub_nl/),
 * Thanks again for reaching out with more details on the progress.
 * For better visual understanding, could you please share with us a screenshot 
   of the errors in the backend?
   You can use a screenshot sharing software like 
   [https://snipboard.io/](https://snipboard.io/) and paste the link here.
 * Looking forward to your reply.
 *  Thread Starter [Vdub_nl](https://wordpress.org/support/users/vdub_nl/)
 * (@vdub_nl)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/database-update-pending/#post-17535020)
 * i cant even see the errors anymore:
 * ![](https://i0.wp.com/i.postimg.cc/CLkdtzX9/Schermafbeelding-2024-03-28-123519.
   png?ssl=1)
 * ![](https://i0.wp.com/i.postimg.cc/RZGC5fRp/Schermafbeelding-2024-03-28-123542.
   png?ssl=1)
 * I have on another domain performed a new install but the import from the backup
   i think corrupts the database.

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/database-update-pending/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/database-update-pending/page/2/?output_format=md)

The topic ‘Database Update Pending’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 28 replies
 * 7 participants
 * Last reply from: [omarfpg a11n](https://wordpress.org/support/users/omarfpg/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/database-update-pending/page/2/#post-17713460)
 * Status: resolved