SOLVED sprite_generator error after update (plus all icons missing)

vinko

Registered
Jul 30, 2016
4
0
1
Croatia
cPanel Access Level
Root Administrator
Hi,

upcp finished with "E Pre Maintenance ended, however it did not exit cleanly (256). Please check the logs for an indication of what happened" so I found the line in the log:

Code:
E    [/usr/local/cpanel/bin/sprite_generator] The “/usr/local/cpanel/bin/sprite_generator” command (process 12058) reported error number 255 when it ended.
so I tried running the command manually to see what happens:

Code:
# /usr/local/cpanel/bin/sprite_generator

no element found at line 1, column 0, byte 0 at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/XML/Parser.pm line 187.
Any will be very appreciated, right now cpanel (paper_lantern) is missing all icons...
 

vinko

Registered
Jul 30, 2016
4
0
1
Croatia
cPanel Access Level
Root Administrator
Can you try manualling updating the cPanel forcefully?
# /scripts/upcp --force
Thanks for the answer!
Unfortunatelly, script finishes with the same notification and line in the update log:

[2018-04-24 12:39:29 +0200] E [/usr/local/cpanel/bin/sprite_generator] The “/usr/local/cpanel/bin/sprite_generator” command (process 9420) reported error number 255 when it ended.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hi @vinko

Can you tell me what you get when you run the following command:
Code:
ls -lah /usr/local/cpanel/base/frontend/
I'm essentially looking for the paper_lantern related directory here.


Thank you,
 

vinko

Registered
Jul 30, 2016
4
0
1
Croatia
cPanel Access Level
Root Administrator
Hi @vinko

Can you tell me what you get when you run the following command:
Code:
ls -lah /usr/local/cpanel/base/frontend/
I'm essentially looking for the paper_lantern related directory here.
Hi, this is the output:

Code:
# ls -lah /usr/local/cpanel/base/frontend/
total 60K
drwxr-xr-x  5 root root 4,0K Srp  6  2017 .
drwxr-xr-x 25 root root 4,0K Tra 23 23:13 ..
-rw-r--r--  1 root root 5,3K Srp 14  2016 delete.jpg
-rw-r--r--  1 root root  158 Srp 14  2016 disconnect.gif
-rw-r--r--  1 root root 1,1K Srp 14  2016 disconnect.jpg
-rw-r--r--  1 root root  560 Srp 14  2016 edit.jpg
-rw-r--r--  1 root root   34 Srp 14  2016 includes.html
drwxr-xr-x 75 root root 4,0K Tra 24 12:36 paper_lantern
-rw-r--r--  1 root root 1,2K Srp 14  2016 passwd.jpg
-rw-r--r--  1 root root 1,1K Srp 14  2016 webmail.jpg
drwxr-xr-x 75 root root 4,0K Tra  4  2017 x3
drwxr-xr-x 11 root root 4,0K Tra  4  2017 x3mail
-rw-r--r--  1 root root 3,9K Srp  6  2017 x3_redirect_index.html
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hello,

Thank you, for that. I was expecting paper_lantern not to be there with the error you're receiving. Have you made customizations to the theme? Either way, I 'd like to see if we can get in working order. Can you please try the following:

Move the theme related items:
Code:
mv /usr/local/cpanel/base/frontend{,.bk}
reinstall them:

Code:
/scripts/updatenow _static --sync
and then re-run the update:

Code:
/scripts/upcp --force
And please let us know the results

Thank you,
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
E [/usr/local/cpanel/bin/sprite_generator] The “/usr/local/cpanel/bin/sprite_generator” command (process 12058) reported error number 255 when it ended.
Hello,

If anyone using CloudLinux experiences the same issue and sees the above error message in the cPanel update log, note it's possible this relates to the following CloudLinux bug:

LVEMAN-1281: /usr/share/l.v.e-manager/cpanel/hooks/l.v.e-manager_postupcp_hook.sh does not now break dynamicui.conf.

It's fixed in their beta version of LVE Manager and should be released to the stable version soon:

Beta: LVE Manager updated

Thank you.