• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue statistics_collector filesystem error: cannot get current path: No such file or directory

matrix

Basic Pleskian
Server operating system version
Debian 12
Plesk version and microupdate number
18.0.71
Suddenly my traffic usage statistics are not updated. I then tried to regenrate them manually but I get this error. Already tried to run all repairs.
Both AWstats and webalizer were uninstalled, Not sure if they are needed to calculate traffic usage? I installed only AWstats anyway, but still same error.
It doesn't say which path cannot get, so I have no clue.
Any suggestions?

This is the output of plesk sbin statistics --calculate-one --domain-name=xxxx

Code:
[2025-07-16 16:39:28.342] 1002228:6877b99d6f4a2 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/statistics_collector'] with exit code [255]
ERR: proc_close() failed ['/opt/psa/admin/bin/statistics_collector'] with exit code [255]
ERR: '/opt/psa/admin/bin/statistics_collector' failed with code 255.

stdout:


stderr:
statistics_collector[1002235]: filesystem error: cannot get current path: No such file or directory

WARN: WARNING during statistics_collector execution: statistics_collector[1002235]: filesystem error: cannot get current path: No such file or directory

[2025-07-16 16:39:28.343] 1002228:6877b99d6f4a2 ERR [statistics_collector[1002235]: filesystem error: cannot get current path: No such file or directory
] ERROR during statistics_collector execution:
ERR: ERROR during statistics_collector execution:
 
Hello, @matrix . Can you please double-check the Document root of the domain name (Domains > example.com > Hosting Settings) you are having issues with and confirm it with us?
 
Hello, @matrix . Can you please double-check the Document root of the domain name (Domains > example.com > Hosting Settings) you are having issues with and confirm it with us?
I debugged with strace and apparently is caused by the fact that not having installed any stats tools since now (webalizer\awstats) there is no .stats file in the log folders. The error is caused by trying to delete those non-existent stats file in the generate stats process. This should fix itself after the first data collection. I'll check again tomorrow.
 
Back
Top