
Again, hello. I have an old cPanel server installed. It has been active for years. The last cPanel version was upgraded to version 74.0.X.
My friend used to use the x3 theme on his cPanel, and eventually, after listening to me, he changed the theme to paper_lantern. Then he said, "Everyone still uses the x3 theme. You started this, now change all the hosting accounts to the new theme." I was so busy, so I said, “Fine, I’ll take a look.” He sent me the passwords. Anyway, I logged in via SSH, ran the following commands, and got the output.
cd /var/cpanel/packages
replace CPMOD=x3 CPMOD=paper_lantern -- *
I changed the packages, so I said now new hosting accounts will be created with the new theme. Then he said, “No, change everything. Do it for all.” I said, “I’ll do it overnight,” and left it at that.
At around 3:00 AM, I woke up for no reason. I don’t know why, but after I wake up, I can’t go back to sleep. I went to my room, checked around, and then remembered my friend. Since I had time, I grabbed the server password from my phone. I saw there was a shortcut in the cPanel documentation, so I logged in and ran the following command:
/scripts/modify_packages --theme=paper_lantern --all-packages
Since the packages were already set to paper_lantern, nothing changed. To update the existing users, I found the following command and applied it.
/usr/local/cpanel/scripts/modify_accounts --theme=paper_lantern --all-users
I checked the situation by going to 'List Accounts' in WHM. Everything looked like it was using the paper_lantern theme, but when I logged into a few hosting accounts, I realized that the style didn’t change. After doing some research, I found the command to change the style and applied it. Here’s the command:
/usr/local/cpanel/scripts/modify_accounts --all-users --theme=paper_lantern --style=basic
So we changed the theme to paper_lantern and used basic for the style.
We can’t apply the new theme to your hosting accounts. They were opened incorrectly. You’ll need to delete them and open them again.
I sent this message to my friend at 4 AM. The next morning, when he saw it, he replied:
Whatever you were drinking last night, I want the same!
So the job is done.
Let’s see what the day brings us.
Related Articles

Common cPanel Errors and Solutions - Part 1

cPanel Update Git Dependency Solution
