WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#39804 closed defect (bug) (invalid)

WP Cli Update Issue

Reported by: designextreme Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7.1
Component: General Keywords:
Focuses: Cc:

Description

I am trying to update from 4.7.1 to 4.7.2 and nothing happens...

wp core update --allow-root

(currently in an active WordPress website, or I can use --path)

I have the latest WP-Cli installed.

I have around 50 WordPress installations to update and I need WP-Cli to do its job.

  • Noah

Change History (3)

#1 @pothi
3 years ago

Hi Noah,

Sorry to know that you have had issues in updating WP core.

Try to run wp cli with --debug flag to see any errors.

Also, please include as much information as possible to replicate the issue.

#2 @designextreme
3 years ago

Here is what happened...

root@server [~]# cd /home/user/public_html
root@server [/home/user/public_html]# wp --allow-root core version
4.7.1
root@server [/home/user/public_html]# wp --allow-root core update
root@server [/home/user/public_html]# wp --allow-root core update --debug
Debug (bootstrap): No readable global config found (0.006s)
Debug (bootstrap): No project config found (0.006s)
Debug (bootstrap): No package autoload found to load. (0.094s)
Debug (bootstrap): ABSPATH defined: /home/user/public_html/ (0.094s)
Debug (bootstrap): Begin WordPress load (0.094s)
Debug (bootstrap): wp-config.php path: /home/user/public_html/wp-config.php (0.094s)

That's it.

I've edited it a little for privacy.

#3 @rmccue
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi, and welcome to Trac! Trac is primarily for bug reports for WordPress core, whereas wp-cli issues are tracked on GitHub. I'd recommend filing an issue over there instead.

Note: See TracTickets for help on using tickets.