• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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