Operating System & Version
RedHat 7.9
cPanel & WHM Version
latest

nlewis76

Registered
Jan 15, 2021
4
0
1
Wales
cPanel Access Level
Root Administrator
Hello - I am trying to do an install on a newly built RHEL 7.9 and I am getting the following message:

Running version '11.92.0.8' of updatenow.
[2021-01-15 14:10:21 +0000] Detected version '' from version file.
[2021-01-15 14:10:21 +0000] --force passed on command line. Upgrade will disregard update config settings.
[2021-01-15 14:10:21 +0000] E Tried to sync version /etc/cpanel/TIERS.json file but failed: http_proxy URL must be in format http://[[email protected]]<host>:<port>/
[2021-01-15 14:10:21 +0000] at ./updatenow.static line 47531.
[2021-01-15 14:10:21 +0000] ***** FATAL: The version for tier 'release' is not defined!
[2021-01-15 14:10:21 +0000] The Administrator will be notified to review this output when this script completes
[2021-01-15 14:10:21 +0000] E Detected events which require user notification during updatenow. Will send iContact the log
info [updatenow] upcp:: Notification => [email protected]-lvw-ecpws01.cg***** via EMAIL [eventimportance => High (1)]
warn [updatenow] Failed to send notification of type “EMAIL”: /usr/sbin/sendmail is not executable by UID 0 (No such file or directory) at ./updatenow.static line 63267.


There were errors when running updatenow:

[2021-01-15 14:10:21 +0000] E The install encountered an error: The version for tier 'release' is not defined!
Can't exec "/usr/local/cpanel/scripts/cpanel_initial_install": No such file or directory at /home/cPanelInstall/selfgz13786/install line 359.
2021-01-15 14:10:21 363 [13838] (FATAL): The system failed to run the /usr/local/cpanel/scripts/cpanel_initial_install script.
Removing /root/installer.lock.
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,235
2,423
363
cPanel Access Level
Root Administrator
Hey there! The first thing I'd check for that error would be the update configuration in /etc/cpupdate.conf, since it doesn't seem to be able to find the update tier you're working with. Normally I would expect the first line of that file to look like this:

Code:
CPANEL=release
so can you check and confirm that is in place?

It's also odd that /usr/sbin/sendmail didn't exist, as that should be present as part of the Exim package on the system:

Code:
# rpm -qf /usr/sbin/sendmail
exim-4.93-6.cp1186.x86_64
 

nlewis76

Registered
Jan 15, 2021
4
0
1
Wales
cPanel Access Level
Root Administrator
I have installed sendmail now - so that error has gone away.

This is still an issue though:

[2021-01-15 21:25:44 +0000] E The install encountered an error: The version for tier 'release' is not defined!
Can't exec "/usr/local/cpanel/scripts/cpanel_initial_install": No such file or directory at /home/cPanelInstall/selfgz3617/install line 359.
2021-01-15 21:25:44 363 [3669] (FATAL): The system failed to run the /usr/local/cpanel/scripts/cpanel_initial_install script.
Removing /root/installer.lock.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,235
2,423
363
cPanel Access Level
Root Administrator
Could you submit a ticket to our support team? It almost feels like there are remnants of a partial install or some other conflict causing these odd issues. If you do submit a ticket please post the number here so I can follow along and keep everyone on the forums updated as well.