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!

SOLVED sprite_generator error after update (plus all icons missing)

Discussion in 'User Experience' started by vinko, Apr 23, 2018.

  1. vinko

    vinko Registered

    Joined:
    Jul 30, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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...
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,861
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Can you try manualling updating the cPanel forcefully?
    # /scripts/upcp --force
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. vinko

    vinko Registered

    Joined:
    Jul 30, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Croatia
    cPanel Access Level:
    Root Administrator
    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.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. vinko

    vinko Registered

    Joined:
    Jul 30, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Croatia
    cPanel Access Level:
    Root Administrator
    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
    
     
  6. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. vinko

    vinko Registered

    Joined:
    Jul 30, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Croatia
    cPanel Access Level:
    Root Administrator
    That fixed it, thank you very very much Lauren!
     
  8. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Awesome! I'm really happy to hear that! You're very welcome!


    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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