Welcome to Centmin Mod Community
Register Now

[Solved] Wordpress file could not be downloaded (HTTP/1.1 404 Not Found) WP-CLI

Discussion in 'Bug Reports' started by EckyBrazzz, Oct 26, 2019.

  1. EckyBrazzz

    EckyBrazzz Active Member

    767
    153
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +280
    Local Time:
    4:15 PM
    1.17.x Cluster
    10.3.x Cluster & Redis
    Hi There,

    Don't know, just wanted to set up a new site, but got an error about wp-cli.

    So reporting it.
    Code (Text):
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 22
    --------------------------------------------------------
    ------------------------------------------------------------
    Update wp-cli tool
    ------------------------------------------------------------
    updating...
    -------------------------------------------------------------
    update wp-cli packages
    Using Composer to update packages...
    ---
    Loading composer repositories with package information
    Updating dependencies
    Warning: The "https://packagist.org/p/provider-2016%24fc91522487a8c68996464e8098d1add7f66c72faa3ac10a4d932886dd6089d4f.json" file could not be downloaded (HTTP/1.1 404 Not Found)
    ---
    Error: Failed to update packages.
    -------------------------------------------------------------
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    42,262
    9,550
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,708
    Local Time:
    5:15 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    try running wp-cli update manually via addons/wpcli.sh command below
    Code (Text):
    /usr/local/src/centminmod/addons/wpcli.sh update
     
  3. EckyBrazzz

    EckyBrazzz Active Member

    767
    153
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +280
    Local Time:
    4:15 PM
    1.17.x Cluster
    10.3.x Cluster & Redis
    Yep,

    Thanks works, but noticed an update on Centmin.

    Code (Text):
    /usr/local/src/centminmod/addons/wpcli.sh update
    updating...
    -------------------------------------------------------------
    update wp-cli packages
    Using Composer to update packages...
    ---
    Loading composer repositories with package information
    Updating dependencies
    Resolving dependencies through SAT
    Looking at all rules.
    Something's changed, looking at all rules again (pass #1)
    
    Dependency resolution completed in 0.020 seconds
    Analyzed 1527 packages to resolve dependencies
    Analyzed 39958 rules to resolve dependencies
    Nothing to install or update
    Generating autoload files
    ---
    Success: Packages updated.
    -------------------------------------------------------------
    update wp-cli
    2019-10-26 12:17:14 URL:https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar [5542314/5542314] -> "/usr/bin/wp" [1]
    OS:     Linux 5.3.7-1.el7.elrepo.x86_64 #1 SMP Thu Oct 17 18:17:07 EDT 2019 x86_64
    Shell:  /bin/bash
    PHP binary:     /usr/local/bin/php
    PHP version:    7.3.11
    php.ini used:   /usr/local/lib/php.ini
    WP-CLI root dir:        phar://wp-cli.phar/vendor/wp-cli/wp-cli
    WP-CLI vendor dir:      phar://wp-cli.phar/vendor
    WP_CLI phar path:       /root/tools
    WP-CLI packages dir:    /root/.wp-cli/packages/
    WP-CLI global config:
    WP-CLI project config:
    WP-CLI version: 2.3.0
    
    -------------------------------------------------------------
    wp-cli update completed
    Read http://wp-cli.org/ for full usage info
    ---------------------------------------------------------
    


    But error is still there

    Code (Text):
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 22
    --------------------------------------------------------
    ------------------------------------------------------------
    Update wp-cli tool
    ------------------------------------------------------------
    updating...
    -------------------------------------------------------------
    update wp-cli packages
    Using Composer to update packages...
    ---
    Loading composer repositories with package information
    Updating dependencies
    Warning: The "https://packagist.org/p/provider-2015%24388aba92c0dcf5c49c5ef6281aee51336f0df71b3d6a4111efbe8558d462bb03.json" file could not be downloaded (HTTP/1.1 404 Not Found)
    
     
  4. EckyBrazzz

    EckyBrazzz Active Member

    767
    153
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +280
    Local Time:
    4:15 PM
    1.17.x Cluster
    10.3.x Cluster & Redis
    @eva2000 Seems you fixed it.:) Nice to have a cron to keep Centmin Git updated every 3 hours.

    Code (Text):
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 22
    --------------------------------------------------------
    ------------------------------------------------------------
    Update wp-cli tool
    ------------------------------------------------------------
    updating...
    -------------------------------------------------------------
    update wp-cli packages
    Using Composer to update packages...
    ---
    Loading composer repositories with package information
    Updating dependencies
    Resolving dependencies through SAT
    Looking at all rules.
    Something's changed, looking at all rules again (pass #1)
    
    Dependency resolution completed in 0.018 seconds
    Analyzed 1527 packages to resolve dependencies
    Analyzed 39958 rules to resolve dependencies
    Nothing to install or update
    Generating autoload files
    ---
    Success: Packages updated.
    -------------------------------------------------------------
    update wp-cli
    2019-10-26 16:09:53 URL:https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar [5542314/5542314] -> "/usr/bin/wp" [1]
    OS:     Linux 5.3.7-1.el7.elrepo.x86_64 #1 SMP Thu Oct 17 18:17:07 EDT 2019 x86_64
    Shell:  /bin/bash
    PHP binary:     /usr/local/bin/php
    PHP version:    7.3.11
    php.ini used:   /usr/local/lib/php.ini
    WP-CLI root dir:        phar://wp-cli.phar/vendor/wp-cli/wp-cli
    WP-CLI vendor dir:      phar://wp-cli.phar/vendor
    WP_CLI phar path:       /usr/local/src/centminmod/addons
    WP-CLI packages dir:    /root/.wp-cli/packages/
    WP-CLI global config:
    WP-CLI project config:
    WP-CLI version: 2.3.0
    
    -------------------------------------------------------------
    wp-cli update completed
    Read http://wp-cli.org/ for full usage info
    -------------------------------------------------------------
    
     
  5. eva2000

    eva2000 Administrator Staff Member

    42,262
    9,550
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,708
    Local Time:
    5:15 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    no updates made on my end for this, so might have been a temp issue on their server end
     
    • Informative Informative x 1