Hi,
We recently updated the cpanel version. We are currently experiencing a problem with subdomains. When we want to remove the subdomain from the cpanel interface, we get the following error.
There was a problem removing the subdomain “xxx.xxx.com”.
(XID en6qyq) Unsupported 'perm' option, please use 'octal_perms' instead. at /usr/local/cpanel/Cpanel/FileUtils/Chown.pm line 21.
I add the detailed result below with the cpanel api.
We recently updated the cpanel version. We are currently experiencing a problem with subdomains. When we want to remove the subdomain from the cpanel interface, we get the following error.
There was a problem removing the subdomain “xxx.xxx.com”.
(XID en6qyq) Unsupported 'perm' option, please use 'octal_perms' instead. at /usr/local/cpanel/Cpanel/FileUtils/Chown.pm line 21.
I add the detailed result below with the cpanel api.
Code:
warn [cpanel] Encountered error in SubDomain::delsubdomain: (XID 8gjvfq) Unsupported 'perm' option, please use 'octal_perms' instead. at /usr/local/cpanel/Cpanel/FileUtils/Chown.pm line 21.
at /usr/local/cpanel/Cpanel/EventHandler.pm line 47.
Cpanel::EventHandler::_event(2, "post", "SubDomain", "delsubdomain", HASH(0x2c2c148), ARRAY(0x2e24608)) called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 179
Cpanel::Api2::Exec::api2_exec("SubDomain", "delsubdomain", HASH(0x2c2c598), HASH(0x2c2c148)) called at cpanel.pl line 1373
cpanel::cpanel::docpanelaction(HASH(0x2c2c340)) called at cpanel.pl line 4545
cpanel::cpanel::run_fast_json_mode() called at cpanel.pl line 926
cpanel::cpanel::script("cpanel::cpanel", "--json-fast-connect", "--stdin") called at cpanel.pl line 326
---
cpanelresult:
apiversion: 2
data:
-
reason: "(XID 8gjvfq) Unsupported 'perm' option, please use 'octal_perms' instead. at /usr/local/cpanel/Cpanel/FileUtils/Chown.pm line 21.\n"
result: 0
error: "(XID 8gjvfq) Unsupported 'perm' option, please use 'octal_perms' instead. at /usr/local/cpanel/Cpanel/FileUtils/Chown.pm line 21.\n"
event:
result: 1
func: delsubdomain
module: SubDomain
postevent:
result: 1
preevent:
result: 1