Data Tables warning Ajax error

Blacklist management page loads but no blacklist are listed and I get this error message.

Once Close is clicked the screen remans empty.

Ad blocking is still working but I can add/edit the blacklist.

Thanks for any help!
GB

Please upload a debug log and post just the token that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

pihole -d

or do it through the Web interface:

Tools > Generate Debug Log

1 Like

tzpmpr4zgj

Your debug log shows a bit of a mess in your gravity database (where the adlists and domains are stored). Either the database is corrupted, or all these domain blocks were entered incorrectly. The URL's shown appear to be adlists, which should be entered in the adlist section under group management.

*** [ DIAGNOSING ]: Domainlist (0/1 = exact white-/blacklist, 2/3 = regex white-/blacklist)
   id    type  enabled  group_ids     domain                                                                                                date_added           date_modified        comment                                           
   ----  ----  -------  ------------  ----------------------------------------------------------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   298      3        1  0             https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.t  2020-12-04 21:10:04  2020-12-04 21:10:04                                                    
   299      3        1  0             https://raw.githubusercontent.com/fademind/hosts.extras/master/add.spam/hosts                         2020-12-04 21:10:36  2020-12-04 21:10:36                                                    
   300      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/malwaredomainlist.com/list.txt          2020-12-10 09:04:27  2020-12-10 09:04:27                                                    
   301      3        1  0             	                                                                                                     2020-12-10 09:04:27  2020-12-10 09:05:18                                                    
   302      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/malwaredomains.com-immortaldomains/lis  2020-12-10 09:04:27  2020-12-10 09:04:27                                                    
   304      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/malwaredomains.com-justdomains/list.tx  2020-12-10 09:04:27  2020-12-10 09:04:27                                                    
   306      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/matomo.org-spammers/list.txt            2020-12-10 09:04:27  2020-12-10 09:04:27                                                    
   308      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/mitchellkrogza-badd-boyz-hosts/list.tx  2020-12-10 09:04:27  2020-12-10 09:04:27                                                    
   310      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/pgl.yoyo.org/list.txt                   2020-12-10 09:04:27  2020-12-10 09:04:27                                                    
   312      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/ransomwaretracker.abuse.ch/list.txt     2020-12-10 09:04:27  2020-12-10 09:04:28                                                    
   314      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/someonewhocares.org/list.txt            2020-12-10 09:04:28  2020-12-10 09:04:28                                                    
   316      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/spam404.com/list.txt                    2020-12-10 09:04:28  2020-12-10 09:04:28                                                    
   318      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/stevenblack/list.txt                    2020-12-10 09:04:28  2020-12-10 09:04:28                                                    
   320      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/winhelp2002.mvps.org/list.txt           2020-12-10 09:04:28  2020-12-10 09:04:28                                                    
   322      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/zerodot1-coinblockerlists-browser/list  2020-12-10 09:04:28  2020-12-10 09:04:28                                                    
   324      3        1  0             https://raw.githubusercontent.com/hectorm/hmirror/master/data/zeustracker.abuse.ch/list.txt           2020-12-10 09:04:28  2020-12-10 09:04:28                                                    
   326      3        1  0             https://raw.githubusercontent.com/chef-koch/audio-fingerprint-pages/master/audiofp.txt                2020-12-10 09:04:28  2020-12-10 09:05:17                                                    
   328      3        1  0             https://raw.githubusercontent.com/chef-koch/canvas-fingerprinting-pages/master/canvas.txt             2020-12-10 09:04:28  2020-12-10 09:05:17                                                    
   330      3        1  0             https://raw.githubusercontent.com/chef-koch/webrtc-tracking/master/webrtc.txt                         2020-12-10 09:04:28  2020-12-10 09:05:17                                                    
   332      3        1  0             https://raw.githubusercontent.com/CHEF-KOCH/CKs-FilterList/master/Anti-Corp/hosts/NSABlocklist.txt    2020-12-10 09:04:28  2020-12-10 09:04:29                                                    
   334      3        1  0             https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt                        2020-12-10 09:04:29  2020-12-10 09:06:57                                                    
   336      3        1  0             https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt                          2020-12-10 09:04:29  2020-12-10 09:06:57                                                    
   338      3        1  0             https://www.stopforumspam.com/downloads/toxic_domains_whole.txt                                       2020-12-10 09:04:29  2020-12-10 09:04:29                                                    
   339      3        1  0             https://dbl.oisd.nl/                                                                                  2020-12-10 09:05:17  2020-12-10 09:05:17                                                    
   341      3        1  0             https://phishing.army/download/phishing_army_blocklist_extended.txt                                   2020-12-10 09:05:17  2020-12-10 09:05:17                                                    
   343      3        1  0             https://tspprs.com/dl/crypto                                                                          2020-12-10 09:05:17  2020-12-10 09:05:17                                                    
   345      3        1  0             https://tspprs.com/dl/tracking                                                                        2020-12-10 09:05:17  2020-12-10 09:05:17                                                    
   347      3        1  0             https://tspprs.com/dl/spotify                                                                         2020-12-10 09:05:17  2020-12-10 09:06:58                                                    
   355      3        1  0             https://raw.githubusercontent.com/chef-koch/cks-filterlist/master/hosts/game.txt                      2020-12-10 09:05:17  2020-12-10 09:05:17                                                    
   357      3        1  0             https://raw.githubusercontent.com/chef-koch/nsablocklist/master/hosts                                 2020-12-10 09:05:17  2020-12-10 09:05:18                                                    
   359      3        1  0             https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlackl  2020-12-10 09:05:18  2020-12-10 09:05:18                                                    
   361      3        1  0             https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlackl  2020-12-10 09:05:18  2020-12-10 09:05:18                                                    
   363      3        1  0             https://jasonhill.co.uk/pfsense/ytadblock.txt                                                         2020-12-10 09:05:18  2020-12-10 09:05:18                                                    
   364      3        1  0             https://raw.githubusercontent.com/stevenblack/hosts/master/hosts                                      2020-12-10 09:06:56  2020-12-10 09:06:56                                                    
   365      3        1  0             https://mirror1.malwaredomains.com/files/justdomains                                                  2020-12-10 09:06:56  2020-12-10 09:06:57                                                    
   366      3        1  0             http://sysctl.org/cameleon/hosts                                                                      2020-12-10 09:06:57  2020-12-10 09:06:57                                                    
   367      3        1  0             https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist                                   2020-12-10 09:06:57  2020-12-10 09:06:57                                                    
   368      3        1  0             https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt                                      2020-12-10 09:06:57  2020-12-10 09:06:57                                                    
   369      3        1  0             https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt                                            2020-12-10 09:06:57  2020-12-10 09:06:57                                                    
   370      3        1  0             https://hosts-file.net/ad_servers.txt                                                                 2020-12-10 09:06:57  2020-12-10 09:06:57                                                    
   373      3        1  0             https://zerodot1.gitlab.io/coinblockerlists/list.txt                                                  2020-12-10 09:06:57  2020-12-10 09:06:57                                                    
   374      3        1  0             https://zerodot1.gitlab.io/coinblockerlists/list_browser.txt                                          2020-12-10 09:06:57  2020-12-10 09:06:57                                                    
   375      3        1  0             https://zerodot1.gitlab.io/coinblockerlists/list_optional.txt                                         2020-12-10 09:06:57  2020-12-10 09:06:57                                                    
   376      3        1  0             https://ransomwaretracker.abuse.ch/downloads/rw_dombl.txt                                             2020-12-10 09:06:57  2020-12-10 09:06:57                                                    
   377      3        1  0             https://ransomwaretracker.abuse.ch/downloads/cw_c2_dombl.txt                                          2020-12-10 09:06:57  2020-12-10 09:06:57                                                    
   378      3        1  0             https://ransomwaretracker.abuse.ch/downloads/ly_c2_dombl.txt                                          2020-12-10 09:06:57  2020-12-10 09:06:57                                                    
   379      3        1  0             https://ransomwaretracker.abuse.ch/downloads/tc_c2_dombl.txt                                          2020-12-10 09:06:57  2020-12-10 09:06:57

I guess this explains why a back up to a fresh install on a new Pi fails?

I would not expect this to be the case. After you do the fresh install, are you importing your existing configuration or are you actually running a fresh install with no involvement from the previous install?

Trying a fresh install on a new Pi4+, it only imports the ad list setting, no white list or black list. Any ideals?

Sorry to explain more, fresh install on a new Pi4+. Trying to restore a back up of settings from the old Pi3+. Thanks for your help!

If your old settings are bad (and this appears to be your case), then I would not import them to the new install.

That what I was afraid of lol. Thanks again for you help.