AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

"Error: control/stats | Couldn't get statistics data | 500" bug

Open hl2guide opened this issue 2 years ago • 5 comments

Prerequisites

Platform (OS and CPU architecture)

Windows, AMD64 (aka x86_64)

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

v0.107.54

Action

visiting main index page.

Expected result

Page loads without error.

Actual result

red message appears:

Error: control/stats | Couldn't get statistics data | 500

Additional information and/or screenshots

My browser's console output:

(I have hidden my actual IP using '#########')

This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. #########
react-i18next:: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour. main.d279be67d6cfecf586fe.js:2:2637998
Error: control/stats | Couldn't get statistics data
 | 500
    makeRequest http://#########/main.d279be67d6cfecf586fe.js:2
main.d279be67d6cfecf586fe.js:2:2601316
Error: control/stats | Couldn't get statistics data
 | 500
    makeRequest http://#########/main.d279be67d6cfecf586fe.js:2
main.d279be67d6cfecf586fe.js:2:2601316
Error: Promised response from onMessage listener went out of scope ExtensionMessagingService.js:89:34
Error: control/stats | Couldn't get statistics data
 | 500
    makeRequest http://#########/main.d279be67d6cfecf586fe.js:2
main.d279be67d6cfecf586fe.js:2:2601316

hl2guide avatar Nov 06 '24 22:11 hl2guide

Same thing here, Windows 11. No problem on Debian.

Rootax avatar Nov 08 '24 07:11 Rootax

It's a file system permission problem. After a reboot, Adguard doesn't even start (access denied). I have to change the ntfs permissions to something that make sense for the service to start. Worse thing, permissions don't stuck after a reboot for whateever reason. Pretty sure it's caused by the "improvement" of safety for the windows version from last version.

Rootax avatar Nov 12 '24 20:11 Rootax

It's a file system permission problem. After a reboot, Adguard doesn't even start (access denied). I have to change the ntfs permissions to something that make sense for the service to start. Worse thing, permissions don't stuck after a reboot for whateever reason. Pretty sure it's caused by the "improvement" of safety for the windows version from last version.

same thing happened to me, had to completely remove adguard as it wasn't functioning normally anymore EDIT: reverted back to AdGuard Home v0.107.52 and everything seems to back to normal , no more query log errors , cmd services works again and no more perm check errors. will never be updating again until this issue is fixed but thankfully older build is available and still works.

Fanatic9 avatar Nov 12 '24 20:11 Fanatic9

This report appears to be another symptom of the Windows permission regression tracked in #7400, rather than a separate statistics-handler defect.

The important thread evidence is that the failure began on v0.107.54, affected Windows only, and was followed by service startup failures until NTFS permissions were repaired. #7400 records the same update-time permission change and was closed after the Windows security-model fix was tested.

The fix shipped in v0.107.55. That release also added the --no-permcheck escape hatch. Current CHANGELOG.md documents both under that release, and the #7400 maintainer thread confirms the fixed beta before closure.

Unless this still reproduces on a current release, I think this issue can be closed as fixed by #7400/v0.107.55. If it does reproduce now, the useful next evidence would be the current version, service account, ACLs on the working and data directories, and the backend error that accompanies /control/stats 500.

Sil3ntVip3r avatar Aug 05 '26 01:08 Sil3ntVip3r

Hello. As @Sil3ntVip3r said, there was indeed a bug. But it has now been fixed.

sofvaskina avatar Sep 04 '26 10:09 sofvaskina