SOLVED Can't change php version in MultiPhp Manager

blipper

Active Member
Jan 27, 2010
28
0
51
I can't change php version using the new Multiphp manager. Specifically, I have a subdomain dev.mydomain.com. I recevie the following error:

Error: “/usr/local/cpanel/bin/python-packman” reported error code “1” when it ended: Traceback (most recent call last): File "/usr/local/cpanel/bin/packman_get_list_json", line 15, in <module> packman.init_yum() File "/usr/local/cpanel/bin/packman_lib/yum_impl.py", line 77, in init_yum yb.repos.populateSack() File "/usr/lib/python2.7/site-packages/yum/repos.py", line 347, in populateSack self.doSetup() File "/usr/lib/python2.7/site-packages/yum/repos.py", line 157, in doSetup self.retrieveAllMD() File "/usr/lib/python2.7/site-packages/yum/repos.py", line 88, in retrieveAllMD dl = repo._async and repo._commonLoadRepoXML(repo) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1490, in _commonLoadRepoXML self._revertOldRepoXML() File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1334, in _revertOldRepoXML os.rename(old_data['old_local'], old_data['local']) OSError: [Errno 2] No such file or directory w/ /usr/local/cpanel/bin/packman_get_list_json installed Often errors like this can be resolved by running `yum makecache`

The suggestion says to run "yum makecache" but that does not seem to resolve it.

I'm running 94.0.3 on CentOS 7.9.

Any ideas? Thanks!
 
Last edited by a moderator:

blipper

Active Member
Jan 27, 2010
28
0
51
Ahhh.. found my problem. I had blocked country code CZ due to a large number of attempted exploits, but apparently wp-toolkit.plesk.com lives in a CZ IP block. Made a quick change to the firewall and all is good.
 
Last edited:

icylol

Registered
Aug 25, 2021
1
1
0
US
cPanel Access Level
Root Administrator
Ahhh.. found my problem. I had blocked country code CZ due to a large number of attempted exploits, but apparently wp-toolkit.plesk.com lives in a CZ IP block. Made a quick change to the firewall and all is good.
This was my issue as well. I just disabled CSF for a hot minute to run the following:

yum clean all
yum makecache
yum update

Then, removed CZ from country block. All is working.

Thanks all!
 
  • Like
Reactions: cPRex