SOLVED Change all accounts to paper theme

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello,

You can also update all packages to use Paper Lantern via this command:

Code:
/scripts/modify_packages --theme=paper_lantern --all-packages
Thank you.
 

Wesley Saade

Registered
Mar 16, 2017
2
0
1
Joinville
cPanel Access Level
DataCenter Provider
Hello,

You can also update all packages to use Paper Lantern via this command:

Code:
/scripts/modify_packages --theme=paper_lantern --all-users
Thank you.
[email protected] [~]# /scripts/modify_packages --theme=paper_lantern --all-users
Unknown option: all-users

/scripts/modify_packages: Modify existing packages to use a theme

Usage:
/scripts/modify_packages --theme=paper_lantern [--packages=my_pkg,another_pkg|--all-packages]

Options:
--help: print usage and exit
--theme: the theme to be adopted
--packages: a list of packages to be modified, comma separated
--all-packages: update all packages on the system
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello @Wesley Saade,

Thanks for pointing that out. I've edited that command to reflect the correct value:

Code:
/scripts/modify_packages --theme=paper_lantern --all-packages
Let us know if you have any additional questions.
 

ebe

Member
Jul 6, 2006
17
1
153
Hi all

I have cPanel & WHM 64.0 (build 36)

In Home »Account Information »List Accounts all users have paper_lantern set.

had a big surpise today with a user is still stuck in X3 with no option to change.

I have also run the following with no success:
/usr/local/cpanel/scripts/modify_accounts --theme=paper_lantern --all-users

/scripts/modify_packages --theme=paper_lantern --all-packages

any idea why ?
 

Attachments

ebe

Member
Jul 6, 2006
17
1
153
I know but in this case I don't have the option... upload_2017-8-23_13-19-52.png
This account was migrated from another older server 2 year ago. Maibe is stuck with some old files...
 

ebe

Member
Jul 6, 2006
17
1
153
This account is using the same package like 90% other accounts on the server. And yes already tried to change the package to another and back.

We use CPanel for our internal clients and referrals and we do not have to many custom settings. Usually all accounts have like the same features and we keep all as default from CPanel is possible.
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
If you enable the Change Style option in that Package this account is using, for a moment, and then visit that cPanel account and set the style to back to the default, Paper Lantern, does it stay on Paper Lantern afterward?

I can't explain why this one account is using Retro and the other accounts are not, but you should be able to correct it, assuming you don't want it to be used, by doing the above.
 

ebe

Member
Jul 6, 2006
17
1
153
Already tried. The account is stuck or something. I have only paper_lantern. and Features list is default :)
upload_2017-8-23_14-57-12.png
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Not there, in the Default Features list. Enable the Change Style option and save. Then go to that account and find the option as shown in my image, above. Once you've set it to Paper Lantern from that users cPanel account, go back to the Default Features list in WebHost Manager and disable the Change Style option again.
 

ebe

Member
Jul 6, 2006
17
1
153
Great ! Thank you !
That's why CPanel is no.1. I have like a problem or two / year and always I can find how to resolve on the forum.
Case closed.
 
  • Like
Reactions: Infopro