The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can i Change the mirror server during the upgrade, or cancel?

Discussion in 'General Discussion' started by toyama, Mar 2, 2015.

  1. toyama

    toyama Member

    Joined:
    Jun 17, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    When rare to run upgrade of the latest cPanel, slow download the upgrade package.

    I it may be slow download of upgrade packages when you run the upgrade of the latest cPanel.
    Recently, I took 2 hours and 30 minutes to download upgrade from 11.46.2.2 to 11.46.2.4.


    Is there a way to switch the mirror server when the slow download during the upgrade process?
    or, Is there a way to "graceful cancel" of upgrade for retry?

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can obtain a list of mirrors with a command such as:

    Code:
    host httpupdate.cpanel.net
    Then, force the use of one particular IP address with a command such as:

    Code:
    echo HTTPUPDATE=IP-HERE >> /etc/cpsources.conf
    If that resolves the issue, then it's likely your server is having trouble communicating with a particular mirror. Note that if you do try this step, ensure you remove /etc/cpsources.conf after the update completes because this is not intended as a permanent solution.

    Code:
    rm /etc/cpsources.conf
    Thank you.
     
  3. tyuuu

    tyuuu Well-Known Member

    Joined:
    Oct 16, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    if my upcp is running now,after i set the mirror ip,how can i make it take action/change to the new ip now ? thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page