• 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.

run-parts: /etc/cron.daily/pleskupdate exited with return code 1

Liwindo

Basic Pleskian
Username:

TITLE

run-parts: /etc/cron.daily/pleskupdate exited with return code 1

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian 18.0.58, Ubuntu 20.04.6 LTS, x86_64

PROBLEM DESCRIPTION


Summary:
After upgrading to 18.0.58 daily an error mail for the plesk update arrives with the content
Code:
Cron <<user>@<hostname>> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

run-parts: /etc/cron.daily/pleskupdate exited with return code 1

I can verify that for the two Server instances I have.

It was observed that plesk still updates the minor patch versions correctly while still sending this mail. Also after switching to the official plesk repository it didn't stopped.

The workaround provided by Issue - run-parts: /etc/cron.daily/pleskupdate exited with return code 1 hasn't worked, now the following content is received:
Code:
/etc/cron.daily/pleskupdate:
ATTENTION: The command line option &quot;--reinstall-patch&quot; is obsolete and will be ignored.

ERROR: Error when analysing the command line: No arguments are allowed after the options.
The following arguments were found after the last option:
/dev/null


run-parts: /etc/cron.daily/pleskupdate exited with return code 1

STEPS TO REPRODUCE

Not known

ACTUAL RESULT

error mails with content mentioned above

EXPECTED RESULT

no error mail

ANY ADDITIONAL INFORMATION

Please provide at least a workaround on short notice which supresses the mail, as it's higly annoying.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
It's a known issue. Plesk is in touch with Strato to clarify this problem:
 
Last edited:
@CHE Did you check the thread that Maarten provided? You should be able to remove the one line from the cron job that doesn't belong there.

remove
/opt/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base 2>&1 /dev/null
from
/etc/cron.daily/pleskupdate
 
@CHE Did you check the thread that Maarten provided? You should be able to remove the one line from the cron job that doesn't belong there.

remove
/opt/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base 2>&1 /dev/null
from
/etc/cron.daily/pleskupdate
I have not try it yet. I have comment that line out now. We will see it tomorrow, if it fix it. Thank you very much!
 
Plesk cannot find a solution as the line is introduced by Strato. We cannot just remove it, because there could be cases where such a line makes sense.
 
Back
Top