We did not get run scheduled tasks with non-root users. The scheduled tasks are generating the errors like:
php: command not found curl: command not found /usr/bin/curl: No such file or directory /usr/bin/php: No such file or directory
Secure shell settings used for customers' cronjobs are reset. As a result, some cronjobs fail or work incorrectly.
Crontab shell was changed to
'/bin/bash' via the command line:
# /usr/local/psa/bin/server_pref --update -crontab-secure-shell /bin/bash
In the customer panel a new scheduled task was created. As a result, the user's crontab looked like this:
# crontab -u testuser -l SHELL=/bin/bash */5 * * * * sometask
PP was updated and yet another scheduled task was created. This made the user's crontab start looking like this:
# crontab -u testuser -l SHELL=/usr/local/psa/bin/chrootsh */5 * * * * sometask */3 * * * * anothertask
That is, the crontab shell setting was reset to its default value.
The issue is fixed in Plesk 11.5.30 MU #26 (PPPM-1163)
For Plesk 11.5.30 and 12 the issue had already fixed. Make sure that you have installed the latest microupdates.
For the previous versions restore the shell settings manually after the update/upgrade.
In the above example, it would mean re-running this command:
# /opt/psa/bin/server_pref -u -crontab-secure-shell "/bin/sh"
Note: The command will most probably be different for your case. It depends on what shell settings you wish to restore.