Skip to main content

cPanel update error - “/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini”

Comments

7 comments

  • cPanelMichael
    Hello, It looks like the migrate_local_ini_to_php_ini script failed during the update. Could you run that command manually and let us know the output? EX: /usr/local/cpanel/scripts/migrate_local_ini_to_php_ini --run --verbose
    Thank you.
    0
  • Marius
    The result: warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php70" because it does not have the right /etc dir (/opt/cloudlinux/alt-php70/root/etc). warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php55" because it does not have the right /etc dir (/opt/cloudlinux/alt-php55/root/etc). warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php56" because it does not have the right /etc dir (/opt/cloudlinux/alt-php56/root/etc). Processing alt-php72 " Cpanel::Exception::FeatureNotEnabled/(XID 859xmg) The "alt-php72" package does not provide an executable binary. at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336. Cpanel::Exception::create("FeatureNotEnabled", "The \x{e2}\x{80}\x{9c}[_1]\x{e2}\x{80}\x{9d} package does not provide an executable binary.", ARRAY(0x1690a58)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46 Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, ARRAY(0x1690a58)) called at /usr/local/cpanel/Cpanel/ProgLang/Supported/php.pm line 318 Cpanel::ProgLang::Supported::php::get_package(Cpanel::ProgLang::Supported::php=HASH(0x1b4aa90), "package", "alt-php72") called at /usr/local/cpanel/Cpanel/ProgLang/Supported/php/Ini.pm line 233 Cpanel::ProgLang::Supported::php::Ini::new("Cpanel::ProgLang::Supported::php::Ini", "lang", Cpanel::ProgLang::Supported::php=HASH(0x1b4aa90), "package", "alt-php72") called at /usr/local/cpanel/Cpanel/ProgLang/Supported/php.pm line 369 Cpanel::ProgLang::Supported::php::get_ini(Cpanel::ProgLang::Supported::php=HASH(0x1b4aa90), "package", "alt-php72") called at /usr/local/cpanel/scripts/migrate_local_ini_to_php_ini line 44 scripts::migrate_local_ini_to_php_ini::run("--run", "--verbose") called at /usr/local/cpanel/scripts/migrate_local_ini_to_php_ini line 27
    I do not have installed and I do not use php 5. I have ea-php70 installed via cPanel EasyApache - I use PHP-FPM! I have Cloudlinux but without theirs PHP versions, I use Cloudlinux (CageFS) and Kernelecare only for protection against symlink attack. In the last 6 months everything works like a charm, till now. How can I solve this problem? It's the second day when I get this error regarding updating on my email
    0
  • cPanelMichael
    Processing alt-php72 " Cpanel::Exception::FeatureNotEnabled/(XID 859xmg) The "alt-php72" package does not provide an executable binary. at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336.

    Hello, Check to see if installing the PHP CLI RPMs for EasyApache 4 solve this error: yum install ea-php{54,55,56,71}-php-cli
    Thank you.
    0
  • Marius
    I've installed what you told me. Next day email with error: [2018-04-05 03:46:39 +0300] E [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] The "/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini" command (process 31812) reported error number 255 when it ended.
    After I run as root: /usr/local/cpanel/scripts/migrate_local_ini_to_php_ini --run --verbose The new output is: [root@server /]# /usr/local/cpanel/scripts/migrate_local_ini_to_php_ini --run --verbose warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php53" because it does not have the right /etc dir (/opt/cloudlinux/alt-php53/root/etc). warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php52" because it does not have the right /etc dir (/opt/cloudlinux/alt-php52/root/etc). warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php71" because it does not have the right /etc dir (/opt/cloudlinux/alt-php71/root/etc). warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php54" because it does not have the right /etc dir (/opt/cloudlinux/alt-php54/root/etc). warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php51" because it does not have the right /etc dir (/opt/cloudlinux/alt-php51/root/etc). warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php44" because it does not have the right /etc dir (/opt/cloudlinux/alt-php44/root/etc). warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php70" because it does not have the right /etc dir (/opt/cloudlinux/alt-php70/root/etc). warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php55" because it does not have the right /etc dir (/opt/cloudlinux/alt-php55/root/etc). warn [migrate_local_ini_to_php_ini] Ignoring SCL "alt-php56" because it does not have the right /etc dir (/opt/cloudlinux/alt-php56/root/etc). Processing alt-php72 " Cpanel::Exception::FeatureNotEnabled/(XID ndhag3) The "alt-php72" package does not provide an executable binary. at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336. Cpanel::Exception::create("FeatureNotEnabled", "The \x{e2}\x{80}\x{9c}[_1]\x{e2}\x{80}\x{9d} package does not provide an executable binary.", ARRAY(0x134dc88)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46 Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, ARRAY(0x134dc88)) called at /usr/local/cpanel/Cpanel/ProgLang/Supported/php.pm line 318 Cpanel::ProgLang::Supported::php::get_package(Cpanel::ProgLang::Supported::php=HASH(0x1397a28), "package", "alt-php72") called at /usr/local/cpanel/Cpanel/ProgLang/Supported/php/Ini.pm line 233 Cpanel::ProgLang::Supported::php::Ini::new("Cpanel::ProgLang::Supported::php::Ini", "lang", Cpanel::ProgLang::Supported::php=HASH(0x1397a28), "package", "alt-php72") called at /usr/local/cpanel/Cpanel/ProgLang/Supported/php.pm line 369 Cpanel::ProgLang::Supported::php::get_ini(Cpanel::ProgLang::Supported::php=HASH(0x1397a28), "package", "alt-php72") called at /usr/local/cpanel/scripts/migrate_local_ini_to_php_ini line 44 scripts::migrate_local_ini_to_php_ini::run("--run", "--verbose") called at /usr/local/cpanel/scripts/migrate_local_ini_to_php_ini line 27
    Any chance to solve this update error? All these errors occurred the very next day after I upgrading MariaDB from 10.0 to MariaDB 10.1 via WHM.
    0
  • cPanelMichael
    Hi @mariusfv, Could you open a support ticket so we can take a closer look? You can post the ticket number here and we will update this thread with the outcome. Thank you.
    0
  • Marius
    Your Support Request ID is: 9419791
    0
  • cPanelMichael
    Hello, To update, it looks like the issue was solved after reinstalling the alt-php packages per the instructions at: CloudLinux Documentation Thank you.
    0

Please sign in to leave a comment.