Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api status return wrong info #2053

Closed
martinorob opened this issue Jan 6, 2022 · 1 comment
Closed

Api status return wrong info #2053

martinorob opened this issue Jan 6, 2022 · 1 comment

Comments

@martinorob
Copy link

If i run “pihole -c” i have correct information
(Active)

 Pi-hole Chronometer                                                                                  
             
            Press Ctrl-C to exit
            ——————————————————————————————————————————————————————————
  Hostname: vUbuntu            (Ubuntu Fossa 20.04)
    Uptime: 2 days, 01:53:20                       
 Task Load: 0.02 0.08 0.08     (Active: 1 of 155 tasks)
 CPU usage: 1%                 (8x 1.6 GHz)
 RAM usage: 20%                (Used: 3 GB of 16 GB)
 HDD usage: 73%                (Used: 34 GB of 49 GB)
DHCP usage: 15%                (Leased: 3 of 20)
   Pi-hole: Active             (Blocking: 3063531 sites)
 Ads Today: 7%                 (Total: 9519 of 130531)
Local Qrys: 42%                (1 DNS servers)

but if i check api


curl -s http://192.168.x.x/admin/api.php?status\&auth=XXXXX

{"status":"disabled"}   

it return DISABLED

@yubiuser yubiuser transferred this issue from pi-hole/pi-hole Jan 6, 2022
@yubiuser
Copy link
Member

yubiuser commented Jan 6, 2022

Duplicate of #2051

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants