• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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