• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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