• Resolved crownst

    (@crownst)


    Hello,

    Yesterday I upgraded WooCommerce to version 6.7.0. After WooCommerce update I got the message that the database needs to be updated. (I got this message in the backend). I updated the database. I thought it would just take a little longer. But today when I logged in, the WooCommerce was still updating the database. After that I manually “run” the “woocommerce-db-updates” tasks. But then the message came back that WooCommerce needed a database update…. . Under WooCommerce / Status / Tools -> Here I updated the database again.

    Under WooCommerce / Status / Scheduled Actions / tab: Pending i can see 39 pending tasks. And I’m not sure if the tasks are running correctly. Or how long the database update still needs.

    Can i check any other setting, task, or any thing else?

    https://ibb.co/pzzfLDX

    Thank you

    • This topic was modified 2 years, 4 months ago by crownst.
Viewing 15 replies - 1 through 15 (of 24 total)
  • Roxy

    (@roxannestoltz)

    Hi @crownst ,

    Thanks for reaching out!

    I understand that you are experiencing issues with updating the WooCommerce Database.

    In order to get a better understanding of your site setup, could you please share a copy of the following:

    > System Status: which you can find via?WooCommerce?→?Status. Select?Get system report?and then?Copy for support.

    ?> Fatal Error log: Share a copy of any fatal error log found under?WooCommerce?→?Status?→?Logs.

    Once you have these, please share them in your response here.

    Thanks!

    Thread Starter crownst

    (@crownst)

    Hi,

    Report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://monkeystheatre.de
    Site address (URL): https://monkeystheatre.de
    WC Version: 6.7.0
    REST API Version: ? 6.7.0
    WC Blocks Version: ? 7.8.3
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: ? 6.0 - Es ist eine neuere Version von WordPress verfügbar (6.0.1)
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: de_DE
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: nginx/1.17.5
    PHP Version: 7.4.30
    PHP Post Max Size: 2 GB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.25-MariaDB-1:10.4.25+maria~bionic
    Max Upload Size: 2 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.4.0
    WC Database Prefix: wp_hlwwubescc_
    Datenbank-Gesamtgr??e: 175.89MB
    Datenbank-Datengr??e: 158.31MB
    Datenbank-Indexgr??e: 17.58MB
    wp_hlwwubescc_woocommerce_sessions: Daten: 0.08MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_api_keys: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_attribute_taxonomies: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_downloadable_product_permissions: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_order_items: Daten: 0.41MB + Index: 0.11MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_order_itemmeta: Daten: 2.52MB + Index: 3.03MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_tax_rates: Daten: 0.05MB + Index: 0.06MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_tax_rate_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_shipping_zones: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_shipping_zone_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_shipping_zone_methods: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_payment_tokens: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_payment_tokenmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_woocommerce_log: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_actionscheduler_actions: Daten: 0.27MB + Index: 0.27MB + Engine InnoDB
    wp_hlwwubescc_actionscheduler_claims: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_actionscheduler_groups: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_actionscheduler_logs: Daten: 0.19MB + Index: 0.17MB + Engine InnoDB
    wp_hlwwubescc_atum_order_itemmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_atum_order_items: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_atum_product_data: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_hlwwubescc_commentmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_comments: Daten: 0.31MB + Index: 0.30MB + Engine InnoDB
    wp_hlwwubescc_fbv: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_fbv_attachment_folder: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_gla_budget_recommendations: Daten: 0.22MB + Index: 0.14MB + Engine InnoDB
    wp_hlwwubescc_gla_merchant_issues: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_gla_shipping_rates: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_hlwwubescc_gla_shipping_times: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_links: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_mollie_pending_payment: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_options: Daten: 2.48MB + Index: 0.23MB + Engine InnoDB
    wp_hlwwubescc_postmeta: Daten: 71.52MB + Index: 6.03MB + Engine InnoDB
    wp_hlwwubescc_posts: Daten: 60.52MB + Index: 0.59MB + Engine InnoDB
    wp_hlwwubescc_snippets: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_stock_log: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_termmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_terms: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_term_relationships: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_term_taxonomy: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_trp_gettext_de_de: Daten: 0.38MB + Index: 0.38MB + Engine InnoDB
    wp_hlwwubescc_usermeta: Daten: 2.52MB + Index: 4.03MB + Engine InnoDB
    wp_hlwwubescc_users: Daten: 0.19MB + Index: 0.14MB + Engine InnoDB
    wp_hlwwubescc_wc_admin_notes: Daten: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_wc_admin_note_actions: Daten: 0.03MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_wc_category_lookup: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_wc_customer_lookup: Daten: 0.16MB + Index: 0.13MB + Engine InnoDB
    wp_hlwwubescc_wc_download_log: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_wc_order_coupon_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_wc_order_product_lookup: Daten: 0.38MB + Index: 0.42MB + Engine InnoDB
    wp_hlwwubescc_wc_order_stats: Daten: 0.14MB + Index: 0.17MB + Engine InnoDB
    wp_hlwwubescc_wc_order_tax_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_wc_product_attributes_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_wc_product_download_directories: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_wc_product_meta_lookup: Daten: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_hlwwubescc_wc_rate_limits: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_wc_reserved_stock: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_wc_tax_rate_classes: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_wc_webhooks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_wpfm_backup: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_wpml_mails: Daten: 14.52MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_wt_iew_action_history: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_wt_iew_cron: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_wt_iew_ftp: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_wt_iew_mapping_template: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_hlwwubescc_yoast_indexable: Daten: 0.25MB + Index: 0.13MB + Engine InnoDB
    wp_hlwwubescc_yoast_indexable_hierarchy: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_hlwwubescc_yoast_migrations: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hlwwubescc_yoast_primary_term: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hlwwubescc_yoast_seo_links: Daten: 0.16MB + Index: 0.16MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 147
    customer_groups: 9
    library_modules: 8
    library_rows: 10
    mrbpfw_price_rules: 1
    nav_menu_item: 95
    page: 18
    post: 2
    product: 21
    product_variation: 56
    revision: 1865
    shop_coupon: 5
    shop_order: 1076
    shop_order_refund: 8
    tb_cf: 1
    tbp_template: 23
    tbp_theme: 1
    tbuilder_layout: 1
    tbuilder_layout_part: 2
    tglobal_style: 5
    themify_popup: 1
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (35) ###
    
    WooCommerce added to cart popup (Ajax): von XootiX – 1.5
    Autoptimize: von Frank Goossens (futtta) – 3.1.0
    B2B Market: von MarketPress – 1.0.11
    Builder A/B Image: von Themify – 2.0.5
    Builder Contact: von Themify – 2.1.5
    Builder Slider Pro: von Themify – 2.1.2
    Builder WooCommerce: von Themify – 2.0.8
    CLICKSKEKS: von CLICKSKEKS GMBH & CO KG – 1.2.1
    Code Snippets: von Code Snippets Pro – 3.2.0
    Customize My Account for WooCommerce: von SysBasics – 1.1.6
    GTM4WP: von Thomas Geiger – 1.16
    Export Media Library: von Mass Edge Inc. – 3.0.1
    FileBird Lite: von Ninja Team – 5.0.2
    Flexible Shipping PRO: von WP Desk – 2.9.5
    Flexible Shipping: von Octolize – 4.13.1
    Google Listings and Ads: von WooCommerce – 2.0.1
    Loco Translate: von Tim Whitlock – 2.6.2
    Mail Integration for Office 365/Outlook: von Edward Cross – 1.8.6
    Members: von MemberPress – 3.2.1
    VarkTech Minimum Purchase for WooCommerce: von Vark – 1.09.91.2
    Mollie-Zahlungen für WooCommerce: von Mollie – 7.2.0
    Order Export for WooCommerce: von JEM Plugins – 3.2
    Regenerate Thumbnails: von Alex Mills (Viper007Bond) – 3.1.5
    SVG Support: von Benbodhi – 2.4.2
    Themify Builder Pro: von Themify – 2.2.2
    Preview E-mails for WooCommerce: von Digamber Pradhan – 2.0.3
    German Market: von MarketPress – 3.15
    Trustbadge Reviews for WooCommerce: von vendidero – 4.0.15
    WooCommerce: von Automattic – 6.7.0
    Yoast SEO: von Team Yoast – 19.3
    WP Crontrol: von John Blackbourn & Mitwirkende – 1.14.0
    WP-Dateimanager: von mndpsingh287 – 7.1.6
    WP Htaccess Editor: von WebFactory Ltd – 1.70
    WP Mail Logging: von Wysija – 1.10.4
    WP Menu Cart: von WP Overnight – 2.12.0
    
    ### Inactive Plugins (2) ###
    
    UpdraftPlus - Backup/Restore: von UpdraftPlus.Com
    DavidAnderson – 2.22.14.25
    
    WooCommerce Admin: von WooCommerce – 3.3.2
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: –
    
    ### WC Pages ###
    
    Shop-Basis: #203 - /hundebademantel-monkeystheatre/
    Warenkorb: ? Die Seite enth?lt nicht den [woocommerce_cart]-Shortcode oder woocommerce/cart-Block.
    Kasse: #11 - /kasse/
    Mein Konto: #12 - /mein-konto/
    Allgemeine Gesch?ftsbedingungen: #926 - /allgemeine_geschaeftsbedingungen/
    
    ### Theme ###
    
    Name: Themify Shoppe Child
    Version: (Update auf Version 0 ist verfügbar)
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Themify Shoppe
    Parent Theme Version: 5.5.7
    Parent Theme Author URL: https://www.themify.me
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: themify-shoppe/woocommerce/global/breadcrumb.php
    themify-shoppe/woocommerce/loop/loop-end.php
    themify-shoppe/woocommerce/loop/loop-start.php
    themify-shoppe/woocommerce/loop/result-count.php
    themify-shoppe/woocommerce/single-product/meta.php
    themify-shoppe/woocommerce/single-product/related.php
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ? Next scheduled: 2022-07-15 07:55:24 +02:00
    Options: ?
    Notes: 43
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Abgeschlossen: 751
    Oldest: 2022-06-14 06:53:05 +0200
    Newest: 2022-07-26 08:56:01 +0200
    
    Ausstehend: 39
    Oldest: 2022-07-25 09:41:22 +0200
    Newest: 2022-07-27 05:00:00 +0200
    
    ### Status report information ###
    
    Generated at: 2022-07-26 09:53:00 +02:00
    

    Fatal Error Log: –> This is the current Log from 26.07.2022.
    2022-07-25T07:26:04+00:00 CRITICAL Maximum execution time of 10 seconds exceeded in /home/wp/disk/wordpress_staging/wp-content/plugins/updraftplus/backup.php in Zeile 3073

    Thank you

    Thread Starter crownst

    (@crownst)

    And this is the log from the file “wp-content / debug.log.1” The file called “debug.log” is empty.

    wp-content / debug.log.1
    [26-Jul-2022 06:52:30 UTC] WordPress-Datenbank-Fehler Can't DROP COLUMNis_primary; check that it exists für Abfrage ALTER TABLE wp_hlwwubescc_wc_admin_note_actions DROP COLUMNis_primary` von do_action(‘woocommerce_page_wc-status’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Admin_Menus->status_page, WC_Admin_Status::output, include_once(‘/plugins/woocommerce/includes/admin/views/html-admin-page-status.php’), do_action(‘woocommerce_admin_status_content_action-scheduler’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_AdminView->render_admin_ui, ActionScheduler_AdminView->get_list_table, ActionScheduler_Abstract_ListTable->process_actions, ActionScheduler_Abstract_ListTable->process_row_actions, ActionScheduler_ListTable->row_action_run, ActionScheduler_ListTable->process_row_action, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_Action->execute, do_action_ref_array(‘woocommerce_run_update_callback’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::run_update_callback, wc_admin_update_340_remove_is_primary_from_note_action
    [26-Jul-2022 06:53:03 UTC] WordPress-Datenbank-Fehler Can’t DROP COLUMN is_primary; check that it exists für Abfrage ALTER TABLE wp_hlwwubescc_wc_admin_note_actions DROP COLUMN is_primary von do_action(‘woocommerce_page_wc-status’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Admin_Menus->status_page, WC_Admin_Status::output, include_once(‘/plugins/woocommerce/includes/admin/views/html-admin-page-status.php’), do_action(‘woocommerce_admin_status_content_action-scheduler’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_AdminView->render_admin_ui, ActionScheduler_AdminView->get_list_table, ActionScheduler_Abstract_ListTable->process_actions, ActionScheduler_Abstract_ListTable->process_row_actions, ActionScheduler_ListTable->row_action_run, ActionScheduler_ListTable->process_row_action, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_Action->execute, do_action_ref_array(‘woocommerce_run_update_callback’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::run_update_callback, wc_admin_update_340_remove_is_primary_from_note_action
    [26-Jul-2022 06:56:11 UTC] WordPress-Datenbank-Fehler Can’t DROP COLUMN is_primary; check that it exists für Abfrage ALTER TABLE wp_hlwwubescc_wc_admin_note_actions DROP COLUMN is_primary von do_action(‘woocommerce_page_wc-status’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Admin_Menus->status_page, WC_Admin_Status::output, include_once(‘/plugins/woocommerce/includes/admin/views/html-admin-page-status.php’), do_action(‘woocommerce_admin_status_content_action-scheduler’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_AdminView->render_admin_ui, ActionScheduler_AdminView->get_list_table, ActionScheduler_Abstract_ListTable->process_actions, ActionScheduler_Abstract_ListTable->process_row_actions, ActionScheduler_ListTable->row_action_run, ActionScheduler_ListTable->process_row_action, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_Action->execute, do_action_ref_array(‘woocommerce_run_update_callback’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::run_update_callback, wc_admin_update_340_remove_is_primary_from_note_action`

    Roxy

    (@roxannestoltz)

    Hi @crownst ,

    Thanks for providing the error logs.

    As a first step, I would recommend a full conflict test to rule out any theme/plugin conflicts that may be causing issues with the updating.

    The best way to determine this is to:

    Clear site and browser cache
    – Temporarily switch your theme to Storefront
    – Disable all plugins except for WooCommerce
    – Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each until you find the one causing conflict.

    Please see the below documentation for a more detailed explanation of how to do a conflict test here:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts

    Lastly, if you have any custom code added to your site, please temporarily disable this to see if it makes any difference?

    Please let me know how this goes!

    Thread Starter crownst

    (@crownst)

    Hi,

    thank you for you details.

    I did the following:
    – disable the theme and switch to the storefront theme
    – disable cache plugin / Delete browser cache
    – unnecessary plugins disabled

    But I think that the database update doesn’t work again because 13 tasks are waiting -> https://ibb.co/HNY2SqG

    What else I noticed. The time that you see on the right of the task does not match the time that is set. Or by the time it was done. The Berlin time zone is set in the shop. So the time displayed is different from what we actually have right now. Can this be related to the error?

    One more info. The update is tested on a staging environment. The staging environment has password protection, with user and password entry. Is it possible that the jobs are not executed because password protection is set?
    Or are the jobs only executed when a “user” calls the page?

    Plugin Support Kaushik S. a11n

    (@kaushiksomaiya)

    Hi there!

    Thank you for contacting us!

    I read what you’ve shared so far, it might be a database or a WP Cron issue.

    Could you check if the table _wc_admin_note_actions has the column named is_primary present in it? It would look like the screenshot below:

    You can use a plugin like phpMyAdmin to browse your database.

    Also, you can install the plugin WP Crontrol and go to Tools > Cron Events to check if there are any WP Cron related issues.

    Thread Starter crownst

    (@crownst)

    Hi,

    i have checkd now. The table is called “is_primary” -> https://ibb.co/fGdWNPc

    I hope i have checked the right one?

    I already had the cron plugin installed. -> https://ibb.co/BgyPqC6 – here i can see more problems. But im not sure about this. I can ignore updraft issues – i have disabled the plugin.

    thank you!

    Plugin Support con

    (@conschneider)

    Engineer

    Hi again!

    > i have checkd now. The table is called “is_primary” -> https://ibb.co/fGdWNPc

    The column is called is_primary. Your screenshot shows the correct structure.

    > I already had the cron plugin installed. -> https://ibb.co/BgyPqC6

    Ok, the overview looks all right on first glance. Let’s circle back to:

    > Fatal Error Log: –> This is the current Log from 26.07.2022.
    2022-07-25T07:26:04+00:00 CRITICAL Maximum execution time of 10 seconds exceeded

    I don’t know if you addressed this, but a PHP maximum execution time of 10 seconds is too low in general. You should adjust this to 200s. https://www.webnots.com/how-to-increase-php-max-execution-time-in-wordpress/

    > But I think that the database update doesn’t work again because 13 tasks are waiting -> https://ibb.co/HNY2SqG

    Yes, that could be the case. Your Action Scheduler queue is like a pipe. If there are jobs stuck it does halt the entire queue. Are these still there? If yes, hover with your mouse over them and click “Run” to execute them manually.

    Kind regards,

    Thread Starter crownst

    (@crownst)

    Hi,

    I have now run all tasks manually again. All woocommerce tasks “woocommerce_run_update_callback” were done manually. After I have executed them all, the message appears again that the database needs to be updated. Strange… .

    What else I noticed. Under Tools / Cron Events I can see that three tasks are in the past 52 years. –> https://ibb.co/p01Fshs

    Here you can see the settings for the time –> https://ibb.co/cLXv6v8

    It can’t be the theme or a plugin because I have activated Storefront and deactivated all other unnecessary plugins.

    thank you very much!

    • This reply was modified 2 years, 4 months ago by crownst.
    Plugin Support con

    (@conschneider)

    Engineer

    Howdy again,

    > I have now run all tasks manually again. All woocommerce tasks “woocommerce_run_update_callback” were done manually. After I have executed them all, the message appears again that the database needs to be updated.

    That actually makes sense you triggering the jobs would also trigger the message.

    > What else I noticed. Under Tools / Cron Events I can see that three tasks are in the past 52 years. –> https://ibb.co/p01Fshs

    That looks a bit broken, yes. But also harmless. I would also run or delete them.

    Kind regards,

    Thread Starter crownst

    (@crownst)

    I just deleted the cronjobs from “52 years ago”.

    But I think if I run update database again now, the job will not run again. Do you have any other ideas what I can do or test?

    Thank you very much for your help!

    Thread Starter crownst

    (@crownst)

    Hi again,

    I have now started the DB update again.
    Updated at: 10:32 AM

    However, the entry in the jobs has a time of 08:32:50 –> https://ibb.co/4WcsMsZ

    So my time was 10:32 | WooCommerce time was 08:32:50. Maybe a problem?

    Plugin Support con

    (@conschneider)

    Engineer

    Hi again,

    > But I think if I run update database again now, the job will not run again. Do you have any other ideas what I can do or test?

    Just to be sure: What does your database version currently say?

    https://d.pr/i/HCZyYt

    > Thank you very much for your help!

    You are very welcome.

    Kind regards,

    Thread Starter crownst

    (@crownst)

    Hi again,

    WooCommerce version: 6.7.0 -> https://ibb.co/pxk69n7

    WooCommerce Database version: 6.4.0 -> https://ibb.co/Ld4RzDZ

    thank you.

    Thread Starter crownst

    (@crownst)

    Hi,

    i have checked the file wp-cron.php. Here i can find “define( ‘DOING_CRON’, true );” So i think this is okay.
    –> https://ibb.co/DRFn4xH

    This file wp-config.php does not contain anything with “cron” – the cron jobs are not disabled here either.

    Thank you.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘WooCommerce Database Update long time’ is closed to new replies.