About the issue of EasyApache 4 Profiles failing to deploy via the [Provision] button.
Hello!
I downloaded one of the profiles from my EasyApache 4, modified the code using a text editor, and then uploaded it with the same filename to overwrite the existing one.
Now, I can't click the Provision button on any of my profiles.
File Name:
cpanel_initial_install_ea4_profile json
File contents
{
"pkgs" : [
"ea-apache24",
"ea-apache24-config",
"ea-apache24-config-runtime",
"ea-apache24-mod_asis",
"ea-apache24-mod_cpanel",
"ea-apache24-mod_authn_anon",
"ea-apache24-mod_authn_socache",
"ea-apache24-mod_bwlimited",
"ea-apache24-mod_cgid",
"ea-apache24-mod_deflate",
"ea-apache24-mod_env",
"ea-apache24-mod_expires",
"ea-apache24-mod_ext_filter",
"ea-apache24-mod_headers",
"ea-apache24-mod_hostinglimits",
"ea-apache24-mod_http2",
"ea-apache24-mod_lsapi",
"ea-apache24-mod_mime_magic",
"ea-apache24-mod_mpm_worker",
"ea-apache24-mod_proxy",
"ea-apache24-mod_proxy_connect",
"ea-apache24-mod_proxy_express",
"ea-apache24-mod_proxy_fcgi",
"ea-apache24-mod_proxy_fdpass",
"ea-apache24-mod_proxy_ftp",
"ea-apache24-mod_proxy_html",
"ea-apache24-mod_proxy_http",
"ea-apache24-mod_proxy_wstunnel",
"ea-apache24-mod_remoteip",
"ea-apache24-mod_reqtimeout",
"ea-apache24-mod_request",
"ea-apache24-mod_security2",
"ea-apache24-mod_ssl",
"ea-apache24-mod_suexec",
"ea-apache24-mod_unique_id",
"ea-apache24-mod_version",
"ea-apache24-mod_vhost_alias",
"ea-apache24-tools",
"ea-apr",
"ea-apr-util",
"ea-brotli",
"ea-cpanel-tools",
"ea-documentroot",
"ea-libargon2",
"ea-libcurl",
"ea-libcurl-devel",
"ea-libmcrypt",
"ea-libmemcached",
"ea-libnghttp2",
"ea-libnghttp2-devel",
"ea-libtidy",
"ea-libxml2",
"ea-memcached",
"ea-modsec-sdbm-util",
"ea-nghttp2",
"ea-openssl",
"ea-openssl-devel",
"ea-php-cli",
"ea-php-cli-lsphp",
"ea-php73-php-memcache",
"ea-php73-php-memcached",
"ea-php73",
"ea-php73-libc-client",
"ea-php73-pear",
"ea-php73-php-bcmath",
"ea-php73-php-bz2",
"ea-php73-php-calendar",
"ea-php73-php-cli",
"ea-php73-php-common",
"ea-php73-php-curl",
"ea-php73-php-devel",
"ea-php73-php-exif",
"ea-php73-php-fileinfo",
"ea-php73-php-fpm",
"ea-php73-php-ftp",
"ea-php73-php-gd",
"ea-php73-php-gettext",
"ea-php73-php-gmp",
"ea-php73-php-iconv",
"ea-php73-php-imap",
"ea-php73-php-intl",
"ea-php73-php-ioncube10",
"ea-php73-php-litespeed",
"ea-php73-php-mbstring",
"ea-php73-php-mysqlnd",
"ea-php73-php-opcache",
"ea-php73-php-pdo",
"ea-php73-php-posix",
"ea-php73-php-snmp",
"ea-php73-php-soap",
"ea-php73-php-sockets",
"ea-php73-php-tidy",
"ea-php73-php-xml",
"ea-php73-php-xmlrpc",
"ea-php73-php-zip",
"ea-php73-runtime",
"ea-profiles-cpanel"
],
"name" : "Yuanjhen-Easyapache4-PHP-7.3",
"desc" : "EX.2019-8-30 Jacky",
"version" : "0.1",
"tags" : [
"\"Apache 2.4\"",
"\"MPM_Worker\"",
"\"http2\"",
"\"cgid\"",
"\"PHP 7.3\""
]
}
How should I solve this problem?
-
Hi,
Thank you for the detailed explanation and for sharing the contents of the profile.
Firstly, I'd recommend ensuring that the filename itself has the correct .json extension such as cpanel_initial_install_ea4_profile.json as the filename you provided has a space.
Additionally, EasyApache usually logs profile‑related errors even if the UI does not show them. When you encounter the issue in the EasyApache 4 interface, are there any new errors logged to the cPanel error log or the EasyApache logs? These log files can be found in the following locations:
EasyApache 4 error logs:
/usr/local/cpanel/logs/packman/errors
cPanel error log:
/usr/local/cpanel/logs/error_log
In the meantime, you can try manually installing cPanel's all PHP version profile to see if this restores the functionality in the interface. This can be done with the following command:
ea_install_profile --install /etc/cpanel/ea4/profiles/cpanel/allphp-opcache.json0 -
Sorry, I did not receive an email notification.I think this is the case for all profiles, In the end, nothing can be changed.Dear sir, Can you help me with this?[2026-04-06 03:03:46 +0800] info [xml-api] Could not load JSON in “/etc/cpanel/ea4/profiles/vendor/cloudlinux/allphp_cl.json”: Cannot open “/etc/cpanel/ea4/profiles/vendor/cloudlinux/allphp_cl.json”: No such file or directory at /usr/local/cpanel/Cpanel/JSON.pm line 272.Cpanel::JSON::_LoadFile("/etc/cpanel/ea4/profiles/vendor/cloudlinux/allphp_cl.json", 0, 0, undef, 0) called at /usr/local/cpanel/Cpanel/JSON.pm line 228Cpanel::JSON::LoadFile("/etc/cpanel/ea4/profiles/vendor/cloudlinux/allphp_cl.json") called at /usr/local/cpanel/Whostmgr/API/1/EA4.pm line 169eval {...} called at /usr/local/cpanel/Whostmgr/API/1/EA4.pm line 169Whostmgr::API::1::EA4::_get_profile_hr("/etc/cpanel/ea4/profiles/vendor/cloudlinux", "allphp_cl.json", HASH(0x4592b48)) called at /usr/local/cpanel/Whostmgr/API/1/EA4.pm line 121Whostmgr::API::1::EA4::ea4_list_profiles(HASH(0x27e44e0), Whostmgr::API::1::Utils::Metadata=HASH(0x279fba0), HASH(0x436b000)) called at whostmgr/bin/xml-api.pl line 5371whostmgr::bin::xml_api::__ANON__(Whostmgr::API::1::Utils::Metadata=HASH(0x279fba0), HASH(0x27e44e0), HASH(0x436b000), CODE(0x4364c60)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 240Whostmgr::API::1::Data::Wrapper::__ANON__() called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 100eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 91Try::Tiny::try(CODE(0x45c0508), Try::Tiny::Catch=REF(0x45c0700)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 259Whostmgr::API::1::Data::Wrapper::execute_internal(CODE(0x436da50), HASH(0x27e44e0), HASH(0x436b000), HASH(0x436c230), CODE(0x4364c60)) called at whostmgr/bin/xml-api.pl line 5639whostmgr::bin::xml_api::runapp(undef, "ea4_list_profiles", HASH(0x436b000), HASH(0x2632968), 0, CODE(0x4364c60)) called at whostmgr/bin/xml-api.pl line 5190whostmgr::bin::xml_api::script(CODE(0x4364c60), "-json", "./ea4_list_profiles") called at whostmgr/bin/xml-api.pl line 51310
-
Can you post the output of this command from your server?
ls -lah /etc/cpanel/ea4/profiles/vendor/cloudlinux/allphp_cl.json
0
Please sign in to leave a comment.
Comments
3 comments