• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is 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.

plesk-php-cleanuper No such file issue not fixed

aljam

New Pleskian
Have just upgraded Plesk on VPS to 12.5.30 and am now receiving these hourly notices...

/etc/cron.hourly/plesk-php-cleanuper:

[....]

find: 24: No such file or directory

Have read https://kb.plesk.com/en/128185 but the Update Components button is not active indicating all updates have been applied.

Is there a more recent solution to this?

Thanks.
 
Make sure that you have following content of this file:

# cat /etc/cron.hourly/plesk-php-cleanuper
#!/bin/sh

# This purges session files older than X, where X is defined in seconds
# as the largest value of session.gc_maxlifetime from all your php.ini
# files, or 24 minutes if not defined. See ${maxlifetime}

# Look for and purge old sessions every hour

pgrep -f ".*$0$" | grep -qv $$ && exit 0

renice 19 -p $$ >/dev/null 2>&1

[ -x /usr/lib/plesk-9.0/maxlifetime ] && [ -d /var/lib/php/session ] && /usr/lib/plesk-9.0/php_session_cleaner /var/lib/php/session $(/usr/lib/plesk-9.0/maxlifetime)
 
Many thanks Igor. There was an extra word "find" on the last line like this:
[ -x /usr/lib/plesk-9.0/maxlifetime ] && [ -d /var/lib/php/session ] && find /usr/lib/plesk-9.0/php_session_cleaner /var/lib/php/session $(/usr/lib/plesk-9.0/maxlifetime)

Have removed that and all seems good now.
 
Back
Top