nvdata.cache error first time a Team user logs in
Hi,
The first time I log in with a newly created Team user (e.g. user@domain.com), I get the following error:

Full error:
Failed to save cache file “/home/dominiotld/programador/.cpanel/nvdata.cache” because of an error: (XID ppsqhe) El sistema no pudo crear el archivo “/home/dominiotld/programador/.cpanel/.tmp.a6b23.nvdata.cache” con permisos “0640” (como EUID: 1095. EGID: 1098 1098) debido al siguiente error: No such file or directory
The system failed to create the file “/home/dominiotld/programador/.cpanel/.tmp.a6b23.nvdata.cache” with permissions “0640” (as EUID: 1095, EGID: 1098 1098) because of the following error: No such file or directory at /usr/local/cpanel/Cpanel/NVData.pm line 180.
at /usr/local/cpanel/Cpanel/NVData.pm line 180.
Cpanel::NVData::__ANON__(Cpanel::Exception::IO::FileCreateError=HASH(0x3c5dcf0)) called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/Try/Tiny.pm line 121
Try::Tiny::try(CODE(0x3c64728), Try::Tiny::Catch=REF(0x39e44f0)) called at /usr/local/cpanel/Cpanel/NVData.pm line 182
Cpanel::NVData::_savecache() called at /usr/local/cpanel/Cpanel/NVData.pm line 294
Cpanel::NVData::_loadcache(1) called at /usr/local/cpanel/Cpanel/NVData.pm line 355
Cpanel::NVData::_get("xmaingroupsorder") called at /usr/local/cpanel/Cpanel/API/NVData.pm line 43
Cpanel::API::NVData::_get("xmaingroupsorder") called at /usr/local/cpanel/Cpanel/Template/Plugin/Master.pm line 81
Cpanel::Template::Plugin::Master::load("Cpanel::Template::Plugin::Master", Template::Context=HASH(0x39dcf60)) called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Plugins.pm line 212
eval {...} called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Plugins.pm line 212
Template::Plugins::_load(Template::Plugins=HASH(0x39decf0), "Master", Template::Context=HASH(0x39dcf60)) called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Plugins.pm line 105
Template::Plugins::fetch(Template::Plugins=HASH(0x39decf0), "Master", undef, Template::Context=HASH(0x39dcf60)) called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Context.pm line 193
Template::Context::plugin(Template::Context=HASH(0x39dcf60), "Master") called at (eval 24) line 1
eval {...} called at (eval 24) line 1
Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x39dcf60)) called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Document.pm line 166
eval {...} called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Document.pm line 164
Template::Document::process(Template::Document=HASH(0x3c64818), Template::Context=HASH(0x39dcf60)) called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Context.pm line 354
eval {...} called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Context.pm line 324
Template::Context::process(Template::Context=HASH(0x39dcf60), "tools/index.tt") called at /usr/local/cpanel/base/frontend/jupiter/index.auto.tmpl line 1
eval {...} called at /usr/local/cpanel/base/frontend/jupiter/index.auto.tmpl line 5
Template::Document::__ANON__(Template::Context=HASH(0x39dcf60)) called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Document.pm line 166
eval {...} called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Document.pm line 164
Template::Document::process(Template::Document=HASH(0x3cb5ae0), Template::Context=HASH(0x39dcf60)) called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Context.pm line 354
eval {...} called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Context.pm line 324
Template::Context::process(Template::Context=HASH(0x39dcf60), Template::Document=HASH(0x3cb5ae0)) called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Service.pm line 96
eval {...} called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template/Service.pm line 93
Template::Service::process(Template::Service=HASH(0x380aae8), "/usr/local/cpanel/base/frontend/jupiter/index.auto.tmpl", HASH(0x37ed7e8)) called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux/Template.pm line 65
Template::process(Template=HASH(0x380b070), "/usr/local/cpanel/base/frontend/jupiter/index.auto.tmpl", HASH(0x37ed7e8), SCALAR(0x229e2a0)) called at /usr/local/cpanel/Cpanel/Template.pm line 541
Cpanel::Template::process_template("cpanel", HASH(0x37ed7e8), HASH(0x2343360)) called at cpanel.pl line 1115
cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/jupiter/index.auto.tmpl", 1) called at cpanel.pl line 4656
cpanel::cpanel::run_standard_mode() called at cpanel.pl line 938
cpanel::cpanel::script("cpanel::cpanel", "./frontend/jupiter/index.html") called at cpanel.pl line 331
After dismissing the error, everything works as expected. All subsequent logins with the same Team user are successful and the error does not reappear.
It looks like the .cpanel directory (or some of its contents) is not being created before cPanel attempts to write the nvdata.cache file during the first login.
I was able to reproduce the issue on two different servers.
cPanel version:
# /usr/local/cpanel/cpanel -V
136.0 (build 25)
Thanks
-
Hey there! This is a known issue we're tracking as part of case CPANEL-53041. I've linked this thread to the case so I'll be sure to update if I hear anything on my end.
0 -
Thanks Rex.
0 -
Sure thing!
0 -
Thanks Rex , even i was havign same issue
1
Please sign in to leave a comment.
Comments
4 comments