I can't seem to get this upgrade working. (XID vtcchh) 1 error occurred: Error #1: The system failed to apply the “PHP” version to “*********.com”: Cpanel::Exception::IO::ChownError/(XID k5k9ec)
Context: I'm migrating from CentOS6 to CentOS7. I created a new vps server and used the transfer tool to transfer all configs/accounts. I noticed that php7.1 was already EOL. So i've been trying to upgrade it. Steps taken:
Advice appreciated.
Context: I'm migrating from CentOS6 to CentOS7. I created a new vps server and used the transfer tool to transfer all configs/accounts. I noticed that php7.1 was already EOL. So i've been trying to upgrade it. Steps taken:
- Ran EA4 to provision PHP7.3 and all necessary extensions
- EA4 noted that I had to also provision ea-php73-php-fpm (the production server uses PHP-FPM). So I did that... success
- Then I used multiPHP manager to move my domain (only one domain on server) to php7.3 - but I get a huge indecipherable error message (below). It appears to be some kind of permission issue ... but I can't make out what and I'm logged into WHM as root.
Advice appreciated.
Code:
Error: (XID nzhnzk) 1 error occurred: Error #1: The system failed to apply the “PHP” version to “lizardpoint.com”: Cpanel::Exception::IO::ChownError/(XID 5c5exx)
The system failed to set the user ID to “1000” and the group ID to “99” on “GLOB(0x43f48e0)” because of an error: Operation not permitted at /usr/local/cpanel/Cpanel/FileUtils/Access.pm line 78.
Cpanel::FileUtils::Access::ensure_mode_and_owner(GLOB(0x43f48e0), 420, 1000, 99) called at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 202 Cpanel::Transaction::File::Base::_set_permissions(GLOB(0x43f48e0),
420, ARRAY(0x43f4718), 420) called at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 417 Cpanel::Transaction::File::Base::__ANON__(GLOB(0x43f48e0), __CPANEL_HIDDEN__, 420)
called at /usr/local/cpanel/Cpanel/SafeFile/Replace.pm line 94 Cpanel::SafeFile::Replace::locked_atomic_replace_contents(GLOB(0x43f45f8), Cpanel::SafeFileLock=ARRAY(0x43f4e68), CODE(0x1687058)) called at
/usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 430 Cpanel::Transaction::File::Base::_save_or_die(Cpanel::Transaction::File::Raw=HASH(0x43f4af0), "offset", 0, "write_cr", CODE(0x17470b8)) called at
/usr/local/cpanel/Cpanel/Transaction/File/Raw.pm line 76 Cpanel::Transaction::File::Raw::save_or_die(Cpanel::Transaction::File::Raw=HASH(0x43f4af0)) called at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 272 eval {...}
called at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 272 Cpanel::Transaction::File::Base::save_and_close_or_die(Cpanel::Transaction::File::Raw=HASH(0x43f4af0)) called at
/usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 204 Cpanel::WebServer::Supported::apache::Htaccess::_internal_set_handler(Cpanel::WebServer::Supported::apache::Htaccess=HASH(0x4371418),
"userdata", Cpanel::WebServer::Userdata=HASH(0x3d8c8a0), "vhost", "lizardpoint.com", "handler", Cpanel::WebServer::Supported::apache::Handler::cgi=HASH(0x4371328), "lang", ...) called at
/usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 212 Cpanel::WebServer::Supported::apache::Htaccess::__ANON__() called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 96 eval {...}
called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 96 Cpanel::AccessIds::ReducedPrivileges::call_as_user(CODE(0x4369548), 1000, 1002) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm
line 217 Cpanel::WebServer::Supported::apache::Htaccess::set_handler(Cpanel::WebServer::Supported::apache::Htaccess=HASH(0x4371418), "package", "ea-php71", "lang", Cpanel::ProgLang::Supported::php=HASH(0x41ed518),
"vhost", "lizardpoint.com", "userdata", ...) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 967 Cpanel::WebServer::Supported::apache::__ANON__(Cpanel::Exception::IO::ChownError=HASH(0x4457558))
called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/Try/Tiny.pm line 118 Try::Tiny::try(CODE(0x43aea38), Try::Tiny::Catch=REF(0x43ec010)) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm
line 973 Cpanel::WebServer::Supported::apache::_update_vhost(Cpanel::WebServer::Supported::apache::Handler::cgi=HASH(0x4371328), Cpanel::WebServer::Supported::apache::Htaccess=HASH(0x4371418),
Cpanel::WebServer::Userdata=HASH(0x3d8c8a0), Cpanel::WebServer::Supported::apache::Handler::cgi=HASH(0x4371328), "lizardpoint.com", Cpanel::ProgLang::Supported::php=HASH(0x41ed518), "ea-php71", "ea-php71", ...)
called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 948 Cpanel::WebServer::Supported::apache::set_vhost_lang_package(Cpanel::WebServer::Supported::apache=HASH(0x4326468), "vhost", "lizardpoint.com",
"lang", Cpanel::ProgLang::Supported::php=HASH(0x41ed518), "package", "ea-php71", "userdata", ...) called at /usr/local/cpanel/Cpanel/WebServer.pm line 451
Cpanel::WebServer::__ANON__(Cpanel::Exception::IO::ChownError=HASH(0x171d898)) called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/Try/Tiny.pm line 118 Try::Tiny::try(CODE(0x4211bd8),
Try::Tiny::Catch=REF(0x4211bf0)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 456 Cpanel::WebServer::set_vhost_lang_package(Cpanel::WebServer=HASH(0x41ed548), "vhost",
"lizardpoint.com", "package", "ea-php73", "user", "lyndsey0", "lang", ...) called at /usr/local/cpanel/Cpanel/WebServer.pm line 530 Cpanel::WebServer::__ANON__()
called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/Try/Tiny.pm line 97 eval {...} called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/Try/Tiny.pm line 88
Try::Tiny::try(CODE(0x41edd28), Try::Tiny::Catch=REF(0x41edce0)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 536 Cpanel::WebServer::set_vhost_lang_packages(Cpanel::WebServer=HASH(0x41ed548),
"skip_userdata_cache_update", 1, "user", "lyndsey0", "vhosts", ARRAY(0x421f398), "lang", ...) called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 111 eval {...} called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm
line 100 Cpanel::PHP::Vhosts::setup_vhosts_for_php(ARRAY(0x41d8110)) called at /usr/local/cpanel/Whostmgr/API/1/Lang/PHP.pm line 284 Whostmgr::API::1::Lang::PHP::php_set_vhost_versions(HASH(0x17e7948),
Whostmgr::API::1::Utils::Metadata=HASH(0x17e0730), HASH(0x3b1d580)) called at whostmgr/bin/xml-api.pl line 3750 whostmgr::bin::xml_api::__ANON__(Whostmgr::API::1::Utils::Metadata=HASH(0x17e0730), HASH(0x17e7948),
HASH(0x3b1d580), CODE(0x3b1b270)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 234 Whostmgr::API::1::Data::Wrapper::__ANON__()
called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/Try/Tiny.pm line 97 eval {...} called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/Try/Tiny.pm line 88 Try::Tiny::try(CODE(0x3b70480),
Try::Tiny::Catch=REF(0x3b70660)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 253 Whostmgr::API::1::Data::Wrapper::execute_internal(CODE(0x3b21628), HASH(0x17e7948), HASH(0x3b1d580), HASH(0x3b2bb58),
CODE(0x3b1b270)) called at whostmgr/bin/xml-api.pl line 3925 whostmgr::bin::xml_api::runapp("php_set_vhost_versions", HASH(0x3b1d580), HASH(0x16d1f98), 0, CODE(0x3b1b270)) called at whostmgr/bin/xml-api.pl line 3619
whostmgr::bin::xml_api::script(CODE(0x3b1b270), "-json", "./php_set_vhost_versions") called at whostmgr/bin/xml-api.pl line 3562