Web statistics is not calculated

Created:

2017-03-17 20:45:17 UTC

Modified:

2017-08-16 17:22:17 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Web statistics is not calculated

Applicable to:

  • Plesk for Windows
  • Plesk Onyx

Symptoms

Web statistics is not calculated by Daily Maintenance Script or manually for the domain example.com.

Manual execution of the command has errors in it's output:

"%plesk_bin%\statistics.exe" --generate-domain-webstat --domain-name=example.com

[...]

%plesk_dir%\admin\bin\statistics_collector.exe ==>
process(integer '1', object of type Service_Agent_Command_Exec, object of type Service_Agent_Transport_LocalTransaction)#1 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Service\Agent\Transport\Local.php(26): Service_Agent_Transport_Local->_command(integer '1', object of type Service_Agent_Command_Exec, object of type Service_Agent_Transport_LocalTransaction)#2 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Service\Agent.php(148): Service_Agent_Transport_Local->process(string '4a779abfadd84814ee80236da0b239bf', array)#3 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Service\Driver\StatisticsCollector\Windows.php(284): Service_Agent->commit()#4 C:\Program Files (x86)\Parallels\Plesk\admin\plib\api-common\StatisticsCollector.php(280): Service_Driver_StatisticsCollector_Windows->execute(object of type StatisticsCollector_Logger)#5 C:\Program Files (x86)\Parallels\Plesk\admin\plib\api-common\StatisticsCollector.php(198): StatisticsCollector->_calculate(string 'example.com')#6 C:\Program Files (x86)\Parallels\Plesk\admin\plib\api-common\StatisticsCollector.php(83): StatisticsCollector->_calculateOne(string 'example.com')#7 C:\Program Files (x86)\Parallels\Plesk\admin\plib\cu\statistics.php(8): StatisticsCollector->run()

While the process of calculation is running, many temporary files are being created in %plesk_dir%\PrivateTemp . Despite of broken XML is being used, in the %plesk_dir%\admin\logs\php_error.log the calculation of the statistics is seen, so it looks like some it went fine.

Cause

This is Plesk internal issue with ID #PPPM-5946 , which is planned to be fixed in future Plesk updates.

Resolution

As a workaround, replace C:\Program Files (x86)\Parallels\Plesk\admin\bin\statistics_collector.exe with the one in attachment: statistics_collector.exe

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.