• Resolved HG-DREI

    (@dreilaut)


    Hello,

    i hope somebody can help us ?? Since a few weeks we have problems with some wordpress sites. All use woocommerce as shop.

    The database always hangs up “Waiting for table metadata lock” and i need to go in phpmyadmin and kill the processes so the site works again. Without killing the process the whole site doesent work anymore (loads until loading error)

    I already was in Status > Tools > Pending Actions and controlled all… something strange:

    Some, after my cleaning, created Actions got the planned date “0000-00-00”.

    Hope somebody have a tip for me ??

    `
    ### WordPress Environment ###

    WordPress address (URL): https://-
    Site address (URL): https://-
    WC Version: 6.1.0
    REST API Version: ? 6.1.0
    WC Blocks Version: ? 6.5.1
    Action Scheduler Version: ? 3.4.0
    WC Admin Version: ? 3.0.3
    Log Directory Writable: ?
    WP Version: 5.8.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: de_DE
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.4.26
    PHP Post Max Size: 200 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 10000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.5.11-MariaDB-1:10.5.11+maria~focal-log
    Max Upload Size: 200 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 6.1.0
    WC Database Prefix: A2TtO_
    Datenbank-Gesamtgr??e: 5.27MB
    Datenbank-Datengr??e: 4.43MB
    Datenbank-Indexgr??e: 0.84MB
    A2TtO_woocommerce_sessions: Daten: 0.01MB + Index: 0.00MB + Engine MyISAM
    A2TtO_woocommerce_api_keys: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_woocommerce_attribute_taxonomies: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_woocommerce_downloadable_product_permissions: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_woocommerce_order_items: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_woocommerce_order_itemmeta: Daten: 0.01MB + Index: 0.01MB + Engine MyISAM
    A2TtO_woocommerce_tax_rates: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_woocommerce_tax_rate_locations: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_woocommerce_shipping_zones: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_woocommerce_shipping_zone_locations: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_woocommerce_shipping_zone_methods: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_woocommerce_payment_tokens: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_woocommerce_payment_tokenmeta: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_woocommerce_log: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_actionscheduler_actions: Daten: 0.06MB + Index: 0.05MB + Engine MyISAM
    A2TtO_actionscheduler_claims: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_actionscheduler_groups: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_actionscheduler_logs: Daten: 0.04MB + Index: 0.03MB + Engine MyISAM
    A2TtO_admin_columns: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    A2TtO_commentmeta: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_comments: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_ju_queue: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    A2TtO_links: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_nf3_actions: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_nf3_action_meta: Daten: 0.01MB + Index: 0.00MB + Engine MyISAM
    A2TtO_nf3_chunks: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_nf3_fields: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_nf3_field_meta: Daten: 0.02MB + Index: 0.00MB + Engine MyISAM
    A2TtO_nf3_forms: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_nf3_form_meta: Daten: 0.01MB + Index: 0.00MB + Engine MyISAM
    A2TtO_nf3_objects: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_nf3_object_meta: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_nf3_relationships: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_nf3_upgrades: Daten: 0.02MB + Index: 0.00MB + Engine MyISAM
    A2TtO_options: Daten: 2.01MB + Index: 0.08MB + Engine MyISAM
    A2TtO_postmeta: Daten: 0.50MB + Index: 0.18MB + Engine MyISAM
    A2TtO_posts: Daten: 1.20MB + Index: 0.08MB + Engine MyISAM
    A2TtO_sbi_instagram_feeds_posts: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    A2TtO_sbi_instagram_feed_locator: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    A2TtO_sbi_instagram_posts: Daten: 0.11MB + Index: 0.00MB + Engine InnoDB
    A2TtO_smush_dir_images: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_termmeta: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_terms: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_term_relationships: Daten: 0.01MB + Index: 0.02MB + Engine MyISAM
    A2TtO_term_taxonomy: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_usermeta: Daten: 0.04MB + Index: 0.01MB + Engine MyISAM
    A2TtO_users: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_wc_admin_notes: Daten: 0.02MB + Index: 0.00MB + Engine MyISAM
    A2TtO_wc_admin_note_actions: Daten: 0.01MB + Index: 0.01MB + Engine MyISAM
    A2TtO_wc_category_lookup: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_wc_customer_lookup: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_wc_download_log: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_wc_order_coupon_lookup: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_wc_order_product_lookup: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_wc_order_stats: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_wc_order_tax_lookup: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_wc_product_meta_lookup: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_wc_rate_limits: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    A2TtO_wc_reserved_stock: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_wc_tax_rate_classes: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_wc_webhooks: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_wpmailsmtp_debug_events: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    A2TtO_wpmailsmtp_tasks_meta: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM
    A2TtO_yoast_indexable: Daten: 0.21MB + Index: 0.08MB + Engine MyISAM
    A2TtO_yoast_indexable_hierarchy: Daten: 0.01MB + Index: 0.02MB + Engine MyISAM
    A2TtO_yoast_migrations: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_yoast_primary_term: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM
    A2TtO_yoast_seo_links: Daten: 0.01MB + Index: 0.00MB + Engine MyISAM

    ### Post Type Counts ###

    attachment: 175
    custom_css: 1
    customize_changeset: 28
    nav_menu_item: 38
    page: 42
    post: 24
    product: 76
    product_variation: 7
    revision: 99
    shop_order: 10
    spiel: 15
    team: 27
    training: 3

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (13) ###

    InfiniteWP – Client: von Revmakx – 1.9.4.11
    Event Tickets Manager for WooCommerce: von MakeWebBetter – 1.0.3
    Smash Balloon Instagram Feed: von Smash Balloon – 2.9.10
    Ninja Forms: von Saturday Drive – 3.6.7
    TypeRocket Pro – Andromeda: von TypeRocket – 5.0.49
    UpdraftPlus – Sichern/Wiederherstellen: von UpdraftPlus.Com
    DavidAnderson – 1.22.1

    German Market: von MarketPress – 3.13
    WooCommerce: von Automattic – 6.1.0
    Yoast SEO: von Team Yoast – 17.9
    WP Fastest Cache: von Emre Vona – 0.9.7
    WP Media folder: von Joomunited – 5.3.23
    WP Migrate DB: von Delicious Brains – 2.2.2
    Smush: von WPMU DEV – 3.9.4

    ### Inactive Plugins (0) ###

    ### Must Use Plugins (2) ###

    InfiniteWP – Client Loader: von Revmakx –
    WP Migrate DB Compatibility: von Delicious Brains – 1.2

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: event_ticket_manager (event_ticket_manager)
    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: –

    ### WC Pages ###

    Shop-Basis: #7 – /shop/
    Warenkorb: #8 – /warenkorb/
    Kasse: #9 – /kasse/
    Mein Konto: #10 – /mein-konto/
    Allgemeine Gesch?ftsbedingungen: #20 – /allgemeine_geschaeftsbedingungen/

    ### Theme ###

    Name: Test
    Version: 1.0
    Author URL:
    Child Theme: ? – Wenn du WooCommerce mit einem Theme
    das du nicht selbst entwickelt hast
    an eigene Bedürfnisse anpasst
    dann empfehlen wir die Verwendung eines Child-Themes. Siehe Wie du ein Child-Theme erstellst (engl.)

    WooCommerce Support: ?

    ### Templates ###

    Overrides: schwerin-diamonds/woocommerce/archive-product.php Version – ist veraltet. Die Hauptversion ist 3.4.0
    schwerin-diamonds/woocommerce/cart/cart.php
    schwerin-diamonds/woocommerce/content-single-product.php
    schwerin-diamonds/woocommerce/loop/pagination.php
    schwerin-diamonds/woocommerce/order/order-details-customer.php
    schwerin-diamonds/woocommerce/order/order-details.php
    schwerin-diamonds/woocommerce/single-product/related.php
    schwerin-diamonds/woocommerce/single-product.php

    Outdated Templates: ?

    Erfahre
    wie du aktualisieren kannst

    ### Action Scheduler ###

    Abgeschlossen: 163
    Oldest: 2022-01-07 06:37:00 +0100
    Newest: 2022-01-07 06:53:40 +0100

    Ausstehend: 192
    Oldest: -0001-11-30 00:53:28 +0053
    Newest: 2022-01-18 08:37:41 +0100

    ### Status report information ###

    Generated at: 2022-01-18 09:16:33 +01:00
    `

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter HG-DREI

    (@dreilaut)

    Hi @dreilaut!

    It’s hard to say which process is holding the lock, can you give the conflict test a try, please?

    The best way to determine this is to:

    1. Temporarily switch your theme to Storefront
    2. Disable all plugins except for WooCommerce
    3. 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.

    You can find a more detailed explanation on how to do a conflict test here.

    If by chance, you’re still having any issues with that, you may need to query your DB for that specific process.

    I’d recommend checking the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack.

    We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    All the best,

    Thread Starter HG-DREI

    (@dreilaut)

    Hi André a11n,

    thanks for your reply! We have this problem with 3-4 WooCommerce Installations. If i disable the plugin the error don’t appear.

    Last year we changed the Server and get a upgrade to MariaDB – can this be the problem?

    Is it possible to export all Woo-Settings (and Data) and do a new install? I can’t find a Plugin for that…

    Greetings
    Henry

    Hi there,

    We recommend MySQL version 5.6 or greater OR MariaDB version 10.1 or greater.

    Have you contacted your hosting company about this? They will be able to assist, please do and let us know how it goes.

    Thread Starter HG-DREI

    (@dreilaut)

    Hi Igor,

    its MariaDB 10.5.11. Hoster says its software-fault and not there problem.

    Mirko P.

    (@rainfallnixfig)

    Hi @dreilaut,

    Can you confirm you’ve done the conflict testing? Does the issue persist when you only have WooCommerce and the default Storefront theme enabled?

    Is it possible to export all Woo-Settings (and Data) and do a new install?

    There isn’t a default option to export WooCommerce settings but someone made this feature request on our Ideas Board. Feel free to add your vote(s) to it. The more popular an idea becomes, the more of a priority it is for our developers to review.

    https://ideas.woocommerce.com/forums/133476-woocommerce/suggestions/4104755-import-export-shop-settings

    Cheers.

    Thread Starter HG-DREI

    (@dreilaut)

    Hi @rainfallnixfig,

    i can’t, because i don’t know which event trigger that error. But i know, i doesent happen if woocommerce is deactivated.

    Yesterday again server get stuck, need to kill process in phpmyadmin so it will run again.

    Cheers

    Mirko P.

    (@rainfallnixfig)

    Hi @dreilaut,

    The first step you would do to resolve issues is the conflict test and we recommend performing it on a staging site instead of your production site. You can use a plugin like WP Staging to duplicate your site: https://www.ads-software.com/plugins/wp-staging/.

    Once you’re in a staging environment would you mind taking the following steps?

    1. Temporarily switch to one of our default themes, such as Storefront to ensure that this isn’t a theme compatibility issue. Once you switch themes, can you check and see if everything functions as expected?

    2. If not, we also recommend deactivating all plugins except for WooCommerce to see if this resolves the issue at that point. If it does, then you would need to activate each plugin, one at a time, to see if you can find the conflicting extension/plugin.

    If the issue persists with only Storefront and WooCommerce enabled, then your following step would be logging errors to see if you’re able to locate the culprit. Follow the steps here for debugging in WordPress:

    https://github.com/woocommerce/woocommerce/wiki/Using-WP_DEBUG_LOG-to-log-errors

    Cheers.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘MariaDB Database crash’ is closed to new replies.