The Feature List specified for user does not exist
Scenario:
installed a third party plugin for cpanel. Clicking its icon in cpanel of the domains gave fatal error, "A fatal error occurred with the xxxxxx plugin - Error checking enabled feature - The feature list specified for user "username" does not exist."
The plugin provider requested to run the command
papi3 --user=username Features has_feature name=webdisk
It returned error mentioned below... the plugin provider suggest something wrong with /var/cpanel/features/ permissions - I do not know anything about cPanel API and don't find any issue with feature manager or any kind of issue with permissions.
Almost all domains are using default feature list.
The error message:
[2016-05-19 12:23:24 +0500] warn [cpanel] Cannot access feature list file: /var/cpanel/features/default: Permission denied at /usr/local/cpanel/Cpanel/Features/Cpanel.pm line 78.
Cpanel::Features::Cpanel::calculate_cache_file_name_and_maxmtime(ARRAY(0x61e9e88)) called at /usr/local/cpanel/Cpanel/Features/Cpanel.pm line 129
Cpanel::Features::Cpanel::augment_hashref_with_features(__CPANEL_HIDDEN__, HASH(0x5c43938), 1463642604) called at /usr/local/cpanel/Cpanel.pm line 132
Cpanel::initcp(Cpanel=HASH(0x2057318)) called at cpanel.pl line 737
cpanel::cpanel::script("cpanel::cpanel", "--json-fast-connect", "--stdin") called at cpanel.pl line 332
[2016-05-19 12:23:24 +0500] warn [cpanel] Cannot access feature list file: /var/cpanel/features/disabled: Permission denied at /usr/local/cpanel/Cpanel/Features/Cpanel.pm line 78.
Cpanel::Features::Cpanel::calculate_cache_file_name_and_maxmtime(ARRAY(0x61e9e88)) called at /usr/local/cpanel/Cpanel/Features/Cpanel.pm line 129
Cpanel::Features::Cpanel::augment_hashref_with_features(__CPANEL_HIDDEN__, HASH(0x5c43938), 1463642604) called at /usr/local/cpanel/Cpanel.pm line 132
Cpanel::initcp(Cpanel=HASH(0x2057318)) called at cpanel.pl line 737
cpanel::cpanel::script("cpanel::cpanel", "--json-fast-connect", "--stdin") called at cpanel.pl line 332
---
apiversion: 3
func: has_feature
module: Features
result:
data: ~
errors:
- The feature list specified for user "username" does not exist.
messages: ~
metadata: {}
status: 0
-
Hello, It does seem like an issue with permissions of feature list files/folder. Could you please post the output of following commands? # ls -l /var/cpanel/features
ls -ld /var/cpanel/features0 -
Hello, Yes, as mentioned, it seems like an issue with the permissions of the "disabled" file under the "/var/cpanel/features" directory. Please post the output from the commands in the previous response. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments