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

cli setup oversight #185

Open
kekkodance opened this issue Oct 3, 2024 · 4 comments
Open

cli setup oversight #185

kekkodance opened this issue Oct 3, 2024 · 4 comments

Comments

@kekkodance
Copy link

I tried installing it and i just have a blank chart in my pi-hole ui that goes from 0 to 1.0, i have the official speedtest installed and in my usr/bin, i tried running the test runner and this is my result

License acceptance recorded. Continuing.

{"type":"log","timestamp":"2024-10-03T17:30:17Z","message":"Error: [0] Timeout occurred in connect.","level":"error"}
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1063    0  1063    0     0   2990      0 --:--:-- --:--:-- --:--:--  2985
jq: error: syntax error, unexpected ';' (Unix shell quoting issues?) at <top-level>, line 2:
    def walk(f): . as $in | if type == "object" then reduce keys_unsorted[] as $key ({}; . + { ($key):  ($in[$key] | walk(f)) }) | f else if type == "array" then map( walk(f) ) | f else f end;                                                                                                                                
jq: error: Possibly unterminated 'if' statement at <top-level>, line 2:
    def walk(f): . as $in | if type == "object" then reduce keys_unsorted[] as $key ({}; . + { ($key):  ($in[$key] | walk(f)) }) | f else if type == "array" then map( walk(f) ) | f else f end;
jq: 2 compile errors
@kekkodance
Copy link
Author

trying to run pihole -a -sm gives this

/opt/pihole/webpage.sh: line 603: tmux: command not found

@kekkodance
Copy link
Author

after installing tmux, the help command just seems to hang

image

@kekkodance
Copy link
Author

now the speedtest started working and a result appeared in my graph, this is overall kinda weird

@ipitio
Copy link
Collaborator

ipitio commented Oct 7, 2024

Thanks for the issue! The chart is blank until the first test is run, due to there being no results to display yet.

The timeout is due to the actual speedtest binary, not us.

Tmux not being installed when running via cli rather than the settings page the first time is an oversight.

@ipitio ipitio changed the title This new version of pi-hole speedtest is a mess. cli setup oversight Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants