Any cPanel hook in python (I am not sure of any other language) raise the error
in v84 which is pushed to release tier, this breaks compatibility with third-party plugins. I have already opened a ticket and cPanel confirmed this as a bug
CPANEL-29888
But I see that this is not fixed before the v84 is put in release tier, so people who get upgraded automatically will find things broken
It would be great if the above bug is fixed asap or if there is a new way to register the hooks etc, please let the community know so that it can help third party integrations to modify accordingly
Code:
[2019-10-30 05:16:39 +0100] warn [hooks2] Requested hook does not exist in hooks database with escalateprivs attribute at bin/admin/Cpanel/hooks2.pl line 97, <STDIN> line 2.
main::main() called at bin/admin/Cpanel/hooks2.pl line 43
[2019-10-30 05:16:39 +0100] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request adminbin Cpanel/hooks2/Cpanel::Api2::SubDomain::delsubdomain: exit 1: namespace=[Cpanel] module=[hooks2] function=[Cpanel::Api2::SubDomain::delsubdomain]: set error in context subdomain: raw_response=[{"status":1,"mode":"full","statusmsg":"adminbin Cpanel/hooks2/Cpanel::Api2::SubDomain::delsubdomain: exit 1","exit_code":256,"error":1,"version":"2.4","action":"run","data":"Requested hook does not exist in hooks database with escalateprivs attribute","timeout":0}] at /usr/local/cpanel/Cpanel/Wrap.pm line 120, <$socket> line 1.
CPANEL-29888
But I see that this is not fixed before the v84 is put in release tier, so people who get upgraded automatically will find things broken
It would be great if the above bug is fixed asap or if there is a new way to register the hooks etc, please let the community know so that it can help third party integrations to modify accordingly