• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Missing files in AWStats 7.0 (Plesk 10.4.4)

ThomasR

Basic Pleskian
Hi,

We are using the last version of Plesk (10.4.4 MU18) with AWStatus 7.0. AWStats 7.0 has a new "Downloads" section. However it shows only the top 10 of monthly downloads. Clicking in the "Full list" link results in an error 404 as https://DOMAIN.TLD/plesk-stat/webstat/current/awstats.DOMAIN.TLD-http.downloads.html does not exists. Other detail pages (like awstats.DOMAIN.TLD-http.urldetail.html or awstats.DOMAIN.TLD-http.keyphrases.html) seems to be ok.

How can this be fixed?

Server and product details:
° Product: Plesk 10.4.4 Update #18
° Operating system: CentOS release 5.7 (Final)
° Architecture: x86_64
° Kernel version 2.6.18-028stab089.1
° AWStats version: 7.0-11122114.swsoft
° Settings of /etc/awstats/awstats.model.conf:
# Stats for Downloads
MaxNbOfDownloadsShown = 50
MinHitDownloads = 1

# Show downloads chart.
# Context: Web, Streaming, Ftp
# Default: HB, Possible column codes: HB
ShowDownloadsStats=HB
 
I have the same problem after upgrading a server from Plesk 10.2 to 10.4.4... anyone with a solution?
 
just regenerate the statistics manually

/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain.name>
 
Thomas,

The other day the download link worked right after I re-generated the statistics, and I noticed that the UR to the file had changed.
Today, there is no download page in /current/awstats.<domain.tld>-http.downloads.html
and regenerating the statistics does not fix this problem...
Can you submit a support ticket to Plesk support?

Fran
 
Can anybody fill template http://forum.parallels.com/showthread.php?t=106113 with all necessary details, steps-to-reproduce and logs?
---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk, 10.4.4 Update #19, CentOS release 5.7 (Final) (2.6.18-028stab089.1), x86_64

PROBLEM DESCRIPTION AND STEPS TO REPRODUCE
Since AWstats was updated to version 7.0 for Parallels Plesk Panel 10.4.4 on RPM-based OSes the AWStats overview pages have an "Downloads" section (https://DOMAIN.TLD/plesk-stat/webstat/current/index.html#downloads). This overview shows only top 10 of downloads. The URL to "Full list" view (https://DOMAIN.TLD/plesk-stat/webstat/current/awstats.DOMAIN.TLD-http.downloads.html) is returning an error 404 as this page is not rendered by AWStats. Other detail pages are rendered like before.

ACTUAL RESULT
An error 404 for the URL to "Downloads Full list" view (https://DOMAIN.TLD/plesk-stat/webstat/current/awstats.DOMAIN.TLD-http.downloads.html).

EXPECTED RESULT
A rendered Downloads Full list HTML-page, i.e. like https://DOMAIN.TLD/plesk-stat/webstat/current/awstats.DOMAIN.TLD-http.urldetail.html.

ANY ADDITIONAL INFORMATION
Referring to http://sourceforge.net/projects/awstats/forums/forum/43428/topic/4852838 the "-output=downloads" option should be added by main AWStats Perl script (which is altered by /usr/local/psa/admin/bin/statistics).

AWStats version: 7.0-11122114.swsoft
--------------------------------------------------------------
 
Thank you. I have forwarded it to developers. I will update thread with results as soon as I receive them.
 
Download full list link/page not working

I am using Plesk 11.0.9 and when I click on the full list I get the 404 page, is there a fix for this?
 
I am using Plesk 11.0.9 and when I click on the full list I get the 404 page, is there a fix for this?
I have no more problems with this downloads page. I'm using Plesk 11.0.9 Update #23 with awstats-7.0-11122114.swsoft; are you too?
 
I have no more problems with this downloads page. I'm using Plesk 11.0.9 Update #23 with awstats-7.0-11122114.swsoft; are you too?

Same plesk 11.0.9 Update #23 with awstats-7.0 (build 1.971)

Not sure if that is the same one? If not how do you upgrade it?
 
Thank you for your help, what and where do I use this command?
Log in to your server using SSH, then execute the following command (replace "mydomain.com" by the domain name for which you can't access the https://mydomain.com/plesk-stat/webstat/current/awstats.mydomain.tld-http.downloads.html page):
/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=mydomain.com
Note that the "/usr/local/psa/admin/sbin/statistics" path could be different if you are not using CentOS (cfr. http://kb.parallels.com/en/952).
 
Log in to your server using SSH, then execute the following command (replace "mydomain.com" by the domain name for which you can't access the https://mydomain.com/plesk-stat/webstat/current/awstats.mydomain.tld-http.downloads.html page):

Note that the "/usr/local/psa/admin/sbin/statistics" path could be different if you are not using CentOS (cfr. http://kb.parallels.com/en/952).


Just ran this, and I am using CentOS. Got this when I executed the command:

WARNING during statistics_collector execution: : error: error accessing /usr/share/tomcat5/logs: No such file or directory


Another fork in the road..
 
Just ran this, and I am using CentOS. Got this when I executed the command:

WARNING during statistics_collector execution: : error: error accessing /usr/share/tomcat5/logs: No such file or directory


Another fork in the road..
Check the KB for a resolution to this: http://kb.parallels.com/en/113090

Has running this command made the download page became available? If not, which files can you find in the /var/www/vhosts/mydomain.com/statistics/webstat/2012-11/ directory?
 
Check the KB for a resolution to this: http://kb.parallels.com/en/113090

Has running this command made the download page became available? If not, which files can you find in the /var/www/vhosts/mydomain.com/statistics/webstat/2012-11/ directory?

No it is still not working, the command did not "take".

Looking what is in that directory, its early and I have not had any coffee, can you point me where/what to find that directory?
 
Back
Top