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

Resolved awstats images (icons) not displayed (error 404)

Sergio Manzi

Regular Pleskian
OS: CentOS Linux 7.4.1708 (Core)‬ (but I had the same issue with 7.3)
Plesk: Onyx Version 17.5.3 Update #21

For all my subscriptions awstats pages are ill-displayed as I'm getting 404 for all images (e.g.: /awstats-icon/clock/hr4.png) and so the "alt" text is displayed instead.

See the attached snippet of the monthly traffic as an example:
awstats-monthly.png
Where should I start debugging this?

Thanks in advance,

smz
 
Do you have icons directories with content there:

# ll /var/www/html/awstats/icon/
total 36
drwxr-xr-x 2 root root 4096 Sep 15 05:21 browser
drwxr-xr-x 2 root root 4096 Sep 15 05:21 clock
drwxr-xr-x 2 root root 4096 Sep 15 05:21 cpu
drwxr-xr-x 2 root root 12288 Sep 15 05:21 flags
drwxr-xr-x 2 root root 4096 Sep 15 05:21 mime
drwxr-xr-x 2 root root 4096 Sep 15 05:21 os
drwxr-xr-x 2 root root 4096 Sep 15 05:21 other
 
Hello @IgorG and thanks for helping!

You pointed me to the solution: for unknown reasons (should I investigate? how?) the entire /var/www/html/awstats/ directory was missing from one of my VPS.

As I've set things up, that is my primary server (call it "Amsterdam"), but I have a second one ("Frankfurt") which is independently configured for the same domains and kept in "warm" standby in case of need (to activate it I just change my DNS configuration, which is handled externally).

On Frankfurt the /var/www/html/awstats/ was intact, so by just rsyncing it to Amsterdam the issue was solved.

Many thanks again,

Sergio
 
Back
Top