Skip to content

wp core download : "Error: This does not seem to be a WordPress install." #14

@Demayl

Description

@Demayl

CentOS release 6.8 (Final) with PHP 5.3.3 & 7.0.17 for tests.
Installed with proposed procedure

curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp

In empty directory command fails with

wp core download
Error: This does not seem to be a WordPress install.
Pass --path=path/to/wordpress or run wp core download.

Tried with PHP 7.0 and error is the same.

php70 /usr/local/bin/wp --info
PHP binary:	/opt/remi/php70/root/usr/bin/php
PHP version:	7.0.17
php.ini used:	/etc/opt/remi/php70/php.ini
WP-CLI root dir:	phar://wp-cli.phar
WP-CLI packages dir:	
WP-CLI global config:	
WP-CLI project config:	
WP-CLI version:	1.1.0
php70 /usr/local/bin/wp core download --debug
Debug (bootstrap): No readable global config found (0.009s)
Debug (bootstrap): No project config found (0.01s)
Debug (bootstrap): No package autoload found to load. (0.034s)
Debug (bootstrap): ABSPATH defined: /home/testing/public_html/wordpress/ (0.034s)
Error: This does not seem to be a WordPress install.
Pass --path=`path/to/wordpress` or run `wp core download`.

Tried with root and custom account - same result.
With missing directory as target error is same. So i think that it doesn't invoke download method at all

wp core download --path='/home/testing/public_html/missing' --debug
Debug (bootstrap): No readable global config found (0.014s)
Debug (bootstrap): No project config found (0.015s)
Debug (bootstrap): No package autoload found to load. (0.051s)
Debug (bootstrap): ABSPATH defined: /home/testing/public_html/missing/ (0.051s)
Error: This does not seem to be a WordPress install.
Pass --path=`path/to/wordpress` or run `wp core download`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    command:coreRelated to 'core' command

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions