Error show on WHM panel
Answeredshow error [A warning occurred while processing this directive.][A warning occurred while processing this directive.] in panel all working fine I can work but show is error on whm
Argument "" isn't numeric in subtraction (-) at /usr/local/cpanel/Cpanel/Template/Plugin/UIAnalytics.pm line 370.
at /usr/local/cpanel/Cpanel/Template/Plugin/UIAnalytics.pm line 370.
Cpanel::Template::Plugin::UIAnalytics::_get_account_age("") called at /usr/local/cpanel/Cpanel/Template/Plugin/UIAnalytics.pm line 390
Cpanel::Template::Plugin::UIAnalytics::_get_root_age() called at /usr/local/cpanel/Cpanel/Template/Plugin/UIAnalytics.pm line 142
eval {...} called at /usr/local/cpanel/Cpanel/Template/Plugin/UIAnalytics.pm line 139
Cpanel::Template::Plugin::UIAnalytics::get_whm_analytics_data(Cpanel::Template::Plugin::UIAnalytics=HASH(0x195c380)) called at (eval 6) line 1
eval {...} called at (eval 6) line 1
eval {...} called at (eval 6) line 1
Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1818a38)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 165
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 163
Template::Document::process(Template::Document=HASH(0x1935940), Template::Context=HASH(0x1818a38)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 352
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 322
Template::Context::process(Template::Context=HASH(0x1818a38), "master_templates/_defheader.tmpl") called at (eval 5) line 1
eval {...} called at (eval 5) line 1
Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1818a38)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 165
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 163
Template::Document::process(Template::Document=HASH(0x18ba728), Template::Context=HASH(0x1818a38)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 352
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 322
Template::Context::process(Template::Context=HASH(0x1818a38), "master_templates/master.tmpl", HASH(0x18236d8), "localize me!") called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 410
Template::Context::include(Template::Context=HASH(0x1818a38), "master_templates/master.tmpl", HASH(0x18236d8)) called at (eval 4) line 15
eval {...} called at (eval 4) line 1
Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1818a38)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 165
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 163
Template::Document::process(Template::Document=HASH(0x18234e0), Template::Context=HASH(0x1818a38)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 352
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 322
Template::Context::process(Template::Context=HASH(0x1818a38), Template::Document=HASH(0x18234e0)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Service.pm line 94
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Service.pm line 91
Template::Service::process(Template::Service=HASH(0x1818618), "initial-setup-wizard/index.html.tt", HASH(0x1809138)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template.pm line 66
Template::process(Template=HASH(0x1818270), "initial-setup-wizard/index.html.tt", HASH(0x1809138)) called at /usr/local/cpanel/Cpanel/Template.pm line 475
Cpanel::Template::process_template("whostmgr", HASH(0x1809138)) called at whostmgr/bin/whostmgr3.pl line 238
main::initial_setup_wizard1() called at whostmgr/bin/whostmgr3.pl line 175
main::__ANON__(__CPANEL_HIDDEN__) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 384
Whostmgr::Dispatch::_do_call("initial_setup_wizard1", HASH(0x1789268), HASH(0x1789580)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 177
Whostmgr::Dispatch::dispatch("initial_setup_wizard1", 14337, ARRAY(0x17894d8)) called at whostmgr/bin/whostmgr3.pl line 178
-
Same here.. i already put in a ticket it is after the 124.0.10 update
0 -
I had the 122 version and upgraded to the 124 to see if it would correct the problem but it is still the same.
0 -
Hey there! This error appears when the installation file at /var/cpanel/install_version is missing. Can you run the following command to confirm that file is missing?
ls /var/cpanel/install_version
If it is indeed missing, run this command to recreate the file with the proper value:
whmapi1 version | awk 'NR==3{print $2}' >> /var/cpanel/install_version
3 -
that was definitely the problem... thank you very much cPRex
0 -
I'm glad that did the trick!
0 -
Had the same issue here after updating to 124.0.10 and this solved it too.
0 -
I've updated our article with a better workaround you can find here:
grep "11[.][0-9][0-9]*" /usr/local/cpanel/logs/error_log | grep -m 1 version | awk '{print $7}' >> /var/cpanel/install_version
0 -
after update 124.0.10 version .
Initial Setup Wizard stuck any one have solution
0 -
Just click on Skip and that will get you through.
Andrew N. - cPanel Plesk VMWare Certified Professional
Do you need immediate assistance? 20 minutes response time!* Open a ticket
EmergencySupport - Professional Server Management and One-time Services0 -
FYI, for me the first fix is better since
> grep "11[.][0-9][0-9]*" /usr/local/cpanel/logs/error_log | grep -m 1 online | awk '{print $7}'
returns "running"
whereas
> whmapi1 version | awk 'NR==3{print $2}'
produces "11.118.0.25"
Not sure what the cause is, perhaps bc I use CloudLinux?
0 -
What happens if you run just this?
grep "11[.][0-9][0-9]*" /usr/local/cpanel/logs/error_log | grep -m 1 online
That should give you a full line of text with the version number you're looking for in there.
Both commands will "fix" the issue, but we want to get the original cPanel version that was created at the time the server was installed, ideally.
0 -
I ran the first fix and that worked for me.
If I run the last grep, I get:Waiting for 10 tasks to complete: running (install_locallib_loginprofile, build_locale_databases, rebuild_templates, run_base_package_update, run_system_package_update, run_script /usr/[2020-08-20 22:58:20 +0200] info [cpsrvd] version 11.90.0.5 online
0 -
Great - I would add that 11.90.0.5 version to the file instead of the current version then.
1 -
Update - this is resolved in all versions of 126 and we're working on a backport to version 124.
0
Please sign in to leave a comment.
Comments
14 comments