• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Forwarded to devs Statistics calculation error for mysql databases with dash in name

ChristophRo

Regular Pleskian
TITLE:
Statistics calculation error for mysql databases with dash in name
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
17.8.11 Update #1, ‪Debian 9.4‬, x64
PROBLEM DESCRIPTION:
Plesk tries to calculate the size of mysql databases according to their names.
That does not work for database names with dashes, as mysql does replace the dash with "@002d" in the directory name under /var/lib/mysql
STEPS TO REPRODUCE:
  • create database with a name that contains a dash, like "test-database"
  • run command "/usr/local/psa/admin/sbin/statistics --calculate-all"
ACTUAL RESULT:
root@plesksrv:/# /usr/local/psa/admin/sbin/statistics --calculate-all

WARNING during statistics_collector execution: : statistics_collector[16898]: Unable to get dir size of /var/lib/mysql/test-database
statistics_collector[16898]: Unable to get dir size of /var/lib/mysql/test-database
EXPECTED RESULT:
no warning/error message, but correct calculation of the mysql database size
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Thank you.
Bug was confirmed and submitted as PPPM-8134.
 
Back
Top