Weird 'tech_domains' warning/error in all cPanel user interfaces
Whenever my customers are using cPanel's file manager, using their email or anything else, this warning pops up at the top of every related service:
'tech_domains' array in /etc/cpanel/ea4/ea4-metainfo.json contained only invalid or empty entries. at /usr/local/cpanel/Cpanel/IP/AutoDomain/TemporaryDomain/Check.pm line 66. Cpanel::IP::AutoDomain::TemporaryDomain::Check::get_ea4_techdomains_pattern() called at /usr/local/cpanel/Cpanel/IP/AutoDomain/TemporaryDomain/Check.pm line 93 Cpanel::IP::AutoDomain::TemporaryDomain::Check::domain_is_temporary_subdomain("cursedcastle.com") called at /usr/local/cpanel/Cpanel/API/DomainInfo.pm line 186 Cpanel::API::DomainInfo::_get_all_domains_data(0) called at /usr/local/cpanel/Cpanel/API/DomainInfo.pm line 85 Cpanel::API::DomainInfo::domains_data(Cpanel::Args=HASH(0x28019c8), Cpanel::Result=HASH(0x2801848)) called at /usr/local/cpanel/Cpanel/API.pm line 369 eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 371 Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x28019c8), Cpanel::Result=HASH(0x2801848), "DomainInfo", "domains_data") called at /usr/local/cpanel/Cpanel/API.pm line 252 Cpanel::API::execute("DomainInfo", "domains_data", HASH(0x2801758)) called at /usr/local/cpanel/Cpanel/Template/Plugin/CPDefault.pm line 94 Cpanel::Template::Plugin::CPDefault::_execute("DomainInfo", "domains_data", HASH(0x280b318)) called at (eval 31) line 1 eval {...} called at (eval 31) line 1 eval {...} called at (eval 31) line 1 Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x23d1578)) 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(0x27e57f8), Template::Context=HASH(0x23d1578)) 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(0x23d1578), "popups/prefs.html.tt", undef, "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(0x23d1578), "popups/prefs.html.tt") called at (eval 6) line 345 eval {...} called at (eval 6) line 1 Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x23d1578)) 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(0x252b0b0), Template::Context=HASH(0x23d1578)) 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(0x23d1578), Template::Document=HASH(0x252b0b0)) 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(0x23d1158), "/usr/local/cpanel/base/frontend/jupiter/filemanager/index.htm"..., HASH(0x23ceee8)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template.pm line 66 Template::process(Template=HASH(0x23cf290), "/usr/local/cpanel/base/frontend/jupiter/filemanager/index.htm"..., HASH(0x23ceee8), SCALAR(0x1fbf900)) called at /usr/local/cpanel/Cpanel/Template.pm line 487 Cpanel::Template::process_template("cpanel", HASH(0x23ceee8), HASH(0x1fc6f80)) called at cpanel.pl line 1108 cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/jupiter/filemanager/index.htm"..., 1) called at cpanel.pl line 4643 cpanel::cpanel::run_standard_mode() called at cpanel.pl line 931 cpanel::cpanel::script("cpanel::cpanel", "./frontend/jupiter/filemanager/index.html.tt") called at cpanel.pl line 324
I've never thought I had to report issues to you guys, as I've been using cpanel for a decade already and I've never had issues before, but this year it's the second time I'm facing weird bugs recently (the first being the 421 error I had to report 20 days ago which put down all my customer websites). What's going on?
-
The fix is published in the support topic https://support.cpanel.net/hc/en-us/articles/33591851185687--tech-domains-array-in-etc-cpanel-ea4-ea4-metainfo-json-contained-only-invalid-or-empty-entries
1 -
Hey there! You should be able to remove a package to resolve the error. We have more details on this posted here:
but let me know if you have any questions!
1 -
Thank you guys, following that article fixed the issue. Any ideas about why this happened?
0 -
It looks like the package was outdated as part of work we're doing for this new feature:
https://features.cpanel.net/c/220-temporary-domains-in-whm
https://features.cpanel.net/c/232-temporary-domains-for-cpanel-users
but not everyone is experiencing the issue so we didn't release a more widespread fix.
0 -
Thanks for your explanation and fast response.
0 -
Sure thing!
0 -
Jishnu, Do you have the fix commands for a Debian/Ubuntu Installation? I see that most of the fixes usually introduced isn posted only for RH derivatives. Is there any command list to fix this on ubuntu?
0 -
You would just need to look up the package and remove it with apt instead.
0 -
Thanks cPRex, I will do that but using apt remove the server just offered to remove a bunch of other packages that were installed with cpanel-tools, is it safe to remove all of these and have them re-installed automatically with cpanel-tools again?
apt remove --allow ea-cpanel-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libasn1-8-heimdal libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu66 libkrb5-26-heimdal libldap-2.4-2 libodbc1 libodbccr2 libroken18-heimdal
libwind0-heimdal
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
ea-apache24 ea-apache24-config ea-apache24-config-runtime ea-apache24-mod-bwlimited ea-apache24-mod-cgi ea-apache24-mod-deflate ea-apache24-mod-expires ea-apache24-mod-headers ea-apache24-mod-mpm-prefork
ea-apache24-mod-proxy ea-apache24-mod-proxy-fcgi ea-apache24-mod-proxy-http ea-apache24-mod-proxy-wstunnel ea-apache24-mod-ruid2 ea-apache24-mod-security2 ea-apache24-mod-ssl ea-apache24-mod-unique-id
ea-cpanel-tools ea-modsec-sdbm-util ea-php81-php-fpm ea-php82-php-fpm0 -
Ragheb Rustom - you wouldn't want to remove all of those dependencies, no. Your best option is likely dpkg with this:
dpkg --remove --force-depends "ea-cpanel-tools"0
Please sign in to leave a comment.
Comments
10 comments