Skip to content

WP DB export not working #283

Description

@prosenjit-manna

WP DB export not working

Debug info

wp --info
OS: Linux 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
Shell: /bin/bash
PHP binary: /opt/alt/php83/usr/bin/php
PHP version: 8.3.16
php.ini used: /opt/alt/php83/etc/php.ini
MySQL binary: /usr/bin/mysql
MySQL version: mysql Ver 15.1 Distrib 10.11.10-MariaDB, for Linux (x86_64) using readline 5.1
SQL modes:
WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: /*/public_html-OLD
WP-CLI packages dir:
WP-CLI cache dir: /home/
/.wp-cli/cache
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.11.0

wp db check
u415340742_halmaritea_stg.wp_commentmeta OK
u415340742_halmaritea_stg.wp_comments OK
u415340742_halmaritea_stg.wp_links OK
u415340742_halmaritea_stg.wp_options OK
u415340742_halmaritea_stg.wp_postmeta OK
u415340742_halmaritea_stg.wp_posts OK
u415340742_halmaritea_stg.wp_term_relationships OK
u415340742_halmaritea_stg.wp_term_taxonomy OK
u415340742_halmaritea_stg.wp_termmeta OK
u415340742_halmaritea_stg.wp_terms OK
u415340742_halmaritea_stg.wp_usermeta OK
u415340742_halmaritea_stg.wp_users

wp db export --debug
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\DeclareAbstractBaseCommand (0.014s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\IncludeFrameworkAutoloader (0.015s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\ConfigureRunner (0.015s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\IncludeRequestsAutoloader (0.015s)
Debug (bootstrap): Setting RequestsLibrary::$version to v2 (0.015s)
Debug (bootstrap): Setting RequestsLibrary::$source to wp-core (0.015s)
Debug (bootstrap): Setting RequestsLibrary::$class_name to \WpOrg\Requests\Requests (0.015s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\InitializeColorization (0.015s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\InitializeLogger (0.015s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\DefineProtectedCommands (0.015s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\LoadExecCommand (0.015s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\LoadRequiredCommand (0.015s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\IncludePackageAutoloader (0.015s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\IncludeFallbackAutoloader (0.016s)
Debug (bootstrap): Fallback autoloader paths: phar://wp-cli.phar/vendor/autoload.php (0.016s)
Debug (bootstrap): Loading detected autoloader: phar://wp-cli.phar/vendor/autoload.php (0.016s)
Debug (bootstrap): Attaching command 'config edit' to hook before_wp_load (0.028s)
Debug (bootstrap): Attaching command 'config path' to hook before_wp_load (0.028s)
Debug (bootstrap): Attaching command 'config list' to hook before_wp_load (0.028s)
Debug (bootstrap): Attaching command 'config get' to hook before_wp_load (0.032s)
Debug (bootstrap): Attaching command 'config is-true' to hook before_wp_load (0.033s)
Debug (bootstrap): Attaching command 'config set' to hook before_wp_load (0.033s)
Debug (bootstrap): Attaching command 'config delete' to hook before_wp_load (0.036s)
Debug (bootstrap): Attaching command 'config has' to hook before_wp_load (0.036s)
Debug (bootstrap): Attaching command 'config shuffle-salts' to hook before_wp_load (0.037s)
Debug (commands): Adding command: config (0.038s)
Debug (bootstrap): Attaching command 'core download' to hook before_wp_load (0.043s)
Debug (bootstrap): Attaching command 'core version' to hook before_wp_load (0.053s)
Debug (commands): Adding command: core (0.058s)
Debug (bootstrap): Attaching command 'eval' to hook before_wp_load (0.059s)
Debug (commands): Adding command: eval (0.059s)
Debug (bootstrap): Attaching command 'eval-file' to hook before_wp_load (0.059s)
Debug (commands): Adding command: eval-file (0.06s)
Debug (commands): Adding command: cache (0.066s)
Debug (commands): Adding command: transient (0.071s)
Debug (bootstrap): Attaching command 'core verify-checksums' to hook before_wp_load (0.072s)
Debug (commands): Adding command: verify-checksums in core Namespace (0.075s)
Debug (commands): Adding command: plugin (0.076s)
Debug (commands): Adding command: verify-checksums in plugin Namespace (0.078s)
Debug (commands): Adding command: cron (0.079s)
Debug (commands): Adding command: event in cron Namespace (0.087s)
Debug (commands): Adding command: schedule in cron Namespace (0.088s)
Debug (bootstrap): Attaching command 'db' to hook after_wp_config_load (0.091s)
Debug (bootstrap): Attaching command 'db clean' to hook after_wp_load (0.094s)
Debug (bootstrap): Attaching command 'db tables' to hook after_wp_load (0.113s)
Debug (bootstrap): Attaching command 'db size' to hook after_wp_load (0.115s)
Debug (bootstrap): Attaching command 'db prefix' to hook after_wp_load (0.117s)
Debug (bootstrap): Attaching command 'db search' to hook after_wp_load (0.117s)
Debug (bootstrap): Attaching command 'db columns' to hook after_wp_load (0.135s)
Debug (commands): Adding command: db (0.141s)
Debug (commands): Adding command: embed (0.142s)
Debug (commands): Adding command: fetch in embed Namespace (0.147s)
Debug (commands): Adding command: provider in embed Namespace (0.151s)
Debug (commands): Adding command: handler in embed Namespace (0.152s)
Debug (commands): Adding command: cache in embed Namespace (0.156s)
Debug (commands): Adding command: comment (0.166s)
Debug (commands): Adding command: meta in comment Namespace (0.17s)
Debug (commands): Adding command: menu (0.171s)
Debug (commands): Adding command: item in menu Namespace (0.176s)
Debug (commands): Adding command: location in menu Namespace (0.177s)
Debug (commands): Deferring command: network meta (0.178s)
Debug (commands): Adding command: option (0.19s)
Debug (commands): Adding command: post (0.212s)
Debug (commands): Adding command: meta in post Namespace (0.215s)
Debug (commands): Adding command: term in post Namespace (0.217s)
Debug (commands): Adding command: post-type (0.22s)
Debug (commands): Adding command: site (0.234s)
Debug (commands): Adding command: meta in site Namespace (0.237s)
Debug (commands): Adding command: option in site Namespace (0.241s)
Debug (commands): Adding command: taxonomy (0.244s)
Debug (commands): Adding command: term (0.252s)
Debug (commands): Adding command: meta in term Namespace (0.254s)
Debug (commands): Adding command: user (0.269s)
Debug (commands): Adding command: application-password in user Namespace (0.275s)
Debug (commands): Adding command: meta in user Namespace (0.279s)
Debug (commands): Adding command: session in user Namespace (0.282s)
Debug (commands): Adding command: term in user Namespace (0.284s)
Debug (commands): Adding command: network (0.284s)
Debug (hooks): Processing hook "after_add_command:network" with 1 callbacks (0.284s)
Debug (hooks): On hook "after_add_command:network": Closure in file phar:///usr/local/bin/wp-cli-2.11.0.phar/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 695 (0.284s)
Debug (commands): Adding command: meta in network Namespace (0.287s)
Debug (commands): Adding command: signup in user Namespace (0.291s)
Debug (commands): Adding command: export (0.297s)
Debug (commands): Adding command: plugin (0.332s)
Debug (commands): Adding command: auto-updates in plugin Namespace (0.334s)
Debug (commands): Adding command: theme (0.35s)
Debug (commands): Adding command: auto-updates in theme Namespace (0.352s)
Debug (commands): Adding command: mod in theme Namespace (0.355s)
Debug (bootstrap): Attaching command 'i18n' to hook before_wp_load (0.355s)
Debug (commands): Adding command: i18n (0.355s)
Debug (bootstrap): Attaching command 'i18n make-pot' to hook before_wp_load (0.357s)
Debug (commands): Adding command: make-pot in i18n Namespace (0.369s)
Debug (bootstrap): Attaching command 'i18n make-json' to hook before_wp_load (0.37s)
Debug (commands): Adding command: make-json in i18n Namespace (0.373s)
Debug (bootstrap): Attaching command 'i18n make-mo' to hook before_wp_load (0.374s)
Debug (commands): Adding command: make-mo in i18n Namespace (0.374s)
Debug (bootstrap): Attaching command 'i18n make-php' to hook before_wp_load (0.374s)
Debug (commands): Adding command: make-php in i18n Namespace (0.375s)
Debug (bootstrap): Attaching command 'i18n update-po' to hook before_wp_load (0.376s)
Debug (commands): Adding command: update-po in i18n Namespace (0.377s)
Debug (commands): Adding command: import (0.384s)
Debug (commands): Deferring command: language core (0.385s)
Debug (commands): Deferring command: language plugin (0.386s)
Debug (commands): Deferring command: language theme (0.387s)
Debug (hooks): Immediately invoking on passed hook "after_add_command:site": Closure in file phar:///usr/local/bin/wp-cli-2.11.0.phar/vendor/wp-cli/language-command/language-command.php at line 39 (0.387s)
Debug (commands): Adding command: switch-language in site Namespace (0.387s)
Debug (commands): Adding command: language (0.388s)
Debug (hooks): Processing hook "after_add_command:language" with 3 callbacks (0.388s)
Debug (hooks): On hook "after_add_command:language": Closure in file phar:///usr/local/bin/wp-cli-2.11.0.phar/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 695 (0.388s)
Debug (commands): Adding command: core in language Namespace (0.39s)
Debug (hooks): On hook "after_add_command:language": Closure in file phar:///usr/local/bin/wp-cli-2.11.0.phar/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 695 (0.39s)
Debug (commands): Adding command: plugin in language Namespace (0.393s)
Debug (hooks): On hook "after_add_command:language": Closure in file phar:///usr/local/bin/wp-cli-2.11.0.phar/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 695 (0.393s)
Debug (commands): Adding command: theme in language Namespace (0.397s)
Debug (bootstrap): Attaching command 'maintenance-mode' to hook after_wp_load (0.398s)
Debug (commands): Adding command: maintenance-mode (0.398s)
Debug (commands): Adding command: media (0.411s)
Debug (bootstrap): Attaching command 'package' to hook before_wp_load (0.414s)
Debug (commands): Adding command: package (0.42s)
Debug (commands): Adding command: rewrite (0.423s)
Debug (commands): Adding command: rewrite (0.424s)
Debug (commands): Adding command: cap (0.426s)
Debug (commands): Adding command: role (0.428s)
Debug (commands): Adding command: scaffold (0.444s)
Debug (commands): Adding command: search-replace (0.457s)
Debug (bootstrap): Attaching command 'server' to hook before_wp_load (0.458s)
Debug (commands): Adding command: server (0.46s)
Debug (commands): Adding command: shell (0.461s)
Debug (commands): Adding command: super-admin (0.463s)
Debug (commands): Adding command: widget (0.467s)
Debug (commands): Adding command: sidebar (0.468s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\RegisterFrameworkCommands (0.468s)
Debug (bootstrap): Adding framework command: phar://wp-cli.phar/vendor/wp-cli/wp-cli/php/commands/cli.php (0.469s)
Debug (bootstrap): Attaching command 'cli' to hook before_wp_load (0.471s)
Debug (bootstrap): Attaching command 'cli has-command' to hook after_wp_load (0.48s)
Debug (commands): Adding command: cli (0.482s)
Debug (bootstrap): Attaching command 'cli cache' to hook before_wp_load (0.482s)
Debug (commands): Adding command: cache in cli Namespace (0.483s)
Debug (bootstrap): Attaching command 'cli alias' to hook before_wp_load (0.483s)
Debug (commands): Adding command: alias in cli Namespace (0.487s)
Debug (bootstrap): Adding framework command: phar://wp-cli.phar/vendor/wp-cli/wp-cli/php/commands/help.php (0.487s)
Debug (commands): Adding command: help (0.488s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\RegisterDeferredCommands (0.488s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\InitializeContexts (0.488s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\LaunchRunner (0.489s)
Debug (bootstrap): No readable global config found (0.489s)
Debug (bootstrap): No project config found (0.489s)
Debug (bootstrap): argv: /usr/local/bin/wp db export --debug (0.489s)
Debug (bootstrap): ABSPATH defined: /home/u415340742/domains/******public_html-OLD/ (0.489s)
Debug (hooks): Executing hook: before_wp_load (0.489s)
Debug (context): Using context 'cli' (0.489s)
Debug (bootstrap): Begin WordPress load (0.49s)
Debug (bootstrap): wp-config.php path: /home/u415340742/domains/******public_html-OLD/wp-config.php (0.49s)
Debug (bootstrap): Looking for UTF-8 BOM (0.49s)
Debug (bootstrap): Looking for UTF-16 (BE) BOM (0.49s)
Debug (bootstrap): Looking for UTF-16 (LE) BOM (0.49s)
Debug (hooks): Executing hook: after_wp_config_load (0.49s)
Debug (hooks): Processing hook "before_run_command" with 1 callbacks (0.491s)
Debug (hooks): On hook "before_run_command": WP_CLI\Bootstrap\RegisterDeferredCommands->add_deferred_commands() (0.491s)
Debug (bootstrap): Running command: db export (0.491s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions