Softaculous


Topic : paper_lantern/styled/basic/icons/softaculous.png: No such file or directory


Posted By: Nick57 on July 23, 2015, 6:57 am
Hi,

After updating to WHM 11.50 we see this error message in our logs.
Would you be able to fix this?
Can't stat /usr/local/cpanel/base/frontend/paper_lantern/styled/basic/icons/softaculous.png: No such file or directory

I found this in the cPanel forum:

The problem with missing icons has been solved on our servers. It was
due to a Softaculous file which needs to be removed. If you're using
Softaculous, check if you have following file:

/usr/local/cpanel/base/frontend/paper_lantern/dynamicui/dynamicui_softicons.conf

This file is not needed and should be removed. It has been replaced by
dynamicui_soft_div.conf and dynamicui_soft_div_icons.conf.

After deleting the file, run the sprite generator:
/usr/local/cpanel/bin/sprite_generator

Please can you confirm you are aware of this and as such working on it?

Kind regards

Posted By: Brijesh on August 1, 2015, 7:05 am | Post: 1
Hi,

Extremely sorry for the delay.

Yes you can delete this file.

Please let us know if you need any further information.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: Nick57 on August 1, 2015, 10:43 am | Post: 2
Thanks, do I need to run the sprite generator as well?

Posted By: Nick57 on August 1, 2015, 1:37 pm | Post: 3
on one server it can't find the file and error message is still there when running the script.

Posted By: Nick57 on August 2, 2015, 8:21 am | Post: 4
ALL my cPanel servers have this, I am sure I am not the only one out there, please come with a working solution.

[2015-08-02 07:02:46 +0100]      [27745] Can't stat /usr/local/cpanel/base/frontend/paper_lantern/styled/basic/icons/softaculous.png: No such file or directory
[2015-08-02 07:02:46 +0100]      [27745]  at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/CSS/SpriteMaker.pm line 796.
[2015-08-02 07:02:53 +0100]      [27745] Can't stat /usr/local/cpanel/base/frontend/paper_lantern/styled/basic/icons/softaculous.png: No such file or directory
[2015-08-02 07:02:53 +0100]      [27745]  at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/CSS/SpriteMaker.pm line 796.

Posted By: Brijesh on August 5, 2015, 7:53 am | Post: 5
Hi,

Do you get this error while executing the sprites generator command ?

I just executed the sprites generator command on our server and did not get this error.

Can you please open a support ticket with us so that we can check this for you :
https://www.softaculous.com/support/

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: Nick57 on December 29, 2015, 9:51 am | Post: 6
[2015-12-28 23:03:06 +0000]      [13331] Can't stat /usr/local/cpanel/base/frontend/paper_lantern/styled/basic/icons/softaculous.png: No such file or directory
[2015-12-28 23:03:06 +0000]      [13331]  at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/CSS/SpriteMaker.pm line 796.
[2015-12-28 23:03:12 +0000]      [13331] Can't stat /usr/local/cpanel/base/frontend/paper_lantern/styled/basic/icons/softaculous.png: No such file or directory
[2015-12-28 23:03:12 +0000]      [13331]  at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/CSS/SpriteMaker.pm line 796.

Posted By: Brijesh on December 29, 2015, 12:07 pm | Post: 7
Hi,

Can you please provide the path to log file where you see this error so that we can check this on our servers.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: Nick57 on December 29, 2015, 12:51 pm | Post: 8
Hiya,

yes this is everyday in the Cron <root@server> /usr/local/cpanel/scripts/upcp --cron

Part of the log shows this, I removed some lines to keep the thread small.

[2015-12-28 23:02:57 +0000]  Processing: Rebuilding sprites
[2015-12-28 23:02:57 +0000]    - Processing command `/usr/local/cpanel/bin/sprite_generator --all`
[2015-12-28 23:03:02 +0000]      [13331] *** Rebuilding sprites for x3 ***
[2015-12-28 23:03:02 +0000]      [13331] -=- Processing Branding Dir: /usr/local/cpanel/base/frontend/x3/branding ([root]) -=-
[2015-12-28 23:03:02 +0000]      [13331]    Sprite: method=scale_60percent,format=png,imgtype=icon,subtype=img....96....Done
......
......
[2015-12-28 23:03:06 +0000]      [13331]    Sprite: subtype=img,imgtype=ui,method=skip_filetype_gif,format=jpg,compression=95....2....Done
[2015-12-28 23:03:06 +0000]      [13331]    Sprite: subtype=img,imgtype=ui,method=only_filetype_gif,format=gif....8....Done
[2015-12-28 23:03:06 +0000]      [13331] *** Done rebuilding sprites for x3mail ***
[2015-12-28 23:03:06 +0000]      [13331]
[2015-12-28 23:03:06 +0000]      [13331]
[2015-12-28 23:03:06 +0000]      [13331] Can't stat /usr/local/cpanel/base/frontend/paper_lantern/styled/basic/icons/softaculous.png: No such file or directory
[2015-12-28 23:03:06 +0000]      [13331]  at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/CSS/SpriteMaker.pm line 796.
[2015-12-28 23:03:12 +0000]      [13331] Can't stat /usr/local/cpanel/base/frontend/paper_lantern/styled/basic/icons/softaculous.png: No such file or directory
[2015-12-28 23:03:12 +0000]      [13331]  at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/CSS/SpriteMaker.pm line 796.
[2015-12-28 23:03:16 +0000]  Setting up cronjobs


Posted By: Brijesh on December 30, 2015, 2:49 pm | Post: 9
Hi,

Thank you for the details.

I executed the same command on our servers and did not get that error message.

Is it possible to provide temporary access to your server via support ticket system :
https://www.softaculous.com/support/

So that we can replicate the issue.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: Nick57 on December 31, 2015, 12:48 pm | Post: 10
Hi,

I have created a ticket.

Thank you.

Posted By: Nick57 on January 2, 2016, 10:50 am | Post: 11
Sorted:

/usr/local/cpanel/bin/rebuild_sprites --force
/scripts/upcp --force

Error is gone from the log file.

Posted By: Brijesh on January 3, 2016, 8:58 am | Post: 12
Hi,

Glad to know your issue was resolved and thank you for sharing the solution.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.