Hi everyone,
I'm no stranger to installing cPanel but this problem has had me stumped all day.
I'm trying to install cPanel on a fresh Hetzner Cloud Server with CentOS 7.4.1708 minimal at the start.
During the installation, /etc/centos-release gets updated to "CentOS Linux release 7.5.1804 (Core)"
Towards the end of the installation, all the /etc/*release* files are being deleted and I have an error when trying to log into WHM.
A fatal error or timeout occurred while processing this directive.
Template::Exception:
[TYPE]=[plugin]
[INFO]=[exit level [die] [pid=18628] (Cannot open file /etc/redhat-release)
]
[TEXT]=[]
at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 514.
Template::Context::throw(Template::Context=HASH(0x268a960), "plugin", "exit level [die] [pid=18628] (Cannot open file /etc/redhat-re"...) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 202
Template::Context::plugin(Template::Context=HASH(0x268a960), "Whostmgr") called at /usr/local/cpanel/Cpanel/Template.pm line 463
Cpanel::Template::process_template("whostmgr", HASH(0x2667a10)) called at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 111
Whostmgr::HTMLInterface::starthtml() called at whostmgr/bin/whostmgr3.pl line 187
main::initial_setup_wizard1("initial_setup_wizard1") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 227
Whostmgr::Dispatch::_do_call("initial_setup_wizard1", HASH(0x2653350), HASH(0x26677d0)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 144
Whostmgr::Dispatch::dispatch("initial_setup_wizard1", 1, ARRAY(0x26673e0)) called at whostmgr/bin/whostmgr3.pl line 164
YUM is also broken now with the following error:
Cannot find a valid baseurl for repo: EA4/$releasever/x86_64
I can fix the WHM login issue by putting back the /etc/*release files with previously backed up versions, and I can fix the repo baseurl issue by replacing $releasever with "c7", but it's not an installation I feel comfortable using in production.
Any ideas why I'm getting these problems during installation, and how do I fix it?
I'm no stranger to installing cPanel but this problem has had me stumped all day.
I'm trying to install cPanel on a fresh Hetzner Cloud Server with CentOS 7.4.1708 minimal at the start.
During the installation, /etc/centos-release gets updated to "CentOS Linux release 7.5.1804 (Core)"
Towards the end of the installation, all the /etc/*release* files are being deleted and I have an error when trying to log into WHM.
A fatal error or timeout occurred while processing this directive.
Template::Exception:
[TYPE]=[plugin]
[INFO]=[exit level [die] [pid=18628] (Cannot open file /etc/redhat-release)
]
[TEXT]=[]
at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 514.
Template::Context::throw(Template::Context=HASH(0x268a960), "plugin", "exit level [die] [pid=18628] (Cannot open file /etc/redhat-re"...) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 202
Template::Context::plugin(Template::Context=HASH(0x268a960), "Whostmgr") called at /usr/local/cpanel/Cpanel/Template.pm line 463
Cpanel::Template::process_template("whostmgr", HASH(0x2667a10)) called at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 111
Whostmgr::HTMLInterface::starthtml() called at whostmgr/bin/whostmgr3.pl line 187
main::initial_setup_wizard1("initial_setup_wizard1") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 227
Whostmgr::Dispatch::_do_call("initial_setup_wizard1", HASH(0x2653350), HASH(0x26677d0)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 144
Whostmgr::Dispatch::dispatch("initial_setup_wizard1", 1, ARRAY(0x26673e0)) called at whostmgr/bin/whostmgr3.pl line 164
YUM is also broken now with the following error:
Cannot find a valid baseurl for repo: EA4/$releasever/x86_64
I can fix the WHM login issue by putting back the /etc/*release files with previously backed up versions, and I can fix the repo baseurl issue by replacing $releasever with "c7", but it's not an installation I feel comfortable using in production.
Any ideas why I'm getting these problems during installation, and how do I fix it?