• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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