close

May 2024 only! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

Error: Couldn’t extract WordPress archive. There was an error overwriting…

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #21399
    Lawrence
    Guest

    getting this during ss-install-wordpress-packages

    md5 hash verified: 46302cce69a61e50154446d8be447eec
    Warning: Unable to copy 'wp-login.php' to current directory.
    Warning: Unable to copy 'wp-cron.php' to current directory.
    Warning: Unable to copy 'wp-activate.php' to current directory.
    Warning: Unable to copy 'wp-comments-post.php' to current directory.
    Warning: Unable to copy 'wp-content/themes/index.php' to current directory.
    Warning: Unable to copy 'wp-content/index.php' to current directory.
    Warning: Unable to copy 'wp-content/plugins/index.php' to current directory.
    Warning: Unable to copy 'index.php' to current directory.
    Warning: Unable to copy 'wp-load.php' to current directory.
    Warning: Unable to copy 'wp-signup.php' to current directory.
    Warning: Unable to copy 'wp-blog-header.php' to current directory.
    Warning: Unable to copy 'wp-config-sample.php' to current directory.
    Warning: Unable to copy 'wp-settings.php' to current directory.
    Error: Couldn't extract WordPress archive. There was an error overwriting existing files.
    #21400
    Lori
    Guest

    this is from 2017, is it related?

    Solution: Couldn’t extract WordPress archive error

    But there are multiple workarounds to fix this on your end.

    #1. Update WP-CLI to a nightly build (recommended)
    The nightly build of WP-CLI is working correctly. You can update WP-CLI using:

    sudo wp –allow-root cli update –nightly

    Now you should be able to download WordPress successfully using Easy Engine.

    #2. Force WP-CLI to download WordPress 4.8.1
    Please run following commands in once to create a config.yml file that will override the WP-CLI defaults.

    cat <<EOF > ~/.wp-cli/config.yml
    core download:
    version: 4.8.1
    EOF
    Now, you can create a WordPress site using EasyEngine commands.

    #21402
    Juan
    Guest

    sounds like permission issue

    #21403
    Anthony
    Guest

    https://github.com/bradp/vv/issues/367

    https://github.com/wp-cli/wp-cli/issues/4370#issuecomment-333978968

    WP-CLI uses tar

    it should have permission if login SS with sudo right

    #21412
    Nancy
    Guest

    as I recall these type of errors have been happening a long time with wp-cli and doesn’t necessarily mean permission issue.

    #21414
    Gloria
    Guest

    Update:

    Guys we have reverted this change in SlickStack.

    WP-CLI will no longer be used to download WP Core files, because we found it to be unreliable, and we are going back to using ss_wget on the latest.zip file and simply unzipping it while deleting any old PHP files that may exist in the public dir.

    Sorry and thanks 🙏

    https://github.com/littlebizzy/slickstack/blob/master/bash/ss-install-wordpress-packages.txt

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Thanks to our generous sponsors for their support!