anudeepND / whitelist

A simple tool to add commonly white listed domains to your Pi-Hole setup.
MIT License
4.21k stars 281 forks source link

TERM environment variable not set. #259

Open tonyblue2 opened 1 year ago

tonyblue2 commented 1 year ago

I installed the whitelist.py on a Ubuntu 22.04 LTS based Machine.

After Installation I got Mails from "Cron user@Pihole /opt/whitelist/scripts/whitelist.py" like this:

`TERM environment variable not set.

This script will download and add domains from the repo to whitelist. All the domains in this list are safe to add and does not contain any tracking or adserving domains.

[i] Pi-hole path exists [i] Write access to /etc/pihole verified [i] Pi-Hole Gravity database found [i] 191 domains and 191 SQL queries discovered [i] Connecting to Gravity. [i] Successfully Connected to Gravity. [i] Checking Gravity for domains added by script. [i] 191 Domains from script in whitelist already. [i] Checking Gravity for domains added by user that are also in script. [i] Found 0 domains added by the user that would be added by script. [i] Checking Gravity for domains previously added by script that are NOT in new script. [i] Found 0 domain(s) added previously by script that are not in script. [i] Checking script for domains not in Gravity. [i] All 191 domains to be added by script have been discovered in Gravity [i] There are a total of 192 domains in your whitelist (regex(0) & exact(192)) [i] The database connection is closed

Done. Happy ad-blocking 😄`

What is to do to avoid the message "TERM environment variable not set."

Thank you

Tony

tonyblue2 commented 1 year ago

Unfortunately, since no one answers, I'm not sure: Is my question too stupid or too difficult?