• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved /opt/psa/libexec/modules/watchdog missing - crontab errors

mit

New Pleskian
Hi Plesk-Friends,

First, merry Christmas to everyone.

I used the time to upgrade my VPS from ubuntu 18.04 (with latest Plesk version) to ubuntu 22.04.1 (with latest Plesk version). I decided to take a backup of my old VPS, re-install the VPS, and restore the backup. Everything went smooth (with some minor situations I managed to solve).

However, now I am getting crontab errors for different files in /opt/psa/libexec/modules/watchdog/cp/

Like:
/bin/sh: 1: /opt/psa/libexec/modules/watchdog/cp/clean-events: not found
/bin/sh: 1: /opt/psa/libexec/modules/watchdog/cp/pack-sysstats: not found
/bin/sh: 1: /opt/psa/libexec/modules/watchdog/cp/pack-sysstats: not found

(and some more)

I checked the path, and only /opt/psa/libexec/modules/ is available (but empty).
Crontab however shows a list with jobs on that cp folder:

:/opt/psa/libexec/modules# crontab -l

#MAILTO=""

0 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/secur-check
0 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/send-report weekly
10 1 * * * /opt/psa/libexec/modules/watchdog/cp/clean-sysstats
15 1 * * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats day
15 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/pack-sysstats week
15 1 1 * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats month
15 1 1 * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats year
20 1 * * * /opt/psa/libexec/modules/watchdog/cp/clean-events
0 3 * * 7 /opt/psa/libexec/modules/watchdog/cp/clean-reports
MAILTO="<Removed>"

My question, is /opt/psa/libexec/modules/watchdog/cp/ with the files supposed to exist (and missing files is the issue), or the cronjobs are orphan (and I should delete those)?

I tried to uninstall the watchdog module, but no luck:
/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --remove-component watchdog
/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component watchdog

Any idea?

Thanks,
MIT

PS: Plesk Obsidian Version 18.0.48
 
Hey Maarten,
Great, thank you. I see... In this case, I will simply disable those cron jobs.

Thanks again,
Mat
 
Great, thank you. I see... In this case, I will simply disable those cron jobs.
I'd also recommend to run
# /usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --remove-component watchdog
again. I am not sure why the software allowed the installation in the first place as Watchdog is not supported on that OS.
 
  • Like
Reactions: mit
Back
Top