Symptoms
After installing custom features or dynamic UI theme components for Jupiter, it can be observed that the icons or images are not loading for the additional features.
Cause
If you add icons or components to the theme directory manually instead of using the recommended API, the contents may not appear in the cPanel interface unless you run the sprite_generator script with the proper arguments.
Resolution
Run the sprite generator with additional options to rebuild the sprites for Jupiter. The below example also assumes the source and target directory are the cPanel default theme path. For clones of Jupiter, you will need to adjust the path to the correct directory of your themes:
- Log in to the server via SSH or WHM's Terminal as the
rootuser -
Run the following commands:
# /usr/local/cpanel/bin/sprite_generator --theme jupiter --source-directory
# /usr/local/cpanel/base/frontend/jupiter/assets/application_icons --target-directory
# /usr/local/cpanel/base/frontend/jupiter/assets/application_icons
Comments
0 comments
Article is closed for comments.