Open simpixelated opened 5 years ago
@simpixelated - I had the same issue. Steps to debug/resolve in my case:
wp core install
. Success.This is a WIP, but a green build for reference: https://circleci.com/gh/WP2Static/wp2static/755
I assume in the reporter's case, the issue is something similar to an extension missing. I agree that WP-CLI should do a better job here of letting the user know what is happening. Silently failing is never a good option.
Bug Report
Describe the current, buggy behavior
wp core install
fails silently;echo $?
shows error code 255Describe how other contributors can replicate this bug
Here are the commands I'm running after installing wp-cli:
Describe what you would expect as the correct outcome
install succeeds or at least provides more debug info about why it fails
Let us know what environment you are running this on
CircleCI using their PHP and MySQL docker images
Here is the output from running
core install
again on the CircleCI box directly (via ssh) with all--skip
options and--debug
added. I tried specifying a path for download, config, and install, but it still fails at the same spot. I can see that the wp-config.php file exists at that path and it looks correct.