I can't seem to get the Pkgacct::Restore hook to execute anything. Is this hook working?
Adding a script to execute at post stage for this event:
/usr/local/cpanel/bin/manage_hooks add script /var/cpanel/hooks/monitor_restore.php --manual --category=Pkgacct --event=Restore --stage=post
The logs don't even indicate anything:
---debug_hooks---
msg: No hooks found for traversed context
context: PkgAcct::Restore
stage: post
Perhaps I'm doing something wrong. Or perhaps Pkgacct::Restore isn't actually being hooked?
I would expect the logs to at least say something. But No hooks found for traversed context would seem to indicate that either my add hook line is wrong or it's not picking up on any Pkgacct::Restore hooks
This is in cPanel 82.0.16
Adding a script to execute at post stage for this event:
/usr/local/cpanel/bin/manage_hooks add script /var/cpanel/hooks/monitor_restore.php --manual --category=Pkgacct --event=Restore --stage=post
The logs don't even indicate anything:
---debug_hooks---
msg: No hooks found for traversed context
context: PkgAcct::Restore
stage: post
Perhaps I'm doing something wrong. Or perhaps Pkgacct::Restore isn't actually being hooked?
I would expect the logs to at least say something. But No hooks found for traversed context would seem to indicate that either my add hook line is wrong or it's not picking up on any Pkgacct::Restore hooks
This is in cPanel 82.0.16