Commit Graph

386 Commits (788e7cc7777c912e799e8610b7da6817d7cf74ac)

Author SHA1 Message Date
DL6ER 78cdd34992
Merge pull request #3904 from ganto/fix/debug-non-web-2
3 years ago
Reto Gantenbein 9dc539c98b piholeDebug: More detailed diagnostics if Web interface is not found
3 years ago
Reto Gantenbein 18e4eb460c piholeDebug: Fix version check if lighttpd/php are not installed
3 years ago
Adam Warner 8443262214
Merge pull request #3890 from ganto/fix/x86-64-arch
3 years ago
DL6ER 36937b1913
Strip such lines starting with a #. Do not silently truncate lines if they have a # somewhere in between (like server=127.0.0.1#5353)
3 years ago
Reto Gantenbein d0af1a950b Ensure x86_64 processor architecture is listed as supported
3 years ago
Adam Warner d2e9a20d96
Merge pull request #3859 from yubiuser/tweak/debug_pihole-FTL_status
4 years ago
DL6ER d4c33e5188
Include the raw messages from the Pi-hole diagnosis systems in debug logs
4 years ago
Christian König 70c48afc04 Add else statement
4 years ago
Christian König ec5183b553 Rename function
4 years ago
Christian König 50316ee617 Add systemctl status --full --no-pager pihole-FTL.service to the debug log
4 years ago
bcambl 47aa1644a8 add debug checking for firewalld
4 years ago
Adam Warner fe463f15b3
Merge pull request #3741 from pi-hole/new/debug_scan_dhcp
4 years ago
Christian König 568ebd67ca Update comment
4 years ago
Christian König c628c970ae Print tail of logs in /var/log/lighttpd in debug run as well
4 years ago
DL6ER 41e899260f
Discover active DHCP servers during debugger run
4 years ago
Adam Warner b8cd238fa1
Update advanced/Scripts/piholeDebug.sh
4 years ago
Adam Warner 8e219cb799
Make output more meaningful in case of dig failure.
4 years ago
Dan Schaper ebdb68a47a
display_warning fixes
4 years ago
Dan Schaper 623ce1fe18
Tabs and debug.sh
4 years ago
Aiden Mitchell 7c53b97004
Updating FAQ_HARDWARE_REQUIREMENTS and FAQ_HARDWARE_REQUIREMENTS_PORTS (#3632)
4 years ago
Adam Warner f50cff54de
*innocent whistling*
4 years ago
Adam Warner 849139176e
fallback to NC if curl fails on uploadgit checkout
4 years ago
Adam Warner b8bba7951f
Just one more newline, give it to me.
4 years ago
Adam Warner 76ce5ec66b
Add additional information about local debug log location
4 years ago
XhmikosR d8822b70cf Fix minor typo
4 years ago
Adam Warner 7ea6d7b92b
remove ; so IFS changes don't stick
4 years ago
Adam Warner 03a8cff55e
read > mapfile as suggested by @dschaper
4 years ago
Adam Warner 58724a38a9
Improve detection and display of supported/unsupported OS in debug script
4 years ago
Adam Warner d0e250a616
Ensure pihole-FTL.conf is parsed, as well as external.conf for lighttpd, to rule out any custom modifications.
4 years ago
Adam Warner b2ba55c27b
Show details of any remotes on the git repositories
4 years ago
Adam Warner 9e96ff37de
Fix merge conflicts
4 years ago
DL6ER ddb354f78b
Add enable indentation for the domainlist
4 years ago
DL6ER 20ef5e0264
Show associated group IDs in domains/clients/adlists listing. We get the data through a LEFT JOIN followed by a GROUPing by the left list ID and finialized through a GROUP_CONCATenation.
4 years ago
DL6ER ad5802715e
enabled field: Center 0, right-align 1
4 years ago
DL6ER 63f6c6a894
Add indentation for enabled and type fields
4 years ago
XhmikosR 7b8611ced0
Assorted typo fixes. (#3126)
4 years ago
DL6ER 497bfd80a5
Update development from release/v5.0 (#3200)
4 years ago
DL6ER 22ce5c0d70
Fix incorrect type description. (#3201)
4 years ago
Adam Warner 8ecaaba247
Compare daemons to expected results. (#3158) (#3159)
4 years ago
Dan Schaper c5c414a7a2
Stickler Lint - quote to prevent splitting
4 years ago
DL6ER d0e29ab7b0 Add human-readable output of time of the last gravity run.
4 years ago
DL6ER 714a79ffce Migrate debugger to domainlist and add printing of client table.
4 years ago
DL6ER cd3ad0bdc7 Show info table instead of counting domains to speed up the debugging process on low-end hardware drastically.
4 years ago
DL6ER 3f9e79f152
Print human-readable timestamps in the debugger's gravity output
4 years ago
DL6ER 6faddfcd3d
Print timestamps in local time zone of the Pi-hole.
5 years ago
DL6ER 1820c2c598
Merge branch 'development' into new/whitelist-regex-support
5 years ago
DL6ER b1838512b2
Explicitly select columns (and their order) when listing the databaes tables. Print timestamps translated to strings instead of printing the integer timestamps.
5 years ago
DL6ER 3e78ed95d4
Fix displaying options for table "group" in the debugger.
5 years ago
DL6ER dc93462d42
Group table has only two columns
5 years ago
DL6ER af754e3fc4
Rearrange group tables directly next to the tables they refer to.
5 years ago
DL6ER 06860ed5b4
Group tables have only two columns.
5 years ago
DL6ER 0d28dce326
Print group table contents in debug log.
5 years ago
DL6ER 87f75c737a
Review comments.
5 years ago
Mcat12 b154dd5f07
Quote calls to read FTL config
5 years ago
DL6ER 054c7a2c05
Create new table + view regex_whitelist + rename old regex table to regex_blacklist. This updates the gravity.db version to 3.
5 years ago
Mcat12 e8e5d4afda
Get file locations of FTL files from the config
5 years ago
DL6ER 1fe3507bc5
Adlists table was renamed to Adlist. Adapt further places in the code to match the new name.
5 years ago
Mcat12 bfb99c361c
Note that the gravity size does not include the blacklist entries
5 years ago
Mcat12 5796054305
Increase ID column width to 4
5 years ago
Mcat12 a3e1473ac1
Set explicit column widths to prevent text from getting cut off
5 years ago
Mcat12 7b5fc60e00
Improve table formatting
5 years ago
Mcat12 807ce0af4e
Show whitelist, blacklist, and regexlist details
5 years ago
Mcat12 3f05efd60f
Add extra newline
5 years ago
Mcat12 03d93aa19a
Update debug script with gravity DB changes
5 years ago
Dan Schaper 5532df24e4
Pi-hole Debug - tricorder upload function calls
5 years ago
Dan Schaper 71cd6c137b Use `curl` instead of `openssl` for transmission of unmodified
5 years ago
Adam Warner a145f1d931
Be more verbose with debug script output
5 years ago
Mcat12 26f2410fe6
Change /var/run/shm to /dev/shm
5 years ago
DL6ER 5ffc8c7443
List content of /var/run/shm in debugger
5 years ago
Mcat12 9d59da8974
Remove dnsmasq checks from debugger
6 years ago
Mark Drobnak bbb759c684
Merge pull request #2477 from bcambl/debug_init_service_check
6 years ago
Adam Warner d57f9906bd
read -r -a, not read -a -r
6 years ago
bcambl 3ec84553ef fix debug service check via sysvinit
6 years ago
mrmajik45 0f509f4a34
Update piholeDebug.sh
6 years ago
mrmajik45 00f98543ad
read without -r will mangle backslashes.
6 years ago
Mcat12 03e5a78d8f
Merge remote-tracking branch 'origin/FTLDNS' into development
6 years ago
Dan Schaper ba7782f867
Space/Tab piholeDebug.sh
6 years ago
Mcat12 868948509a
Split declaration and assignment of random_url
6 years ago
Mark Drobnak e71492a2b3
Update debug script for simple list format
6 years ago
Mark Drobnak 9fd70cbdf9
Merge pull request #2057 from pi-hole/fix/debug-empty-ports
6 years ago
Mark Drobnak f568012b9d
Merge pull request #2070 from pi-hole/new/debug-locale
6 years ago
Adam Warner 6977f655e3
fix a typo
6 years ago
Adam Warner e6fc9dc75d
disable 2016 in two places and declare local variables
6 years ago
Adam Warner b57b3f4588
Disable SC2001 for generation of `the_os`
6 years ago
Adam Warner 776ae92416
fix some shellcheck/stickler compaints in debug script
6 years ago
Mark Drobnak d4870b3854
Merge pull request #2053 from pi-hole/tweak/debug-logs
6 years ago
Jacob Salmela 5ffc3561ed
implement dschapers suggestions--better command, less subshells, and finer formatting
6 years ago
Dan Schaper 250b445eee
Split declaration and population for stickler.
6 years ago
Mark Drobnak bb9a18ef08
Merge pull request #1987 from ryanknapper/patch-1
6 years ago
Jacob Salmela 1a275ba184
debug user locale; improve function to parse variables and files
6 years ago
Jacob Salmela 68c27eb2a1
add label to x-header so you know which one is being evaluated
6 years ago
Jacob Salmela 143e75d213
fix empty ports on some systems
6 years ago
Jacob Salmela d9d3caec22
new head tail function and get head tail of pihole-FTL.log instead of just head
6 years ago
Jacob Salmela 7159ecb632
reduce ping times for faster script completion
6 years ago
Ryan Knapper c17d95bfed
Proper output for debug CPU detection
6 years ago
Vasilis Gerakaris 939806f021
piholeDebug.sh: Correct typo mistake
6 years ago
Adam Warner 8e0d76b63b
initiated -> initialized
6 years ago
Jacob Salmela 28bed0041e
remove comment
7 years ago
Jacob Salmela 6f03e30151
fixes #1537 by checking if systemctl is found
7 years ago
Adam Warner a9a40ca46c
Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
7 years ago
bcambl 0f868f7649 remove un-used DONE variable
7 years ago
bcambl 31730e7197 add missing colors to COL_TABLE fallback
7 years ago
bcambl 7d76db00ac update 'SELinux not detected' message
7 years ago
bcambl 8aceb8bf53 replace deprecated colors in debug script
7 years ago
bcambl a17d1be7a4 simplify selinux debug variables
7 years ago
bcambl 1e6cc63abe add SELinux checking to debug script
7 years ago
Adam Warner 7d56e2a937
`FTL` has an `L` in it, innit?
7 years ago
Jacob Salmela e1f818ffb7 Tweak/debug improvements (#1585)
7 years ago
Jacob Salmela 05a724afae
codacy appeasement: remove useless cats
7 years ago
Jacob Salmela 1957b002bc
add comments about X-Headers and further explain the file descriptor cod.
7 years ago
Jacob Salmela 04cef25add
remove color character codes before uploading so the log is more readable on our plaintext tricorder server
7 years ago
Jacob Salmela 22fac5e1e0
additional shellcheck fixes
7 years ago
Jacob Salmela b6a2a4ad5a
more shellcheck fixes
7 years ago
Jacob Salmela 5f00347019
appease shellcheck by removing two unneccesary functions and making some if/else blocks
7 years ago
Jacob Salmela fc0440546f
add functions to parse head and tails of gravity.list and pihole.log
7 years ago
Jacob Salmela 172b8d2427
parse ftl log
7 years ago
Jacob Salmela 6d10a498a5
implement a limit on how many lines of a file we want to view
7 years ago
Jacob Salmela 881819ed5f
ignore big files we dont need to know about; also fix diagnosing pihole processes
7 years ago
Jacob Salmela 3275c5f710
more comments to help understand the script
7 years ago
Jacob Salmela b0cc1a38c3
adjust minor formatting for better readability
7 years ago
Jacob Salmela e10182c839
only parse files required by Pi-hole
7 years ago
Jacob Salmela b4f1fe08f0
variablize all files and directories. also put required files and folders into an arry so we can compare them in later functions by parsing through them
7 years ago
Jacob Salmela 64171fa2a1
small color and formatting changes
7 years ago
Jacob Salmela 048eacd305
parse array in correct location
7 years ago
Jacob Salmela 24aa72c19d
condense repetative code into functions; parse the content of each file
7 years ago
Jacob Salmela 92b5fe4be4
check arch compatibility and add gateway faq url
7 years ago
Jacob Salmela 8b4c0b456b
exclude webpassword from being uploaded. also check that the IP addresses detected match those defined in setupVars.conf
7 years ago
Jacob Salmela 02a601deff
comment out dir checks for lighttpd, cronm and http as they have a lot of other files that need parsing through. May need to increase the logic there if this is information we really need to know.
7 years ago
Jacob Salmela b207fadc04
check if os is supported based on pretty name
7 years ago
Jacob Salmela d51c067e1b
change some verbiage; new function to compare the ports in use to the services assigned to them.
7 years ago
Jacob Salmela 2fea5d428d
condense repetitive code into functions
7 years ago
Jacob Salmela d51e0c49b1
remove comments and blank lines when parsing files
7 years ago
Jacob Salmela 36907edd50
parse contents of each file in each dir, several log_writes
7 years ago
Jacob Salmela 7ec169ab10
more comments, fixed automated tricorder, variablizing echos, verify FTL version
7 years ago
Jacob Salmela 7873da1ae5
more colors. shortened dig timeouts
7 years ago
Jacob Salmela ef5a6e7880
add faq urls to some functions, added more colors, also use a static url for remote digs
7 years ago
Jacob Salmela 96f01e670f
add functions to write to console and log at the same time
7 years ago
Jacob Salmela 5902be2a49
comments for every line
7 years ago
Jacob Salmela cc946ce068
upload to tricorder functions
7 years ago
Jacob Salmela 1102fdc44b
append everything the user sees to the pihole_debug.log file
7 years ago
Jacob Salmela c995c81fff
adjust some spacing
7 years ago
Jacob Salmela 6684af9938
add lighttpd list function and gravity analysis
7 years ago
Jacob Salmela 8bafd12f95
fix resolver functions and add x-header function
7 years ago
Jacob Salmela 76266cf31b
add resolver functions and check directory content functions
7 years ago
Jacob Salmela 1a87d3a659
add process check function
7 years ago
Jacob Salmela 085f2c6ca0
add port check function
7 years ago
Jacob Salmela b74300f67c
add ping internet function and fix some spacing issues
7 years ago
Jacob Salmela 107babe8f4
add ping gateway function
7 years ago
Jacob Salmela 8fd9a22d18
add detect IP function
7 years ago