29 September 2018 ~ 0 Comments

Stuck in WHM/cPanel Upgrade Loop with Easy Apache 4

I ran into this issue and did a lot of digging to find a solution and had a hard time finding one so hopefully this post is hopeful on the rare chance you come across this problem.

Recently I deployed a new cloud server however the hosting company deployed a very old version of WHM, version 42 (11.42), to be exact.

I started running the updates for this to get it up to it’s most recent version, and ultimately was blocked to update EasyApache to EA4 from EA3.

I ran the migrate script as shown on their website:

/usr/local/cpanel/scripts/migrate_ea3_to_ea4 --run

This ran without issue and I continued on the upgrade train with destination 74 (you could have at least pretended to laugh).

All continued to run smooth through version 66, then I reached a block stating my version of ea-apache24-runtime-config was outdated and needed to be updated.

Easy enough, right? I mean, easy is in the name.. well.. not exactly, anticipating a simple yum update I was met with a response ‘No Packages Marked For Update.’

I went through the various steps of making sure that the repo was correct and checking the installed packages, a yum clean all followed with another update, and nothing seemed to work.

I went even so far as to force reinstall cpanel through upcp when it occurred to me, duh, to force reinstall easyapache 4.

The package version when I ran the migration script at version 50 whatever was of course outdated, and cpanel had loaded a new one but it was not installed.

Resolving this problem was as simple as:

/usr/local/cpanel/scripts/migrate_ea3_to_ea4 --run --reinstall

This installed the latest version of EA4 and allowed me continue my cpanel updates.

Hope this helps someone!