• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs Watchdog daily mail fails since latest update: ERR [panel] No entry is registered for key 'container'

King555

Regular Pleskian
Username:

TITLE

Watchdog daily mail fails since latest update: ERR [panel] No entry is registered for key 'container'

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian 18.0.41 web admin edition, Ubuntu 18.04.6 LTS x64

PROBLEM DESCRIPTION

After the update to version 18.0.41 the daily mail from "Watchdog" fails, which means I only get an error message mail instead of the report.

STEPS TO REPRODUCE

Update to Plesk Obsidian 18.0.41, use the Watchdog extension, activate service and disk monitoring, activate daily mail report.

ACTUAL RESULT

This mail content:

Code:
[2022-01-20 01:00:01.680] 24276:61e8a601a5e1a ERR [panel] No entry is registered for key 'container':
0: /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Registry.php:147
    Zend_Registry::get(string 'container')
1: /opt/psa/admin/plib/Plesk/Log/UtilExec.php:34
    Plesk_Log_UtilExec->start(string 'md', array, string '', boolean false)
2: /opt/psa/admin/plib/common_func.php:123
    util_exec(string 'md', array, array, string 'lst', string 'watchdog', boolean true)
3: /opt/psa/admin/plib/common_func.php:35
    mod_smart_exec(string 'watchdog', string 'md', array, array, string 'lst')
4: /opt/psa/admin/plib/modules/watchdog/wdlib.php:1157
    wd__exec_wd_util(string 'md', array, array, string 'lst')
5: /opt/psa/admin/plib/modules/watchdog/wdcplib.php:367
    local_mounted_disks()
6: /opt/psa/libexec/modules/watchdog/cp/send-report:260
    monitoring_disks_list()
7: /opt/psa/libexec/modules/watchdog/cp/send-report:45
ERROR: Zend_Exception: No entry is registered for key 'container' (Registry.php:147)

EXPECTED RESULT

Get the Watchdog report with currently running services, disk space status and occurred events.

ANY ADDITIONAL INFORMATION

Mail subject: Cron <root@example> /opt/psa/libexec/modules/watchdog/cp/send-report daily

The corresponding thread in the forum: Issue - Watchdog daily mail fails since latest update: ERR [panel] No entry is registered for key 'container'

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you for the report.
The bug PPPM-13385 has been confirmed.
Attaching custom fix. Unzip and put to <PLESK_DIR>/admin/plib/modules/watchdog/
 

Attachments

  • wdcplib.php.zip
    13.8 KB · Views: 88
Back
Top