Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Updating package limits in bulk

Discussion in 'General Discussion' started by JawadArshad, Aug 2, 2013.

  1. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    459
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    Hello,

    On older versions, cPanel did not update package limits for existing accounts upon editing a package but it seems this has been added at least cPanel 11.32 onwards per this thread below.

    http://forums.cpanel.net/f42/park-sorry-you-not-allowed-add-any-more-than-0-addon-domains-272341.html

    However, we would have to log into WHM edit package and hit 'save changes' for this to apply. This is impractical if you have hundreds of servers. We could download updated package files to /var/cpanel/packages but can any cPanel staff or a member link me to the script or call that would update package limits for existing accounts, i.e. do on command line what 'save changes' does in WHM. I think it would be too wishful to think cPanel automatically syncs package changes periodically.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 JawadArshad, Aug 2, 2013
    Last edited: Aug 2, 2013
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,409
    Likes Received:
    1,955
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Editing a package will cause all accounts using that package to be updated to the new values defined in the package. You can utilize the EditPkg API function to edit a package over the command line:

    EditPackage - cPanel API

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice