• 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.

AWStats HTML pages not being generated after migration

JanS

New Pleskian
Hello everyone,

we recently migrated servers (from Plesk 12 to Plesk 12). Since then, AWstats is not generating the static HTML pages anymore. This affects all domains.

Server information:
Ubuntu 14.04.2 LTS
Plesk 12.0.18 Update #57

Just like in this thread, the text files (awstatsMMYYYY.domain.tld-http.txt) seem to be updated, but the static HTML files in the subfolders "2015-09" (and similar) are not generated. The folders are empty.

Running /usr/local/psa/admin/sbin/statistics doesn't give me any error message, but stats are not generated either.

As the server in question is running customer domains, I'd like to refrain from issuing any commands that might destroy statistics data that is not available in log files anymore but has already been put into one of the awstatsMMYYYY.domain.tld-http.txt files.

I'm glad for any input on this!
 
Ok, this was unexpected: I found the solution myself:

/etc/psa/psa.conf contained the following line:
AWSTATS_TOOLS_D /usr/share/doc/awstats/examples

This is wrong. As soon as I replaced it with this, it started working:
AWSTATS_TOOLS_D /usr/share/awstats/tools


There's two things wrong here:
1) /usr/local/psa/admin/sbin/statistics should complain with the wrong tools directory in /etc/psa/psa.conf
2) The wrong tools directory shouldn't be in there in the first place.
 
Ok, this was unexpected: I found the solution myself:

This fixed the issue for me also. The worrying thing is that JanS posted a solution on this bug in September of this year and I have just installed a fresh install of Plesk 12.5 today which still contains the bug.
 
I had the very same problem migrating from Plesk 12.5 to 17, from Debian to Ubuntu 16.04. Seems as this issue has not been fixed yet...
 
Back
Top