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!

/scripts/modify_accounts isn't working

Discussion in 'General Discussion' started by MuNLoK, May 16, 2018.

  1. MuNLoK

    MuNLoK Member

    Jul 14, 2004
    Likes Received:
    Trophy Points:
    Seville / Madrid - Spain
    cPanel Access Level:
    DataCenter Provider
    Moved from: Change Style For All Accounts

    Hi @cPanelKenneth

    The script to modify all accounts seems to be not working properly:

    /usr/local/cpanel/scripts/modify_accounts --all-users --theme=paper_lantern --style=basic

    Have 2 problems:

    1) If you have a account with disk quota exceeded, the script exit prematurely and doesn't continue with the others

    2) And more serious, the style is not changing correctly, it seems that it only changes it half, or with errors. I had to go account by account to put back the correct style through cpanel.
    #1 MuNLoK, May 16, 2018
    Last edited by a moderator: May 16, 2018
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello @MuNLoK,

    I've been unable to reproduce this issue on both cPanel & WHM version 68 and cPanel & WHM version 70. While the script does fail to update the style for account's over their disk space quota, it does not exit prematurely. It continues to update the style for accounts not over their disk space quota and notes a warning at the bottom of the output to inform about the users that were not updated:

    Can you verify that you are seeing different behavior?

    Here's an existing thread with information on the existing case open for this issue:

    modify_accounts script doesn't clear cache

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

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