Skip to main content

About the issue of EasyApache 4 Profiles failing to deploy via the [Provision] button.

Comments

3 comments

  • 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.json

     

    0
  • HATANO KENJI
    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 228
    Cpanel::JSON::LoadFile("/etc/cpanel/ea4/profiles/vendor/cloudlinux/allphp_cl.json") called at /usr/local/cpanel/Whostmgr/API/1/EA4.pm line 169
    eval {...} called at /usr/local/cpanel/Whostmgr/API/1/EA4.pm line 169
    Whostmgr::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 121
    Whostmgr::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 5371
    whostmgr::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 240
    Whostmgr::API::1::Data::Wrapper::__ANON__() called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 100
    eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 91
    Try::Tiny::try(CODE(0x45c0508), Try::Tiny::Catch=REF(0x45c0700)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 259
    Whostmgr::API::1::Data::Wrapper::execute_internal(CODE(0x436da50), HASH(0x27e44e0), HASH(0x436b000), HASH(0x436c230), CODE(0x4364c60)) called at whostmgr/bin/xml-api.pl line 5639
    whostmgr::bin::xml_api::runapp(undef, "ea4_list_profiles", HASH(0x436b000), HASH(0x2632968), 0, CODE(0x4364c60)) called at whostmgr/bin/xml-api.pl line 5190
    whostmgr::bin::xml_api::script(CODE(0x4364c60), "-json", "./ea4_list_profiles") called at whostmgr/bin/xml-api.pl line 5131

     

    0
  • cPRex Jurassic Moderator

    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.