[case 104909] WHM 11.44.0 upgrade produces a blank page after cPanel login.

jols

Well-Known Member
Mar 13, 2004
1,107
3
168
Just after the 11.44 upgrade on two servers we are now getting nothing but a blank page upon cPanel login. This is consistent across two servers, directly after the update.

Anyone else getting this? Any advice? Thanks.
 

David July

Member
Jun 13, 2013
11
0
1
cPanel Access Level
Root Administrator
I am also experiencing this problem. Accounts set to my custom x3 theme return an empty, twenty byte page upon successful login.

As a workaround, I used the "Modify/Upgrade Multiple Accounts" panel in WHM to apply the paper_lantern theme to all accounts.

The following basic troubleshooting steps were ineffective at fixing the problem.

  • using the "Modify/Upgrade Multiple Accounts" WHM panel to set the x3 theme to all accounts
  • using the "Branding" WHM panel live editor to reapply my theme to x3 and derivatives
  • using the "Change Theme" option in Paper Lantern to switch back to x3
  • gracefully rebooting the server

I would appreciate any additional suggestions. Thank you!
 

jols

Well-Known Member
Mar 13, 2004
1,107
3
168
Hi David, thanks for this, makes sense.

Do you suppose this could be avoided by NOT selecting to have the paper_lantern theme activated, after the cPanel/WHM upgrade?

- - - Updated - - -

Just curious, did you by any chance have an entry in /etc/cpanelsync.exclude the way we did?

e.g. the "/usr/local/cpanel/base/frontend/x3/branding/index.html" path and file?

I did this to prevent one line of customization that was perpetually being overwritten everything there was a cPanel update, and I think this is probably what came back to bite me. Not sure however, still testing.
 

jols

Well-Known Member
Mar 13, 2004
1,107
3
168
David, inspect the cPanel error log here: /usr/local/cpanel/logs/

With the help of a cPanel tech, I found that for some reason the most recent update removed a file that caused cPanel to error/crash upon access. The file I had to replace manually (in /usr/local/cpanel/base/frontend/x3/branding ) in our case was:

try_x4_banner.tmpl
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
David, inspect the cPanel error log here: /usr/local/cpanel/logs/

With the help of a cPanel tech, I found that for some reason the most recent update removed a file that caused cPanel to error/crash upon access. The file I had to replace manually (in /usr/local/cpanel/base/frontend/x3/branding ) in our case was:

try_x4_banner.tmpl
X4 is no more, which would explain why that file was removed during the update. Right now I can only speculate that excluding cx3/branding/index.html from being updated, coupled with the removal of try_x4_banner.tmpl is what lead to the non-functioning x3.

I'm curious, what customizations are you making to x3/branding/index.html that you'd like preserved?
 

David July

Member
Jun 13, 2013
11
0
1
cPanel Access Level
Root Administrator
I reviewed my error log and discovered the same entries mentioned by jols.

Code:
die [Internal Death while parsing /var/cpanel/userhomes/cpanel/cpanelbranding/x3/blue_lagoon/index.html 1094] Template::Exception:
[TYPE]=[file]
[INFO]=[branding/try_x4_banner.tmpl: not found]
[TEXT]=[]
Although I had customized the Blue Lagoon theme's CSS, I did so using the WHM "Branding" panel live editor. I am not using cpanelsync.exclude and confirmed this file is empty. The theme modifications have been in place for about one year and survived all system updates until now.

If the try_x4_banner.tmpl file was depreciated and thus deleted, I rather not restore it to the server. Since I am not excluding cPanel updates like jols, are there any other suggestions? Thanks!
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,482
35
208
cPanel Access Level
DataCenter Provider
[case 104909] Re: WHM 11.44.0 upgrade produces a blank page after cPanel login.

Great, thank you for the update.
In the mean time, you can work around this problem by doing the following in a root shell:

Code:
touch /usr/local/cpanel/base/frontend/x3/branding/try_x4_banner.tmpl
touch /usr/local/cpanel/base/frontend/paper_lantern/branding/try_x4_banner.tmpl