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

Issue plesk-stats change directory name?

You can try to do it with customization of vhost template - https://docs.plesk.com/en-US/onyx/a...settings-using-configuration-templates.68693/

You need to create custom template with something like

# mkdir -p /usr/local/psa/admin/conf/templates/custom/domain/
# cp /usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php

and then modify custom template /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php

As you can see there are following mentions of plesk-stat:

# grep plesk-stat /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php
Alias "/plesk-stat" "<?php echo $VAR->domain->physicalHosting->statisticsDir ?>"
<Location /plesk-stat/>
<Location /plesk-stat/logs/>
Redirect permanent /plesk-stat https://<?php echo $VAR->domain->urlName ?>/plesk-stat

Do not forget about point 5 from the mentioned documentation after template customization.
 
Back
Top