Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

TERM environment variable not set. #259

@tonyblue2

Description

@tonyblue2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions