[2021-04-07 20:57:33 +0200] warn [cpanel_initial_install] Failed to symlink /usr/local/cpanel/etc/mail/spamassassin/BAYES_POISON_DEFENSE.cf => /etc/mail/spamassassin/BAYES_POISON_DEFENSE.cf: No such file or directory at /usr/local/cpanel/Whostmgr/TweakSettings/Mail.pm line 586. ...skipping... ==> cpsrvd: bound to ports [2022-01-14 14:52:57 +0100] info [cpsrvd] version 220.127.116.11 online [2022-01-14 14:53:48 +0100] warn [cpanel] User file '/var/cpanel/users/root' is empty or non-existent. at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 335. Cpanel::Config::LoadCpUserFile::_load(__CPANEL_HIDDEN__, undef) called at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 217 Cpanel::Config::LoadCpUserFile::load("root") called at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile/CurrentUser.pm line 73 Cpanel::Config::LoadCpUserFile::CurrentUser::load("root") called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 320 Cpanel::Api2::Exec::_get_persona_error(HASH(0x36e6a90)) called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 89 Cpanel::Api2::Exec::api2_exec("Locale", "get_user_locale", HASH(0x36e6f40), HASH(0x36e6a90)) called at cpanel.pl line 1372 cpanel::cpanel::docpanelaction(HASH(0x36e6c10)) called at cpanel.pl line 4576 cpanel::cpanel::run_fast_json_mode() called at cpanel.pl line 925 cpanel::cpanel::script("cpanel::cpanel", "--json-fast-connect", "--stdin") called at cpanel.pl line 325
This is from cpanels error log.
I've found a post which says the solution is to create this myself by copying another user and changing the content, but I'm not certain I would do things right. This just should not happen. So it would be nice if CPanel could fix this as this is the root user or give me a good solution.