• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • 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 8.3 stats not updating

J

jimmy1987

Guest
I noticed today that the stats on my plesk server are not updating at all,
everyone is still stuck at using 0 bytes of space and 0 bytes of traffic.

I did
usr/local/psa/admin/sbin/statistics >/dev/null 2>&1

from the shell and it updated ok i think, but i can;t having to do this every hour or so to update it.
Who has the solution to fix this?
 
normaly a cronjob does this for you. On my Box for example

23 1 * * * /usr/local/psa/bin/run-parts.sh /etc/psa/plesk-cron.daily

Brujo
 
Hmm i looked in both places but i don't either have the run-parts.sh or the cron.daily in the plesk directory.
Could you tell me how to achieve this so i can get my stats updating again?
 
in depence of the OS it can be on another Place, but the script which is finaly called is 50plesk-daily

#!/bin/sh

# install_statistics
/usr/local/psa/admin/sbin/statistics >/dev/null 2>&1

# install_mysqldump
/usr/local/psa/bin/mysqldump.sh >/dev/null 2>&1

# install_autoreport daily
/usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto daily >/dev/null 2>&1
 
Ok i looked in my root crontab "crontab -e" and the following is in there:

14,29,44,59 * * * * /opt/psa/admin/sbin/backupmng >/dev/null 2>&1

but i think that's for backups, am i missing a crontab for the statistics here?

I looked in your script and everything is on the same place here.
Can't i add it manually again in some way ?
 
yes you can add the entry to your crontab and if you are uncomfortable with the commandline you can do it in the Plesk Controlpanel > Server > Scheduled tasks > select User > Add New Task

but i also suggest to find out what happens with your original files like 50plesk-daily, 50plesk-weekly, 50plesk-monthly, somtimes wrong place, name or signs...

For different OS there are some Threads here on the Board just search for "50plesk"

Brujo
 
I found the 50plesk-daily it was just in the /etc/cron-daily directory.
But i haven't found the weekyl and monthly cronjobs in the cron-weekly/monthly directories.

I've restarted the cron service to see if it get's used now.
 
Back
Top