• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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