Skip to content

core update fails inside latest wordpress Docker image #4879

@tofumatt

Description

@tofumatt

Gutenberg's tests are failing because when we run wp-cli core update inside the official WordPress docker image (https://github.com/WordPress/gutenberg/blob/master/bin/install-wordpress.sh#L52) we get an error:

Warning: Unable to create directory wp-content/uploads/2018/08. Is its parent directory writable by the server?
Updating to version 4.9.8 (en_US)...
Downloading update from https://downloads.wordpress.org/release/wordpress-4.9.8-no-content.zip...
Unpacking the update...
Error: Could not create directory.

Removing the update command things work fine, regardless of WordPress image version.

I have no idea how WP CLI works but it seems an issue with it. 🤷‍♂️

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions