Thanks to visit codestin.com
Credit goes to github.com

Skip to content

wp core install command stucked #5827

@fbst999

Description

@fbst999

Hi,

I'm currently using the 2.8.1 version of wp-cli


OS:     Linux 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
Shell:  /bin/bash
PHP binary:     /usr/bin/php8.1
PHP version:    8.1.2-1ubuntu2.13
php.ini used:   /etc/php/8.1/cli/php.ini
MySQL binary:   /usr/bin/mysql
MySQL version:  mysql  Ver 8.0.34-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu))
SQL modes:      ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
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:       /root
WP-CLI packages dir:
WP-CLI cache dir:       /root/.wp-cli/cache
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.8.1

I'm trying to install wordpress with wp core install command but it's stucked to this stage:

Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\DeclareAbstractBaseCommand (0.005s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\IncludeFrameworkAutoloader (0.006s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\ConfigureRunner (0.006s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\IncludeRequestsAutoloader (0.006s)
Debug (bootstrap): Setting RequestsLibrary::$version to v2 (0.006s)
Debug (bootstrap): Setting RequestsLibrary::$source to wp-core (0.006s)
Debug (bootstrap): Setting RequestsLibrary::$class_name to \WpOrg\Requests\Requests (0.006s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\InitializeColorization (0.006s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\InitializeLogger (0.006s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\DefineProtectedCommands (0.006s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\LoadExecCommand (0.006s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\LoadRequiredCommand (0.007s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\IncludePackageAutoloader (0.007s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\IncludeFallbackAutoloader (0.007s)
Debug (bootstrap): Fallback autoloader paths: phar://wp-cli.phar/vendor/autoload.php (0.007s)
Debug (bootstrap): Loading detected autoloader: phar://wp-cli.phar/vendor/autoload.php (0.007s)
Debug (commands): Adding command: config (0.01s)
Debug (commands): Adding command: core (0.012s)
Debug (commands): Adding command: eval (0.012s)
Debug (commands): Adding command: eval-file (0.012s)
Debug (commands): Adding command: cache (0.012s)
Debug (commands): Adding command: transient (0.013s)
Debug (commands): Adding command: verify-checksums in core Namespace (0.013s)
Debug (commands): Adding command: plugin (0.013s)
Debug (commands): Adding command: verify-checksums in plugin Namespace (0.014s)
Debug (commands): Adding command: cron (0.014s)
Debug (commands): Adding command: event in cron Namespace (0.014s)
Debug (commands): Adding command: schedule in cron Namespace (0.015s)
Debug (commands): Adding command: db (0.016s)
Debug (commands): Adding command: embed (0.016s)
Debug (commands): Adding command: fetch in embed Namespace (0.016s)
Debug (commands): Adding command: provider in embed Namespace (0.016s)
Debug (commands): Adding command: handler in embed Namespace (0.017s)
Debug (commands): Adding command: cache in embed Namespace (0.017s)
Debug (commands): Adding command: comment (0.018s)
Debug (commands): Adding command: meta in comment Namespace (0.018s)
Debug (commands): Adding command: menu (0.018s)
Debug (commands): Adding command: item in menu Namespace (0.019s)
Debug (commands): Adding command: location in menu Namespace (0.019s)
Debug (commands): Deferring command: network meta (0.019s)
Debug (commands): Adding command: option (0.02s)
Debug (commands): Adding command: post (0.02s)
Debug (commands): Adding command: meta in post Namespace (0.02s)
Debug (commands): Adding command: term in post Namespace (0.021s)
Debug (commands): Adding command: post-type (0.021s)
Debug (commands): Adding command: site (0.022s)
Debug (commands): Adding command: meta in site Namespace (0.022s)
Debug (commands): Adding command: option in site Namespace (0.022s)
Debug (commands): Adding command: taxonomy (0.023s)
Debug (commands): Adding command: term (0.023s)
Debug (commands): Adding command: meta in term Namespace (0.023s)
Debug (commands): Adding command: user (0.024s)
Debug (commands): Adding command: application-password in user Namespace (0.025s)
Debug (commands): Adding command: meta in user Namespace (0.025s)
Debug (commands): Adding command: session in user Namespace (0.025s)
Debug (commands): Adding command: term in user Namespace (0.025s)
Debug (commands): Adding command: network (0.025s)
Debug (hooks): Processing hook "after_add_command:network" with 1 callbacks (0.025s)
Debug (hooks): On hook "after_add_command:network": Closure in file phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 695 (0.025s)
Debug (commands): Adding command: meta in network Namespace (0.026s)
Debug (commands): Adding command: export (0.026s)
Debug (commands): Adding command: plugin (0.028s)
Debug (commands): Adding command: auto-updates in plugin Namespace (0.028s)
Debug (commands): Adding command: theme (0.029s)
Debug (commands): Adding command: auto-updates in theme Namespace (0.029s)
Debug (commands): Adding command: mod in theme Namespace (0.029s)
Debug (commands): Adding command: i18n (0.03s)
Debug (commands): Adding command: make-pot in i18n Namespace (0.03s)
Debug (commands): Adding command: make-json in i18n Namespace (0.031s)
Debug (commands): Adding command: make-mo in i18n Namespace (0.031s)
Debug (commands): Adding command: update-po in i18n Namespace (0.031s)
Debug (commands): Adding command: import (0.031s)
Debug (commands): Deferring command: language core (0.032s)
Debug (commands): Deferring command: language plugin (0.032s)
Debug (commands): Deferring command: language theme (0.033s)
Debug (hooks): Immediately invoking on passed hook "after_add_command:site": Closure in file phar:///usr/local/bin/wp/vendor/wp-cli/language-command/language-command.php at line 39 (0.033s)
Debug (commands): Adding command: switch-language in site Namespace (0.033s)
Debug (commands): Adding command: language (0.033s)
Debug (hooks): Processing hook "after_add_command:language" with 3 callbacks (0.033s)
Debug (hooks): On hook "after_add_command:language": Closure in file phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 695 (0.033s)
Debug (commands): Adding command: core in language Namespace (0.033s)
Debug (hooks): On hook "after_add_command:language": Closure in file phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 695 (0.033s)
Debug (commands): Adding command: plugin in language Namespace (0.033s)
Debug (hooks): On hook "after_add_command:language": Closure in file phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 695 (0.033s)
Debug (commands): Adding command: theme in language Namespace (0.034s)
Debug (commands): Adding command: maintenance-mode (0.034s)
Debug (commands): Adding command: media (0.035s)
Debug (commands): Adding command: package (0.036s)
Debug (commands): Adding command: rewrite (0.036s)
Debug (commands): Adding command: rewrite (0.036s)
Debug (commands): Adding command: cap (0.036s)
Debug (commands): Adding command: role (0.037s)
Debug (commands): Adding command: scaffold (0.038s)
Debug (commands): Adding command: search-replace (0.039s)
Debug (commands): Adding command: server (0.039s)
Debug (commands): Adding command: shell (0.039s)
Debug (commands): Adding command: super-admin (0.04s)
Debug (commands): Adding command: widget (0.04s)
Debug (commands): Adding command: sidebar (0.04s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\RegisterFrameworkCommands (0.04s)
Debug (bootstrap): Adding framework command: phar://wp-cli.phar/vendor/wp-cli/wp-cli/php/commands/cli.php (0.04s)
Debug (commands): Adding command: cli (0.041s)
Debug (commands): Adding command: cache in cli Namespace (0.041s)
Debug (commands): Adding command: alias in cli Namespace (0.042s)
Debug (bootstrap): Adding framework command: phar://wp-cli.phar/vendor/wp-cli/wp-cli/php/commands/help.php (0.042s)
Debug (commands): Adding command: help (0.042s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\RegisterDeferredCommands (0.042s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\InitializeContexts (0.042s)
Debug (bootstrap): Processing bootstrap step: WP_CLI\Bootstrap\LaunchRunner (0.043s)
Debug (bootstrap): No readable global config found (0.043s)
Debug (bootstrap): No project config found (0.043s)
Debug (bootstrap): argv: /usr/local/bin/wp --debug core install --allow-root --path=/var/www/html/wordpress/ --url=http://IP/wordpress --title=wordpress --admin_user=admin --admin_password=pass --admin_email=email@admin (0.043s)
Debug (bootstrap): ABSPATH defined: /var/www/html/wordpress/ (0.043s)
Debug (bootstrap): Set URL: http://IP/wordpress (0.043s)
Debug (context): Using context 'cli' (0.043s)
Debug (bootstrap): Begin WordPress load (0.043s)
Debug (bootstrap): wp-config.php path: /var/www/html/wordpress/wp-config.php (0.044s)
Debug (bootstrap): Looking for UTF-8 BOM (0.044s)
Debug (bootstrap): Looking for UTF-16 (BE) BOM (0.044s)
Debug (bootstrap): Looking for UTF-16 (LE) BOM (0.044s)

I have installed php 8.1 libraries and everything is looking good, but I can't understand why it's blocking at this stage.
The os is ubuntu 22.04.3
Thanks a lot
Do someone have any idea to solve this?

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