• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

After upgrading to Version 18.0.30 the web statistics aren't updating anymore

burnley

Regular Pleskian
User name: burnley

TITLE

After upgrading to Version 18.0.30 the web statistics aren't updating anymore

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

CentOS Linux 7.8.2003 (Core) Plesk Obsidian Version 18.0.30, last updated on Sept 16, 2020 10:31 PM

PROBLEM DESCRIPTION

After updating to 18.0.30 all Linux servers stopped collecting the web statistics, regardless of whether the sites are using awstats or webalizer. Additional configuration data from one server:

# rpm -q awstats
awstats-7.7-2.centos.7+p18.0.27.0+t200424.1018.noarch
# egrep awstats /etc/psa/psa.conf
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /var/www/cgi-bin/awstats
AWSTATS_TOOLS_D /usr/share/awstats
AWSTATS_DOC_D /var/www/html/awstats
# rpm -qf /var/www/cgi-bin/awstats
awstats-7.7-2.centos.7+p18.0.27.0+t200424.1018.noarch
# ls -l /var/www/cgi-bin/awstats
total 700
-rwxr-xr-x 1 root root 4924 Apr 24 13:19 awdownloadcsv.pl
-rwxr-xr-x 1 root root 8659 Apr 24 13:19 awredir.pl
-rwxr-xr-x 1 root root 686149 Apr 24 13:19 awstats.pl
drwxr-xr-x 5 root root 4096 Jul 20 22:09 lang
drwxr-xr-x 2 root root 257 Jul 20 22:09 lib
drwxr-xr-x 3 root root 4096 Jul 20 22:09 plugins

What's interesting is that, if I manually run the statistics tool for the domain, the stats are being updated. What's missing from the picture? Were there any cron changes shipped with 18.0.30? This is how daily maintenance script is looking at our end:
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f ReportProductAgreement,CheckForUpdates,UpdateKeys,PleskUsage,Sitebuilder,MailUsage,ExecuteStatistics,ProcessAutoreports,OptimizeStatistics,AnalyseDomainStatistics,AnalyseClientStatistics,LoadCustomizations,UpdateApsCache,UpdateApsApplications,UpgradeExtensions,ExecuteGlCleaner,StoreProtectedConfigs,FileSharing,ExecuteWebStatistics,UpdateModSecurityRuleSet,AutoresponderEndDate,CheckPostponedFeedback,SearchIndex,CleanupPanelNotifications,UpdatePhpCurlCertificates,BackupRestoreStats,ComposerSelfUpdate >/dev/null 2>&1

STEPS TO REPRODUCE

Can't reproduce

ACTUAL RESULT

Plesk stopped updating the web stats

EXPECTED RESULT

Plesk should update the web stats

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Sometimes web statistics are not updated, because the number of new log lines (the traffic of the website) is so low that log rotation is not triggered so that the new traffic is not recognized by statistics. In that case it will be counted, but only later once the logs are being rotated.
 
I think I might have found something, here's the output after this morning daily cron run:

[2020-09-29 03:57:44.161] ERR [panel] Task "FileSharing" was not found.:
0: /usr/local/psa/admin/plib/DailyMaintainance/Runner/Batch/Main.php:170
DailyMaintainance_Runner_Batch_Main->setFilter(array)
1: /usr/local/psa/admin/plib/DailyMaintainance/script.php:46
ERROR: PleskFatalException: Task "FileSharing" was not found. (Main.php:170)

It appears FileSharing.php file has disappeared in 18.0.30 from /usr/local/psa/admin/plib/DailyMaintainance/Task/ and /usr/local/psa/admin/plib/DailyMaintainance/script.php crashes if a task file is missing. Is this expected behaviour? We're running a selective set of tasks to avoid ExecuteSpamtrain.php resource hog.
 
Back
Top